Generating sequence of haptic outputs associated with object

By detecting the distance changes between the electronic device and the object, a tactile output sequence adapted to the orientation range is generated, and the problems of low user interaction efficiency and short battery life in the prior art are solved, thereby achieving more efficient user experience and battery use.

CN119718105APending Publication Date: 2025-03-28APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411784912.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2019-04-28
Filing Date
2020-04-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The prior art is difficult to provide a tactile output sequence indicating the orientation of the electronic device relative to the object when the user interacts with the electronic device, affecting the user experience and the battery life of the device.

Method used

By detecting that the orientation range of the electronic device changes with distance, a corresponding haptic output sequence is generated, including continuous texture haptic output, whose frequency or pitch is adapted to the distance between the device and the object.

Benefits of technology

It improves the interaction efficiency between users and electronic devices, reduces the processor power and battery power consumption input by users, and extends the battery life of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718105A_ABST
    Figure CN119718105A_ABST
Patent Text Reader

Abstract

The disclosure relates to generating a sequence of haptic outputs associated with an object. In some embodiments, an electronic device generates a sequence of haptic outputs in response to detecting that the electronic device is oriented within an orientation range that varies as a distance between the electronic device and a respective object varies. In some embodiments, an electronic device changes one or more characteristics of a haptic output in response to detecting a change in orientation of the electronic device relative to a respective object. In some embodiments, an electronic device generates a haptic output having features indicative of an orientation of a camera of the electronic device relative to one or more AR (augmented reality) planes. In some embodiments, an electronic device generates a haptic output indicative of a data sharing process with a second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application number 202080046521.4, application date April 27, 2020, and invention name “Generating a tactile output sequence associated with an object”. Technical Field

[0002] The present invention generally relates to electronic devices that generate tactile output sequences in response to the orientation of the electronic device relative to a corresponding object, and user interaction with such devices. Background Art

[0003] In recent years, the interaction between users and electronic devices has increased significantly. These devices can be devices such as televisions, multimedia devices, mobile devices, computers, tablet computers, etc.

[0004] In some cases, a user may wish to receive a tactile output sequence from an electronic device that indicates the orientation of the electronic device relative to another object. Enhancing these interactions can improve the user's experience with the device and reduce user interaction time, which is particularly important when the input device is battery powered.

[0005] It is understood that personally identifiable information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use, and the nature of authorized use should be clearly stated to users. In particular, use of personally identifiable information should be subject to privacy policies and practices that are generally recognized to meet or exceed industry or government requirements for maintaining user privacy. Summary of the invention

[0006] Some embodiments described in the present disclosure relate to one or more electronic devices that generate a sequence of tactile outputs in response to detecting that the electronic device is oriented within an orientation range, and the orientation range changes as the distance between the electronic device and the corresponding object changes. Some embodiments described in the present disclosure relate to one or more electronic devices that change one or more features of the tactile output in response to detecting a change in the orientation of the electronic device relative to the corresponding object. Some embodiments described in the present disclosure relate to one or more electronic devices that generate a tactile output, and the tactile output has a feature indicating the orientation of the camera of the electronic device relative to one or more AR (augmented reality) planes. Some embodiments described in the present disclosure relate to one or more first electronic devices that generate a tactile output, and the tactile output indicates a data sharing process with one or more second electronic devices. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

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

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

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

[0012] Figure 4A An exemplary user interface for an application menu on a portable multifunction device according to some embodiments is shown.

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

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

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

[0016] FIG. 5C to FIG. 5D Example components of a personal electronic device with a touch-sensitive display and an intensity sensor are shown according to some embodiments.

[0017] FIG. 5E to FIG. 5H Exemplary components and user interfaces of a personal electronic device according to some embodiments are shown.

[0018] FIG. 5I to FIG. 5N A set of sample tactile output patterns are provided that can be used individually or in combination, as is or through one or more transformations (e.g., modulation, amplification, truncation, etc.) to generate suitable tactile feedback in a variety of scenarios and for a variety of purposes (such as those described above and those described for the user interfaces and methods discussed herein).

[0019] 6A to 6DD An exemplary manner is shown in which an electronic device according to some embodiments of the present disclosure generates a tactile output sequence in response to detecting that the electronic device is oriented within an orientation range that changes as the distance between the electronic device and a corresponding object changes.

[0020] 7A to 7Eis a flowchart illustrating a method for generating a tactile output sequence in response to detecting that an electronic device is oriented within an orientation range that varies as a distance between the electronic device and a corresponding object changes according to some embodiments of the present disclosure.

[0021] FIG. 8A to FIG. 8EE An exemplary manner is shown in which an electronic device according to some embodiments of the present disclosure changes one or more characteristics of a tactile output in response to detecting a change in the orientation of the electronic device relative to a corresponding object.

[0022] 9A to 9F is a flowchart illustrating a method of changing one or more characteristics of a tactile output in response to detecting a change in orientation of an electronic device relative to a corresponding object according to some embodiments of the present disclosure.

[0023] FIG. 10A to FIG. 10I An exemplary manner in which an electronic device generates a tactile output having a characteristic indicating the orientation of a camera of the electronic device relative to one or more AR (augmented reality) planes according to some embodiments of the present disclosure is shown.

[0024] FIG. 11A to FIG. 11C is a flowchart illustrating a method of generating a tactile output having a characteristic indicating an orientation of a camera of an electronic device relative to one or more AR (augmented reality) planes according to some embodiments of the present disclosure.

[0025] FIG. 12A to FIG. 12Q An exemplary manner in which a first electronic device generates a tactile output indicating a data sharing process with a second electronic device according to some embodiments of the present disclosure is shown.

[0026] FIG. 13A to FIG. 13F is a flowchart illustrating a method of generating tactile output indicating a data sharing process with a second electronic device according to some embodiments. DETAILED DESCRIPTION

[0027] Specific implementation methods of the implementation plan

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

[0029] There is a need for an electronic device that generates a sequence of tactile outputs that indicate the orientation of the electronic device relative to a corresponding object. Such techniques can reduce the cognitive burden on users who use such devices and / or wish to control their use of such devices. In addition, such techniques can reduce processor power and battery power that would otherwise be wasted on redundant user input.

[0030] Although the following description uses the terms "first", "second", etc. to describe various elements, these elements should not be limited by the terms. For example, a first touch may be named a second touch and similarly a second touch may 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. These terms are only used to distinguish one element from another element.

[0031] The terms used in the description of various described embodiments herein are only for the purpose of describing specific embodiments, and are not intended to be limited. It should be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more items in the associated listed items. It will also be understood that the term "includes", "including", "comprises" and / or "comprising" when used in this specification specifies the presence of stated features, integers, steps, operations, elements and / or parts, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or their grouping. As used in the description of various described embodiments and in the appended claims, the singular forms "one" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise.

[0032] Depending on the context, the phrase “if it is determined that…” or “if [a stated condition or event] is detected” is optionally interpreted to mean “upon determining…” or “in response to determining…” or “upon detecting [a stated condition or event]” or “in response to detecting [a stated condition or event]”. Depending on the context, the term “if” is optionally interpreted to mean “when…”, “upon…” or “in response to determining” or “in response to detecting”.

[0033] Embodiments of electronic devices, user interfaces for such devices, and related processes using such devices are described herein. In some embodiments, the device is a portable communication device, such as a mobile phone, that also includes other functions such as a PDA and / or a music player function. 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., a touch screen display and / or a trackpad). Other portable electronic devices are optionally used, such as a laptop or tablet computer with a touch-sensitive surface (e.g., a touch screen display and / or a trackpad).

[0034] 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.In the following discussion, an electronic device including a display and a touch-sensitive surface is described.

[0035] The device typically supports a variety of applications, such as one or more of the following: a web browsing application, a website creation application, a word processing application, a disk editing application, a spreadsheet application, a gaming application, a telephony application, a drawing application, a presentation application, a video conferencing application, a fitness support application, a digital camera application, a digital video camera application, a photo management application, an email application, an instant messaging application, a digital music player application, and / or a digital video player application.

[0036] One or more functions of the touch-sensitive surface and the corresponding information displayed on the device are optionally adjusted and / or varied for different applications and / or within the respective applications. 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. The various applications executed on the device optionally use at least one common physical user interface device, such as a touch-sensitive surface.

[0037] Attention is now turned to embodiments of portable devices having touch-sensitive displays. Figure 1A is a block diagram showing a portable multifunction device 100 with a touch-sensitive display system 112 according to some embodiments. 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, an audio circuit 110, a speaker 111, a microphone 113, an input / output (I / O) subsystem 106, a peripheral device interface 118, an RF circuit 108, other input control devices 116, and an external port 124. The touch-sensitive display 112 is sometimes referred to as a "touch screen" for convenience, and is sometimes referred to as or referred to as a "touch-sensitive display system." 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). Device 100 optionally includes one or more optical sensors 164. These components optionally communicate via one or more communication buses or signal lines 103.

[0038] Using contact strength as an attribute of user input allows the user to access additional device functionality that the user may not otherwise be able to access on a smaller device that has limited real estate for receiving user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical controls / mechanical controls, such as knobs or buttons) and / or displaying an indication (e.g., on a touch-sensitive display). 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 substitute (surrogate) for the force or pressure of a contact on the touch-sensitive surface. The intensity of the 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. The intensity of the 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). 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 the 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 changes thereto, the capacitance of the touch-sensitive surface near the contact and / or changes thereto, and / or the resistance of the touch-sensitive surface near the contact and / or changes thereto are optionally used as a substitute for the force or pressure of the contact on the touch-sensitive surface. In some implementations, a substitute measurement of contact force or pressure is converted into an estimated force or pressure, and the estimated force or pressure is used to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). In some implementations, a substitute measurement of 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).

[0039] As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, which will be detected by a user using the user's sense of touch. In some cases, the user will feel a tactile sensation, such as a "press click" or "release click", even when a physical actuation button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movement is not moved. For example, in the case where a device or a component of the device is in contact with a user's touch-sensitive surface (e.g., a finger, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation that corresponds to a perceived change in a physical feature of the device or a component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "press click" or "release click" to a physical actuation button. As another example, even when there is no change in the smoothness of the touch-sensitive surface, movement of the touch-sensitive surface may optionally be interpreted or sensed by the user as "roughness" of the touch-sensitive surface. Although such a user's interpretation of touch will be limited by the user's individualized sensory perceptions, many sensory perceptions of touch are common to most users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., "press click," "release click," "roughness"), unless otherwise stated, the generated tactile output corresponds to a physical displacement of the device or a component thereof that would generate that sensory perception for a typical (or average) user.

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

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

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

[0043] RF (radio frequency) circuit 108 receives and sends RF signals, also referred to as electromagnetic signals. RF circuit 108 converts electrical signals into / converts electromagnetic signals into electrical signals, and communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 108 optionally includes well-known circuits for performing these functions, including but not limited to antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codec chipsets, user identity modules (SIM) cards, memory, and the like. RF circuit 108 optionally includes well-known circuits for detecting near field communication (NFC) fields, such as by short-range communication radio components. RF circuit 108 optionally communicates with networks and other devices by wireless communication, such as the Internet (also referred to as the World Wide Web (WWW)), intranets, and / or wireless networks (such as cellular telephone networks, wireless local area networks (LANs), and / or metropolitan area networks (MANs)). Wireless communication optionally uses any of a variety of communication standards, protocols and technologies, including, but not limited to, High Speed ​​Uplink Packet Access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual Cell HSPA (DC-HSPDA), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High Speed ​​Downlink Packet Access (HSDPA), 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), Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n and / or IEEE 802.11ac), Bluetooth, Bluetooth Low Energy (BTLE), Voice over Internet Protocol (VoIP), Wi-MAX, email protocols (e.g., Internet Message Access Protocol (IMAP) and / or Post Office Protocol (POP)), Session Initiation Protocol for Instant Messaging and Presence Utilizing Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS), Short Message Service (SMS), and / or Instant Messaging (e.g., Extensible Messaging and Presence Protocol (XMPP)), or any other suitable communications protocol, including communications protocols that have not yet been developed as of the filing date of this document.

[0044] The audio circuit 110, speaker 111, and microphone 113 provide an audio interface between a user and the device 100. The speaker 111 converts electrical signals into sound waves audible to humans. 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 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 headset 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 or dual-ear headset) and input (e.g., a microphone).

[0045] 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 / to other input control devices 116. In some embodiments, the input controller 160 is optionally coupled to any (or none) of the following: a keyboard, an infrared port, a USB port, and a pointing device such as a mouse. One or more buttons (e.g., Figure 2 208) optionally includes an increase / decrease 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 in). Other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, etc.

[0046] A quick press of the push button optionally disengages the lock of the touch screen 112, or optionally begins the process of unlocking the device using gestures on the touch screen. A long press of the push button (e.g., 206) optionally turns the device 100 on or off. The touch screen 112 is used to implement virtual or soft buttons and one or more soft keyboards. The function of one or more buttons is optionally user-customizable.

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

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

[0049] 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. The touch screen 112 optionally uses LED (light emitting diode) technology, LCD (liquid crystal display) technology, or LPD (light emitting polymer display) technology, although other display technologies are used in other embodiments.

[0050] The touch-sensitive display in some embodiments of touch screen 112 is optionally similar to a multi-touch-sensitive trackpad. However, touch screen 112 displays visual output from device 100, while a touch-sensitive trackpad does not provide visual output.

[0051] The user optionally uses any suitable object or attachment such as a stylus, finger, etc. to contact the touch screen 112. 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. In some embodiments, the user interface is designed to work primarily through 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. 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.

[0052] In some embodiments, in addition to the touch screen, the device 100 optionally includes a touchpad (not shown) for activating or deactivating specific functions. 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. In some embodiments, the touchpad is a touch-sensitive area of ​​the device that, unlike the touch screen, does not display visual output.

[0053] 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 power converter or inverter, a power status indicator (e.g., a light emitting diode (LED)), a recharging system, power fault detection circuitry, and any other components associated with the generation, management, and distribution of power in a portable device.

[0054] Device 100 optionally also includes one or more optical sensors 164 . Figure 1A An optical sensor coupled to an optical sensor controller 158 in the I / O subsystem 106 is shown. The optical sensor 164 receives light projected through one or more lenses from the environment and converts the light into data representing an image. The optical sensor 164 optionally includes a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. In conjunction with the imaging module 143 (also called a camera module), the optical sensor 164 optionally captures a static image or a video. In some embodiments, the optical sensor is located on the front of the device so that the user's image is optionally acquired for video conferencing while the user is viewing other video conference participants on the touch screen display. In some embodiments, the optical sensor is located on the rear 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 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.

[0055] Figure 1AA contact force sensor is shown coupled to a force sensor controller 159 in the I / O subsystem 106. The device 100 optionally also includes one or more contact force sensors 165. The 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 a contact on a touch-sensitive surface). The 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 located on the back of the device 100, opposite to the touch screen display 112 located on the front of the device 100. 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).

[0056] Device 100 optionally also includes one or more proximity sensors 166 . Figure 1A A proximity sensor 166 is shown coupled to the peripherals interface 118. In some embodiments, when the multifunction device is placed near the user's ear (e.g., when the user is making a phone call), the proximity sensor turns off and disables the touch screen 112. Alternatively, the proximity sensor 166 is optionally coupled to the input controller 160 in the I / O subsystem 106.

[0057] Figure 1A A tactile output generator is shown coupled to a tactile feedback controller 161 in the I / O subsystem 106. The device 100 optionally also includes one or more tactile output generators 167. The tactile output generator 167 optionally includes one or more electroacoustic devices such as speakers or other audio components; and / or electromechanical devices for converting energy into linear motion such as motors, solenoids, electroactive polymers, piezoelectric actuators, electrostatic actuators, or other tactile output generating components (e.g., components for converting electrical signals into tactile outputs on the device). The contact intensity sensor 165 receives tactile feedback generation instructions from the tactile feedback module 133 and generates tactile outputs on the device 100 that can be felt by a user of the device 100. In some embodiments, at least one tactile output generator sensor is located on the back of the device 100, opposite the touch screen display 112 located on the front of the device 100. In some embodiments, at least one tactile output generator is juxtaposed with 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 from the surface of device 100) or laterally (e.g., backward and forward in the same plane as the surface of device 100).

[0058] Device 100 optionally also includes one or more accelerometers 168 . Figure 1A An accelerometer 168 is shown coupled to the peripheral device interface 118. Alternatively, the accelerometer 168 is optionally coupled to the input controller 160 in the I / O subsystem 106. In some embodiments, information is displayed in a portrait view or a landscape view on the touch screen display based on an analysis of data received from one or more accelerometers. The device 100 optionally includes a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) in addition to the accelerometer 168 for obtaining information about the position and orientation (e.g., portrait or landscape) of the device 100.

[0059] In some embodiments, the software components stored in memory 102 include an operating system 126, an application (or instruction set) 136, a communication module (or instruction set) 128, a contact / motion module (or instruction set) 130, a text input module (or instruction set) 134, a graphics module (or instruction set) 132, and a global positioning system (GPS) module (or instruction set) 135. 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, which indicates which applications (if any) are currently active; a display state, which indicates 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 about the device's position and / or posture.

[0060] The operating system 126 (e.g., WINDOWS, Darwin, RTXC, LINUX, UNIX, OS X, iOS, 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.

[0061] 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. In some embodiments, the external port is a multi-pin (e.g., 30-pin) connector. The external port 124 (e.g., Universal Serial Bus (USB), FireWire, etc.) is suitable for coupling directly to other devices, or indirectly through a network (e.g., the Internet, a wireless LAN, etc.).

[0062] 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 receives contact data from the touch-sensitive surface. 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 contact strength (e.g., the force or pressure of the contact, or a substitute for the force or pressure of the contact), determining whether there is movement of the contact and tracking the movement on the touch-sensitive surface (e.g., detecting one or more finger drag events), and determining whether the contact has stopped (e.g., detecting a finger lift event or contact disconnection). Determining the movement of a contact point optionally includes determining the rate (magnitude), velocity (magnitude and direction), and / or acceleration (change in magnitude and / or direction) of the contact point, the movement of which is represented by a series of contact data. These operations are optionally applied to a single point of contact (e.g., a single finger contact) or multiple points of simultaneous contact (e.g., "multi-touch" / multiple finger contacts). In some embodiments, the contact / motion module 130 and display controller 156 detect contact on a touch pad.

[0063] In some embodiments, the contact / motion module 130 uses a set of one or more intensity thresholds to determine whether an operation has been performed by a user (e.g., to determine whether a user has "clicked" an icon). 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 some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation threshold of a particular physical actuator and can be adjusted without changing the physical hardware of the device 100). 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).

[0064] The contact / motion module 130 optionally detects gesture input by the user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and / or intensities of the detected contacts). 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). Thus, gestures are optionally detected by detecting specific contact patterns. 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.

[0065] As used herein, the term "graphics" includes any object that can be displayed to a user, including, without limitation, text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, etc. 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 displayed graphics.

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

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

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

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

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

[0071] Video player module;

[0072] Music player module;

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

[0074] Telephone module 138;

[0075] Video conferencing module 139;

[0076] Email client module 140;

[0077] Instant messaging (IM) module 141;

[0078] Fitness support module 142;

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

[0080] Image management module 144;

[0081] Browser module 147;

[0082] Calendar module 148;

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

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

[0085] Search module 151;

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

[0087] Notepad module 153;

[0088] Map module 154; and / or

[0089] Online video module 155.

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

[0091] In conjunction with the touch screen 112, touch / motion module 130, graphics module 132, text input module 134 and display controller 156, 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 names from the address book; associating phone numbers, physical addresses, email addresses or other information with names; associating images with names; categorizing and classifying 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.

[0092] As described above, wireless communication optionally uses any of a variety of communication standards, protocols and technologies. In conjunction with RF circuit 108, audio circuit 110, speaker 111, microphone 113, touch screen 112, contact / motion module 130, graphics module 132, text input module 134 and display controller 156, phone module 138 is optionally used to enter a character sequence 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 completed.

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

[0094] In conjunction with RF circuit 108, touch screen 112, contact / motion module 130, graphics module 132, text input module 134, and display controller 156, 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.

[0095] 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). In conjunction with RF circuitry 108, touch screen 112, contact / motion module 130, graphics module 132, text input module 134, and display controller 156, 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 messaging service (MMS) protocol for telephone-based instant messaging or using SIMPLE, XMPP, or IMPS for Internet-based instant messaging), receiving an instant message, and viewing the received instant message. 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).

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

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

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

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

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

[0101] 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 XML (Extensible Markup Language) file and a JavaScript file (e.g., the Yahoo! desktop widget). In some embodiments, the desktop widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file.

[0102] In combination with the RF circuit 108, touch screen 112, touch / motion module 130, graphics module 132, text input module 134, display controller 156 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).

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

[0104] In some embodiments, device 100 optionally includes the functionality of an MP3 player. In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 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, as well as executable instructions for displaying, presenting, or otherwise playing back video (e.g., on touch screen 112 or on an external display connected via external port 124).

[0105] 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 to-do lists, notes, etc. according to user instructions.

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

[0107] In conjunction with touch screen 112, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, browser module 147, and display controller 156, online video module 155 includes instructions for performing the following operations: allowing a user to receive, access, browse (e.g., by streaming and / or downloading), playback (e.g., on a 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.

[0108] Each of the modules and applications described above corresponds to an executable instruction set for performing one or more of the functions described above and the methods described in this patent application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (e.g., instruction sets) do not have to be implemented as independent software programs, processes, or modules, so various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. In some embodiments, memory 102 optionally stores subsets of the above modules and data structures. For example, a video player module is optionally combined with a music player module into a single module (e.g., Figure 1A In addition, the memory 102 optionally stores additional modules and data structures not described above.

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

[0110] A predefined set of functions that are performed exclusively through the touch screen and / or trackpad optionally includes navigation between user interfaces. In some embodiments, the trackpad, when touched by the user, navigates the device 100 to a main menu, a home menu, or a root menu from any user interface displayed on the device 100. In some embodiments, the menu button is a physical push button or other physical input control device, rather than a trackpad. In such other embodiments, a trackpad is used to implement a "menu button".

[0111] Figure 1B 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 a corresponding application 136-1 (e.g., any one of the aforementioned applications 137 to 151, 155, 380 to 390) and an event classifier 170 (e.g., in the operating system 126).

[0112] Event classifier 170 includes an event monitor 171 and an event distributor module 174. 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. In some embodiments, application 136-1 includes an application internal state 192 that 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.

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

[0114] Event monitor 171 receives event information from peripherals interface 118. 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). Event information includes information about sub-events (e.g., user touches on touch-sensitive display 112 as part of a multi-touch gesture). Information received by peripherals interface 118 from I / O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.

[0115] In some 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). In other embodiments, event monitor 171 sends a request to peripheral device interface 118 at predetermined intervals. In response, peripheral device interface 118 transmits event information.

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

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

[0118] Another aspect of the user interface associated with an application is a set of views, sometimes also referred to herein as application views or user interface windows, in which information is displayed and touch-based gestures occur. In some embodiments, the lowest level view in which a touch is detected is optionally referred to as a hit view, and the set of events recognized as correct input is optionally determined based at least in part on the hit view of the initial touch that started the touch-based gesture. Thus, the application view (of the corresponding application) in which a touch is detected optionally corresponds to a programmatic level within the programmatic or view hierarchy of the application.

[0119] 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 for which sub-events should be processed. Hit view determination module 172 receives information related to sub-events of touch-based gestures. 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 is identified as the hit view.

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

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

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

[0123] 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. Typically, the corresponding application view 191 includes multiple event identifiers 180. Each application view 191 of application 136-1 includes one or more event identifiers 180. In other embodiments, one or more event identifiers in event identifier 180 are part of an independent module, which is a higher-level object such as a user interface toolkit (not shown) or application 136-1 from which methods and other properties are inherited. 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. Additionally, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in a corresponding application view 191. Alternatively, one or more of application views in application view 191 include one or more corresponding event handlers 190.

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

[0125] Event receiver 182 receives event information from event classifier 170. Event information includes information about sub-events such as touch or touch movement. When the sub-event involves the movement of touch, the event information optionally also includes the speed and direction of the sub-event. Depending on the sub-event, the event information also includes additional information, such as the location 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).

[0126] In some embodiments, event comparator 184 includes event definition 186. 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. Event definition 186 includes definitions of events (e.g., predefined sub-event sequences), such as event 1 (187-1), event 2 (187-2), and others. In some embodiments, 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 2 (187-2) is dragging 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 lift-off of the touch (touch end). In another 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 a displayed object, a first lift-off (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on a displayed object, and a second lift-off (touch end) of a predetermined duration. In some embodiments, the event also includes information for one or more associated event handlers 190.

[0127] 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 displaying three user interface objects on touch-sensitive 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. In some embodiments, event definition 187 includes a definition of an event for a corresponding user interface object.

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

[0129] When a corresponding event recognizer 180 determines that a sequence of sub-events does not match any event in event definition 186, the corresponding event recognizer 180 enters an event failed, event impossible, 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.

[0130] 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 for actively participating event recognizers. 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. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate how event recognizers interact or can interact with each other.

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

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

[0133] In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 177 creates a new user interface object or updates the position of a user interface object. 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. 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.

[0134] In some embodiments, event handler 190 includes or has access to data updater 176, object updater 177, and GUI updater 178. In other embodiments, they are included in two or more software modules. 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.

[0135] It should be understood that the above discussion of event processing of 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, not all of which are initiated on the touch screen. For example, verbal commands; mouse movements and mouse button presses, optionally in conjunction with single or multiple keyboard presses or hold; stylus input; contact movement on a touch pad, such as tapping, dragging, scrolling, etc.; movement of the device; detected eye movement; biometric input; and / or any combination thereof are optionally used as input corresponding to sub-events defining an event to be recognized.

[0136] 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 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 figure) or one or more styluses 203 (not drawn to scale in the figure). 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 embodiments, when the user interrupts contact with one or more graphics, selection of one or more graphics will occur. 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.

[0137] The device 100 optionally also includes one or more physical buttons, such as a "home" or menu button 204. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 112. 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.

[0138] In some embodiments, the device 100 includes a touch screen 112, a menu button 204, a push button 206 for turning 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 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. The push button 206 is optionally used to turn the device on / off by pressing the button and keeping the button in the pressed state for a predefined time interval; lock the device by pressing the button and releasing the button before the predefined time interval has passed; 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 the microphone 113.

[0139] Figure 3300 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments. In some embodiments, the 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). The device 300 does not have to be portable. The 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 circuits (sometimes referred to as a chipset) that interconnect system components and control communications between system components. The 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 touchpad 355, a tactile output generator 357 for generating tactile output on the device 300 (e.g., similar to the above reference Figure 1A The tactile output generator 167 described above), sensor 359 (e.g., optical sensor, acceleration sensor, proximity sensor, touch sensor and / or contact intensity sensor (similar to the above reference Figure 1A The memory 370 optionally includes one or more storage devices located away from the CPU 310. The memory 370 includes a high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices; and optionally includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some embodiments, the memory 370 stores data related to the 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.

[0140] Figure 3Each element in the above-mentioned elements in is optionally stored in one or more memory devices of the previously mentioned memory device. Each module in the above-mentioned modules corresponds to an instruction set for performing the above-mentioned functions. 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. The above-mentioned modules or programs (e.g., instruction sets) do not have to be implemented as separate software programs, processes or modules, and therefore the various subsets of these modules are optionally combined or otherwise rearranged in various embodiments.

[0141] Attention is now turned to an embodiment of a user interface that is optionally implemented on, for example, portable multifunction device 100.

[0142] Figure 4A An exemplary user interface of an application menu on portable multifunction device 100 according to some embodiments is shown. 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:

[0143] Signal strength indicators 402 for wireless communications such as cellular signals and Wi-Fi signals;

[0144] Time 404;

[0145] Bluetooth indicator 405;

[0146] Battery status indicator 406;

[0147] A tray 408 with icons for commonly used applications, such as:

[0148] o An icon 416 for the phone module 138, which optionally includes an indicator 414 of the number of missed calls or voicemails;

[0149] o an icon 418 of the email client module 140, which optionally includes an indicator 410 of the number of unread emails;

[0150] o Icon 422 for the video and music player module 152; and

[0151] o Icon 420 of browser module 147; and

[0152] Icons for other apps, such as:

[0153] o Icon 424 of IM module 141;

[0154] o Icon 442 of the fitness support module 142;

[0155] o Icon 430 of camera module 143;

[0156] o Icon 428 of the image management module 144;

[0157] o Icon 426 of calendar module 148;

[0158] o Icon 438 of the weather widget 149-1;

[0159] o Icon 434 of the stock market applet 149-2;

[0160] o Icon 440 of the alarm clock desktop applet 149-4;

[0161] o Icon 444 of the notepad module 153;

[0162] o Icon 436 of the map module 154;

[0163] o Icon 432 of online video module 155; and

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

[0165] In some embodiments, the label of the corresponding application icon includes the name of the application corresponding to the corresponding application icon. In some embodiments, the label of a specific application icon is different from the name of the application corresponding to the specific application icon.

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

[0167] Although some of the examples below are 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 According to these embodiments, the device detects a position corresponding to a corresponding position on the display (e.g., Figure 4B460 corresponds to 468 and 462 corresponds to 470) with touch-sensitive surface 451 (e.g., Figure 4B 460 and 462 in ). 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 Thus, when the touch-sensitive surface (e.g., Figure 4B 451) and a display of a multi-function device (e.g., 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.

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

[0169] Figure 5A An exemplary personal electronic device 500 is shown. In some embodiments, device 500 may include a device 500 that is compatible with devices 100 and 300 (e.g., Figures 1A to 4B) or some or all of the features described in the foregoing. Device 500 includes a body 502. In some embodiments, device 500 has a touch-sensitive display screen 504, referred to hereinafter as a 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 strength sensors for detecting the intensity of contact (e.g., touch) applied. One or more strength sensors of touch screen 504 (or touch-sensitive surface) can provide output data representing the intensity of touch. The user interface of device 500 can respond to touch based on the intensity of touch, which means that touches of different intensities can invoke different user interface operations on device 500.

[0170] In some embodiments, the device 500 has one or more input mechanisms 506 and 508. Examples of physical input mechanisms include push buttons and rotatable mechanisms. Input mechanisms 506 and 508 (if included) can be physical. In some embodiments, the device 500 has one or more attachment mechanisms. These attachment mechanisms allow a user to wear the device 500. 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.

[0171] Figure 5B An exemplary personal electronic device 500 is shown. In some embodiments, the device 500 may include a reference Figure 1A , Figure 1B and Figure 3 Some or all of the components described. Device 500 may include input mechanism 506 and / or 508. For example, input mechanism 506 is optionally a rotatable input device or a depressible input device and a rotatable input device. In some examples, input mechanism 508 is optionally a button. Device 500 has a bus 512, which operatively couples an I / O portion 514 with one or more computer processors 516 and a memory 518. I / O portion 514 may be connected to display 504, which may have a touch-sensitive component 522 and optionally has an intensity sensor 524 (e.g., a contact intensity sensor). In addition, I / O portion 514 may be connected to 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.

[0172] 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. In some examples, input mechanism 508 is optionally a microphone.

[0173] 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, which when executed by one or more computer processors 516 may, for example, cause the computer processors to perform the techniques described below, including processes 700, 900, 1100, and 1300 (Figures 7, 9, 11, and 13). In some examples, the storage medium is a transient computer-readable storage medium. In some examples, the storage medium is a non-transitory computer-readable storage medium. Non-transitory computer-readable storage media may include, but are not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage devices include magnetic disks, optical disks based on CD, DVD, or Blu-ray technology, and persistent solid-state memory such as flash memory, solid-state drives, and the like. Computer-readable storage media may be any medium that can tangibly contain or store computer-executable instructions for use by or in conjunction with instruction execution systems, devices, and apparatuses. 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.

[0174] As used herein, the term "indicative representation" refers to an optional feature of the apparatus 100, 300, and / or 500 ( Figure 1A , Figure 3 and FIG. 5A to FIG. 5B ) is a user-interactive graphical user interface object displayed on a display screen of a computer. For example, a button, an image (e.g., an icon), and text (e.g., a hyperlink) optionally each constitute an affordance.

[0175] As used herein, the term "focus selector" refers to an input element used to indicate the current portion of a user interface with which a user is interacting. In some implementations that include a cursor or other position marker, the cursor acts as a "focus selector" such that when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), a focus selector is displayed on a touch-sensitive surface (e.g., Figure 3 Touchpad 355 or Figure 4BIn 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 contacts on the touch screen display (e.g., by using a tab key or arrow keys to move focus from one button to another); in these implementations, the focus selector moves based on the movement of focus between different areas of the user interface. In a touch screen display that includes a feature that enables direct interaction with user interface elements on the touch screen display (e.g., Figure 1A A touch-sensitive display system 112 or Figure 4A In some implementations of the touch screen 112 in the device, a contact detected 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 according to the detected input. 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 trackpad or touch screen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a corresponding button will indicate that the user desires to activate the corresponding button (rather than other user interface elements shown on the device display).

[0176] 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. 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 off, before or after contact starts to move, before contact ends, before or after contact is detected to increase in intensity, and / or before or after contact is detected to decrease in intensity). In some embodiments, the characteristic intensity is based on multiple intensity samples. The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of the intensity of the contact, the average value of the intensity of the contact, the mean value of the intensity of the contact, the value at the top 10% of the intensity of the contact, the half-maximum value of the intensity of the contact, the 90% maximum value of the intensity of the contact, etc. In some embodiments, the characteristic intensity is compared with a set of one or more intensity 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 characteristic strength does not exceed the first threshold results in a first operation, a contact whose characteristic strength exceeds the first strength threshold but does not exceed the second strength threshold results in a second operation, and a contact whose characteristic strength exceeds the second threshold results in a third operation. In some embodiments, the duration of the contact is used when determining the characteristic strength (for example, when the characteristic strength is the average value of the strength of the contact over time). In some embodiments, a comparison between the characteristic strength and one or more thresholds is used to determine whether to perform one or more operations (for example, whether to perform the corresponding operation or give up performing the corresponding operation) rather than to determine whether to perform the first operation or the second operation.

[0177] Figure 5C Detecting multiple contacts 552A-552E on touch-sensitive display screen 504 using multiple intensity sensors 524A-524D is shown. Figure 5C Also included is an intensity graph that shows the current intensity measurements of intensity sensors 524A-524D relative to intensity units. In this example, the intensity measurements of intensity sensors 524A and 524D are each 9 intensity units, and the intensity measurements of intensity sensors 524B and 524C are each 7 intensity units. In some implementations, the cumulative intensity is the sum of the intensity measurements of multiple intensity sensors 524A-524D, which is 32 intensity units in this example. In some embodiments, each contact is assigned a corresponding intensity, which is a portion of the cumulative intensity. Figure 5DThe cumulative strengths assigned to contacts 552A-552E are shown based on their distances from the center of force 554. More generally, in some embodiments, each contact j is assigned a corresponding strength Ij that is a portion of the cumulative strength A according to a predefined mathematical function Ij=A·(Dj / ΣDi), where Dj is the distance of the corresponding contact j from the center of force, and ΣDi is the sum of the distances of all corresponding contacts (e.g., i=1 to the last) from the center of force. In this example, each of contacts 552A, 552B, and 552E is assigned a strength of the contact of 8 strength units of the cumulative strength, and each of contacts 552C and 552D is assigned a strength of the contact of 4 strength units of the cumulative strength. The reference may be performed using an electronic device similar to or equivalent to device 100, 300, or 500. Figure 5C-5D In some embodiments, the intensity sensor is used to determine a single characteristic intensity (e.g., a single characteristic intensity of a single contact). In some embodiments, the characteristic intensity of a contact is based on one or more intensities of the contact. It should be noted that the intensity map is not part of the displayed user interface, but is included in the Figure 5C-5D To assist the readers.

[0178] In some embodiments, a smoothing algorithm is optionally applied to the intensity of the swipe contact before determining the characteristic intensity of the contact. For example, the smoothing algorithm optionally includes one or more of the following: a triangular smoothing algorithm, an unweighted sliding average 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 intensity of the swipe contact to achieve the purpose of determining the characteristic intensity. In some embodiments, a portion of a gesture is identified for determining the characteristic intensity. 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 contact intensity increases. In this example, the characteristic intensity 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 the portion of the swipe contact at the end position).

[0179] The intensity of 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 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 trackpad. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform an operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, when a contact having a characteristic intensity below the light press intensity threshold (e.g., and above a nominal contact detection intensity threshold, contacts lower than the nominal contact detection intensity threshold are no longer detected) is detected, the device will move the focus selector 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.

[0180] An increase in contact feature intensity from an intensity below a deep press intensity threshold to an intensity above the deep press intensity threshold is sometimes referred to as a "deep press" input. An increase in contact feature intensity from an intensity below a 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. A decrease in contact feature intensity from an intensity above a 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. An increase in contact feature intensity from an intensity below the 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. In some embodiments, the contact detection intensity threshold is zero. In some embodiments, the contact detection intensity threshold is greater than zero.

[0181] In some embodiments described herein, one or more operations are performed in response to detecting a gesture that includes a corresponding press input or in response to detecting a corresponding press input performed using a corresponding contact (or multiple contacts), wherein the corresponding press input is detected at least in part based on detecting that the strength of the contact (or multiple contacts) increases to above a press input strength threshold. In some embodiments, the press input includes an increase in the strength of the corresponding contact to above the press input strength threshold and a subsequent decrease in the strength of the contact 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 "upward stroke" of the corresponding press input). 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 "downward stroke" of the corresponding press input).

[0182] Figure 5E-Figure 5HDetection of a gesture is shown, the gesture comprising contact 562 with an intensity from below Figure 5E The light press intensity threshold in L ”) increases to a strength higher than Figure 5H The deep compression intensity threshold in D ”). On the displayed user interface 570 including application icons 572A-572D displayed in the predefined area 574, when the cursor 576 is displayed above the application icon 572B corresponding to application 2, a gesture performed using contact 562 is detected on the touch-sensitive surface 560. In some embodiments, the gesture is detected on the touch-sensitive display 504. The intensity sensor detects the intensity of the contact on the touch-sensitive surface 560. The contact 562 is maintained on the touch-sensitive surface 560. The device determines that the intensity of the contact 562 is within a deep press intensity threshold (for example, “IT D In some embodiments, the intensity is a characteristic intensity of the contact compared to one or more intensity thresholds. In response to detecting a gesture, and based on the intensity rising to a deep press intensity threshold (e.g., “IT D ”) above contact 562, displays scaled representations 578A-578C (e.g., thumbnails) of documents recently opened for application 2, such as Figure 5F-5H It should be noted that the intensity map for contact 562 is not part of the displayed user interface, but is included in Figure 5E-Figure 5H To assist the readers.

[0183] In some embodiments, the display of representations 578A-578C includes animation. For example, representation 578A is initially displayed near application icon 572B, such as Fig. 5F As shown. Representations 578A-578C form an array above icon 572B. As the animation progresses, representation 578A moves upward and representation 578B is displayed near application icon 572B, as shown. Figure 5G Then, representation 578A moves upward, 578B moves upward toward representation 578A, and representation 578C is displayed near application icon 572B, as shown in FIG. Figure 5H In some embodiments, the animation progresses according to the intensity of contact 562, such as Figure 5F-5G , where representations 578A-578C appear and increase as the strength of contact 562 approaches a deep press strength threshold (eg, “IT D ”) increases and moves upward. In some embodiments, the intensity according to which the animation progresses is the characteristic intensity of the contact. The reference may be performed using an electronic device similar to or equivalent to device 100, 300, or 500. FIG. 5E to FIG. 5H The operation described.

[0184] 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). In some embodiments, a press input is detected only when the device detects that the contact intensity increases from an intensity equal to or lower than the hysteresis intensity threshold to an intensity equal to or higher than the press input intensity threshold and optionally the contact intensity subsequently decreases to an intensity equal to or lower than the hysteresis intensity, and a corresponding operation is performed in response to detecting the press input (e.g., depending on the environment, the contact intensity increases or the contact intensity decreases). In some embodiments, the press input includes an increase in the intensity of the corresponding contact to above the press input intensity threshold and a subsequent decrease in the intensity of the contact to below a hysteresis intensity threshold corresponding to the press input intensity threshold, and a corresponding operation is performed in response to detecting that the intensity of the corresponding contact subsequently decreases to below the hysteresis intensity threshold (e.g., an "upward stroke" of the corresponding press input).

[0185] For ease of explanation, 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 optionally triggered in response to detecting any of the following: 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 increases above the press input intensity threshold, the intensity of the contact decreases below a hysteresis intensity threshold corresponding to the press input intensity threshold, and / or the intensity of the contact decreases below the press input intensity threshold. Additionally, in examples where an operation is described as being performed in response to detecting that the intensity of the contact decreases below the press input intensity threshold, the operation is optionally performed in response to detecting that the intensity of the contact decreases below a hysteresis intensity threshold corresponding to and less than the press input intensity threshold.

[0186] In some embodiments, the electronic device 500 includes one or more tactile output generators, wherein the one or more tactile output generators generate different types of tactile output sequences, as described in Table 1 below. When a device (e.g., one or more tactile output generators that generate tactile outputs via a movable mass) generates tactile outputs with different tactile output patterns, the tactile outputs can produce different tactile sensations in a user holding or touching the device. Although the user's senses are based on the user's perception of the tactile output, most users will be able to recognize changes in the waveform, frequency, and amplitude of the tactile output generated by the device. In some embodiments, a specific type of tactile output sequence generated by one or more tactile output generators of the device corresponds to a specific tactile output pattern. For example, a tactile output pattern specifies characteristics of a tactile output, such as the amplitude of the tactile output, the shape of the motion waveform of the tactile output, the frequency of the tactile output, and / or the duration of the tactile output.

[0187] More specifically, FIG. 5I to FIG. 5K A set of sample tactile output patterns are provided that can be used, individually or in combination, as is or through one or more transformations (e.g., modulation, amplification, truncation, etc.) to form suitable tactile feedback in various scenarios for various purposes (such as those described above and those described with respect to the user interfaces and methods discussed herein). In addition to the tactile output patterns shown in these figures, each of these tactile output patterns is optionally adjusted in amplitude by changing the gain value of the tactile output pattern, as shown in the figure, for example, for Figure 5L to Figure 5N 80Hz, FullTap 200Hz, MiniTap 80Hz, MiniTap 200Hz, MicroTap80Hz, and MicroTap 200Hz, each of which is shown as a variant with gains of 1.0, 0.75, 0.5, and 0.25. This example of a control panel for tactile output shows how a set of three waveforms and eight frequencies can be used to generate an array of tactile output patterns. Figure 5L to Figure 5N As shown, changing the gain of a tactile output pattern changes the amplitude of the pattern without changing the frequency of the pattern or changing the shape of the waveform. In some embodiments, changing the frequency of the tactile output pattern also results in a lower amplitude because some tactile output generators are limited by how much force can be applied to the movable mass, so the higher frequency movement of the mass is constrained to a lower amplitude to ensure that the acceleration required to form the waveform does not require forces outside the operating force range of the tactile output generator (e.g., the peak amplitude of FullTap at 230 Hz, 270 Hz, and 300 Hz is lower than the amplitude of FullTap at 80 Hz, 100 Hz, 125 Hz, and 200 Hz).

[0188] FIG. 5I to FIG. 5NA tactile output pattern having a particular waveform is shown. The waveform of the tactile output pattern represents a pattern of physical displacements relative to a neutral position (eg, Xzero) versus time through which the movable mass passes to generate a tactile output having the tactile output pattern. FIG. 5I to FIG. 5N The exemplary waveform shown includes Xmin and Xmax values ​​representing the maximum and minimum extents of movement of the movable mass. For larger electronic devices with larger movable masses, the minimum and maximum extents of movement of the mass may be larger or smaller. FIG. 5I to FIG. 5N The illustrated embodiment describes the movement of a mass in one dimension, but similar principles can also be applied to the movement of a movable mass in two or three dimensions. Fig.5I The first set of tactile output patterns shown (eg, the “FullTap” tactile output pattern) each have a waveform that includes oscillations having two complete cycles (eg, oscillations that start and end at a neutral position and pass through the neutral position three times). Figure 5J The second set of tactile output patterns shown (eg, “MiniTap” tactile output patterns) each have a waveform that includes oscillations having one complete cycle (eg, oscillations that begin and end at a neutral position and pass through the neutral position once). Figure 5K The third set of tactile output patterns shown (e.g., the "MicroTap" tactile output patterns) each have a waveform that includes an oscillation that includes half a complete cycle (e.g., an oscillation that starts and ends at a neutral position and does not pass through the neutral position). The waveforms of the tactile output patterns also include a start buffer and an end buffer that represent the gradual acceleration and deceleration of the movable mass at the beginning and end of the tactile output.

[0189] like FIG. 5I to FIG. 5K As shown, each tactile output pattern also has a corresponding characteristic frequency, which affects the "pitch" of the tactile sensation felt by the user from the tactile output having the characteristic frequency. For discrete tactile output, a discrete output signal is generated (e.g., having 0.5, 1, or 2 cycles), and the characteristic frequency value specifies how fast the movable mass needs to move to generate a tactile output having the characteristic frequency. For continuous tactile output, the characteristic frequency represents the number of cycles (e.g., cycles per second) that the movable mass of the tactile output generator completes in a given time period. As shown in FIG. FIG. 5I to FIG. 5N As shown, for each type of tactile output (e.g., defined by a corresponding waveform, such as FullTap, MiniTap, or MicroTap), a higher frequency value corresponds to faster movement of the movable mass and, therefore, generally speaking, to a shorter tactile output completion time (e.g., including the time required to complete the number of cycles of the discrete tactile output plus the start and end buffer times). For example, a FullTap with a characteristic frequency of 80 Hz takes longer to complete (e.g., in 100 Hz) than a FullTap with a characteristic frequency of 100 Hz. Fig.5I, 35.4ms vs. 28.3ms). In addition, for a given frequency, a tactile output having more cycles in its waveform at the corresponding frequency takes longer to complete than a tactile output having fewer cycles in its waveform at the same corresponding frequency. For example, a FullTap at 150Hz takes longer to complete than a MiniTap at 150Hz (e.g., 19.4ms vs. 12.8ms), and a MiniTap at 150Hz takes longer to complete than a MicroTap at 150Hz (e.g., 12.8ms vs. 9.4ms). However, for tactile output modes with different frequencies, this rule may not apply (e.g., a tactile output with more cycles but a higher frequency may take a shorter amount of time to complete than a tactile output with fewer cycles but a lower frequency, and vice versa). For example, at 300Hz, FullTap takes the same amount of time as MiniTap (e.g., 9.9ms).

[0190] like FIG. 5I to FIG. 5K As shown, the tactile output pattern also has a characteristic amplitude, which affects the amount of energy contained in the tactile signal, or the "intensity" of the tactile sensation that the user can feel through the tactile output having the characteristic amplitude. In some embodiments, the characteristic amplitude of the tactile output pattern can be adjusted according to various conditions (e.g., customized based on user interface context and behavior) and / or preconfigured metrics (e.g., input-based metrics, and / or user interface-based metrics), such as by a fixed or dynamically determined gain factor (e.g., a value between 0 and 1). In some embodiments, the characteristic amplitude of the tactile output pattern refers to an absolute value or normalized value representing the maximum displacement of the movable mass relative to the neutral position when generating the tactile output. In some embodiments, a user interface-based metric (e.g., a cross-border speed metric) measures the characteristics of a user interface element during a user interface change that triggers the generation of a tactile output (e.g., the speed at which the element moves across a hidden or visible boundary in the user interface). In some embodiments, a characteristic of the input (e.g., the rate of change of the characteristic intensity of the contact in a press input or the rate of movement of the contact on the touch-sensitive surface) is measured based on a metric of the input (e.g., an intensity change metric or an input velocity metric) during the input that triggers the generation of the tactile output. In some embodiments, the characteristic amplitude of the tactile output pattern can be modulated by an "envelope", and the peaks of adjacent cycles can have different amplitudes, where one of the waveforms shown above is further modified by multiplying an envelope parameter that changes over time (e.g., from 0 to 1) to gradually adjust the amplitude of a portion of the tactile output over time when the tactile output is generated.

[0191] Although in FIG. 5I to FIG. 5KIn the description for illustrative purposes, specific amplitudes, frequencies, and waveforms are represented in the sample tactile output patterns, but tactile output patterns with other amplitudes, frequencies, and waveforms can also be used for similar purposes. Other frequencies in the range of 60Hz-400Hz can also be used. For example, a waveform with between 0.5 and 4 cycles can be used. Table 1 below provides representative embodiments of tactile output / tactile feedback behaviors and configurations, as well as embodiments of their use for managing user interfaces for content-based tactile output shown and described herein.

[0192]

[0193] Table 1

[0194] In some embodiments, a downloaded application becomes an installed application using an installer that extracts program portions from the downloaded software package and integrates the extracted portions with the operating system of the computer system. As used herein, an "installed application" refers to a software application that has been downloaded to an electronic device (e.g., device 100, 300, and / or 500) and is ready to be launched (e.g., become opened) on the device.

[0195] As used herein, the term "executing application" or "open application" refers to a software application that has retained state information (e.g., as part of device / global internal state 157 and / or application internal state 192). An open or executing application is optionally any of the following types of applications:

[0196] The active application currently displayed on the display of the device on which the application is being used;

[0197] Not running but stored in memory (volatile and non-volatile respectively)

[0198] a suspended or dormant application that contains state information that can be used to resume execution of the application; and

[0199] Background applications (or background processes) that are not currently displayed but whose processes or processes are being processed by one or more processors.

[0200] Generally speaking, when in the first application, opening the second application does not close the first application. When the second application is displayed and the first application stops being displayed, the first application becomes a background application. As used herein, the term "closed application" refers to a software application that does not have retained state information (e.g., the state information of the closed application is not stored in the memory of the device). Therefore, closing an application includes stopping and / or removing the application process of the application and removing the state information of the application from the memory of the device.

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

[0202] User interface and associated processes

[0203] Generating tactile output within a range of orientations that vary relative to distance to a corresponding object

[0204] Users interact with electronic devices in a variety of different ways, including using the electronic device to locate a corresponding object. The embodiments described below provide a way for an electronic device to generate a tactile output indicating the orientation range of the electronic device relative to the corresponding object, wherein the orientation range changes as the distance between the electronic device and the corresponding object changes. Enhancing interaction with the device reduces the amount of time required for the user to perform an operation, thereby reducing the power consumption of the device and extending the battery life of battery-powered devices. It should be understood that people use devices. When a person uses a device, this person is optionally referred to as a user of the device.

[0205] 6A to 6DD An exemplary manner in which an electronic device 500 generates a tactile output sequence in response to detecting that the electronic device 500 is oriented within an orientation range that varies as the distance between the electronic device 500 and a corresponding object changes according to some embodiments of the present disclosure is shown. The embodiments in these figures are used to illustrate the processes described below, including reference to 7A to 7E Describe the process.

[0206] 6A to 6F The electronic device 500 is shown generating a tactile output sequence for a range of orientations that decreases as the distance between the electronic device 500 and the smart lock 602 decreases. Fig. 6A , the electronic device 500 is oriented toward the smart lock 602. The electronic device 500 communicates with the smart lock 602 and is able to interact with the smart lock (e.g., lock or unlock). When the electronic device 500 is oriented toward the smart lock and is not moving, the electronic device 500 does not generate a tactile output sequence indicating the smart lock 602 because the electronic device 500 is not moving.

[0207] like Figure 6B As shown, once the electronic device 500 moves, such as in a scanning motion (e.g., left-right scanning motion) performed by a user. In response to detecting that the electronic device 500 is moving and oriented toward the smart lock 602 and at a specific distance from the smart lock 602, the electronic device 500 generates a tactile output sequence 604 (e.g., the "secondary" tactile output described in Table 1). The tactile output sequence 604 is a continuous texture tactile output whose frequency or pitch corresponds to the distance between the electronic device 500 and the smart lock 602.

[0208] exist Figure 6C In the example, although the distance between the electronic device 500 and the smart lock 602 is Figure 6B The distance shown is the same, but the electronic device 500 is oriented at an angle θ relative to directly facing the smart lock 602. The angle θ is Figure 6C Within the angular range at the distance shown, the electronic device 500 generates a tactile output sequence associated with the smart lock 602 for the angular range. Therefore, the electronic device 500 continues to generate the tactile output sequence associated with the smart lock 602 as described above. Figure 6B The tactile output sequence 604.

[0209] like Fig.6D As shown, the electronic device 500 moves closer to the smart lock 602 while being oriented at an angle θ relative to the smart lock 602. Fig.6D At the distance from the smart lock 602 shown, when the orientation angle between the electronic device 500 and the smart lock 602 is θ, the electronic device 500 stops generating the tactile output sequence because Fig.6D At the distance shown, angle θ is within the range of orientations in which the electronic device 500 generates a tactile output indicative of the smart lock 602 .

[0210] exist Fig. 6E In the embodiment, the electronic device 500 changes its orientation relative to the smart lock 602 while maintaining contact with the smart lock 602. Fig.6D When the electronic device 500 is oriented to be less than the distance shown in FIG. Fig.6D When the angle θ is φ, the electronic device 500 generates a tactile output sequence 604 (e.g., the "secondary" tactile output sequence described above with reference to Table 1) associated with the distance and orientation of the electronic device relative to the smart lock 602. The tactile output sequence 604 is a continuous texture tactile output sequence having a frequency or pitch associated with the distance between the electronic device 500 and the smart lock 602.

[0211] Fig. 6E The frequency of the tactile output sequence 604 shown in Figure 6C . Therefore, the frequency of the continuous texture tactile output sequence 604 increases as the distance between the electronic device 500 and the smart lock 602 decreases. The angle range for which the electronic device 500 generates the tactile output sequence 604 decreases as the distance between the electronic device 500 and the smart lock 602 decreases.

[0212] like Fig. 6F As shown, the electronic device 500 continues to generate tactile output 604 when oriented directly toward the smart lock 602. Fig. 6F In the example, the distance between the electronic device 500 and the smart lock 602 is Fig. 6E The distance between the electronic device 500 and the smart lock 602 is the same. Therefore, the electronic device 500 generates Fig. 6E The tactile output sequence 604 shown is the same continuous texture tactile output sequence 604.

[0213] Figures 6G to 6J The electronic device 500 is shown generating a tactile output sequence for a range of orientations that increases as the distance between the electronic device 500 and the smart lock 602 decreases. Figure 6G , the electronic device 500 is oriented toward the navigation destination 606. In response to detecting the orientation and distance of the electronic device 500 relative to the navigation destination 606, the electronic device 500 generates a tactile output sequence, such as a continuous texture tactile output sequence (e.g., a "secondary" tactile output sequence as described above with reference to Table 1).

[0214] exist Figure 6H In the embodiment, the electronic device 500 changes its orientation so that an angle θ is formed between the electronic device 500 and the navigation destination 606. Figure 6H As shown, the electronic device 500 does not generate a tactile output sequence in response to the orientation and distance of the electronic device relative to the navigation destination 606 because the angle θ is not generated when the electronic device 500 is in Figure 6H The distance shown from navigation destination 606 is outside the range of orientations for which a haptic response is generated.

[0215] exist Fig.6I In the example, the distance between the electronic device 500 and the navigation destination 606 is less than Figure 6H The electronic device 500 is oriented at an angle θ to the navigation destination 606. Fig.6I The electronic device 500 generates a tactile output sequence (e.g., the "secondary" tactile output sequence discussed with reference to Table 1) based on the distance and orientation of the electronic device 500 relative to the navigation destination 606 shown in FIG. 1 . The tactile output sequence is a continuous texture tactile output sequence. Fig.6I The tactile output is generated in Fig.6I At the distance shown, angle θ is included within the range of orientations for which electronic device 500 generates tactile output indicative of navigation destination 606 .

[0216] exist Figure 6J In response to the electronic device 500 being within a predetermined threshold distance of the navigation destination 606 (eg, the electronic device 500 has reached the navigation destination 606). Figure 6J The distance and orientation of the electronic device 500 relative to the navigation destination 606 shown in FIG. 5 is similar to the distance and orientation of the electronic device 500 relative to the navigation destination 606 shown in FIG. 5 . Fig.6IThe tactile outputs are different tactile outputs. For example, the electronic device generates discrete tactile outputs (eg, the "primary" tactile outputs described above with reference to Table 1).

[0217] Figures 6K to 6N The electronic device 500 is shown generating a sequence of tactile outputs in response to the orientation of the electronic device relative to a path to the navigation destination 606. Figure 6K In FIG. 5 , the electronic device 500 presents a map user interface on the display 504. The map user interface includes a map 608 that shows a path from a location 608 of the electronic device 500 to a location 610 of the navigation destination 606. Figure 6K As shown, when the electronic device 500 is on the path and oriented along the path to the navigation destination 606 and when the electronic device 500 is moving (e.g., the user is moving the electronic device 500 in a scanning motion such as a left-right scanning motion), the electronic device 500 generates a tactile output. The tactile output indicates that the electronic device 500 is following the path to the navigation destination 606. The tactile output is a continuous texture tactile output (e.g., the "secondary" tactile output described above with reference to Table 1).

[0218] like Figure 6L As shown, when the electronic device 500 is not on the path and is therefore not oriented along the path to the navigation destination 606, the electronic device 500 does not generate a tactile output. Figure 6L As shown, the indication 608 of the current location of the electronic device in the map user interface has moved to reflect the location and orientation of the electronic device 500 (eg, located to the left of the path to the navigation destination 606).

[0219] exist Figure 6M , the electronic device 500 is on the path and oriented along the path to the navigation destination 606 while not moving. Because the electronic device 500 is not moving, even if the electronic device 500 is oriented toward the path to the navigation destination 606, the electronic device 500 does not generate a tactile output.

[0220] exist Figure 6N , the electronic device 500 is oriented toward the navigation destination 606. The indication 608 of the position and orientation of the electronic device 500 in the map user interface reflects that the electronic device 500 is oriented toward the navigation destination 606, but not along a path to the navigation destination 606. Because the electronic device 500 is not oriented along a path to the navigation destination, the electronic device 500 does not generate a tactile output even though the electronic device 500 is moving (e.g., the user is moving the electronic device 500 in a scanning motion).

[0221] Figure 6O to Figure 6PThe electronic device 500 is shown generating tactile output in response to the orientation of the electronic device 500 in three dimensions relative to the navigation destination 606. Fig.6O , the electronic device 500 is oriented in three dimensions (e.g., x, y, and z) toward the navigation destination 606. In response to the orientation of the electronic device relative to the navigation destination 606, the electronic device 500 generates a tactile output (e.g., the "secondary" tactile output described above with reference to Table 1).

[0222] exist Figure 6P , electronic device 500 is oriented in two dimensions (e.g., x and y) but not in a third dimension (e.g., z) toward navigation destination 606. Since electronic device 500 generates the tactile output sequence in response to being oriented toward navigation destination 606 in three dimensions, electronic device 500 forgoes generating the tactile output sequence when electronic device 500 is not oriented toward navigation destination 606 in one of the three dimensions.

[0223] Figure 6Q The electronic device 500 is shown generating a sequence of tactile outputs in response to the orientation of the electronic device 500 in two of the three dimensions (e.g., x and y, but not z) facing the navigation destination 606. The electronic device 500 generates a continuous texture tactile output (e.g., the "secondary" tactile output described above with reference to Table 1) because the electronic device 500 is oriented toward the navigation destination 606 in two dimensions (e.g., x and y).

[0224] Figure 6R to Figure 6W The electronic device 500 is shown changing the magnitude or intensity of the texture tactile output sequence as the orientation of the electronic device 500 moves closer to facing the navigation destination 606. Figure 6R to Figure 6W As shown, the electronic device 500 generates discrete tactile outputs in response to detecting that the orientation of the electronic device 500 is facing the navigation destination 606.

[0225] exist Figures 6R to 6S In the embodiment, when the orientation of the electronic device 500 moves closer to facing the navigation destination 606, the electronic device 500 increases the amplitude or intensity of the texture tactile output sequence. Figure 6R As shown, when the electronic device 500 is oriented at an angle θ relative to the navigation destination 606, the electronic device 500 generates a continuous texture tactile output (e.g., the "secondary" tactile output described in reference to Table 1). Figure 6S , the electronic device 500 is oriented at an angle Φ relative to the navigation destination 606. The angle Φ is less than the angle θ, and as Figure 6S As shown, when the angle between the electronic device 500 and the navigation destination 606 is Φ, the amplitude or intensity of the tactile output sequence 604 is greater than Figure 6RThe amplitude or intensity of the tactile output sequence 604 is shown.

[0226] like Figure 6T As shown, after generating a textured tactile output having an amplitude or intensity that increases as the angle between the electronic device 500 and the navigation destination 606 decreases, the electronic device 500 generates a discrete tactile output 604 (e.g., the "primary" tactile output described above in reference Table 1) in response to detecting that the electronic device 500 is oriented toward the navigation destination 606.

[0227] exist Figure 6U to Figure 6V In the embodiment, when the orientation of the electronic device 500 moves closer to facing the navigation destination 606, the electronic device 500 reduces the amplitude or intensity of the texture tactile output sequence. Figure 6U As shown, when the electronic device 500 is oriented at an angle θ relative to the navigation destination 606, the electronic device 500 generates a continuous texture tactile output (e.g., the "secondary" tactile output described in reference to Table 1). Figure 6V , the electronic device 500 is oriented at an angle Φ relative to the navigation destination 606. The angle Φ is less than the angle θ, and as Figure 6V As shown, when the angle between the electronic device 500 and the navigation destination 606 is Φ, the amplitude or intensity of the tactile output sequence 604 is less than Figure 6U The amplitude or intensity of the tactile output sequence 604 is shown.

[0228] like Figure 6W As shown, after generating a textured tactile output having an amplitude or intensity that decreases as the angle between the electronic device 500 and the navigation destination 606 decreases, the electronic device 500 generates a discrete tactile output 604 (e.g., the "primary" tactile output described above in reference Table 1) in response to detecting that the electronic device 500 is oriented toward the navigation destination 606.

[0229] exist Figure 6X to Figure 6Y In the embodiment of the present invention, the electronic device 500 generates tactile outputs having different textures in response to being oriented toward different types of objects. Figure 6X , electronic device 500 is oriented toward navigation destination 606. In response to the orientation of the electronic device toward navigation destination 606, electronic device 500 generates tactile output 604 that includes periodic discrete tactile outputs (e.g., the periodic "primary" tactile outputs described above with reference to Table 1).

[0230] exist Figure 6Y In FIG. 6 , the electronic device 500 is oriented toward another electronic device 612. In response to the orientation of the electronic device toward the other electronic device 612, the electronic device 500 generates a continuous texture tactile output 604 (e.g., the “secondary” tactile output described above with reference to Table 1). Figure 6X to Figure 6Y As shown, electronic device 500 generates a sequence of tactile outputs having different textures that indicate the type of object toward which electronic device 500 is oriented.

[0231] Figures 6Z to 6DD The electronic device 500 is shown generating a tactile output 604 in response to an orientation of a control element 614 displayed on the display 504 relative to an object 616. Figure 6Z As shown, electronic device 500 presents control element 614 on display 504. A user can move control element 614 to define an angle and / or distance of electronic device 500 relative to object 616. Object 616 includes a transceiver that communicates with electronic device 500 to enable electronic device 500 to determine the position of object 500, thereby generating a tactile output indicating the position of object 616. Figure 6Z , the orientation of control element 614 is at an angle that is not pointing toward object 616, so electronic device 500 abandons generating tactile output.

[0232] exist Figure 6AA , the user selects the control element (e.g., using contact 603) to move the control element to a different orientation. Figure 6BB In response to Figure 6AA , the electronic device 500 moves the control element 614 to an orientation toward the object 616. In response to the orientation of the control element, the electronic device 500 generates a tactile output 604 (e.g., the "secondary" tactile output described above with reference to Table 1). The tactile output 604 is a continuous texture tactile output having an amplitude or intensity corresponding to the distance from the electronic device 500 represented by the control element 614. Figure 6BB As shown, the user selects control element 603 (eg, using contact 603 ) to move control element 614 to a position representing a shorter distance from electronic device 500 .

[0233] In response to Figure 6BB In response to the user input shown, the electronic device 500 presents the control element 614 at a new location representing a shorter distance from the electronic device 500, as shown in FIG. Figure 6CC In response to Figure 6CC At the distance represented by the control element 614 in , the electronic device 500 generates a continuous texture tactile output 604 (e.g., the "secondary" tactile output described above with reference to Table 1). Figure 6CC The tactile output 604 shown has a Figure 6BB The magnitude or intensity of the tactile output 604 shown is greater than that of the tactile output 604. This is because Figure 6CC The distance ratio represented by the control element 614 in Figure 6DD The distance represented by the control element in FIG. 6 is closer to the distance between the electronic device 500 and the object 616. Figure 6CC As shown, the user selects control element 614 (eg, using contact 603 ) to adjust the distance from electronic device 500 represented by control element 614 .

[0234] exist Figure 6DD , the electronic device 500 generates a tactile output 604 (eg, the “primary” tactile output described above with reference to Table 1) that indicates that the orientation and distance of the electronic device 500 represented by the control element 614 corresponds to the location of the object 616. Figure 6DD The tactile output 604 shown in FIG. 6 is a sequence of periodic discrete tactile outputs that indicate the orientation and distance of the control element 614 corresponding to the object 616 .

[0235] 7A to 7E 700 is a flowchart illustrating a method for generating a tactile output sequence in response to detecting that an electronic device is oriented within an orientation range, the orientation range varying as the distance between the electronic device and a corresponding object varies according to some embodiments of the present disclosure. Method 700 is optionally performed on an electronic device (such as device 100, device 300, device 500), as described above with reference to Figure 1A-1B , Figure 2-Figure 3 , Figure 4A-4B and Figure 5A-5H Some operations in method 700 are optionally combined, and / or the order of some operations is optionally changed.

[0236] As described below, method 700 provides a means for generating tactile feedback indicating an orientation range that changes as the distance between an electronic device and a corresponding object changes. The method reduces the cognitive burden on a user when interacting with a device user interface of the present disclosure, thereby creating a more efficient human-computer interface. For battery-powered electronic devices, improving the efficiency of user interaction with the user interface saves power and increases the time between battery charges.

[0237] In some embodiments, such as Figure 6BIn the embodiment, an electronic device that communicates with one or more input devices (e.g., electronic device 500, a mobile device that communicates with one or more of a touch screen, an accelerometer, a motion sensor, and / or a position sensor (e.g., GPS, etc.) (e.g., a tablet, a smart phone, a media player, or a wearable device)) receives (702) a sequence of one or more inputs corresponding to an orientation range relative to a first object 602 via the one or more input devices (e.g., using one or more of the accelerometer, the position sensor, and the motion sensor to detect the orientation and / or distance of the electronic device relative to the first object, and / or a change in the orientation and / or distance of the electronic device relative to the first object). For example, the first object is a destination of a navigation application running on the electronic device, and the one or more inputs indicate the relative position and distance of the electronic device from the destination. For another example, the first object is an object that can be discovered by the electronic device and / or can be interacted with by the electronic device within a proximity threshold (e.g., 10 feet, 20 feet, 40 feet, 100 feet) of the electronic device (e.g., the first object is another electronic device, such as a smart door lock or a smart phone). In some embodiments, the input corresponds to a change in the orientation and / or distance of the electronic device relative to the first object. In some embodiments, the input corresponds to directional input detected at a touch screen of the electronic device relative to a first object, wherein the touch input is detected at a position on the touch screen relative to a position or orientation on the touch screen corresponding to the first object (e.g., corresponding to the orientation of the first object relative to a reference axis on the electronic device).

[0238] In some embodiments, in response to receiving the sequence of one or more inputs (704), based on determining that the distance between the electronic device 500 and the first object 602 is a first distance, such as FIG. 6D to FIG. 6F In some embodiments, the electronic device 500 generates (706) a first tactile output 604 (e.g., touch, vibration, etc.) at the electronic device 500 corresponding to the orientation of the first object 602 relative to the electronic device 500 (e.g., the tactile output is generated based on determining that a predetermined position, a reference axis, or a portion of the electronic device is facing the first object), wherein the first tactile output 604 occurs in a first portion of the orientation range (e.g., including angle Φ), but does not occur in a second portion of the orientation range (e.g., including angle θ) (e.g., the electronic device determines the distance and / or orientation (e.g., offset angle) of the electronic device relative to the object). In some embodiments, the portion of the orientation range in which the tactile output is generated is based on the determined distance between the electronic device and the first object. For example, based on determining a first distance between the electronic device and the first object, a first tactile response is generated in response to the orientation of the electronic device within an offset angle relative to the first object within a first angle range.

[0239] In some embodiments, in response to receiving the sequence of one or more inputs (704), based on determining that the distance between the electronic device 500 and the first object 602 is a second distance, such as in FIG. 6B to FIG. 6C In FIG. 6D to FIG. 6F At the first distance shown, the electronic device 500 generates (708) a second tactile output 604 at the electronic device 500 corresponding to the orientation of the first object 602 relative to the electronic device 500, wherein the second tactile output occurs in both the first part of the orientation range and the second part of the orientation range (for example, based on determining that the electronic device is a second distance from the first object, the second tactile output is generated in response to the orientation of the electronic device within an offset angle relative to the first object within a second angular range). In some embodiments, the tactile output is generated in response to a smaller angular range between a reference axis on the electronic device and the first object when the distance between the electronic device and the first object decreases. In some embodiments, the tactile output is generated in response to a larger angular range between the electronic device and the first object when the distance between the electronic device and the first object increases.

[0240] The above-mentioned manner of changing the portion of the angular range for generating tactile output when the distance between the electronic device and the first object changes allows the electronic device to use tactile output to convey how far the first object is from the electronic device, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by transmitting the distance or change in the distance between the electronic device and the first object in a manner different from visual or audio indications), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently without the need to use the display device of the electronic device or touch screen input from the user (which reduces power usage).

[0241] In some embodiments, such as 6A to 6F , the first distance is less than the second distance (710) (e.g., the range of orientations of the electronic device relative to the object that causes the electronic device to generate a tactile output increases as the electronic device moves further away from the object).

[0242] The above-mentioned manner of increasing the orientation range of the electronic device relative to the object so that the electronic device generates tactile output as the electronic device moves further away from the object allows the electronic device to provide more accurate indications about the position of the object as the electronic device gets closer to the object than when the electronic device is away from the object without using a display device, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0243] In some embodiments, such as FIG. 6G to FIG. 6I, the first distance is greater than the second distance (712) (e.g., the range of orientations of the electronic device relative to the object that causes the electronic device to generate a tactile output decreases as the electronic device moves further away from the object).

[0244] The above-mentioned manner of reducing the orientation range of the electronic device relative to the object so that the electronic device generates tactile output when the electronic device is further away from the object allows the electronic device to provide a more accurate indication of the object's position when the electronic device is further away from the object than when the electronic device is closer to the object without using a display device, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0245] In some embodiments, such as FIG. 6C to FIG. 6D In the embodiment of the present invention, the electronic device 500 detects (714) the distance between the electronic device 500 and the first object 602 from the first object 602 to the second object 602 via one or more input devices (e.g., a GPS or some other location service input device, a camera, a wireless communication device, or a user interface presented on a touch screen of the electronic device, with which a user can interact to change the orientation indicated in the user interface). Figure 6C The initial distance shown changes to Fig.6D The final distance shown (eg, the electronic device moves such that the distance between the first object and the electronic device is different when the movement begins than when the movement is complete).

[0246] In some embodiments, such as FIG. 6D to FIG. 6F In the case where the distance between the electronic device and the first object is detected to be Figure 6C The initial distance in changes to FIG. 6D to FIG. 6F After the final distance in, the electronic device 500 receives (716) via one or more input devices a second sequence of one or more inputs corresponding to the movement of the electronic device 500 through a range of orientations relative to the first object 602 (e.g., using one or more of an accelerometer, a position sensor, and a motion sensor to detect the orientation and / or distance of the electronic device relative to the first object, and / or a change in the orientation and / or distance of the electronic device relative to the first object). For example, the electronic device moves in the same or similar manner as described above, while the distance from the first object is different from the distance described above, such as through a range of orientations relative to the first object.

[0247] In some embodiments, such as FIG. 6D to FIG. 6FIn response to receiving a second sequence of one or more inputs, the electronic device 500 generates (718) a corresponding tactile output 604 at the electronic device, the tactile output having one or more characteristics (e.g., frequency, amplitude, pattern, frequency of discrete pulses, etc.) such as one or more first values ​​of frequency, the first value corresponding to the orientation of the first object 602 relative to the electronic device 500 when the electronic device 500 moves through the orientation range (e.g., the values ​​of the one or more characteristics change as the orientation of the electronic device changes), which are different from one or more second values ​​of the one or more characteristics of the corresponding tactile output that will be generated when the distance between the electronic device and the first object is an initial distance, such as Figure 6C , the tactile output 604 shown in (e.g., one or more features of the tactile output are different and / or change in different ways, depending on the distance between the first object and the electronic device when the electronic device moves through the orientation range relative to the first object). For example, when the electronic device is at an initial distance from the first object and moves through the orientation range relative to the first object, the electronic device presents a tactile output having a first frequency and having an amplitude range that changes as the orientation of the electronic device changes. For another example, when the electronic device is at a final distance from the first object and moves through the orientation range relative to the first object, the electronic device presents a tactile output having a second frequency different from the first frequency and / or having an amplitude range that changes as the orientation of the electronic device changes. Although the orientation range through which the electronic device moves is optionally the same at the initial distance and the final distance, the amplitude range is optionally different. In some embodiments, the amplitude range is the same and the frequency is different because the distance of the electronic device from the first object is different.

[0248] The above-mentioned manner of changing the values ​​of one or more characteristics of the tactile output when the electronic device moves through an orientation range based on the distance between the electronic device and the first object allows the electronic device to use tactile output to convey information about both the distance to the first object and the orientation relative to the first object, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently (such as by using tactile output to convey more information rather than using a display device to present a user interface with some information).

[0249] In some embodiments, such as FIG. 6D to FIG. 6F, when the distance between the electronic device 500 and the first object 602 is a first distance, the electronic device 500 does not generate a tactile output in response to movement of the electronic device outside the first portion of the orientation range, such as when the angle between the electronic device 500 and the object 602 is θ (720) (e.g., when the electronic device is in the second portion of the orientation range or otherwise outside the first portion of the orientation range and at a first distance from the first object, the electronic device does not generate a tactile output). For example, when the electronic device is presenting navigation instructions to a first object (e.g., a geographic location, such as a building at an address), the electronic device presents a tactile output when the electronic device is pointed at the first object, and does not present a tactile output when the electronic device is pointed at a direction outside the first angle range around a location in the direction of the first object.

[0250] In some embodiments, when the distance between the electronic device 500 and the first object 602 is a second distance, such as FIG. 6A to FIG. 6C , the electronic device does not generate tactile output (722) in response to movement of the electronic device outside of the first and second portions of the orientation range, such as if the electronic device 500 is moved to an angle greater than θ. For example, when the electronic device is presenting navigation instructions to a first object (e.g., a geographic location, such as a building located at an address), the electronic device presents tactile output when the electronic device is pointed at the first object (e.g., within the first and second portions of the orientation range), and does not present tactile output when the electronic device is pointed at a direction outside of the second angular range (e.g., outside of the first and second portions of the orientation range) around a location in the direction of the first object.

[0251] The above-mentioned method of abandoning the presentation of tactile output when the orientation is outside a predetermined orientation range allows the electronic device to use tactile output to convey to the user the position of the first object relative to the electronic device, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, conveying to the user the position of the first object relative to the electronic device without requiring the user to view the user interface presented on the electronic device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and also saves power by abandoning the presentation of the user interface via the display device.

[0252] In some embodiments, such as Figure 6K, the first object is a destination 606 (724) of a navigation application on the electronic device 500 (e.g., when the electronic device is oriented toward the destination, the electronic device presents navigation directions to the destination and generates a tactile output). In some embodiments, when the electronic device is within a predetermined distance of the destination (e.g., when the electronic device has reached the destination), the electronic device presents a different tactile output. For example, when the electronic device is oriented toward the destination, the electronic device presents a continuous tactile output when navigating to the destination, and then presents a different discrete tactile output to indicate arrival at the destination.

[0253] The above-mentioned method of presenting tactile output to indicate the location of the navigation destination allows the electronic device to convey navigation instructions to the user using tactile output, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to receive navigation completion instructions without viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0254] In some embodiments, such as Figure 6K In some embodiments, the electronic device 500 is configured to generate a tactile output (726) in response to the location of the electronic device 500 coinciding with a navigation path from a first location in a navigation application on the electronic device to a location of a first object 606 (e.g., the electronic device presents navigation directions to a destination, and generates a tactile output when the electronic device is oriented toward and / or on the path to the destination). In some embodiments, when the electronic device is within a predetermined distance of the destination (e.g., when the electronic device has reached the destination), the electronic device presents a different tactile output. For example, when the electronic device is oriented toward and / or along the path to the destination and advancing on the path, the electronic device presents a continuous tactile output when navigating to the destination, and then presents a different discrete tactile output to indicate arrival at the destination. In some embodiments, when the electronic device leaves the navigation path to the first object, the electronic device does not generate a tactile output, or does not generate a tactile output in response to the electronic device detecting that the orientation of the electronic device is toward the first object rather than toward the navigation path. When the electronic device is on a navigation path, the electronic device optionally generates tactile output only in response to detecting that the electronic device is moving (e.g., moving in a manner that indicates that a user is utilizing the electronic device in a scanning motion), and optionally, does not generate tactile output while the electronic device is on the navigation path if the electronic device is not moving.

[0255] The above-mentioned manner of presenting tactile output to indicate the location of the path to the navigation destination allows the electronic device to convey navigation instructions to the user using tactile output, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to receive navigation instructions without viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0256] In some embodiments, such as Figure 6P , the orientation range is defined relative to three orientation axes of the electronic device 500 (728) (e.g., the first portion and the second portion of the orientation range include angular ranges in each of three dimensions (e.g., roll, pitch, and yaw of the electronic device)).

[0257] The above-mentioned manner of generating tactile outputs for different parts of the orientation of the electronic device in three dimensions allows the electronic device to convey position information about the first object in three dimensions to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by presenting more information than can be presented by generating outputs for different parts of the orientation of the electronic device in fewer dimensions (such as in two dimensions)), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0258] In some embodiments, such as Figure 6Q , the orientation range is defined relative to two orientation axes of the electronic device 500 without regard to a third orientation axis (730) of the electronic device (e.g., the first and second portions of the orientation range include angular ranges in each of two dimensions (e.g., yaw and pitch)). That is, the orientation range is optionally independent of the roll of the electronic device.

[0259] The above-described manner of generating tactile outputs for different portions of the orientation of an electronic device in two dimensions allows the electronic device to simplify calculations for determining whether the orientation of the electronic device is within the first portion and / or the second portion of the orientation range, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0260] In some embodiments, such as FIG. 6R to FIG. 6T , the first object 606 is in a corresponding orientation relative to the electronic device 500 (732). In some embodiments, the first corresponding portion of the orientation range includes the corresponding orientation, such as in Figure 6R and a second corresponding portion of the range of orientations does not include the corresponding orientation, such as in Figure 6T(734) (e.g., a first corresponding portion of the orientation range corresponds to the electronic device being oriented toward the first object within a predetermined angular range (e.g., 2 degrees, 5 degrees, 10 degrees, etc.), and a second corresponding portion of the orientation range corresponds to the electronic device being oriented away from the first object (e.g., outside the first orientation range, or oriented at an angle relative to the first object outside the predetermined angular range)).

[0261] In some embodiments, such as Figure 6T In some embodiments, the electronic device 500 is configured to generate a discrete tactile output 604 (736) in response to detecting that the electronic device 500 is oriented within a first corresponding portion of the orientation range (e.g., when the electronic device is oriented toward the first object, the electronic device generates a tactile output corresponding to a tap or a series of periodic taps). Figure 6R to Figure 6S , the electronic device 500 is configured to generate a texture tactile output 604 that changes as the orientation of the electronic device 500 changes within a second corresponding portion of the orientation range (738) (e.g., when the electronic device is oriented away from the first position, the electronic device generates a continuous texture tactile output). In some embodiments, the characteristics of the texture tactile output (e.g., frequency, amplitude, pattern, etc.) change depending on how close or far away the electronic device is oriented from the first object. For example, when the orientation of the electronic device changes within the second corresponding orientation range to be oriented further away from the first object, the amplitude of the texture tactile output increases. For another example, when the electronic device changes within the second corresponding orientation range to be oriented further away from the first object, the amplitude of the texture tactile output decreases.

[0262] The above-mentioned manner of presenting discrete tactile outputs when the electronic device is oriented in a first corresponding part of the orientation range and presenting textured tactile outputs when the electronic device is oriented in a second corresponding part of the orientation range allows the electronic device to present tactile outputs that distinguish the first corresponding part of the orientation range from the second corresponding part of the orientation range, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by providing more information using tactile outputs and optionally without using an accompanying user interface displayed via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and also saves power by presenting information using tactile outputs rather than a display device.

[0263] In some embodiments, such as Figure 6S In, the textured tactile output 604 has a first amplitude that is greater than a second amplitude of the discrete tactile output 604, such as in Figure 6T(740) (for example, in some embodiments, when the electronic device is oriented in the second corresponding portion of the orientation range, the amplitude of the tactile output increases as the orientation of the electronic device moves further away from the first corresponding portion of the orientation range and decreases as the orientation of the electronic device moves toward the first corresponding portion of the orientation range).

[0264] The above-mentioned manner of presenting a discrete tactile output having a second amplitude when the electronic device is oriented in a first corresponding part of the orientation range and presenting a textured tactile output having a first amplitude when the electronic device is oriented in a second corresponding part of the orientation range allows the electronic device to present a tactile output that distinguishes the first corresponding part of the orientation range from the second corresponding part of the orientation range, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by presenting more information using tactile output and optionally without using an accompanying user interface displayed via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and also saves power by presenting information using tactile output rather than a display device.

[0265] In some embodiments, such as Figure 6T In, the discrete tactile output 604 has a first amplitude that is greater than a second amplitude of the textured tactile output 604, such as in Figure 6R (742) (for example, in some embodiments, when the electronic device is oriented in the second corresponding portion of the orientation range, the amplitude of the tactile output decreases as the orientation of the electronic device moves further away from the first corresponding portion of the orientation range and increases as the orientation of the electronic device moves toward the first corresponding portion of the orientation range).

[0266] The above-mentioned manner of presenting a discrete tactile output having a first amplitude when the electronic device is oriented in a first corresponding part of the orientation range and presenting a textured tactile output having a second amplitude when the electronic device is oriented in a second corresponding part of the orientation range allows the electronic device to present a tactile output that distinguishes the first corresponding part of the orientation range from the second corresponding part of the orientation range, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by presenting more information using tactile output and optionally without using an accompanying user interface displayed via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and also saves power by presenting information using tactile output rather than a display device.

[0267] In some embodiments, such as Figure 6K, the first object 606 corresponds to a location 610 (744) specified by a user on a mapping application on the electronic device 500 (e.g., the electronic device generates a tactile output based on the orientation of the electronic device relative to the location specified by the user on the mapping application on the electronic device). For example, when the electronic device is relatively close to the location, the electronic device presents tactile output for a relatively wide range of orientations relative to the location, and when the electronic device is far from the location, the electronic device presents tactile output for a relatively narrow range of orientations relative to the location. The user-defined location on the map of the mapping application is optionally visually indicated by a pin or pin-like element placed at the location on the map of the mapping application.

[0268] The above-mentioned manner of presenting tactile output to indicate the location specified by the mapping application allows the electronic device to convey the location specified on the mapping application to the user using tactile output, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to receive information about the location specified on the mapping application without viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0269] In some embodiments, such as Figure 6Z , the first object 616 is an object (746) in the environment of the electronic device 500 (for example, the first object is a second electronic device with which the electronic device can interact, such as a smart phone, a media player, a wearable device, a personal computer, or a smart home device (for example, a smart lock, a smart light, a smart thermostat, a smart kitchen appliance, etc.), or some other device that the electronic device can identify using a camera that communicates with the electronic device, via image recognition). For example, the electronic device generates a tactile output in response to detecting the first object to indicate the location of the object to the user. For another example, when the first object is a second electronic device, the electronic device generates a tactile output to indicate that the electronic device can interact with the second electronic device. In some embodiments, the first object is not an electronic device, but is merely a physical object, such as a landmark or a building or a door.

[0270] The above-mentioned manner of generating tactile output in response to the orientation of an electronic device relative to an object in the environment of the electronic device allows the electronic device to use the tactile output to convey information about the object in the environment of the electronic device (e.g., location, whether the electronic device is able to interact with the first object) to the user, optionally without presenting a user interface via a display device, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (e.g., by enabling the user to feel the tactile output to receive information about the object without having to look at the electronic device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and further reduces power usage when providing the tactile output without presenting a user interface via a display device.

[0271] In some embodiments, such as 6A to 6F middle, Fig. 6A One or more values ​​of one or more characteristics of the first tactile output 604 are shown to be different from Fig. 6F One or more values ​​(748) of one or more features of the second tactile output 604 shown (e.g., the one or more features are one or more of the frequency, amplitude, pattern, frequency, etc. of the discrete pulses). For example, in addition to generating tactile outputs for different portions of the orientation range at different distances from the first object, the electronic device also generates tactile outputs with different values ​​for one or more features at different distances from the first object (e.g., for the same orientation relative to the first object, when the electronic device is at different distances from the first object, the electronic device generates tactile outputs with different values ​​for one or more of the above features).

[0272] The above-mentioned manner of changing the value of one or more characteristics of the tactile output when the distance between the electronic device and the first object is different allows the electronic device to transmit the distance between the electronic device and the first object using tactile output, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, using tactile output to transmit more information, which enables the user to receive information about the distance to the first electronic device without viewing the user interface displayed via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and optionally enables the electronic device to abandon presenting the user interface via the display device, which provides further power savings.

[0273] In some embodiments, such as FIG. 6B to FIG. 6CIn the embodiment, the sequence of one or more inputs includes detecting movement of the electronic device 500 (750) (e.g., the electronic device generates tactile output when the electronic device moves (e.g., moves closer to and farther away from a first object, moves in an orientation relative to the first object, etc.), and does not generate tactile output when the electronic device is not moving).

[0274] The above-mentioned method of generating tactile output in response to detecting movement of an electronic device allows the electronic device to abandon generating tactile output when movement of the electronic device is not detected, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0275] In some embodiments, such as Figure 6B , generating the first tactile output 604 occurs when the electronic device 500 moves and does not occur when the electronic device 500 does not move, such as in Fig. 6A In some embodiments, generating the second tactile output 604 occurs when the electronic device 500 moves, such as when the electronic device is moving. Fig. 6F The electronic device may generate a tactile output when the electronic device is moving and may not generate a tactile output when the electronic device is not moving (754). Even if the orientation of the electronic device is in an orientation in the first portion or the second portion of the orientation range, the electronic device may not generate a tactile output when the electronic device is not moving.

[0276] The above-mentioned method of generating tactile output in response to detecting movement of an electronic device allows the electronic device to abandon generating tactile output when movement of the electronic device is not detected, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0277] In some embodiments, such as Figure 6X to Figure 6Y , the sequence of one or more inputs corresponds to a first orientation range relative to a first object 606 and a second orientation range relative to a second object 612 different from the first object 606, and the electronic device 500 is configured to generate a tactile output 604, the tactile output 604 having one or more values ​​for one or more characteristics (e.g., frequency, amplitude, pattern, etc.) based on the first orientation range relative to the first object 606, such as Figure 6XIn the embodiment of the present invention, the electronic device generates a tactile output having a specific pattern (e.g., a clear pattern including a series of periodic discrete tactile outputs) in response to the electronic device being oriented in a first orientation range relative to the first object, such as being oriented toward the first object within a predetermined angular range), and generates a tactile output 604 having one or more second values ​​for the one or more features that are different from the first values ​​based on a second orientation range relative to the second object 612, such as in Figure 6Y (756) (e.g., in response to detecting that the electronic device is oriented within a second orientation range relative to a second object, such as being oriented toward a second object within a predetermined angle range, the electronic device generates a tactile output having a particular pattern (e.g., including a continuous depressed pattern of tactile output having an oscillating amplitude)). In some embodiments, the electronic device changes different characteristics of the tactile output within a first orientation range relative to a first object, such as increasing the amplitude of the tactile output when the orientation of the electronic device is closer to alignment with the first object. In some embodiments, the electronic device changes different characteristics of the tactile output within a second orientation range relative to a second object, such as increasing the amplitude of the tactile output when the orientation of the electronic device is closer to alignment with the second object. In some embodiments, the electronic device generates tactile output having different textures in response to detecting that the electronic device is oriented toward different types of objects. For example, the electronic device optionally generates a series of discrete tactile outputs in response to detecting that the electronic device is oriented toward a smart home device (e.g., a smart lock, a smart climate control device, a smart kitchen appliance, a smart light, etc.), and generates a continuous low-pitched tactile output in response to detecting that the electronic device is oriented toward a personal electronic device (e.g., a smart watch, a smart phone, a media player, a tablet, a computer) belonging to a user different from the user of the electronic device.

[0278] The above-mentioned method of generating tactile outputs with different values ​​for a given feature depending on which object the electronic device is oriented toward allows the electronic device to use tactile output to convey to the user the tactile output of the object the electronic device is oriented toward, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by notifying the user of which object the electronic device is oriented toward without requiring the user to view a user interface presented via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and further reduces power usage if the electronic device abandons presenting the user interface via a display device when generating tactile output.

[0279] In some embodiments, such as Figure 6Z, the sequence of one or more inputs includes movement (758) of a control element 614 on the electronic device 500 (e.g., the electronic device generates a tactile output in response to detecting an orientation of the control element relative to a first electronic device). For example, the electronic device presents a user interface via a display device that includes indications of an orientation and a distance that can be manipulated by a user. For example, the user is able to move the control element to define a distance and an orientation relative to the electronic device, and in response, the electronic device generates a tactile output indicating an orientation (and distance) relative to a first object represented by the control element. In response to detecting that the control element is in a first portion of the orientation range but not in a second portion of the orientation range, the electronic device generates a first tactile output. In response to detecting that the control element is in a second orientation range, the electronic device generates a second tactile output.

[0280] The above-mentioned manner of presenting tactile output in response to the orientation of a control element allows the electronic device to enable a user to use the control element to search for an object without changing the orientation of the electronic device itself, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to change the orientation and position of the control element faster than the user can change the orientation and position of the electronic device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0281] It should be understood that 7A to 7E The specific order in which the operations in the description are described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations may be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein. In addition, it should be noted that the details of other processes described herein in conjunction with other methods described herein (e.g., methods 900, 1100, and 1300) are also applicable in a similar manner to the details of the processes described above in conjunction with the methods described herein. 7A to 7E Method 700. For example, the manner of generating a tactile output in response to an orientation range that changes based on a distance between an electronic device and a corresponding object described above with reference to method 700 optionally has one or more of the following features: a manner of modifying the tactile output when the orientation of the electronic device relative to the corresponding object changes, generating a tactile output indicating an AR plane, and generating a tactile output indicating sharing data with a second electronic device, etc., as described herein with reference to other methods described herein (e.g., methods 900, 1100, and 1300). For the sake of brevity, these details are not repeated here.

[0282] The operations in the above information processing method are optionally implemented by running one or more functional modules in an information processing device, such as a general-purpose processor (for example, in combination with Figure 1A to Figure 1B , Figure 3 , FIG. 5A to FIG. 5H In addition, the above reference Figure 7A-7E The described operations are optionally performed by Figure 1A-1B . For example, receiving operations 702 and 716 and generating operations 706, 708 and 718 are optionally implemented by event classifier 170, event identifier 180 and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch screen 504, and event distributor module 174 transmits 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 screen corresponds to a predefined event or sub-event, such as the selection of an object on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an 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 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, those skilled in the art will clearly know how to update the content displayed by the application based on the GUI updater 178. Figure 1A to Figure 1B The components depicted in the figure are used to implement other processes.

[0283] Modify haptic output based on orientation relative to the corresponding object

[0284] Users interact with electronic devices in a variety of different ways, including using electronic devices to locate objects. In some embodiments, the electronic device generates a tactile output having a characteristic that changes as the orientation of the electronic device relative to the object changes. The embodiments described below provide a way for an electronic device to prevent automatic clearing of event indications in response to detecting an object hovering above a touch-sensitive display of an electronic device. Enhanced interaction with the device reduces the amount of time required for the user to perform an operation, thereby reducing the power consumption of the device and extending the battery life of a battery-powered device. It should be understood that people use devices. When a person uses a device, this person is optionally referred to as a user of the device.

[0285] FIG. 8A to FIG. 8EE An exemplary manner in which an electronic device 500 according to some embodiments of the present disclosure changes one or more characteristics of a tactile output in response to detecting a change in the orientation of the electronic device relative to a corresponding object is shown. The embodiments in these figures are used to illustrate the processes described below, including reference 9A to 9F Describe the process.

[0286] FIG. 8A to FIG. 8BThe electronic device 500a is shown generating a tactile output sequence 804 defined by a point cloud model 808 surrounding the location of an object 806. Fig. 8A As shown, electronic device 500a is located within point cloud model 808 surrounding object 806. Fig. 8A At the position of the electronic device shown, electronic device 500a generates a tactile output sequence (eg, the “primary tactile output” described above with reference to Table 1). The tactile output sequence includes a series of discrete tactile pulses indicating the position of the electronic device within the point cloud 808 model surrounding object 806.

[0287] exist Figure 8B , electronic device 500a moves closer to object 806 within point cloud model 808 of the location of object 806. In response to the position of electronic device 500a within point cloud model 808 of the location of object 806, electronic device 500a generates a tactile output sequence (e.g., the "primarily reduced" tactile output described above with reference to Table 1). The tactile output sequence includes a series of discrete tactile pulses indicating the position of the electronic device within point cloud 808 model of object 806. Figure 8B The frequency of the tactile output shown is higher than Fig. 8A The frequency of the tactile output shown is because the electronic device 500a is Fig. 8A The electronic device 500a is closer to Figure 8B Object 806 in . Figure 8B The period ratio between discrete tactile taps in the tactile output sequence 804 is shown. Fig. 8A The periods between discrete tactile taps in the illustrated tactile output sequence 804 are short. More generally, as the points in point cloud 808 become denser, the periods of discrete tactile taps in the tactile output sequence generated by electronic device 500 become shorter.

[0288] FIG. 8C to FIG. 8E The electronic device 500a is shown generating a tactile output 804 that changes in response to a change in the orientation of a control element 810 displayed on the display 504 relative to another electronic device 812. Figure 8C As shown, when the orientation of control element 810 points away from another electronic device 812, electronic device 500 generates a tactile output sequence 804 as a continuous texture tactile output sequence (e.g., the "secondary" tactile output described above with reference to Table 1). The user selects control element 810 (e.g., using contact 803) to change the orientation of control element 810.

[0289] exist Fig.8D In the embodiment, the electronic device 500a is configured according to Figure 8C The control element 810 is presented at the location of the user input as shown. Fig.8DAs shown, the orientation of control element 810 is toward another electronic device 812. In response to the orientation of control element 810 relative to another electronic device 812, electronic device 500a generates a tactile output sequence 804 (e.g., a "primary" tactile output sequence) including periodic discrete tactile pulses. The user selects control element 810 (e.g., using contact 803) to change the distance from electronic device 500a represented by control element 810.

[0290] In response to Fig.8D As shown in the user input, the electronic device 500a moves the control element 810 to Fig. 8E In response to the position of control element 810, electronic device 500 generates a tactile output sequence 804 including a series of periodic discrete tactile pulses (eg, the "primary" tactile output described above with reference to Table 1). Fig. 8E The intensity or amplitude of the tactile output 804 is shown to be greater than Fig.8D The intensity or amplitude of the tactile output 804 shown is due to Fig. 8E The control element 810 shown represents a distance ratio represented by Fig.8D The control element 810 indicates a position that is closer to the second electronic device 812 .

[0291] FIG. 8F to FIG. 8G The electronic device 500a is shown generating a tactile output in response to detecting a smart lock 814 within the communication range of the electronic device 500a. Fig.8F , the electronic device 500a is positioned at a distance away from the smart lock 814, which is far from the communication range of the smart lock 814 and the electronic device 500a. Therefore, the electronic device 500a is not currently communicating with the smart lock 814, and does not generate a tactile output indicating the smart lock 814.

[0292] exist Figure 8G In the example, the electronic device 500a is Fig.8F The distance between the electronic device 500a and the smart lock 814 is closer to the smart lock 814. Figure 8G , the electronic device 500a communicates with the smart lock 814. In response to detecting the smart lock 814, the electronic device 500a generates a tactile output. The tactile output is a discrete tactile output (e.g., the "primary" tactile output described above with reference to Table 1), including a single discrete tactile output or a periodic series of discrete tactile pulses, or a continuous texture tactile output (e.g., the "secondary" tactile output described above with reference to Table 1).

[0293] In some embodiments, when navigating to a navigation destination, the electronic device 500 generates a tactile output in response to detecting that the electronic device 500 has crossed a first threshold distance from the navigation destination when moving toward the navigation destination. In this way, the electronic device 500 indicates to the user that the user has arrived at the navigation destination. FIG. 8H to FIG. 8I The electronic device 500a is shown generating a tactile output in response to detecting that the electronic device 500a crosses a threshold distance from the navigation destination 820 while moving toward the navigation destination 820. In this way, the electronic device 500a can indicate to the user that the electronic device 500a is reaching the navigation destination 820.

[0294] exist Figure 8H In the embodiment, the electronic device 500a is positioned a certain distance away from the navigation destination 820 while navigating toward the navigation destination 820. The distance is greater than the threshold distance, and the electronic device 500a is positioned a certain distance away from the navigation destination 820 while navigating toward the navigation destination 820. Figure 8H No tactile output is generated at the distances shown.

[0295] exist Fig.8I In the embodiment of the present invention, the electronic device 500a moves closer to the navigation destination 820 and crosses the threshold distance. In response to crossing the threshold distance when moving closer to the navigation destination, the electronic device 500a generates a tactile output and an audio output. The tactile output and the audio output indicate to the user that the electronic device 500a has reached the navigation destination 820. If the electronic device 500 crosses the threshold distance when moving away from the navigation destination 820, the electronic device does not generate a tactile output.

[0296] In some embodiments, when navigating to a navigation destination, the electronic device 500 generates a tactile output in response to detecting that the electronic device has crossed a threshold distance from the navigation destination when moving away from the navigation destination. In this way, the electronic device 500 notifies the user that they are moving in the wrong way according to the navigation guidance. Figure 8J to Figure 8K The electronic device 500a is shown generating a tactile output in response to detecting that the electronic device 500a crosses a threshold distance from the navigation destination 820 while moving away from the navigation destination 820. In this way, the electronic device 500a can indicate to the user that the electronic device 500a is moving past or away from the navigation destination 820.

[0297] exist Figure 8J In the embodiment, the electronic device 500a is positioned a certain distance away from the navigation destination 820 while navigating toward the navigation destination 820. The distance is less than the threshold distance, and the electronic device 500a is positioned a certain distance away from the navigation destination 820 while navigating toward the navigation destination 820. Figure 8J No tactile output is generated at the distances shown.

[0298] exist Figure 8KIn some embodiments, the electronic device 500a moves further away from the navigation destination 820 and crosses the threshold distance. In response to crossing the threshold distance when moving away from the navigation destination, the electronic device 500a generates a tactile output and an audio output. The tactile output and the audio output indicate to the user that the electronic device 500a is moving in an incorrect manner relative to the navigation destination 820. In some embodiments, Figure 8K The tactile and audio output shown are different from Fig.8I If the electronic device 500 crosses a threshold distance while moving toward the navigation destination 820, the electronic device does not generate a tactile output.

[0299] Figure 8L to Figure 8M The electronic device 500a is shown generating a tactile output in response to moving to a predetermined orientation 826. The predetermined orientation is optionally an orientation in which the electronic device 500a can interact with AR (augmented reality) content, a smart home appliance, or another physical or virtual object. Figure 8L , the central axis 828 of the electronic device 500a is not aligned with the predetermined orientation 826. Therefore, the electronic device 500a does not generate a tactile output. Figure 8L As shown, the user moves the electronic device 500a toward a predetermined orientation. Figure 8M , the electronic device 500 is positioned such that the central axis 828 of the electronic device 500a is aligned with the predetermined orientation 826. In response to the orientation of the electronic device matching the predetermined orientation 826, the electronic device 500 generates a tactile output (eg, the "primary" tactile output described above with reference to Table 1).

[0300] Figures 8N to 8O The wearable electronic device 500b is shown generating a tactile output in response to detecting that the user points to the navigation destination 820 with a finger of the arm on which the wearable electronic device 500b is worn. Figure 8N , the user wears electronic device 500b on their arm and is not pointing at navigation destination 820. Because the orientation of electronic device 500b does not indicate that the user is pointing at navigation destination 820, electronic device 500b does not generate tactile output. Fig.8O , the user points to the navigation destination 820 using the finger of the arm wearing the electronic device 500b. In response to detecting that the orientation of the electronic device 500b indicates that the user is pointing to the navigation destination 820, the electronic device 500b generates a tactile output (e.g., the "primary" tactile output described above with reference to Table 1). In this way, the wearable electronic device 500b can use the tactile output to indicate the location of the navigation destination 820 to the user.

[0301] Figure 8P to Figure 8Q830a is shown generating a tactile output by the electronic device 500a when the face 830a is cut off from the field of view of the camera of the electronic device 500a when taking a picture with the camera of the electronic device 500a. Figure 8P , the camera of electronic device 500a captures images of faces 830a and 830b (e.g., using a camera on the same face of the electronic device as the display of the electronic device). Because both faces are within the field of view of the camera of electronic device 500a, electronic device 500a does not generate tactile output. Even if one or more of faces 830a and 830b moves around within the field of view of the camera of electronic device 500a, as long as both faces 830a and 830b are completely within the field of view of the camera of electronic device 500a, electronic device 500a optionally will not generate tactile output.

[0302] exist Figure 8Q In the example, electronic device 500a detects that one of faces 830a has moved such that the face is partially cropped from the field of view of the camera of electronic device 500a (e.g., the face reaches the edge of the field of view of the camera). In response to detecting that face 830a is partially cropped out of the image, electronic device 500a generates a tactile output. In this way, electronic device 500a uses the tactile output to notify the user that one of faces 830a is partially cropped out of the field of view of the camera of electronic device 500a.

[0303] exist Figure 8R to Figure 8S The electronic device 500a is shown generating a tactile output 804 indicating AR (augmented reality) content generated by the electronic device 500a. Figure 8R , the camera of the electronic device 500a captures an image of the location of the table where the virtual timer 832 is located in the AR content. The electronic device 500a presents the image including the virtual timer 832 on the display 504. In response to presenting the image of the virtual timer 832, the electronic device 500a generates a tactile output (e.g., the "primary" tactile output described above with reference to Table 1). The tactile output is a series of periodic discrete tactile pulses that simulate the running time of the virtual timer 832.

[0304] exist Figure 8S , the electronic device 500a is positioned so that the position of the virtual timer is no longer in the field of view of the camera of the electronic device 500a. Figure 8SIn the method 1100, the electronic device 500a generates a tactile output indicating the AR plane captured in the field of view of the camera of the second electronic device 500a (e.g., the "secondary" tactile output described above with reference to Table 1), instead of the tactile output indicating the virtual timer, and different from the tactile output indicating the virtual timer. The tactile output is a continuous texture tactile output having one or more features indicating the AR plane captured in the field of view of the camera of the electronic device 500a. The tactile output is generated according to one or more steps of the method 1100.

[0305] Figures 8T to 8U It shows how electronic device 500a generates tactile output when electronic device 500a is pointed at a smart lock with which electronic device 500a can communicate, and how the electronic device does not generate tactile output when electronic device 500a is pointed at a smart lock with which electronic device 500a cannot communicate.

[0306] exist Figure 8T , the orientation of the electronic device 500a is toward the smart lock 814a with which the electronic device 500a cannot communicate, and away from the smart lock 814b with which the electronic device 500a can communicate. In response to the orientation of the electronic device, the electronic device 500 does not generate a tactile output because the electronic device 500a cannot communicate with the smart lock 814a and is not oriented toward the smart lock 814b with which the electronic device 500 can communicate. Therefore, when the user orients the electronic device 500a toward the smart lock 814a with which the electronic device 500b cannot communicate, the electronic device 500a does not generate a tactile output indicating the smart lock 814a.

[0307] exist Figure 8U In the embodiment, the orientation of the electronic device 500a is toward the smart lock 814b with which the electronic device 500a can communicate, and away from the smart lock 814a with which the electronic device 500a cannot communicate. In response to the orientation of the electronic device, the electronic device 500 generates a tactile output indicating the smart lock 814b. Therefore, when the user orients the electronic device 500a toward the smart lock 814b with which the electronic device 500b can communicate, the electronic device 500a generates a tactile output indicating the smart lock 814b.

[0308] Figure 8V to Figure 8W The electronic device 500a is shown generating a tactile output indicating an object 806 that the electronic device 500a is able to locate using image recognition. Figure 8V , the electronic device 500a presents an image captured by a camera of the electronic device 500a. The image does not include an object 806 that the electronic device 500a is able to identify using image recognition. Therefore, the electronic device 500a abandons generating a tactile output.

[0309] exist Figure 8W, electronic device 500a captures image 818 including object 806. In response to identifying object 806 within image 818, electronic device 500a generates a tactile output indicative of object 806. In this way, electronic device 500a can use the tactile output to indicate to the user that object 806 has been located through image recognition.

[0310] Figure 8X to Figure 8Y 804 depending on whether a barrier 822 exists between the electronic device 500a and a navigation destination 820 (or more generally, any object of interest, such as an object that has been specified by a user of the electronic device). Figure 8X In the embodiment, the electronic device 500a is oriented toward the navigation destination 820, and there is no barrier 822 between the electronic device 500a and the navigation destination 820. In response to detecting that the electronic device 500a is oriented toward the navigation destination 820 and there is no barrier 822 between the electronic device 500a and the navigation destination 820, the electronic device 500 generates a tactile output sequence 804 (e.g., the "primary" tactile output sequence described above with reference to Table 1). The tactile output sequence 804 includes a series of periodic discrete tactile pulses. Figure 8Y As shown, when a barrier 822 is present between the electronic device 500a and the navigation destination 820, the intensity or amplitude of the tactile output sequence 804 is reduced.

[0311] Figure 8Z to Figure 8AA 820. The electronic device 500a is shown to generate tactile output indicating the orientation of the electronic device 500a relative to the navigation destination 820 only when the electronic device 500a is moved (e.g., the user moves the electronic device 500a in a scanning motion, such as a left-right scanning motion). Figure 8Z In FIG. 8 , the electronic device 500a is oriented toward the navigation destination 820 when moving. In response to the orientation of the electronic device 500a relative to the navigation destination, the electronic device 500a generates a tactile output. The tactile output has one or more characteristics (e.g., texture, frequency, amplitude, etc.) indicating one or more characteristics (e.g., orientation, distance) of the position of the electronic device relative to the navigation destination 820. Figure 8AA , the electronic device 500a remains in contact with Figure 8Z The position and orientation of the electronic device 500a in the same position and orientation. Figure 8AA , the electronic device 500a does not generate a tactile output indicating the orientation of the electronic device 500a relative to the navigation destination 820 because the electronic device 500a is not moving.

[0312] Figure 8BB to Figure 8EE8 shows how the electronic device 500a generates a tactile output in response to a delayed user input indicating a distance between the electronic device 500a and a navigation destination 820 (or more generally, any object of interest, such as an object that has been specified by a user of the electronic device). Figure 8BB As shown, when the electronic device 500a is positioned a certain distance from the navigation destination 820, the user (e.g., using contact 803) inputs an input requesting the electronic device 500a to generate a tactile output (e.g., similar to transmitting a sound pulse toward the navigation destination) after a time delay 824 indicating the distance between the electronic device 500a and the navigation destination 820. Figure 8CC , the electronic device 500a generates a tactile output at a time 824 after receiving the input that represents the distance between the electronic device 500a and the navigation destination 820.

[0313] exist Figures 8DD to 8EE In the example, the distance between the electronic device 500a and the navigation destination 820 is greater than Figure 8BB to Figure 8CC The distance between the electronic device 500a and the navigation destination 820 is shown to be closer. Figure 8DD As shown, the user inputs (eg, using contact 803) requesting the electronic device 500a to generate a tactile output after a time delay 824 indicating the distance between the electronic device 500a and the navigation destination 820. Figure 8EE In FIG. 8 , electronic device 500a generates a tactile output after a time delay 824 indicating the distance between electronic device 500a and navigation destination 820. Figure 8EE The distance between the electronic device 500a and the navigation destination 820 is less than Figure 8CC The distance between the electronic device 500a and the navigation destination 820 is shown, so Figure 8EE The time delay 824 shown is less than Figure 8CC A time delay 824 is shown.

[0314] 9A to 9F 900 is a flowchart illustrating a method of changing one or more characteristics of a tactile output in response to detecting a change in the orientation of an electronic device relative to a corresponding object according to some embodiments of the present disclosure. Method 900 is optionally performed at an electronic device (such as device 100, device 300, device 500), as described above with reference to Figure 1A-1B , Figure 2-Figure 3 , Figure 4A-4B and Figure 5A-5H Some operations in method 900 are optionally combined, and / or the order of some operations is optionally changed.

[0315] In some embodiments, such as FIG. 8C to FIG. 8EIn the present invention, an electronic device in communication with one or more input devices (e.g., electronic device 500, a mobile device in communication with one or more of a touch screen, an accelerometer, a motion sensor, and / or a position sensor (e.g., GPS, etc.) (e.g., a tablet, a smart phone, a media player, or a wearable device)) is navigating along a predetermined path from a first location (e.g., the location of electronic device 500a) to a second location different from the first location (e.g., the location of object 812) (e.g., following a route from the location of the electronic device to an object located at the second location of a navigation application running on the electronic device), and the electronic device 500a determines (902) that one or more tactile output criteria (e.g., the location of the object 812) are satisfied. , tactile output criteria include criteria that are satisfied when a reference axis on the electronic device is within a predetermined orientation range (e.g., + / - 30 degrees, + / - 20 degrees, + / - 10 degrees) relative to a second object and / or a predetermined path); in some embodiments, in response to detecting a "scanning" motion of the electronic device while navigating along the path, a reference axis on the device moves from a large angle offset relative to the orientation of the path at the electronic device's location to a small angle offset or zero angle offset relative to the orientation of the path at the electronic device's location, and crosses the orientation of the path at the electronic device's location and then reaches a large angle offset relative to the orientation of the path at the electronic device's location to generate a tactile output).

[0316] In some embodiments, such as Figure 8C In response to determining that the one or more tactile output criteria (904) are met, the electronic device generates (906) a first tactile output 804 (e.g., touch, vibration) at the electronic device having a first value for a first characteristic (e.g., intensity, texture (frequency), pattern, duration, etc.) based on determining that the electronic device 500a is in a first orientation (e.g., distance, offset angle, etc.) at the current position of the electronic device 500a relative to a predetermined path (e.g., or a second position). In some embodiments, the electronic device generates a tactile output that includes periodic bursts of tactile output (e.g., a tactile output pattern). For example, as the offset angle between a reference axis on the electronic device and the orientation of a predetermined path at the location of the electronic device decreases, the period of the burst becomes shorter (e.g., faster, higher frequency).

[0317] In some embodiments, such as Fig.8DIn response to determining that the one or more tactile output criteria are met (904), the electronic device generates (908) a second tactile output 804 having a second value for the first characteristic at the electronic device based on determining that the electronic device 500a is in a second orientation relative to a predetermined path (e.g., or a second position) at a current position of the electronic device (e.g., the electronic device generates a tactile output including periodic bursts of tactile output (e.g., a tactile output pattern)). For example, as the offset angle between the predetermined position on the electronic device and the second predetermined position increases, the period of the burst becomes longer (e.g., slower, lower frequency).

[0318] The above-mentioned manner of changing the value of a characteristic of a tactile output in response to a change in orientation between the electronic device and a predetermined path allows the electronic device to use tactile output to convey the orientation of a second location relative to a defined navigation path, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying the orientation of the predetermined path in a manner other than visual or audio indication), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently without the need to use the display device of the electronic device or touch screen input from the user (which reduces power usage).

[0319] In some embodiments, such as FIG. 8A to FIG. 8B middle, Fig. 8A The first tactile output 804 and Figure 8B The first characteristic of the second tactile output 804 shown is frequency, and the first value of the frequency of the first tactile output is different from the second value (910) of the frequency of the second tactile output (for example, the frequency of the tactile output increases as the angle between the central axis of the electronic device and the predetermined path increases (or as the distance between the electronic device and the predetermined path increases), or the frequency of the tactile output decreases as the angle between the central axis of the electronic device and the predetermined path increases (or as the distance between the electronic device and the predetermined path increases)).

[0320] The above-mentioned manner of changing the frequency of tactile output as the orientation of the electronic device relative to a predetermined path changes allows the electronic device to use tactile output to convey the location of the predetermined path to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to determine the location of the path without viewing the user interface of the electronic device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to convey the location of the path to the user without presenting a user interface via a display device, which further saves power.

[0321] In some embodiments, such as FIG. 8A to FIG. 8B , the electronic device 500a generates (912) a corresponding tactile output at the electronic device corresponding to an object 806 in the environment of the electronic device, wherein the corresponding tactile output 804 has one or more values ​​based on one or more features of a point cloud model 808 centered on the object (e.g., the path to the object is a direct path starting from the location of the electronic device, and the features of the tactile output have values ​​that increase or decrease as the path becomes shorter). For example, the point cloud model is denser at locations closest to the object and sparser at locations farther away from the object. The points of the point cloud optionally represent features of the tactile output, such as frequency, amplitude, pattern, or frequency of discrete tactile bursts. In some embodiments, the frequency of discrete tactile bursts increases as the electronic device gets closer to the object (e.g., the density of points in the point cloud represents the frequency of discrete tactile bursts).

[0322] The above-mentioned manner of basing one or more values ​​of the tactile output on a point cloud model surrounding an object allows the electronic device to change the value of the tactile output as the distance between the electronic device and the object changes, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying the distance between the electronic device and the object to the user based on the changing value of the tactile output), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to convey the distance to the object to the user without presenting a user interface via a display device, which further saves power.

[0323] In some embodiments, such as Figure 8X to Figure 8Y middle, Figure 8X The first tactile output 804 and Figure 8Y The first characteristic of the second tactile output 804 shown is sharpness (e.g., a difference in amplitude between subsequent tactile bursts), and the first value of the sharpness of the first tactile output is different from the second value of the sharpness of the second tactile output (914) (e.g., the first tactile output is sharper than the second output and includes a series of discrete pulses, and the second tactile output includes a series of pulses with varying amplitudes that produce a continuous muffled sensation). For example, Figure 8X The tactile output 804 shown is Figure 8Y The tactile output 804 shown is sharper.

[0324] The above-mentioned manner of changing the sharpness of the tactile output as the orientation of the electronic device relative to a predetermined path changes allows the electronic device to use tactile output to convey the orientation / position of the predetermined path to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to determine the position / orientation of the predetermined path without viewing a user interface presented via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to convey the position / orientation of the path to an object without presenting a user interface via a display device, which further saves power.

[0325] In some embodiments, such as Figure 8X to Figure 8Y , the electronic device 500a generates (916) a corresponding tactile output 804 at the electronic device, which corresponds to an object 820 in the environment of the electronic device at a corresponding distance from the electronic device (for example, the predetermined path is from the electronic device to the object in the environment of the electronic device) and has corresponding values ​​for corresponding characteristics (for example, frequency, amplitude, pattern, etc.).

[0326] In some embodiments, such as Figure 8X In the example, the corresponding value of the corresponding feature is a first value (918) based on determining that there is no barrier 822 (e.g., a wall or fence) to movement between the electronic device 500a and an object 820 in the environment of the electronic device (e.g., there is no physical barrier between the electronic device and the object; in some examples, there is no physical barrier between the electronic device and the object along a predetermined path, and in some examples, there is no physical barrier between the electronic device and the object along a straight line from the electronic device to the object, regardless of the predetermined path).

[0327] In some embodiments, such as Figure 8YIn the embodiment of the present invention, based on determining that there is a barrier (e.g., a wall or a fence) to movement between the electronic device 500a and an object 820 in the environment of the electronic device, the corresponding value of the corresponding feature is a second value (920) different from the first value (e.g., there is a physical barrier (e.g., a wall, a building, etc.) between the electronic device and the object; in some examples, there are one or more physical barriers between the electronic device and the object along a predetermined path, and in some examples, there are one or more barriers between the electronic device and the object along a straight line from the electronic device to the object, regardless of the predetermined path). For example, when there is no wall between the electronic device and the object, the electronic device generates a series of discrete tactile pulses, and when there is a wall between the electronic device and the object, the electronic device generates a tactile output having a continuous low texture. Alternatively, in some embodiments, when there is no wall between the electronic device and the object, the electronic device generates a tactile output having a first amplitude, and when there is a wall between the electronic device and the object, the electronic device generates a tactile output having a second amplitude less than the first amplitude.

[0328] The above-mentioned method of modifying the characteristics of the tactile output based on determining that there is a wall between the electronic device and the object allows the electronic device to use tactile output to indicate to the user that the object is on the other side of the wall, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying to the user that the object is on the other side of the wall without requiring the user to view the user interface via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to convey to the user whether the object is on the other side of the wall without presenting the user interface via a display device, which further saves power.

[0329] In some embodiments, such as Figure 8Z In the embodiment of the present invention, the tactile output criteria include criteria (922) that are satisfied when the electronic device 500a moves relative to a predetermined path (e.g., generating a tactile output when the electronic device moves (e.g., moves closer to and farther away from the path, moves with respect to an orientation of the path, etc.). For example, moving the electronic device in a scanning motion causes the electronic device to generate a tactile output that indicates the orientation of the electronic device relative to the predetermined path.

[0330] The above-mentioned method of generating tactile output when the electronic device is moved allows the electronic device to enable the user to request tactile output by moving the electronic device, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to request the electronic device to generate tactile output without interacting with the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output on demand without presenting the user interface via the display device, which further saves power.

[0331] In some embodiments, generating the first tactile output occurs when the electronic device 500a moves, such as when Figure 8Z and does not occur (924) when the electronic device is not moving, such as in Figure 8AA In the embodiment of the present invention, the electronic device is moved in a scanning motion (e.g., moving the electronic device in a scanning motion causes the electronic device to generate a tactile output indicating the orientation of the electronic device relative to a predetermined path, and keeping the electronic device stationary (e.g., movement of the electronic device is below a predetermined movement threshold) causes the electronic device to abandon generating a tactile output).

[0332] In some embodiments, generating the second tactile output occurs when the electronic device 500a moves, such as when Figure 6Z and does not occur when the electronic device is not moving, such as in Figure 8AA (926) (e.g., moving the electronic device in a scanning motion causes the electronic device to generate a tactile output indicating the orientation of the electronic device relative to a predetermined path, and keeping the electronic device stationary (e.g., movement of the electronic device is below a predetermined movement threshold) causes the electronic device to forgo generating the tactile output).

[0333] The above-described manner of giving up generating tactile output when the electronic device is not moving allows the electronic device to save power when the electronic device is not moving, which extends the battery life of the electronic device.

[0334] In some embodiments, such as Figure 8C In the embodiment, the tactile output criteria include criteria (928) that are satisfied when the electronic device 500a detects movement of the control element 810 on the electronic device (e.g., the electronic device displays a user interface via a display device, the user interface including a control element for searching for an object, the control element allowing a user to specify an orientation and distance relative to the current orientation and position of the electronic device). For example, the electronic device presents a radial dial having an indicator that the user can position at a desired angle and distance, and in response to detecting a user input to move the indicator, the electronic device generates a tactile output.

[0335] The above-mentioned method of generating tactile output in response to detecting the movement of a control element allows the electronic device to generate tactile output in response to user input, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, enabling the user to selectively initiate and stop the generation of tactile output to better understand the meaning of the tactile output), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0336] In some embodiments, such as FIG. 8C to FIG. 8E , the movement of the control element 810 on the electronic device 500a defines a direction and / or distance component (930) relative to an object 812 in the environment of the electronic device (e.g., the electronic device displays a user interface via a display device, the user interface including a control element that enables a user to select a distance and angle relative to the current position and orientation of the electronic device for searching for an object). In some embodiments, the orientation of the electronic device relative to a predetermined path is the orientation of the control element relative to the predetermined path, and the distance of the electronic device relative to the predetermined path is defined by the distance component represented by the control element. In this way, the user can search for a predetermined path by moving the control element instead of moving the electronic device. For example, the electronic device presents a radial dial having an indicator that the user can place at a desired angle and distance, and in response to detecting a user input to move the indicator, the electronic device generates a tactile output having a feature indicating the orientation and / or distance of the indicator relative to a predetermined path leading to the object. For example, when a user changes the orientation and / or distance represented by a control element, the electronic device generates a tactile output having characteristics (e.g., amplitude, frequency, pattern, texture, frequency of periodic pulses) that change as the orientation and position represented by the control element become closer to a predetermined path and / or corresponding object, thereby enabling the user to use the control element to locate the object.

[0337] The above-mentioned method of using control elements to limit direction components and / or distance components relative to objects allows electronic devices to use tactile output to indicate the orientation of objects relative to the control elements, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to search for objects without moving the electronic device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0338] In some embodiments, such as Figure 8GIn some embodiments, such as in Figure 8G In the embodiment, in response to detecting that the electronic device 500a has established communication with the second electronic device 814, the electronic device generates (934) a third tactile output at the electronic device indicating that communication has been established with the second electronic device (e.g., in response to establishing communication with the second electronic device and generating the third tactile output based on determining that the electronic device is authorized to communicate with the second electronic device). For example, when the electronic device is within the communication range of a smart door lock with which the electronic device is authorized to interact, the electronic device generates the third tactile output. In some embodiments, the third tactile output has a value of the first characteristic that is different from both the first tactile output and the second tactile output.

[0339] The above-mentioned manner of generating a third tactile output indicating communication established with the second electronic device allows the electronic device to use the tactile output to convey to the user that communication with the second electronic device has been established, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying to the user that communication with the second electronic device has been established without the user viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate a tactile output indicating communication with the second electronic device without presenting a user interface via the display device, which further saves power.

[0340] In some embodiments, such as Figures 8H to 8K , the electronic device 500a detects (936) a change in a corresponding distance between the electronic device and a corresponding object 820 in an environment of the electronic device (eg, movement of the electronic device to increase or decrease the distance between the electronic device and the corresponding object).

[0341] In some embodiments, such as FIG. 8H to FIG. 8I In response to detecting a change in the corresponding distance between the electronic device 500a and the corresponding object 820 (938), according to determining that the corresponding distance is decreasing when the corresponding distance crosses a first threshold distance, such as in FIG. 8H to FIG. 8I, the electronic device 500a generates (940) a first corresponding tactile output at the electronic device, the first corresponding tactile output indicating that the electronic device has reached a first threshold distance from the corresponding object and is moving closer to the corresponding object 820 (for example, the corresponding object is a navigation destination selected by the user in a navigation application, and the first threshold distance is the distance at which the electronic device determines that it has reached the destination). In some embodiments, the electronic device generates an audio output while generating the first corresponding tactile output. The electronic device optionally abandons generating the corresponding tactile output in response to detecting that the electronic device moves away from the corresponding object when the first threshold distance is crossed.

[0342] In some embodiments, such as Figure 8J to Figure 8K In response to detecting a change in the corresponding distance between the electronic device 500a and the corresponding object 820 (938), according to determining that the corresponding distance is increasing when the corresponding distance crosses a second threshold distance greater than the first threshold distance, such as in Figure 8J , Figure 8K , the electronic device 500a generates (942) a second corresponding tactile output at the electronic device, the tactile output indicating that the electronic device has reached a second threshold distance from the corresponding object 820 and is moving away from the corresponding object 820 (for example, the second threshold distance is a predetermined distance farther away from the corresponding object than the previous position of the electronic device). For example, the electronic device moves toward the corresponding object and then moves away from the corresponding object to the second threshold distance by a predetermined amount. In response to reaching the second threshold distance from the corresponding object, the electronic device generates a tactile output to indicate to the user that the electronic device is moving away from the corresponding object. In some embodiments, the electronic device generates an audio output while generating the second corresponding tactile output. The electronic device optionally abandons generating the corresponding tactile output in response to detecting that the electronic device moves toward the corresponding object when crossing the second threshold distance.

[0343] The above-mentioned method of generating a first corresponding tactile output in response to reaching a first threshold distance when moving toward a corresponding object, and generating a second corresponding tactile output in response to reaching a second threshold distance when moving away from the corresponding object allows the electronic device to use tactile output to convey to the user when the electronic device is close to the corresponding object and when the electronic device has sufficiently left the corresponding object, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to locate the corresponding object without viewing the user interface presented on the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the position of the corresponding object without presenting a user interface via the display device, which further saves power.

[0344] In some embodiments, such as Figure 8M In some embodiments, the tactile output standard (944) is met when the orientation of the electronic device 500a is in the target orientation (e.g., the corresponding function of the electronic device requires the electronic device to be in the target orientation, such as vertical (e.g., within a vertical angle range, such as + / - 5 degrees, 10 degrees, 15 degrees of vertical)). For example, in response to detecting that the electronic device is vertical, the electronic device generates a tactile output. In some embodiments, the tactile output standard is not met when the orientation of the electronic device is not in the target orientation.

[0345] The above-mentioned method of generating tactile output in response to determining that the electronic device is in a target orientation allows the electronic device to use tactile output to convey to the user that the electronic device is in the target orientation, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, enabling the user to confirm that the electronic device is in the target orientation without viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the target orientation without presenting the user interface via the display device, which further saves power.

[0346] In some embodiments, such as Fig.8O In some embodiments, the electronic device 500b is a wearable device (e.g., a smart watch) worn on a user's wrist, and the tactile output criterion (946) is met when the orientation of the wearable device corresponds to the user pointing at a target object 820 in the environment of the electronic device with the hand corresponding to the wrist (e.g., when the smart watch is worn on its left wrist, the user points to the target object with its left hand). In response to detecting the orientation of the smart watch corresponding to the user pointing at the target object with the left finger, the smart watch generates a tactile output. In some embodiments, the tactile output criterion is not met when the orientation of the electronic device does not correspond to the user pointing at the target object.

[0347] The above-mentioned method of generating tactile output when the user points to a target object allows the electronic device to use tactile output to convey the position of the target object to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying the position of the target object without requiring the user to view a user interface presented via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the position of the target object without presenting a user interface via a display device, which further saves power.

[0348] In some embodiments, such as Figure 8QIn the example embodiment, when capturing an image of an object 830a using a camera of an electronic device 500a, where the camera has a field of view, the electronic device detects (948) movement of the object in the field of view of the camera (e.g., when taking a photograph of one or more faces, detecting movement of a face in the field of view of the camera, such as due to movement of the electronic device and / or movement of the face).

[0349] In some embodiments, such as Figure 8Q In response to detecting movement of object 830a in the camera's field of view (950), electronic device 500a generates (952) a corresponding tactile output at the electronic device based on determining that object 830a has reached a boundary of the camera's field of view (e.g., determining that a face has moved from being completely in the camera's field of view to being completely or partially outside the camera's field of view). For example, when capturing a photo of a person, the electronic device detects that the person's face is completely or partially cut off and generates a tactile output.

[0350] In some embodiments, such as Figure 8P In the embodiment of the present invention, in response to detecting movement of an object 830a in the field of view of the camera (950), based on determining that the object 830a has moved within the field of view of the camera but has not reached a boundary of the field of view of the camera, the electronic device abandons (954) generating a corresponding tactile output at the electronic device (for example, in response to detecting movement of one or more faces within the field of view of the camera, excluding reaching a boundary of the field of view, the electronic device abandons generating a tactile output).

[0351] The above-mentioned manner of generating tactile output when an object reaches the boundary of the field of view allows the electronic device to use tactile output to communicate to the user that the object has reached the boundary of the field of view, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by notifying the user that the object has reached the boundary of the field of view before the user captures an image), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently (such as by notifying the user that the object is cut off before capturing a photo, enabling the user to adjust the position of the camera before capturing the image, thereby avoiding having to retake the photo).

[0352] In some embodiments, such as Figure 8X to Figure 8Y, the electronic device 500a generates (956) a corresponding tactile output 804 at the electronic device, the tactile output corresponding to an object 820 in the environment of the electronic device located at a corresponding position relative to the electronic device, and having a corresponding value for a corresponding feature (e.g., frequency, amplitude, texture, etc.), wherein the corresponding value of the corresponding feature is based at least on a feature of the object other than the corresponding position of the object relative to the electronic device (e.g., the feature of the tactile output indicates the feature of the object). For example, different smart home appliances (e.g., smart locks, smart kitchen appliances, smart climate control devices, smart lights, etc.) have different associated tactile textures generated in response to the electronic device determining that it is oriented toward the corresponding smart home appliance. For example, a clock in the environment of the electronic device optionally causes the electronic device to generate a ticking-style tactile output when the electronic device is oriented toward the clock, the tactile output optionally being different from the tactile output generated by the electronic device when the electronic device is oriented toward a different object in the environment of the electronic device.

[0353] The above-mentioned method of generating tactile output having characteristics indicating characteristics of an object in addition to the position of the object allows the electronic device to communicate the characteristics of the object to the user using tactile output, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to determine the characteristics of the object without viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the characteristics and / or identity of the object without presenting the user interface via the display device, which further saves power.

[0354] In some embodiments, such as Figure 8Y , the electronic device 500a generates (958) at the electronic device a corresponding tactile output 804 corresponding to a physical object 820 in the environment of the electronic device (e.g., the electronic device identifies the physical object based on image recognition and / or based on detecting an electronic locator device attached to the object). For example, the object is a household item such as a key or an electronic locator device attached to the key.

[0355] The above-mentioned method of generating tactile output in response to a physical object allows the electronic device to utilize tactile output to convey the position of an object to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to determine the position of the object without viewing the user interface presented via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the object without presenting the user interface via a display device, which further saves power.

[0356] In some embodiments, such as Figure 8U In the embodiment, the physical object is a second electronic device 814b (960) that communicates with the electronic device (e.g., an electronic device belonging to the user (e.g., a smart home appliance) or an electronic device belonging to another user (e.g., a smart phone of another user)). For example, the electronic device is able to locate the smart phone of the other user so that the user can find the other user.

[0357] The above-mentioned method of generating tactile output based on the orientation of the electronic device relative to the second electronic device allows the electronic device to use tactile output to convey the position or the path to the second electronic device to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying the position or the path to the second electronic device to the user without requiring the user to view the user interface via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the second electronic device without presenting the user interface via a display device, which further saves power.

[0358] In some embodiments, such as Figure 8U In the embodiment, generating a corresponding tactile output corresponding to the second electronic device 814b includes (962): generating a corresponding tactile output (964) according to determining that the electronic device 500a is able to interact with the second electronic device 814b (for example, the second electronic device has authorized the first electronic device to communicate with the second electronic device), such as in Figure 8U and based on determining that the electronic device 500a cannot interact with the second electronic device 814a, abandoning the generation of the corresponding tactile output (966), such as in Figure 8T For example, when the electronic device is oriented toward a smart lock that is authorized to lock or unlock the first electronic device, the electronic device generates a tactile output. For another example, when the electronic device is oriented toward a smart lock that is not authorized to lock or unlock the electronic device, the electronic device abandons generating a tactile output.

[0359] The above-mentioned manner of generating tactile output only when the electronic device is authorized to interact with the second electronic device allows the electronic device to convey to the user that the electronic device is capable of interacting with the second electronic device and saves power when the electronic device is not authorized to communicate with the second electronic device, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to receive information about the second electronic device with which the first electronic device is authorized to communicate without the user viewing the user interface presented via the display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0360] In some embodiments, such as Figure 8U , the second electronic device 814b is a smart home device (968) (e.g., a smart lock, a smart kitchen appliance (e.g., a refrigerator, an oven, a stove, a microwave, a coffee maker, etc.), a smart climate control device (e.g., a thermostat, a fan, etc.), a smart light, etc.). For example, when a user points the electronic device at a smart lock on a door in their home that has been configured to communicate with the electronic device, the electronic device generates a tactile output.

[0361] The above-mentioned manner of generating tactile output in response to the orientation of the electronic device relative to the smart home appliance allows the electronic device to convey to the user that the electronic device is within the communication range of the smart home appliance, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by conveying information about the smart home appliance to the user without the user viewing the user interface via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the smart home device without presenting the user interface via a display device, which further saves power.

[0362] In some embodiments, such as Figure 8V to Figure 8W , generating a corresponding tactile output corresponding to the physical object 806 includes (970) capturing an image (972) of the environment of the electronic device 500a (e.g., using a camera in communication with the electronic device); and in response to capturing the image (974) of the environment of the electronic device: identifying the physical object 805 from the captured image according to the electronic device 500a, such as in Figure 8W, generating a corresponding tactile output (976) corresponding to the physical object 806 (e.g., when the physical object is in the field of view of the camera and the electronic device recognizes the physical object, the electronic device generates a tactile output); and abandoning generating a corresponding tactile output (978) corresponding to the physical object based on the electronic device 500a not recognizing the physical object 806 from the captured image (e.g., if the device does not recognize the object from the camera / image recognition, no tactile output is generated for the object). For example, the electronic device recognizes a key or some other object in the field of view of the camera and generates a tactile output in response.

[0363] The above-mentioned manner of generating tactile output in response to identifying a physical object using image recognition allows an electronic device to identify an object and generate tactile output indicating the object, even when the object is not a second electronic device communicating with the electronic device or an object at a predetermined location, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by expanding the capabilities of the electronic device to include locating objects using image recognition), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, such as enabling the user to locate and identify a larger number of objects.

[0364] In some embodiments, such as Figure 8R , the electronic device 500a generates (980) at the electronic device corresponding to a virtual object 832 virtually placed in the environment of the electronic device (e.g., the electronic device generates the virtual object as part of an augmented reality application on the electronic device). For example, the electronic device generates a virtual timer, and when the electronic device is oriented toward the virtual timer in the augmented reality environment of the electronic device, the electronic device generates a series of tactile "tick-offs" representing the timer.

[0365] The above-mentioned method of generating tactile output corresponding to a virtual object allows the electronic device to indicate the virtual object to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, enabling the user to locate the virtual object more quickly), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0366] In some embodiments, such as Figure 8BB to Figure 8EE , the electronic device 500a generates (982) a corresponding tactile output at the electronic device corresponding to an object 820 in the environment of the electronic device.

[0367] In some embodiments, generating a corresponding tactile output includes receiving an input 803 via one or more input devices at a first time 824, the input being associated with generating a tactile output corresponding to Figure 8BBThe request for tactile output of the object shown corresponds (984) (e.g., the electronic device detects input requesting the electronic device to generate tactile output indicating the distance between the electronic device and the object, such as selection of a "ping" button displayed via the display device).

[0368] In some embodiments, generating a corresponding tactile output includes generating a tactile output corresponding to Figure 8BB The input corresponding to the request for tactile output of the object 820 shown (986) is generated at a second time 824 (e.g., the second time corresponds to the first distance) after the first time (988) according to determining that the object 820 is a first distance from the electronic device, such as at Figure 8CC and according to determining that the object 820 is different from the first distance of the electronic device 500a, such as in the second distance Figure 8EE , a corresponding tactile output is generated at a third time 824 (e.g., the third time corresponds to the second distance) after the first time (990) that is different from the second time. The time between receiving the input and generating the tactile output optionally corresponds to the distance between the electronic device and the object. In some embodiments, the farther the electronic device is from the object, the greater the delay between receiving the input and generating the tactile output, and the shorter the distance between the electronic device and the object, the smaller the delay between detecting the input and generating the tactile output. For example, if the first distance is shorter than the second distance, the second time is closer to the first time than the third time.

[0369] The above-mentioned method of generating tactile output according to the distance between the electronic device and the object in response to user input allows the electronic device to use tactile output to convey the distance between the electronic device and the object to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to receive information about the distance between the electronic device and the object without having to view the user interface via a display device), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently, and enables the electronic device to generate tactile output indicating the distance between the electronic device and the object without having to present the user interface via a display device, which further saves power.

[0370] It should be understood that 9A to 9F The specific order in which the operations in the description are described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations may be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein. In addition, it should be noted that the details of other processes described herein in conjunction with other methods described herein (e.g., methods 700, 1100, and 1300) are also applicable in a similar manner to the details of the processes described above in conjunction with the methods described herein. 9A to 9FThe method 900 described above. For example, the manner in which the electronic device modifies the characteristics of the tactile output sequence described above with reference to method 900 optionally has one or more of the following characteristics: modifying the orientation range in which the electronic device generates the tactile output, generating a tactile output indicating an AR plane, and generating a tactile output indicating sharing data with a second electronic device, etc., as described herein with reference to other methods described herein (e.g., methods 700, 1100, 1300). For the sake of brevity, these details are not repeated here.

[0371] The operations in the above information processing method are optionally implemented by running one or more functional modules in an information processing device, such as a general-purpose processor (for example, in combination with Figure 1A to Figure 1B , Figure 3 , FIG. 5A to FIG. 5H In addition, the above reference 9A to 9F The operation is optionally performed by Figure 1A to Figure 1B . For example, receiving operation 984 and generating operations 906, 908 and 912 are optionally implemented by event classifier 170, event identifier 180 and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch screen 504, and event distributor module 174 transmits 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 screen corresponds to a predefined event or sub-event, such as the selection of an object on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an 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 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, those skilled in the art will clearly know how to update the content displayed by the application based on the GUI updater 178. Figure 1A to Figure 1B The components depicted in the figure are used to implement other processes.

[0372] Generate tactile output indicating the AR plane

[0373] Users interact with electronic devices in a variety of different ways, including interacting with augmented reality (AR) content. The embodiments described below provide a way for an electronic device to generate a tactile output having features related to one or more features of one or more planes near the electronic device included in the AR content presented by the electronic device. Enhanced interaction with the device reduces the amount of time required for the user to perform an operation, thereby reducing the power consumption of the device and extending the battery life of battery-powered devices. It should be understood that people use devices. When a person uses a device, this person is optionally referred to as a user of the device.

[0374] FIG. 10A to FIG. 10I An exemplary manner in which an electronic device 500 generates a tactile output 1002 having a characteristic indicating the orientation of a camera of the electronic device 500 relative to one or more AR (augmented reality) planes according to one or more embodiments of the present disclosure is shown. The embodiments in these figures are used to illustrate the processes described below, including reference to FIG. 11A to FIG. 11C The process described.

[0375] FIG. 10A to FIG. 10B The electronic device 500 is shown generating a tactile output indicating that the camera of the electronic device 500 is oriented toward the floor 1004, which is one of the planes in the AR content generated by the electronic device 500. Fig. 10A , the camera of electronic device 500 is oriented toward a portion of floor 1004. In response to the camera of electronic device 500 being oriented toward floor 1004, electronic device 500 generates tactile output 1002 having a frequency indicative of floor 1004 (e.g., the “minor reduction” tactile output described above with reference to Table 1). Tactile output 1002 is a continuous texture tactile output. FIG. 10A to FIG. 10I In some embodiments, the electronic device 500 generates tactile output only when the electronic device 500 is moving, while in some embodiments, the electronic device 500 generates tactile output regardless of whether the electronic device 500 is moving.

[0376] exist Fig. 10B , the camera of electronic device 500 is oriented toward a different portion of floor 1004. In response to this orientation of the camera of electronic device 500, electronic device 500 reduces the magnitude of tactile output 1002 to indicate that the portion of floor 1004 toward which the camera of electronic device 500 is oriented is smaller than that of floor 1004. Fig. 10A The portion of the floor 1004 in FIG. 1004 that the camera of the electronic device 500 is oriented toward is farther away from the electronic device 500. Therefore, the electronic device 500 generates a tactile output 1002 having a frequency indicating the AR plane that the camera of the electronic device 500 is oriented toward, and a magnitude indicating the distance between the camera of the electronic device 500 and the portion of the AR plane that the camera is oriented toward.

[0377] exist Fig. 10C 1006. In response to this orientation of the camera of electronic device 500, electronic device 500 generates tactile output 1002 (e.g., the “secondary” tactile output described above with reference to Table 1). Tactile output 1002 is a continuous texture tactile output having a frequency indicative of table 1006 that is different from FIG. 10A to FIG. 10B The tactile output 1002 shown indicates the frequency of the floor 1004.

[0378] exist Fig. 10D , the camera of electronic device 500 is oriented toward an edge of table 1006. In response to this orientation of the camera of electronic device 500, electronic device 500 generates one or more discrete tactile outputs 1002 (e.g., the “primary” tactile outputs described above with reference to Table 1) indicating the edge of table 1006 (e.g., when the camera reaches an edge of the AR plane, the electronic device optionally generates a tactile output indicating the edge of the AR plane that is different from the tactile output generated for the rest of the AR plane itself).

[0379] exist FIG. 10E to FIG. 10F , the magnitude of the tactile output 1002 generated by the electronic device 500 varies as the speed at which the camera of the electronic device 500 moves across the table 1006 changes. Fig.10E 1006. In the embodiment of the present invention, the camera of the electronic device 500 moves at a relatively low speed relative to the table 1006. In response to the orientation and speed of the camera of the electronic device 500, the electronic device 500 generates a tactile output sequence 1002 (e.g., the "secondary" tactile output described above with reference to Table 1). The tactile output sequence 1002 is a continuous texture tactile output having an amplitude or intensity that indicates the speed of the camera of the electronic device 500.

[0380] exist Fig.10F 1006, the camera of the electronic device 500 moves at a relatively high speed relative to the table 1006. In response to the orientation and speed of the camera of the electronic device 500, the electronic device 500 generates a tactile output sequence 1002 (e.g., the "secondary" tactile output described above with reference to Table 1). The tactile output sequence 1002 is a continuous texture tactile output with an amplitude or intensity indicating the speed of the camera of the electronic device 500. Fig.10F The amplitude of the tactile output sequence 1002 shown is higher than Fig.10E The amplitude of the tactile output sequence 1002 shown is because Fig.10F The speed of the camera of the electronic device 500 is higher than Fig.10E The speed of the camera of the electronic device 500.

[0381] FIG. 10G to FIG. 10HThe electronic device 500 is shown generating a tactile output sequence 1002 having a magnitude indicating the distance between a camera of the electronic device 500 and a location of a table 1006 toward which the camera of the electronic device 500 is pointed. Figure 10G , the camera of electronic device 500 is oriented toward a portion of table 1006 that is relatively close to the camera of electronic device 500. In response to this orientation of the camera of electronic device 500 relative to table 1006, electronic device 500 generates a tactile output sequence 1002 (e.g., the “secondary” tactile output sequence described above with reference to Table 1). Tactile output sequence 1002 has a frequency that indicates table 1006, and an amplitude that indicates the distance between the camera of electronic device 500 and the position of table 1006 toward which the camera of electronic device 500 is oriented.

[0382] exist Fig. 10H , the camera of electronic device 500 is oriented toward a portion of table 1006 that is relatively far from the camera of electronic device 500. In response to this orientation of the camera of electronic device 500 relative to table 1006, electronic device 500 generates a tactile output sequence 1002 (e.g., the “secondary” tactile output sequence described above with reference to Table 1). Tactile output sequence 1002 has a frequency that indicates table 1006, and an amplitude that indicates the distance between the camera of electronic device 500 and the position of table 1006 toward which the camera of electronic device 500 is oriented. Fig. 10H The magnitude of the tactile output 1002 shown is less than Figure 10G The amplitude of the tactile output 1002 shown is because Fig. 10H The camera of the electronic device 500 is oriented toward a relatively distant portion of the table 1006, and Figure 10G The camera of the electronic device 500 is oriented toward a relatively close portion of the table 1006.

[0383] exist Fig.10I , the camera of electronic device 500 is oriented toward fabric 1008 located on table 1006. Electronic device 500 recognizes that fabric 1008 has a different texture than table 1006. In response, electronic device 500 generates tactile output sequence 1002 that is sharper than tactile output sequences generated when the camera of electronic device 500 is oriented toward other parts of the table, such as FIG. 10C to FIG. 10H shown.

[0384] FIG. 11A to FIG. 11C1 is a flowchart illustrating a method 1100 for generating a tactile output having a characteristic indicating the orientation of a camera of an electronic device relative to one or more AR (augmented reality) planes according to some embodiments of the present disclosure. The method 1100 is optionally performed on an electronic device (such as device 100, device 300, device 500), as described above with reference to Figure 1A-1B , Figure 2-Figure 3 , Figure 4A-4B and Figure 5A-5H Some operations in method 1100 are optionally combined, and / or the order of some operations is optionally changed.

[0385] In some embodiments, such as Fig. 10A In an electronic device that communicates with one or more input devices (e.g., electronic device 500, a mobile device (e.g., a tablet, smart phone, media player, or wearable device), a laptop, or a desktop computer that communicates with a camera or some other directional indicator (e.g., a laser pointer, light) that generates an indication corresponding to the orientation of the electronic device) determines (1102) that one or more tactile output criteria are met (e.g., the camera captures an image of the environment of the electronic device) when the camera is oriented toward the environment of the electronic device. For example, the camera captures an image of the location at which the camera is oriented. As another example, a laser generator generates a laser dot at a location in space at which the laser generator is oriented. The tactile output criteria optionally include criteria that are met when a tactile output augmented reality (AR) application is operated on the electronic device. The tactile output criteria optionally include criteria that are met when the electronic device has identified a plane of an object in the environment of the electronic device and the camera on the electronic device is oriented toward the identified plane. The tactile output criteria optionally include criteria that are met when the orientation of the camera changes relative to the identified plane in the environment of the electronic device.

[0386] In some embodiments, such as Fig. 10A In response to determining that the one or more tactile output criteria (1104) are met, based on determining that the camera is oriented toward a first plane 1004 of an object in the environment (e.g., a surface such as the ground, or a surface of an object such as a floor, a table, a wall, etc.), the electronic device 500 generates (1106) a first tactile output 1002 (e.g., a touch, a vibration) having a first value of a first characteristic (e.g., intensity, texture (frequency), pattern, duration, etc.) at the electronic device. In some embodiments, the electronic device associates the first tactile output texture with the first plane, and generates a tactile output having the first tactile output texture based on determining that the camera is oriented toward the first plane.

[0387] In some embodiments, such as Fig. 10CIn response to determining that the one or more tactile output criteria are met, based on determining that the camera is oriented toward a second plane 1006 different from the first plane 1004 of the object in the environment, the electronic device 500 generates (1108) a second tactile output 1002 having a second value of the first characteristic at the electronic device (e.g., the electronic device associates a second tactile output texture with the second plane, and generates a tactile output having a second tactile output texture based on determining that the camera is oriented toward the second plane). For example, when the camera is oriented toward a plane closer to the camera, the electronic device generates a tactile output with a higher frequency, and when the camera is oriented toward a plane farther from the camera, the electronic device generates a tactile output with a lower frequency. In some embodiments, in addition to the distance from the camera, the characteristics of the planes that result in the above-mentioned different tactile outputs are their respective distances from an identified ground plane in the electronic device environment.

[0388] The above-mentioned manner of changing the characteristics of the tactile output in response to changes in the plane toward which the camera of the electronic device is facing allows the electronic device to confirm which plane the camera is oriented to face and use tactile output to convey information about the plane, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by reducing the user's mistakes of inadvertently orienting the camera to face a plane different from the intended plane), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently without the need to use the display device of the electronic device or touch screen input from the user (which reduces power usage).

[0389] In some embodiments, such as FIG. 10C to FIG. 10D In the embodiment, when the camera is oriented toward a corresponding plane 1006 of an object in the electronic device environment, the electronic device 500 detects (1110) a change in the orientation of the camera relative to the corresponding plane (e.g., a change in the portion of the corresponding plane in the field of view of the camera). For example, the electronic device changes the orientation so that the portion of the plane in the center of the field of view of the camera of the electronic device changes.

[0390] In some embodiments, such as Fig. 10D In response to detecting a change (1112) in the orientation of the camera relative to a corresponding plane 1006, based on determining that the orientation of the camera reaches a boundary of the corresponding plane of the object during the change, the electronic device 500 generates (1114) at the electronic device a corresponding tactile output 1002 corresponding to reaching the boundary of the corresponding plane (for example, one or more features of the tactile output change in response to detecting the boundary of the corresponding plane).

[0391] In some embodiments, such as Fig. 10CIn the embodiment of the present invention, based on determining that the orientation of the camera moves within the corresponding plane 1006 of the object during the change without reaching the boundary of the corresponding plane of the object, the electronic device 500 abandons (1116) generating the corresponding tactile output (for example, the electronic device continues to present the tactile output that does not indicate the boundary of the plane). For example, when the camera of the electronic device is oriented toward the table, the electronic device detects that the orientation of the camera changes to capture the edge of the table. In response to the camera capturing the edge of the table, the electronic device generates a tactile output that is different from the tactile output generated when the camera is oriented toward a portion of the table that is not the edge of the table. In some embodiments, the electronic device generates a texture tactile output when the camera is scanning the table surface within the edge of the table, rather than a tactile output corresponding to the edge.

[0392] The above-mentioned manner of presenting tactile output corresponding to the edge of the corresponding plane allows the electronic device to use tactile output to convey to the user that the camera is oriented toward the boundary of the plane, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, enabling the user to locate the boundary of the plane more quickly), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0393] In some embodiments, such as FIG. 10E to FIG. 10F , when the camera is oriented toward a corresponding plane 1006 of an object in an environment of the electronic device 500, the electronic device detects (1118) a change in the orientation of the camera relative to the corresponding plane (e.g., detecting movement and / or a change in orientation of the electronic device when the camera is oriented toward the corresponding plane).

[0394] In some embodiments, such as Fig.10E In response to detecting a change (1120) in the orientation of the camera relative to the corresponding plane 1006, based on determining that the orientation change has a first speed across the corresponding plane, the electronic device 500 generates (1122) at the electronic device a first corresponding tactile output 1002 corresponding to movement across the corresponding plane, the first corresponding tactile output having a corresponding value for a corresponding characteristic of the first corresponding tactile output (e.g., the electronic device generates a tactile output having a first value for a first characteristic associated with the corresponding plane and a second value for a second characteristic associated with the speed of movement). For example, when the electronic device moves across the corresponding plane at the first speed, the electronic device generates a tactile output having a frequency associated with the corresponding plane and a first amplitude associated with the first speed.

[0395] In some embodiments, such as Fig.10FIn response to detecting a change (1120) in the orientation of the camera relative to the corresponding plane 1006, based on determining that the orientation change has a second speed across the corresponding plane that is different from the first speed, the electronic device 500 generates (1124) at the electronic device a first corresponding tactile output 1002 corresponding to movement across the corresponding plane, the second corresponding tactile output having a second corresponding value for a corresponding feature of the second corresponding tactile output (e.g., the electronic device generates a tactile output having a frequency associated with the corresponding plane and an amplitude associated with the speed of movement). For example, when the electronic device moves across the corresponding plane at the second speed, the electronic device generates a tactile output having a frequency associated with the corresponding plane and a second amplitude associated with the second speed. In some embodiments, the amplitude of the tactile output is higher when the speed is higher, but in some embodiments, the amplitude of the tactile output is higher when the speed is lower.

[0396] The above-mentioned manner of changing the corresponding characteristics of the tactile output according to the speed of the camera relative to the corresponding plane allows the electronic device to use tactile output to convey the speed of the camera relative to the corresponding plane to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to determine the speed of the camera moving across the corresponding plane more quickly), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0397] In some embodiments, such as FIG. 10G to FIG. 10H , when the electronic device 500 is at a corresponding distance from a corresponding plane 1006 of an object in the electronic device environment (1126), when the camera is oriented toward the corresponding plane, it is determined that one or more corresponding tactile output criteria (1128) are met (for example, the plane is in the field of view of the camera, the electronic device is running an augmented reality application, the plane is associated with tactile output, the field of view of the camera is moving relative to the corresponding plane, etc.).

[0398] In some embodiments, such as FIG. 10G to FIG. 10H In the embodiment of the present invention, when the electronic device 500 is at a corresponding distance from a corresponding plane 1006 of an object in the electronic device environment (1126), in response to determining that the one or more corresponding tactile output criteria are met (1130): based on determining that the camera is oriented toward a first portion of the first distance from the camera toward the corresponding plane 1006, such as at Figure 10GIn the embodiment, the electronic device 500 generates a first corresponding tactile output 1002 at the electronic device, the first corresponding tactile output having a first corresponding value (1132) for a corresponding characteristic of the first corresponding tactile output (for example, the electronic device generates a tactile output having a first characteristic associated with the corresponding plane and a second characteristic associated with the distance between the camera and the corresponding plane), and based on determining that the camera is oriented toward a second portion of the corresponding plane 1006 that is different from the first portion, the second portion being a second distance from the camera, the second distance being different from the first distance, the electronic device 500 generates a second corresponding tactile output 1002 at the electronic device, the second corresponding tactile output having a second corresponding value (1134) for a corresponding characteristic of the second corresponding tactile output (for example, the position of the electronic device relative to the corresponding plane is the same when it is oriented toward the first portion of the corresponding plane and when it is oriented toward the second portion of the corresponding plane, but the orientation of the electronic device relative to the plane is different (for example, the electronic device is rotated)). For example, when oriented toward a first portion of the corresponding plane, the electronic device generates a tactile output having a frequency associated with the corresponding plane and an amplitude associated with a first distance between the camera and the first portion of the corresponding plane. For example, when oriented toward a second portion of the corresponding plane, the electronic device generates a tactile output having a frequency associated with the corresponding plane and an amplitude associated with a second distance between the camera and the second portion of the corresponding plane. In some embodiments, the amplitude of the tactile output increases as the distance between the camera and the corresponding portion of the corresponding plane toward which the camera is directed decreases, but in some embodiments, the amplitude of the tactile output decreases as the distance between the camera and the corresponding portion of the corresponding plane toward which the camera is directed decreases.

[0399] The above-mentioned manner of changing the corresponding characteristics of the tactile output based on the distance between the electronic device and the portion of the corresponding plane that the camera is facing allows the electronic device to convey information about the orientation of the electronic device relative to the corresponding plane to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to determine the orientation of the electronic device relative to the corresponding plane more quickly), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0400] In some embodiments, such as Fig.10IIn the embodiment, the first corresponding value and the second corresponding value of the corresponding feature are based on the feature (1136) of the surface 1008 of the object 1006 corresponding to the corresponding plane (e.g., the electronic device determines the type of surface of the object toward which the camera is directed based on image recognition). For example, the electronic device generates a tactile output having a smooth texture in response to detecting that the camera is oriented toward a surface having a smooth texture, and the electronic device generates a tactile output having a rough texture in response to detecting that the camera is oriented toward a surface having a rough texture.

[0401] The above-mentioned method of generating tactile output indicating features of the surface of an object corresponding to a corresponding plane allows the electronic device to communicate the features of the surface to the user using tactile output, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device (for example, by enabling the user to more quickly identify the portion of the corresponding plane that the camera is facing), which in turn reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0402] In some embodiments, such as Fig.10F In some embodiments, the one or more tactile output criteria include a criterion (1138) that is satisfied when the electronic device 500 moves relative to the first plane 1006 or the second plane (for example, when the electronic device is not moving, the electronic device does not generate a tactile output even if other tactile output criteria are satisfied). In some embodiments, the movement includes a change in the distance between the electronic device and / or camera and the corresponding surface, a change in the orientation of the electronic device and / or camera relative to the corresponding surface, movement of the corresponding surface, and movement of the electronic device and / or camera in a direction parallel to the corresponding surface, which movement does not change the distance between the electronic device and / or camera and the corresponding plane, but changes which portion of the corresponding plane the electronic device and / or camera is oriented toward.

[0403] The above-mentioned manner of generating tactile output in response to movement of the electronic device relative to the corresponding plane allows the electronic device to abandon generating tactile output when the electronic device and / or camera is stationary, which reduces power usage and extends the battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiently.

[0404] It should be understood that FIG. 11A to FIG. 11C The specific order in which the operations in the description are described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations may be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein. In addition, it should be noted that the details of other processes described herein in conjunction with other methods described herein (e.g., methods 700, 900, and 1300) are also applicable in a similar manner to the details of the processes described above in conjunction with the methods described herein. FIG. 11A to FIG. 11CThe method 1100 described herein. For example, the manner of generating a tactile output indicating an AR plane described above with reference to method 1100 optionally has one or more of the following features: generating a tactile output for an orientation range that changes based on the distance between the electronic device and the corresponding object, modifying the tactile output when the orientation of the electronic device changes, and generating a tactile output indicating sharing data with a second electronic device, etc., as described herein with reference to other methods described herein (e.g., methods 700, 900, and 1300). For the sake of brevity, these details are not repeated here.

[0405] The operations in the above information processing method are optionally implemented by running one or more functional modules in an information processing device, such as a general-purpose processor (for example, in combination with Figure 1A to Figure 1B , Figure 3 , FIG. 5A to FIG. 5H In addition, the above reference FIG. 11A to FIG. 11C The operation is optionally performed by Figure 1A to Figure 1B 1106, 1108 and 1114 are implemented by the components depicted in . For example, generating operations 1106, 1108 and 1114 are optionally implemented by event classifier 170, event identifier 180 and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch screen 504, and event distributor module 174 transmits 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 screen corresponds to a predefined event or sub-event, such as the selection of an object on the user interface. When the corresponding predefined event or sub-event is detected, event identifier 180 activates the 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 to Figure 1B The components depicted in the figure are used to implement other processes.

[0406] Generating tactile output indicating data sharing

[0407] Users interact with electronic devices in a variety of different ways, including sharing data with other electronic devices. The embodiments described below provide ways for an electronic device to generate a tactile output indicating the initiation of a data sharing process with a second electronic device. Enhancing interaction with a device reduces the amount of time required for a user to perform an operation, thereby reducing the power consumption of the device and extending the battery life of a battery-powered device. It should be understood that people use devices. When a person uses a device, the person is optionally referred to as a user of the device.

[0408] FIG. 12A to FIG. 12Q An exemplary manner in which a first electronic device 500a generates a tactile output indicating a data sharing process with a second electronic device 500b according to some embodiments of the present disclosure is shown. The embodiments in these figures are used to illustrate the process described below, including reference Figures 13A-13F The process described.

[0409] exist Fig. 12A and Fig. 12B In the embodiment, electronic devices 500a and 500b are spaced apart from each other by a distance 1202 that exceeds a first threshold distance 1204b. When electronic devices 500a and 500b are spaced apart from each other by a distance greater than the first threshold distance 1204b, electronic devices 500a and 500b do not generate a tactile output or a visual indication indicating sharing data with another electronic device. Fig. 12A As shown, when electronic devices 500a and 500b are positioned farther apart than first threshold 1204b, each electronic device presents a corresponding home screen user interface, for example (in some examples, the two devices are displaying different corresponding user interfaces, such as user interfaces of a messaging application, a game application, a web browsing application, etc.). Fig. 12B In the example, electronic devices 500a and 500b move closer to each other, but are still separated by a distance greater than the first threshold distance 1204b. Because electronic devices 500a and 500b are separated by a distance greater than the first threshold distance 1204b, electronic devices 500a and 500b do not generate a tactile output or visual indication indicating that data is shared with another electronic device. Fig. 12B As shown, the first electronic device 500a continues to present the home screen user interface.

[0410] exist Fig. 12C, electronic devices 500a and 500b move toward each other so that the distance 1202 between electronic devices 500a and 500b is less than the first threshold distance 1204b. In response to crossing the first threshold 1204b, electronic devices 500a and 500b generate tactile output 1212a (e.g., the "secondary" tactile output described above with reference to Table 1) and display the corresponding main screen user interface using a blurred visual effect. Tactile output sequence 1212a is a continuous texture tactile output sequence having an amplitude or intensity indicating the distance between electronic devices 500a and 500b.

[0411] exist Fig.12D , electronic devices 500a and 500b move closer to each other, and the two are separated by a distance 1202 that is within the first threshold 1204b but farther than the second threshold 1204a. In response to the reduced distance 1202 between electronic devices 500a and 500b, electronic device 500a generates a tactile output 1212b with an increased amplitude (e.g., the "secondary" tactile output described above with reference to Table 1) and increases the blur effect on the main screen user interface. In addition, the blur effect of the user interface displayed on display 504a increases as the distance between electronic devices 500a and 500b decreases.

[0412] exist Fig.12E , when electronic devices 500a and 500b are in an orientation relative to each other that causes electronic devices 500a and 500b to generate tactile output but does not cause electronic devices 500a and 500b to initiate data transmission, electronic devices 500a and 500b move closer to each other, to a distance 1202 within a second threshold 1204a. Fig.12E In the embodiment, the first electronic device 500a generates a tactile output 1212c having a higher amplitude than the tactile output 1212b (e.g., the "secondary" tactile output described above with reference to Table 1), and the blur effect is relative to Fig.12D The blur effect shown is increased to indicate the change in distance between electronic devices 500a and 500b, but does not initiate a data transfer process. Fig.12F As described above, the orientation of electronic devices 500a and 500b that enables initiation of data transmission is when the top edge of each of electronic devices 500a and 500b faces each other within a threshold angle range (e.g., 1 degree, 5 degrees, 10 degrees, etc.). Fig.12E , the angle between electronic devices 500a and 500b is outside the threshold angle range.

[0413] exist Fig.12F, when electronic devices 500a and 500b are in an orientation relative to each other that causes electronic devices 500a and 500b to initiate data transmission, electronic devices 500a and 500b are positioned a distance 1202 apart that is greater than a first threshold 1204a. Electronic devices 500a and 500b are oriented such that the top edges of electronic devices 500a and 500b face each other within a threshold angle range (e.g., 1 degree, 5 degrees, 10 degrees). Fig.12F , the first electronic device 500a generates a tactile output 1212b (e.g., the "secondary" tactile output described above with reference to Table 1) indicating the distance 1202 between the first electronic device 500a and the second electronic device 500b. The electronic devices 500a and 500b do not initiate the data transfer process because the distance 1202 between the electronic devices 500a and 500b is greater than the first threshold distance 1204a.

[0414] like FIG. 12G to FIG. 12H As shown, in response to detecting that the distance 1202 between electronic devices 500a and 500b is within a second threshold distance 1204a and the orientation of electronic devices 500a and 500b is an orientation that results in initiating data transmission for a duration threshold 1206c, electronic devices 500a and 500b initiate a data transmission process. Figure 12G In the embodiment of the present invention, the distance 1202 between the electronic devices 500a and 500b is less than the first threshold distance 1204a, and the orientation of the electronic devices is an orientation that causes the initiation of a data transfer process. In response to detecting that multiple data transfer initiation criteria (e.g., orientation, distance) are met, the first electronic device 500a generates a tactile output 1214 (e.g., the "primary" tactile output described above with reference to Table 1). The tactile output 1214 is a discrete tactile output. In the embodiment of the present invention, the distance 1202 between the electronic devices 500a and 500b is less than the first threshold distance 1204a, and the orientation of the electronic devices is an orientation that causes the initiation of a data transfer process. In response to detecting that multiple data transfer initiation criteria (e.g., orientation, distance) are met, the first electronic device 500a generates a tactile output 1214 (e.g., the "primary" tactile output described above with reference to Table 1). Figure 12G In the example, the time 1206a when the electronic device has met the data transmission initiation standard is less than the threshold time 1206c. Figure 12L and Figure 12Q Described in more detail, if electronic devices 500a and 500b stop meeting the data transmission initiation criteria before reaching the threshold time 1206c, the data transmission process will not be initiated. However, if these devices continue to meet the data transmission initiation criteria within the threshold time 1206c, the next step in the data transmission process will be optionally initiated.

[0415] For example, Fig.12HAs shown, when the two devices are within a threshold distance 1204a of each other and are in an appropriate orientation relative to each other, in response to meeting the data transfer initiation criteria (e.g., distance and orientation) for a threshold amount of time 1206c, the electronic devices 500a and 500b initiate the process of sharing data. The first electronic device 500a displays an indication 1210a that it may be shared with the second electronic device 500b. Similarly, the second electronic device 500b displays an indication 1210b that it may be shared with the first electronic device 500a. In some embodiments, the first electronic device 500a and the second electronic device 500b generate discrete tactile outputs (e.g., the "primary" tactile output described above with reference to Table 1) and / or audio indications to indicate that the data sharing process has been initiated (e.g., when the threshold time 1206c is reached). Once the data sharing process is initiated, the users of the electronic devices 500a and 500b are able to drag and drop indications of one or more files to the data sharing indication 1210a or 1210b to initiate the process of sharing these files with another electronic device 500a or 500b. In some embodiments, a wireless network sharing protocol is used to share files between the two electronic devices.

[0416] Once the data sharing process is initiated, the electronic devices 500a and 500b optionally do not need to remain within the second threshold distance 1204a of each other to continue the data sharing connection between the devices. Fig.12I As shown, when electronic devices 500a and 500b move away from each other at a speed 1208a lower than a threshold speed 1208c (e.g., move to a distance greater than a threshold distance 1204a), electronic device 500a continues to present an indication 1210a of data sharing with second electronic device 500b, and the data sharing connection is not disconnected. Similarly, second electronic device 500b continues to present an indication 1210a of data sharing with second electronic device 500b. Fig.12H An indication 1210b of sharing data with the first electronic device 500a is shown.

[0417] However, in Fig.12J In the example, the first electronic device 500a and the second electronic device 500b move away from each other at a speed 1208a exceeding a threshold speed 1208c (e.g., move to a distance greater than a threshold distance 1204a). In response to the movement of the electronic devices 500a and 500b, the data sharing connection is disconnected. Fig.12J As shown, the first electronic device 500a generates a tactile output 1214 (e.g., the "primary" tactile output described above with reference to Table 1) to indicate that the data sharing connection has been disconnected. Once the data sharing connection is disconnected, the first electronic device 500a stops presenting an indication 1210a indicating that data sharing with the second electronic device 500b is possible. The second electronic device 500b optionally operates in a similar manner.

[0418] As mentioned above FIG. 12G to FIG. 12H As described above, data sharing criteria (e.g., distance and orientation) may optionally have to be met for a threshold time 1206c before the data sharing process can be initiated. Figures 12K to 12L As shown, if the electronic devices 500a and 500b move away from each other to a distance greater than the sec...

Claims

1. A method comprising: At a first electronic device in communication with a display device and one or more input devices: The first electronic device detects that a second electronic device moves from a first distance from the first electronic device to a second distance from the first electronic device, where the second distance is closer than the first distance; as well as In response to detecting that the second electronic device moves from the first distance to the second distance from the first electronic device: generating a first tactile output at the first electronic device based on determining that one or more tactile output generation criteria are satisfied; displaying, via the display device, a visual indication that sharing data with the second electronic device is feasible based on determining that one or more data transfer initiation criteria are satisfied; as well as Based on determining that the one or more data transmission initiation criteria are not met, Displaying, via the display device, the visual indication that sharing data with the second electronic device is feasible is abandoned.

2. The method according to claim 1, further comprising: In response to detecting that the second electronic device moves from the first distance to the second distance from the first electronic device: Based on determining that the one or more tactile output generation criteria are not met, abandoning generating the first tactile output.

3. A method according to claim 1, wherein the one or more data transmission initiation criteria include criteria that are satisfied when the relative orientation of the first electronic device with respect to the second electronic device is a first relative orientation and are not satisfied when the relative orientation of the first electronic device with respect to the second electronic device is a second orientation different from the first relative orientation.

4. The method of claim 1 , wherein generating the first tactile output comprises: generating the first tactile output having a first value for a first characteristic of the first tactile output based on determining a first corresponding distance between the first electronic device and the second electronic device; as well as Based on determining that the first electronic device is at a second corresponding distance from the second electronic device that is different from the first corresponding distance, the first tactile output having a second value of the first characteristic for the first tactile output is generated, the second value being different from the first value.

5. The method according to claim 1, further comprising: In response to detecting that the second electronic device moves from the first distance to the second distance from the first electronic device: Based on determining that the one or more data transfer initiation criteria are satisfied, generating, at the first electronic device, a second tactile output corresponding to satisfaction of the data transfer initiation criteria; as well as Based on determining that the one or more data transfer initiation criteria are not met, abandoning generating the second tactile output at the first electronic device. 6 . The method of claim 1 , wherein the visual indication that sharing data with the second electronic device is feasible is displayed a time threshold after the one or more data transfer initiation criteria are met.

7. A method according to claim 1, wherein the one or more data transmission initiation criteria include a criteria that is satisfied when the first electronic device remains within the data transmission distance of the second electronic device for longer than a time threshold and is not satisfied when the first electronic device moves to a distance from the second electronic device farther than the data transmission distance before the time threshold.

8. The method according to claim 1, further comprising: detecting that the second electronic device moves from a first corresponding distance to a second corresponding distance from the first electronic device; as well as In response to detecting that the second electronic device moves from the first corresponding distance to the first electronic device to the second corresponding distance: Based on determining that one or more criteria are met: When the second electronic device is at the first corresponding distance from the first electronic device, displaying a first visual indication corresponding to the first corresponding distance via the display device; as well as When the second electronic device is at the second corresponding distance from the first electronic device, a second visual indication different from the first visual indication corresponding to the second corresponding distance is displayed via the display device.

9. The method according to claim 1, further comprising: When the one or more data transmission initiation criteria are met, detecting a change in the distance between the first electronic device and the second electronic device from a first corresponding distance less than the data transmission distance to a second corresponding distance greater than the data transmission distance; as well as In response to detecting the change in the distance between the first electronic device and the second electronic device from the first corresponding distance to the second corresponding distance: maintaining, via the display device, the display of the visual indication that sharing data with the second electronic device is feasible based on determining that the first electronic device and the second electronic device are moving apart at a speed less than a speed threshold; as well as Based on determining that the first electronic device and the second electronic device are moving apart at a rate greater than the rate threshold, ceasing the display of the visual indication that sharing data with the second electronic device is feasible.

10. The method according to claim 1, further comprising: receiving, via the one or more input devices, an input corresponding to a request to initiate data sharing with the second electronic device when the one or more data transfer initiation criteria are met; In response to receiving the input corresponding to the request to initiate the data sharing with the electronic device, initiating a data sharing session with the second electronic device; detecting, while the data sharing session with the second electronic device is active, a change in the distance between the first electronic device and the second electronic device from a first corresponding distance less than a data transmission distance to a second corresponding distance greater than the data transmission distance; and In response to detecting the change in the distance between the first electronic device and the second electronic device from the first corresponding distance to the second corresponding distance: maintaining the data sharing session with the second electronic device based on determining that the second corresponding distance is less than the data sharing disconnection distance, wherein the data sharing disconnection distance is greater than the data transmission distance; and According to determining that the second corresponding distance is greater than the data sharing disconnection distance, the data sharing session with the second electronic device is terminated. 11 . The method of claim 10 , wherein ending the data sharing session with the second electronic device comprises generating a second tactile output at the first electronic device corresponding to the ending of the data sharing session.

12. The method of claim 1, wherein the one or more data transmission initiation criteria include a criterion that is satisfied when the second distance is less than the data transmission distance and is not satisfied when the second distance is greater than the data transmission distance.

13. An electronic device comprising: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for executing the method according to any one of claims 1 to 12.

14. A non-transitory computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, which, when executed by one or more processors of an electronic device, cause the electronic device to perform the method according to any one of claims 1 to 12.

15. A method comprising: At an electronic device in communication with one or more input devices: When navigating from a first location to a second location different from the first location, determining that one or more tactile output criteria are satisfied; and In response to determining that the one or more tactile output criteria are met: generating, at the electronic device, a first tactile output having a first value for a first characteristic based on determining that the electronic device is in a first orientation relative to a path between a current position of the electronic device and the second position; as well as Based on determining that the electronic device is in a second orientation relative to the path between the current position of the electronic device and the second position, generating a second tactile output at the electronic device having a second value for the first characteristic.

16. A method comprising: At the electronics that communicate with the camera: determining that one or more tactile output criteria are satisfied when the camera is oriented toward an environment of the electronic device; as well as In response to determining that the one or more tactile output criteria are met: generating, at the electronic device, a first tactile output having a first value for a first feature based on determining that the camera is oriented toward a first plane of an object in the environment; as well as Based on determining that the camera is oriented toward a second plane different from the first plane of an object in the environment, a second tactile output having a second value for the first characteristic is generated at the electronic device.

17. A method comprising: At an electronic device in communication with one or more input devices: receiving, via the one or more input devices, a sequence of one or more inputs corresponding to a range of orientations relative to a first object; as well as In response to receiving said sequence of one or more inputs: Based on determining that the distance between the electronic device and the first object is a first distance, generating a first tactile output at the electronic device, the first tactile output corresponding to the orientation of the first object relative to the electronic device, wherein the first tactile output occurs in a first portion of the orientation range but not in a second portion of the orientation range; and Based on determining that the distance between the electronic device and the first object is a second distance different from the first distance, a second tactile output is generated at the electronic device, and the second tactile output corresponds to the orientation of the first object relative to the electronic device, wherein the second tactile output occurs in both the first part of the orientation range and the second part of the orientation range.