WO2017039821A1 - Forwarding activity-related information from source electronic devices to companion electronic devices - Google Patents

Forwarding activity-related information from source electronic devices to companion electronic devices Download PDF

Info

Publication number
WO2017039821A1
WO2017039821A1 PCT/US2016/040583 US2016040583W WO2017039821A1 WO 2017039821 A1 WO2017039821 A1 WO 2017039821A1 US 2016040583 W US2016040583 W US 2016040583W WO 2017039821 A1 WO2017039821 A1 WO 2017039821A1
Authority
WO
WIPO (PCT)
Prior art keywords
activity
electronic device
related information
source
information
Prior art date
Application number
PCT/US2016/040583
Other languages
French (fr)
Inventor
Marc J. KROCHMAL
Daniel M. VINEGRAD
Original Assignee
Apple Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to US14/841,410 priority Critical patent/US10187770B2/en
Priority to US14/841,410 priority
Application filed by Apple Inc. filed Critical Apple Inc.
Publication of WO2017039821A1 publication Critical patent/WO2017039821A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The described embodiments transfer an activity from a source electronic device to a companion electronic device. The source electronic device receives activity information describing an activity performed in a first application at the source electronic device and broadcasts an activity advertisement comprising an activity identifier for the activity. Upon receiving the activity advertisement, the companion electronic device determines whether a second application that is associated with the first application is available at the companion electronic device. If the second application is available, the companion electronic device acquires extended activity data from the source electronic device and uses the extended activity data to configure the second application and commence performing the activity with the second application at the companion electronic device. The source electronic device may also forward activity-related information (e.g., information from a copy and paste clipboard in the source electronic device) to the companion electronic device.

Description

FORWARDING ACTIVITY-RELATED
INFORMATION FROM SOURCE ELECTRONIC DEVICES TO COMPANION ELECTRONIC DEVICES
Inventors: Marc J. Krochmal and Daniel M. Vinegrad
Related Applications
[0001] The instant application is a continuation in part of, and hereby claims priority to, pending U.S. patent application no. 14/586,566, which is titled "Activity Continuation between Electronic Devices," which was filed on 30 December 2014. The instant application also claims priority to now-expired U.S. provisional patent application no. 62/005,781, which is titled "Activity
Continuation between Electronic Devices," which was filed on 30 May 2014, and to which parent application 14/586,566 also claims priority. Both of these applications are incorporated by reference.
[0002] The instant application is related to pending U.S. patent application no. 14/586,511, which is titled "Companion Application for Activity
Cooperation," by inventors Marc J. Krochmal, Christopher S. Linn, John J.
larocci, Geoffrey Stahl, and Jacques P. Gasselin de Richebourg, filed on the same day as the instant application, which has attorney docket no. APL-P23129US1. The instant application is also related to pending U.S. patent application no.
14/475,329, which is titled "Operating Mode Transitions based on Advertising Information," by inventors Craig P. Dooley, Akshay Mangalam Srivatsa, Anjali S. Sandesara, and Michael J. Giles, filed on 02 September 2014, which has attorney docket no. APL-P22643US1. The instant application is also related to pending U.S. patent application no. 14/474,466, which is titled "Predefined Wireless Pairing," by inventors Jason C. Conn, Akshay Mangalam Srivatsa, Craig P.
Dooley, and Michael J. Giles, filed on 02 September 2014, which has attorney docket no. APL-P22642US1. The instant application is further related to pending U.S. patent application no. 14/586,566, which is titled "Activity Continuation between Electronic Devices," by inventors Christopher S. Linn, Keith
Stattenfield, Christopher C. Jensen, Alexander R. Ledwith, David A. Carter, Marc J. Krochmal, John J. Iarocci, and Jonathan M. Grynspan, which filed on 30 December 2014, which has attorney docket no. APL-P22791US1. Each of the above-described applications is incorporated herein by reference.
BACKGROUND
Field
[0003] The disclosed embodiments relate to electronic devices. More specifically, the disclosed embodiments relate to forwarding activity-related information from source electronic devices to companion electronic devices.
Related Art
[0004] Recent advances in computer technology have enabled
manufacturers to produce powerful computing devices in various form factors, thereby enabling users to use a device as small and portable as a smartphone or a tablet to perform tasks that once required a desktop or laptop computer. Because of these advances, users often possess and use multiple computing devices, e.g., a smartphone while on the road, a tablet in meetings, and a laptop or desktop computer at a desk.
[0005] Although a user may possess different devices, each with powerful computing capabilities, in certain cases, the user may find him- or herself using a device that is ill-suited for a task being performed or for the situation that the user is in. For example, the user may start what is intended as a short email on a device such as a smartphone with a small display screen and then, due to the size of the display screen, may have a difficult time entering and editing text in the email when the email turns out to be longer than anticipated. Alternatively, the user may be reading a web page or watching a movie on a desktop but may have to leave the room in which the desktop is located. Although the user may retrieve another device and start the task, this is cumbersome.
BRIEF DESCRIPTION OF THE FIGURES
[0006] FIG. 1 presents a block diagram illustrating an electronic device in accordance with some embodiments.
[0007] FIG. 2 presents a block diagram illustrating a network environment in accordance with some embodiments.
[0008] FIG. 3 presents a flowchart illustrating a process for broadcasting an activity advertisement message in accordance with some embodiments.
[0009] FIG. 4 presents a flowchart illustrating a process for storing activity information describing activities that are available at a companion electronic device in accordance with some embodiments.
[0010] FIG. 5 presents a flowchart illustrating a process for requesting extended activity data and transferring an activity in accordance with some embodiments.
[0011] FIG. 6 presents a flowchart illustrating a process for responding to a request for extended activity data in accordance with some embodiments. [0012] FIG. 7 presents a flowchart illustrating a process for determining whether the second application is available at a companion electronic device in accordance with some embodiments.
[0013] FIG. 8 presents a flowchart illustrating a process for determining the second application using a flag in accordance with some embodiments.
[0014] FIG. 9 presents a flowchart illustrating a process for determining whether the second application is available when the activity identifier identifies an entry in a structure that stores advertised activities in accordance with some embodiments.
[0015] FIG. 10 presents a flowchart illustrating a process for determining a most recent activity from two or more activity advertisement messages in accordance with some embodiments.
[0016] FIG. 11 presents a block diagram illustrating activity information in accordance with some embodiments.
[0017] FIG. 12 presents a block diagram illustrating an advertised-activity table in accordance with some embodiments.
[0018] FIG. 13 presents a block diagram illustrating an activity advertisement message in accordance with some embodiments.
[0019] FIG. 14 presents a block diagram illustrating a resumable-activity indication in accordance with some embodiments.
[0020] FIG. 15 presents a swim lane diagram illustrating messages exchanged between electronic devices in accordance with some embodiments.
[0021] FIG. 16 presents a block diagram illustrating electronic devices in proximity to one another in accordance with some embodiments.
[0022] FIG. 17 presents a flowchart illustrating a process for forwarding activity-related information from a source electronic device to a companion electronic device in accordance with some embodiments. [0023] FIG. 18 presents a block diagram illustrating an activity-related information advertisement generated by a source electronic device in accordance with some embodiments.
[0024] FIG. 19 presents a flowchart illustrating a process for receiving, in a companion electronic device, activity-related information from a source electronic device in accordance with some embodiments.
[0025] FIG. 20 presents a block diagram illustrating an activity-related information availability indicator in accordance with some embodiments.
[0026] In the figures, like reference numerals refer to the same figure elements.
DETAILED DESCRIPTION
[0027] The following description is presented to enable any person skilled in the art to make and use the described embodiments, and is provided in the context of a particular application and its requirements. Various modifications to the described embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the described embodiments. Thus, the described embodiments are not limited to the embodiments shown, but are to be accorded the widest scope consistent with the principles and features disclosed herein.
[0028] In some embodiments, an electronic device (e.g., electronic device 100 in FIG. 1 and/or some portion thereof) uses code and/or data stored on a computer-readable storage medium to perform some or all of the operations herein described. More specifically, the electronic device reads the code and/or data from the computer-readable storage medium and executes the code and/or uses the data when performing the described operations. In these embodiments, a computer-readable storage medium can be any device or medium or combination thereof that stores code and/or data for use by an electronic device. For example, the computer-readable storage medium can include, but is not limited to, volatile memory or non-volatile memory, such as semiconductor memories (e.g., flash memory, random access memory (eDRAM, RAM, SRAM, DRAM, DDR, DDR2/DDR3/DDR4 SDRAM, etc.), etc.) and or magnetic or optical storage mediums (e.g., disk drives, magnetic tape, CDs, DVDs). In the described embodiments, the computer-readable storage medium does not include nonstatutory computer-readable storage mediums such as transitory signals.
[0029] In some embodiments, one or more hardware modules are configured to perform the operations herein described. For example, the hardware modules can comprise, but are not limited to, one or more
processors/cores/central processing units (CPUs), application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), caches/cache controllers, memory management units, compute units, embedded processors, graphics processors (GPUs)/graphics cores, pipelines, and/or other
programmable-logic devices. When such hardware modules are activated, the hardware modules perform some or all of the operations. In some embodiments, the hardware modules include one or more general-purpose circuits that are configured by executing instructions (program code, firmware, etc.) to perform the operations.
[0030] In this description, functional blocks may be referred to in describing some embodiments. Generally, functional blocks include one or more interrelated circuits, devices, and/or mechanisms that perform described operations. In some embodiments, at least some of the functional blocks include general-purpose processing circuits that execute program code (e.g., microcode, firmware, applications, etc.) that causes the general-purpose processing circuits to perform the described operations.
Overview
[0031] The described embodiments transfer an activity performed at a source electronic device from the source electronic device to a companion electronic device— a process that is referred to as "continuing" the activity in the companion electronic device. In the described embodiments, to perform the transfer, the source electronic device sends information that describes an activity performed in a first application at the source electronic device to the companion electronic device. The companion electronic device then uses some or all of the information to configure a second application at the companion electronic device to perform a corresponding activity. Generally, the activity includes one or more operations that are performed at least partially at the source electronic device that are transferred to/continued on the companion electronic device. Examples of activities include reading and/or editing a document (e.g., a word processing document, spreadsheet, presentation, or other type of document), composing an email message, an email, voice message or video, drafting a note, accessing (browsing) a website, watching a movie, playing an audio file, or otherwise using an application or app to perform corresponding operations.
[0032] In some embodiments, when transferring an activity from the source device to the companion device, the source electronic device first broadcasts an activity advertisement message (also referred to as an "activity advertisement") using a wireless network interface (e.g., Bluetooth low energy (BLE,), ZigBee, etc.). In some embodiments, the source electronic device generates an activity identifier for the activity performed in a first application at the source electronic device and includes the activity identifier in the activity advertisement message. The source electronic device generates the activity identifier by performing a set of operations (e.g., a hash operation, etc.) using activity information that describes the activity that is received from the first application. Examples of activity information are described in more detail below with reference to FIG. 11.
[0033] The companion electronic device monitors a network (e.g., a Bluetooth low energy network) for activity advertisement messages on a network interface corresponding to the network interface in the source electronic device from which the activity advertisement was broadcast. Upon detecting the activity advertisement broadcast from the source electronic device, the companion electronic device compares activity identifiers for activities that are available at the companion electronic device to the activity identifier in the activity advertisement message. The companion electronic device uses this comparison to determine whether a second application that can perform an activity
corresponding to the activity performed in the first application is available at the companion electronic device.
[0034] In some embodiments, upon determining that the second application is available, the companion electronic device establishes
communication with the source electronic device over a communication channel (e.g., using the same wireless network interface used to receive the activity advertisement message or a different network interface, wireless and/or wired). The companion electronic device then uses the communication channel to request extended activity data for the activity performed in the first application from the source electronic device. In some embodiments, upon receiving the request for extended activity data, the source electronic device uses the same (or a different) communication channel to provide the extended activity data to the companion electronic device. Generally, the extended activity data includes information that can be used to configure the second application in the companion electronic device to continue the activity, such as a document identifier, a scroll position, a uniform resource locator (URL), etc. related to the activity performed in the first application.
[0035] In some embodiments, the companion electronic device uses the activity identifier and/or the extended activity data to configure the second application to perform an activity corresponding to the activity performed in the first application at the source electronic device. Then, the companion electronic device starts performing the activity in the second application at the companion electronic device. For example, after the companion electronic device configures the second application, a user can use the companion electronic device to continue working on a document that the user was working with at the source electronic device, to continue watching a movie that the user was watching at the source electronic device, to continue browsing a webpage that the user was browsing at the source electronic device, etc. In some embodiments, the companion electronic device sends a notification to the source electronic device to indicate that the activity was transferred to the second application. The notification can cause the source electronic device and/or the first application to perform housekeeping tasks, such as deleting a document draft for the activity, closing an open document for the activity, etc.
[0036] In some embodiments, in addition to the above-described activity identifier and/or the extended activity data, the source electronic device forwards activity-related information to the companion electronic device. For example, in some embodiments, the source electronic device forwards, to the companion electronic device, some or all of the contents of a copy and paste clipboard (or "clipboard") in the source electronic device. Upon receiving activity-related information, the companion electronic device provides the activity-related information for performing activities (e.g., transferred activities or other activities) in the companion electronic device. For example, in embodiments where some or all of the contents of the clipboard are forwarded from the source electronic device, the companion electronic device can overwrite some or all of existing contents of a clipboard in the companion electronic device with the contents of the clipboard received from the source electronic device. In this way, the companion electronic device can make the contents of the clipboard from the source electronic device (i.e., the activity-related information) available for activities in the companion electronic device. For example, text, images, videos, sounds, files, fields, and/or other information copied to (or otherwise placed on) the clipboard in the source electronic device can be made available, via the companion electronic device's clipboard, to activities in the companion electronic device.
[0037] By performing the operations described above for continuing an activity performed at the source electronic device at the companion electronic device, the described embodiments enable a user to continue a task seamlessly and without complex user intervention. This enables the user to more easily perform tasks on desired electronic devices, which can improve the user's overall experience with two or more electronic devices. Electronic Device
[0038] FIG. 1 presents a block diagram illustrating electronic device 100 in accordance with some embodiments. Electronic device 100 includes processing subsystem 102, memory subsystem 104, networking subsystem 106, and display subsystem 108.
[0039] Processing subsystem 102 is a functional block that performs computational operations in electronic device 100. Processing subsystem 102 includes one or more central processing units (CPUs)/CPU cores, graphics processing units (GPUs)/GPU cores, embedded processors, application specific integrated circuits (ASICs), and/or other computational mechanisms.
[0040] Memory subsystem 104 is a functional block that stores data and/or instructions for use by other functional blocks in electronic device 100 (e.g., processing subsystem 102, etc.). Memory subsystem 104 includes volatile memory circuits such as dynamic random access memory (DRAM), static random access memory (SRAM), and/or other types of memory that are used for storing the instructions and data, as well as mechanisms for controlling the memory circuits. In some embodiments, memory subsystem 104 includes a memory hierarchy with one or more caches coupled to the memory circuits. In some of these embodiments, processing subsystem 102 also includes one or more caches that are part of the memory hierarchy. [0041] In some embodiments, memory subsystem 104 is coupled to one or more non-volatile high-capacity mass-storage devices (not shown). For example, memory subsystem 104 can be coupled to a magnetic or optical drive, a solid- state drive, or another type of mass-storage device. In these embodiments, memory subsystem 104 can be used by electronic device 100 as fast-access storage for often-used data, while the mass-storage device is used to store less frequently used data.
[0042] Networking subsystem 106 is a functional block that includes one or more devices configured to couple to and communicate on a wired and/or wireless network (i.e., to perform network operations). For example, networking subsystem 106 can include a Bluetooth™ networking system, a cellular networking system (e.g., a 3G/4G network such as UMTS, LTE, etc.), a universal serial bus (USB) networking system, a networking system based on the standards described in IEEE 802.11, 802.15, etc. (e.g., a ZigBee or Wi-Fi networking system, etc.), an Ethernet networking system, and/or another networking system. Networking subsystem 106 includes processors, controllers, radios/antennas, sockets/plugs, and/or other devices used for coupling to, communicating on, and handling data and events for each supported networking system. In the following description, the mechanisms used for coupling to, communicating on, and handling data and events on the network for each network system are referred to collectively as the "interface" or "network interface" for the network system.
[0043] Display subsystem 108 is a functional block that includes one or more devices configured to display information on a visual interface for electronic device 100. For example, in some embodiments, display subsystem 108 includes graphics processors (GPUs), graphics cards, and/or display screens that are used for displaying the information.
[0044] In some embodiments, communication paths (that include one or more buses, wires, and/or connections) are coupled between the functional blocks in electronic device 100 (processing subsystem 102, memory subsystem 104, etc.), as shown by arrow-headed lines between the elements. The communication paths are used to transmit commands, data, event notifications, and/or other information between the elements.
[0045] Although specific components are used to describe electronic device 100, in some embodiments, different components and/or subsystems may be present in electronic device 100. For example, electronic device 100 may include one or more additional processing subsystems 102, memory subsystems 104, etc. Additionally, one or more of the subsystems may not be present in electronic device 100 or some or all of the subsystem's functions may be incorporated in the other subsystems. Moreover, in some embodiments, electronic device 100 may include one or more additional subsystems that are not shown in FIG. 1. For example, electronic device 100 can include, but is not limited to, a data collection subsystem, an audio and/or video subsystem, an alarm subsystem, a media processing subsystem, and/or an input/output (I/O) subsystem.
[0046] Electronic device 100 can be, or can be included in, any device that performs computational operations. For example, electronic device 100 can be, or can be included in, a desktop computer, a laptop computer, a wearable computing device, a tablet computer, a smart phone, a server, a network appliance, a toy, audio-visual equipment (e.g., a receiver, set top box, Apple TV, etc.), automobiles (e.g., a car interface system, navigation system, heads-up display, etc.), home appliances, controllers, etc., and/or combinations thereof. (Apple TV is a registered trademark of Apple Inc. of Cupertino, California). Network Environment
[0047] FIG. 2 presents a block diagram illustrating a network environment in accordance with some embodiments. As can be seen in FIG. 2, network environment 200 includes source electronic device 202, companion electronic device 204, and second source electronic device 206 (referred to collectively as "the electronic devices"). In some embodiments, each of the electronic devices is an electronic device similar to electronic device 100, i.e., has similar subsystems to electronic device 100. However, this is not required; the described
embodiments can use any electronic devices that can perform the operations herein described.
[0048] Source electronic device 202 and second source electronic device 206 are electronic devices that participate in exchanges of communications with companion electronic device 204 relating to activity transfer operations. In some embodiments, source electronic device 202 (and/or second source electronic device 206) is an electronic device that is recognized by companion electronic device 204 and therefore is allowed to participate in an activity transfer operation. For example, both source electronic device 202 and companion electronic device 204 may have been registered with a service provider using the same account and may therefore recognize each other via information stored in each electronic device. For example, in some embodiments, source electronic device 202 and companion electronic device 204 participate in (and recognize each other via information acquired through) a preliminary pairing operation, e.g., a predefined pairing, as described in pending U.S. patent application no. xx/xxx,xxx, which is titled "Predefined Wireless Pairing," by inventors Jason C. Conn, Akshay
Mangalam Srivatsa, Craig P. Dooley, and Michael Giles, filed on the same day as the instant application, which has attorney docket no. APL-P22642USP1, and the contents of which are incorporated by reference as described above. In some embodiments, source electronic device 202 and companion electronic device 204 may participate in a device-to-device exchange of identification factors
(encryption keys, certificates, etc.) so that source electronic device 202 and companion electronic device 204 subsequently recognize each other.
[0049] Within network environment 200, companion electronic device 204 can communicate with source electronic device 202 and second source electronic device 206 using wireless communication signals 208 (illustrated using jagged lines labeled "COMMUNICATION SIGNALS 208" in FIG. 2). In some embodiments, communication signals 208 are formatted and exchanged
(broadcast, transmitted/received, etc.) in accordance with a corresponding wireless protocol - for example, via a wireless network protocol such as
Bluetooth, ZigBee, an 802.11 -based protocol and/or other wireless network protocols. In some embodiments, some or all of communication signals 208 are communicated as wired communication signals, e.g., signals in wired Ethernet, a wired LAN, a wired WAN, etc.
[0050] In some embodiments, the activity transfer operations described herein rely on source electronic device 202 and companion electronic device 204 being sufficiently close to each other to enable communication signals 208 (and thus the incorporated messages) sent by each electronic device to be received by the other electronic device. In other words, source electronic device 202 and companion electronic device 204 are in "proximity" to one another, thereby enabling the exchange of messages between the electronic devices. "Proximity" as used herein therefore represents distance(s) at which messages broadcast/sent from a given electronic device can be received by one or more other electronic devices. This distance is dictated by radio equipment (antennas,
receivers/transmitters, etc.) in the electronic devices and the particular radio protocol/signals used to broadcast/send the messages, as limited by factors such as environmental conditions (electromagnetic interference, etc.), intermediate objects (furniture, walls, clothing/bags, etc.), etc. For example, in some embodiments, communication signals 208 are exchanged between source electronic device 202 and companion electronic device 204 using a protocol with an expected range of 30 meters, and thus the devices are "in proximity" when the devices are within 30 meters of one another (note, however, that the expected range may be significantly altered by the above-described factors).
[0051] FIG. 16 presents a block diagram illustrating electronic devices in proximity to one another in accordance with some embodiments. As can be seen in FIG. 16, companion electronic device 204 is within range 1602 for radio signals (e.g., communication signals 208) for source electronic device 202, meaning that companion electronic device 204 can receive radio signals sent from source electronic device 202. In addition, source electronic device 202 is within range 1604 for radio signals (e.g., communication signals 208) for companion electronic device 204, meaning that source electronic device 202 can receive radio signals sent from companion electronic device 204. As described above, therefore, source electronic device 202 and companion electronic device 204 are "in proximity" to one another, thereby enabling the communication of messages (and corresponding operations) herein described. However, neither source electronic device 202 nor companion electronic device 204 is within range 1606 for radio signals for electronic device 1600, meaning that neither source electronic device 202 nor companion electronic device 204 is in proximity to electronic device 1600. Note that ranges 1602-1606 in FIG. 16 are shown using irregular shapes, thereby illustrating that radio signals from the electronic devices have irregular ranges, depending on the electronic device (antenna arrangement, etc.), the above-described factors, etc.
[0052] In some embodiments, the messages, data, etc. communicated between the electronic devices are encrypted. In these embodiments, some or all of the electronic devices perform corresponding encryption and decryption operations, e.g., by using a shared key, keys derived from a shared key, and/or a one-time key. For example, as described earlier, in some embodiments, source electronic device 202 and companion electronic device 204 participate in a predefined pairing as described in pending U.S. patent application no. xx/xxx,xxx, which is titled "Predefined Wireless Pairing," by inventors Jason C. Conn, Akshay Mangalam Srivatsa, Craig P. Dooley, and Michael Giles, filed on the same day as the instant application, which has attorney docket no. APL- P22642USP1, and the contents of which are incorporated by reference as described above. In some embodiments, source electronic device 202 and companion electronic device 204 encrypt and decrypt messages exchanged for activity transfer operations by using one or more encryption keys that source electronic device 202 and companion electronic device 204 acquire while participating in the predefined pairing.
[0053] Although various electronic devices are shown in FIG. 2, in some embodiments different arrangements of electronic devices are used to perform some or all of the operations herein described. For example, in some
embodiments, second source electronic device 206 is not present. Generally, the described embodiments include sufficient devices to transition an activity between electronic devices as described herein.
Broadcasting an Activity Advertisement Message
[0054] FIG. 3 presents a flowchart illustrating a process for broadcasting an activity advertisement message in accordance with some embodiments. More specifically, during the process shown in FIG. 3, an electronic device such as source electronic device 202 broadcasts an activity advertisement message. Note that the operations shown in FIG. 3 are presented as a general example of operations performed by some embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., source electronic device 202, etc.), in some embodiments, other mechanisms perform the operations. For example, one or both of companion electronic device 204 and second source electronic device 206 may perform similar operations to broadcast an activity advertisement message for themselves.
[0055] The process shown in FIG. 3 starts when source electronic device 202 receives activity information that describes an activity performed in a first application at source electronic device 202, i.e., a first application installed on/available at source electronic device 202 (step 300). (Examples of activity information are described in more detail below with reference to FIG. 11). In some embodiments, the first application provides or reports the activity information to source electronic device 202, e.g., provides or reports the activity information to an operating system, a daemon, or other process and/or service at source electronic device 202. In some embodiments, source electronic device 202 queries the first application for the activity information. Generally, activity information includes information that describes an activity performed at least partially using an electronic device. Examples of activities include reading and/or editing a document (e.g., a word processing document, spreadsheet, presentation, or other type of document), composing an email message, drafting a note, accessing (browsing) a website, watching a movie, playing an audio file, or otherwise using an application or app to perform corresponding operations.
[0056] Next, source electronic device 202 determines whether to filter the received activity information (step 302), which includes using one or more criteria to discard activity information that is not to undergo further processing and/or not to be broadcast in an activity advertisement message. For example, source electronic device 202 may measure a frequency at which the first application provides updates to the activity information, and may discard activity information from the first application when the frequency at which the activity information is updated exceeds a threshold (which may be referred to as "throttling" the activity information from the first application). As another example, source electronic device 202 may discard activity information that is duplicative or repetitive, that does not contain significant changes to previously reported activity information (e.g., automatic reports of "no change," reports of simple/basic
operations/changes, etc.), that reports facts already known by source electronic device 202, etc. As yet another example, in some embodiments, source electronic device 202 filters the activity information based on an indication that an activity described by the activity information is not to be advertised. For example, in some embodiments, source electronic device 202 and/or a user of source electronic device 202 may configure certain activities and/or certain kinds of activities as activities that are not to be advertised. As yet another example, in some embodiments, source electronic device 202 ranks some or all activities for which activity information exists (i.e., some or all of the activities that can be advertised) and discards one or more of these activities based on the ranking. For example, source electronic device 202 can assign a higher ranking to activities that a user has previously continued and a lower ranking to activities that a user has previously not continued. In some of these embodiments, source electronic device 202 uses messages from companion electronic device 204 to determine which advertised activities were previously continued and which advertised activities were previously not continued, e.g., messages such as those described below with reference to FIG. 5, step 510.
[0057] If source electronic device 202 filters, e.g., discards, the activity information (step 302, yes), the process ends. Otherwise, if source electronic device 202 does not filter the activity information (step 302, no), source electronic device 202 stores some or all of the activity information in a structure (step 304). For illustrative purposes, we describe embodiments that store the activity information in an entry in a table, which we will refer to as the "advertised- activity" table. Note, however, that embodiments are not limited to using a table for storing activity information. Some embodiments use a different storage mechanism/structure for storing the activity information, such as an associative array, a content-addressable memory, etc.
[0058] In some embodiments, while storing the activity information, source electronic device 202 overwrites and/or removes activity information previously stored in the advertised-activity table. For example, source electronic device 202 can use a least-recently-used (LRU) algorithm to overwrite and/or remove entries from the advertised-activity table. Examples of advertised-activity tables are described in more detail below with reference to FIG. 12.
[0059] Next, source electronic device 202 determines an activity identifier for the activity information (step 306). Generally, the activity identifier includes information from the activity information that identifies the first application and the activity performed in the first application. In some embodiments, source electronic device 202 generates the activity identifier by reducing the activity information into a smaller, encoded representation that can be broadcast more efficiently than the full activity information. In some of these embodiments, the encoded representation is a hash of the activity information, i.e., the output of a hash function (e.g., MD4, MD5, SHA, MurmurHash, etc.) whose input comprises the activity information. In some embodiments, source electronic device 202 stores the activity identifier along with the activity information in the advertised- activity table (or whatever structure source electronic device 202 uses to store the activity information). Examples of activity identifiers are described in more detail below with reference to FIG. 12.
[0060] In some embodiments, the activity identifier comprises a representation of a domain name. For example, in some embodiments, when the activity performed in the first application includes using a resource at a domain, the activity information comprises a domain name, e.g., at least a portion of a uniform resource locator (URL), of the domain. In some embodiments, source electronic device 202 determines the activity identifier by including some or all of the domain name in the activity identifier. For example, the activity identifier can be a hash of some or all of the URL for the resource.
[0061] In some embodiments, the activity identifier identifies an entry in a structure where source electronic device 202 stored the activity information (e.g., as described above with reference to step 304). For example, the activity identifier can identify the entry in the advertised-activity table where source electronic device 202 stored the activity information. The activity identifier can also include an identifier for the advertised-activity table itself. In some embodiments, to identify the entry in the structure where source electronic device 202 stored the activity information, the activity identifier includes: (1) a hash of the data in the advertised-activity table to identify the advertised-activity table, and (2) an index for the entry in the advertised-activity table that stores the activity information.
[0062] Source electronic device 202 next includes the activity identifier into an activity advertisement message (step 308). In some embodiments, the activity advertisement message includes other data in addition to the activity identifier. For example, in some embodiments, the activity advertisement message includes a flag that is used to indicate when the activity identifier includes a representation of domain name for an online resource related to the activity. In these embodiments, source electronic device 202 asserts the flag (e.g., sets the flag to a predetermined value such as 1) to indicate that the activity identifier includes a representation of a domain name. In some embodiments, source electronic device 202 asserts a flag in the activity advertisement message to indicate that the advertised activity can be continued in a way that source electronic device 202 will separately provide to companion electronic device 204, e.g., by source electronic device 202 including corresponding instructions in the extended activity data (extended activity data is described in more detail below).
[0063] In some embodiments the activity advertisement message includes a timestamp for the activity/activity information. The timestamp, which can express an absolute time or a relative time, can indicate the time that the activity was last performed in the first application, e.g., the last time that a document was edited, a website was accessed, a movie watched, etc. In some embodiments the timestamp is independent of the activity/activity information, i.e., the timestamp indicates the time that a user last interacted with source electronic device 202, regardless of whether the user's last interaction included the user performing the activity.
[0064] Source electronic device 202 then broadcasts the activity advertisement message (step 310). For example, source electronic device 202 can broadcast the activity advertisement message using communication signals 208. In some embodiments, source electronic device 202 broadcasts/advertises the activity advertisement message in network environment 200 so that nearby devices in network environment 200 can receive the activity advertisement message. For example, in these embodiments, source electronic device 202 uses a Bluetooth™ communication channel such as Bluetooth Low Energy (BLE) to broadcast the activity advertisement message. Some embodiments may broadcast the activity advertisement message on a different communication channel, such as a peer-to-peer network, a LAN, the Internet, etc. Note that activity broadcasts can happen more than once, e.g., source electronic device 202 can broadcast the same activity advertisement message multiple times and/or periodically.
Building an Available-Activity Table
[0065] In some embodiments, companion electronic device 204 stores available activity information, e.g., activity information describing activities that are available at companion electronic device 204 (examples of activity
information are described in more detail below with reference to FIG. 11). For example, in some embodiments, companion electronic device 204 stores activity identifiers for the available activity information. For illustrative purposes, we describe companion electronic device 204 storing the available activity information in a table, which we refer to as the "available-activity" table
(examples of available-activity tables are described in more detail later in this disclosure). Note that, although we describe embodiments that store available activity information in an available-activity table, embodiments are not limited to using a table for storing the available activity information. Some embodiments can use other structures for storing the available activity information, such as an associative array, a content-addressable memory, etc.
[0066] FIG. 4 presents a flowchart illustrating a process for storing activity information describing activities that are available at companion electronic device 204 into an available-activity table in accordance with some embodiments. Note that the operations shown in FIG. 4 are presented as a general example of operations performed by some embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain
mechanisms are used in describing the operations (e.g., companion electronic device 204, etc.), in some embodiments, other mechanisms perform the operations. For example, one or both of source electronic device 202 and second source electronic device 206 may perform similar operations to store available activity information describing activities that are available for themselves.
[0067] The process shown in FIG. 4 starts when companion electronic device 204 receives activity information describing an activity that is available at a second application at companion electronic device 204 (step 400), e.g., activity information describing activities that can be performed at companion electronic device 204. Generally, this activity information describes an activity that can be performed in the second application at companion electronic device 204, i.e., an operation or function that the second application at companion electronic device 204 is able to perform. In some embodiments, the second application
reports/provides the activity information as the second application is installed and/or used. In some embodiments, companion electronic device 204 queries or otherwise monitors the second application to collect the activity information that describes the activity that is available at the second application. In some embodiments, the activity information includes activity information for activities that have not been performed on companion electronic device 204, but that are available to be performed (e.g., activity information reported by the second application as the second application is installed/updated, launched, used, etc. at companion electronic device 204).
[0068] Next, companion electronic device 204 determines a second activity identifier, i.e., an activity identifier for the activity information that describes the activity that is available at the second application (step 402). Generally, the second activity identifier identifies the second application and the activity that is available at the second application. The second activity identifier can be an encoded representation of the activity information that describes the activity that is available at the second application. In some embodiments, companion electronic device 204 determines the second activity identifier by performing some or all of the same operations that source electronic device 202 performs to generate the activity identifier for the activity performed in the first application (see FIG. 3, step 306). For example, in some embodiments companion electronic device 204 uses the same hash function to generate the second activity identifier that source electronic device 202 uses to generate the activity identifier for the activity performed in the first application.
[0069] In some embodiments, when the second application can perform an activity that includes accessing a resource at a domain, the activity information for this activity includes a domain name for the domain. In some of these embodiments, the second activity identifier is an encoded representation of the domain name, which enables the second application to "claim" the domain name, i.e., to declare that the second application can use resources at the domain name so that companion electronic device 204 can transfer corresponding activities to the second application. For example, as will be described later, in a scenario where the second application streams movies from a specific site on the Internet, the second activity identifier can be an encoded representation of at least some part of the domain name for the site. Note that the second application can be different from the first application, i.e., the application whose activity is advertised in the activity advertisement message, enabling an application different from the first application to continue the activity at companion electronic device 204.
[0070] Next, companion electronic device 204 stores the second activity identifier into the available-activity table (step 404). Requesting Extended Activity Data and Transferring Activity
[0071] In some embodiments, upon receiving an activity advertisement message, an electronic device can request extended activity data for the advertised activity so that the advertised activity can subsequently be transferred to the electronic device. FIG. 5 presents a flowchart illustrating a process for requesting extended activity data and transferring an activity in accordance with some embodiments. More specifically, during the process shown in FIG. 5, companion electronic device 204 requests, from source electronic device 202, extended activity data for an activity performed in a first application in source electronic device 202. Note that the operations shown in FIG. 5 are presented as a general example of operations performed by some embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain
mechanisms are used in describing the operations (e.g., source electronic device 202, companion electronic device 204), in some embodiments, other electronic devices and/or mechanisms perform the operations.
[0072] The process shown in FIG. 5 starts when companion electronic device 204 receives an activity advertisement message (step 500), e.g., the activity advertisement message broadcast from source electronic device 202 (see FIG. 3, step 310). Next, companion electronic device 204 determines whether companion electronic device 204 is in a receptive state (step 502). Generally, companion electronic device 204 is in a receptive state when it is available for performing an activity transfer. For example, in some embodiments, companion electronic device 204 transitions to a receptive state when the device "wakes-up," e.g., while displaying a lock screen after a user presses a button to wake-up the device. In some embodiments, companion electronic device 204 is not in a receptive state when companion electronic device 204 is in use, e.g., when a user is using an application at companion electronic device 204 and/or when the user has used an application within a given period of time. [0073] If companion electronic device 204 is not in a receptive state (step 502, no), the process ends (i.e., the activity advertisement message is ignored). Otherwise, if companion electronic device 204 is in a receptive state (step 502, yes), companion electronic device 204 determines whether a second application that is associated with the first application is available at companion electronic device 204 (step 504). Generally, this operation includes determining if an application is available on companion electronic device 204 for continuing the activity described in the activity advertisement message from source electronic device 202. Determining whether the second application is available is described in more detailed later with reference to FIGs. 7-8.
[0074] If the second application is not available (step 504, no), the process ends. Otherwise, if the second application is available (step 504, yes), companion electronic device 204 retrieves activity information for the second application (step 506). For example, as will also be described in more detail with reference to FIGs. 7-8 and 11-12, after determining the second application, companion electronic device 204 can use the activity identifier for the second application to retrieve activity information that describes the activity that is available in the second application from the available-activity table (or from another structure that companion electronic device 204 uses to store available activity information). In some embodiments, companion electronic device 204 uses the retrieved activity information, e.g., uses an application identifier in the retrieved activity
information, to customize an indication that the activity is resumable, e.g., as described below with reference to step 508 and/or FIG. 14. Application identifiers are described in more detail with reference to FIG. 11.
[0075] Next, companion electronic device 204 presents an indication that the activity is resumable (step 508). For example, companion electronic device 204 can present a graphical icon and/or notification in a display of companion electronic device 204. Indications are described in more detail below with reference to FIG. 14. [0076] Then, companion electronic device 204 determines whether the activity transfer was accepted (step 510). In some embodiments, a user of companion electronic device 204 accepts and/or rejects the activity transfer by performing an action with the indication, such as clicking on the indication, dragging the indication in one or more directions and/or to one or more specific locations, etc. For example, to accept the activity transfer, a user can tap the icon/notification with a finger (on a touch screen display) and drag the icon/notification in a first direction (e.g., left to right, upward, clockwise in a circle, etc.). As another example, to reject an activity, a user can tap the icon/notification with a finger and drag the icon/notification in a second direction (e.g., right to left, downward, counterclockwise in a circle, etc.). In some embodiments, companion electronic device 204 determines that the activity transfer was not accepted based on a time-out period, i.e., by determining that a period of time has passed since the indication was presented without the user performing the action to accept the indication/activity transfer.
[0077] If the activity transfer is not accepted (step 510, no), the process ends. Note that, in some embodiments, if the activity transfer is not accepted, companion electronic device 204 sends a message to source electronic device 202 to indicate that the activity transfer was not accepted. If the activity transfer is accepted (step 510, yes), companion electronic device 204 sends a message to source electronic device 202 to request extended activity data for the activity performed in the first application (step 512). Generally, the request for extended activity data includes information to facilitate source electronic device 202 determining the activity for which the extended data is being requested. For example, in some embodiments companion electronic device 204 includes the activity identifier from the activity advertisement message with the request for extended activity data.
[0078] Next, upon receiving extended activity data from source electronic device 202 in response to the request for extended activity data, companion electronic device 204 configures the second application using the extended activity data (step 514). Configuring the second application can include launching/starting the second application, setting a state (or causing a change to the state) of the second application based on the extended activity data, and otherwise configuring the second application to perform a corresponding operation. For example, companion electronic device 204 can pass a
document/resource identifier, information representing the document/resource, and/or a reference to the document/resource in the extended activity data to the second application to cause the second application access to the
document/resource (e.g., an identifier for/information representing/a reference to a cloud-stored document for the second application to access from cloud-based storage located on the Internet, an identifier for/information representing/a reference to a document for the second application to access from a database, etc.). In some embodiments, when the activity includes composing a document that is stored at source electronic device 202, the extended activity data includes the document or information representing the document, thereby enabling companion electronic device 204 and/or the second application to use/re-create the document at companion electronic device 204 for the second application. In some embodiments, the extended activity data includes edits in a document, e.g., the position and/or content of edits made in a document. In some embodiments, the extended activity data includes position information, such as the last played/viewed/recorded position in a media file (i.e, the position in the media file where playback or recording stopped or was last performed), the position of a marker in a file, the position/state of gameplay in a video game (e.g., the last level played, coordinates to a place that the player was last at, points and/or
achievements earned, and/or information that can be used to recreate the state of a game played on source electronic device 202 at companion electronic device 204), etc.
[0079] Then, companion electronic device 204 commences performing the activity in the second application (step 516), which generally includes starting/launching the second application at companion electronic device 204 (if the second application was not already running) and executing the second application at companion electronic device 204 based on the extended activity data. For example, companion electronic device 204 can cause the second application to start executing in a viewing and/or editing mode for the document related to the advertised activity, and can cause the second application to scroll to the last position in the document that the document was viewed/edited at source electronic device 202. Next, companion electronic device 204 sends a notification to source electronic device 202 indicating that the activity was transferred (step 518).
[0080] Note that some embodiments can use information in the activity advertisement message, e.g., the activity identifier, to start configuring the second application while the extended activity data is being transmitted, or even before the extended activity data is requested. Some of these embodiments use the information in the activity advertisement message to set an initial background for the second application, to set a mode for the second application (e.g., an editing mode, a read-only mode, an email composition mode, a note composition mode, etc.). Hence, some embodiments can launch and/or configure the second application before the extended activity data is received, possibly as soon as the activity transfer is accepted, thereby improving performance in slow networks by hiding data transfer time with application launch time.
[0081] In some embodiments, companion electronic device 204 sends the request for extended activity data using different signals than communication signals 208, and/or by using a different communication channel/network interface than the one the activity advertisement message was received on. For example, companion electronic device 204 can receive the activity advertisement message over a Bluetooth link (using the BLE protocol) and can request the extended activity data over a Wi-Fi link or the Internet. In these embodiments, source electronic device 202 and companion electronic device 204 use communication signals 208, e.g., the Bluetooth link, to exchange information that enables the electronic devices to communicate over the different communication
channel/network. For example, in some of these embodiments, companion electronic device 204 creates a peer-to-peer network (e.g., an ad-hoc Wi-Fi network) and provides information to access the peer-to-peer network to source electronic device 202. In some embodiments, source electronic device 202 provides the extended activity data to a server and companion electronic device 204 receives the extended activity data from the server, e.g., through the Internet.
Transitioning to a Receptive State Based on Advertising Information
[0082] Although in FIG. 5 we describe embodiments that receive an activity advertisement message (FIG. 5, step 500) and determine whether companion electronic device 204 is in a receptive state (FIG. 5, step 502), some embodiments transition to a receptive state based on information in received activity advertisement messages. In some of these embodiments, after receiving an activity advertisement message (e.g., as shown in FIG. 5, step 500), companion electronic device 204 does not determine whether companion electronic device 204 is in a receptive state, i.e., the process shown in FIG. 5 proceeds from step 500 to step 504 without performing operations for step 502.
[0083] For example, in some embodiments, source electronic device 202 uses a low-power protocol such as Bluetooth low-energy (BLE), ZigBee, etc. to broadcast the activity advertisement message with corresponding communication signals 208. Devices such as companion electronic device 204 may monitor for activity advertisement messages broadcast from source electronic device 202 using corresponding low-power mechanisms, such as a baseband processor within a corresponding network interface, e.g., a baseband processor in networking subsystem 106. In some of these embodiments, the receiving of the activity advertisement message is handled by companion electronic device 204 using only a baseband processor for companion electronic device 204, which means that companion electronic device 204 may otherwise be in an idle state (e.g., with subsystems such as the processing subsystem in a low-power state). For example, in some embodiments, companion electronic device 204 may be a smart phone in a user's pocket in an idle state in which a baseband processor monitors for activity advertisement messages while the processing subsystem (and companion electronic device 204 generally) is in a low-power state.
[0084] In some embodiments, upon recognizing the activity advertisement message as such, the baseband processor wakes the processing subsystem (and may generally transition companion electronic device 204 out of the idle operating state to a higher-power/more active operating state) to perform subsequent operations. For example, in some embodiments, companion electronic device 204 may monitor for activity advertisement messages and react to activity advertisement messages as is described in pending U.S. patent application no. xx/xxx,xxx, which was filed on the same day as the instant application, which is titled "Operating Mode Transitions based on Advertising Information," by inventors Craig P. Dooley, Akshay Mangalam Srivatsa, Anjali S. Sandesara, and Michael Giles, which has attorney docket no. APL-P22643USP1, and which is incorporated by reference as described above. In some
embodiments, companion electronic device 204/the smart phone may not need to be retrieved from the user's pocket and activated to place companion electronic device 204 in a receptive state.
Responding to a Request for Extended Activity Data
[0085] FIG. 6 presents a flowchart illustrating a process for responding to a request for extended activity data in accordance with some embodiments. More specifically, during the process shown in FIG. 6, an electronic device such as source electronic device 202 responds to a request for extended activity data from an electronic device such as companion electronic device 204. Note that the operations shown in FIG. 6 are presented as a general example of operations performed by some embodiments. The operations performed by some
embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., source electronic device 202, companion electronic device 204), in some embodiments, other electronic devices and/or mechanisms perform the operations.
[0086] The process shown in FIG. 6 starts when source electronic device 202 receives a request for extended activity data (step 600), e.g., the request for extended activity data that companion electronic device 204 transmitted, as described with reference to step 512 in FIG. 5.
[0087] Next, source electronic device 202 uses information in the request for extended activity data to determine that the request is for extended activity data for the first application (step 602). For example, as described earlier, the request for extended activity data can include the activity identifier from the activity advertisement message (see step 308 in FIG. 3). In some embodiments, source electronic device 202 performs a lookup for the activity identifier in the advertised-activity table (or other structure where advertised activity information is stored; examples of advertised-activity tables are described in more detail below with reference to FIG. 12). When source electronic device 202 finds an entry in the advertised-activity table that includes the activity identifier from the activity advertisement message, source electronic device 202 can retrieve the activity information for the entry to determine that the activity identifier corresponds to the first application, e.g., by determining that the application identifier for the entry is the application identifier for the first application
(examples of activity information and application identifiers are described in more detail with reference to FIGs. 11-12).
[0088] Next, source electronic device 202 optionally sends a
notification/request to the first application to perform an update related to the activity (step 604). In some embodiments, the notification causes the first application to update the extended activity data before providing the extended activity data to companion electronic device 204. For example, the first application can use the notification to update the last scroll/viewed position for a document related to the activity and/or to perform finalizing operations related to the activity before the activity is transferred, such as saving a document related to the activity, updating the extended activity data with the latest draft of a document related to the activity, etc.
[0089] Then, source electronic device 202 retrieves the extended activity data for the first application (step 606). In some embodiments, source electronic device 202 requests that the first application provide the extended activity data. In some embodiments, the first application provides some or all of the extended activity along with the initial activity information (see FIG. 3, step 300) and/or periodically reports extended activity information (e.g., reports every N seconds, where N is a number such as 1, 3, etc., reports extended activity information each time an event happens for the first application, such as when a document is saved in the first application, a movie being watched is paused in the first application, etc.).
[0090] Next, source electronic device 202 sends the extended activity data to companion electronic device 204 (step 608). Generally, the extended activity data includes information that can be used to configure the second application to continue the activity, such as a document identifier that identifies a document used for the activity performed in the first application (and/or information representing the document, such as a reference to the document), a uniform resource location (URL) of web page accessed/browsed in the first application (and/or information representing the web page URL, such as a reference to the web page/URL), position information (e.g., an indication of the last
viewed/scrolled position in the document or the web page, the last played position in a video game, etc.), a copy of a draft document stored at source electronic device 202 and/or in a storage device accessible on the Internet (e.g., "cloud storage") or a corporate network (and/or information representing the draft document, such as a reference to the draft document), etc.
[0091] Then, source electronic device 202 receives a notification that the activity was transferred (step 610), e.g., receives the notification sent by companion electronic device 204 as described with reference to FIG. 5, step 518. In some embodiments, in response to receiving the notification, source electronic device 202 notifies the first application that the activity was transferred (step 612). In some embodiments, source electronic device 202 and/or the first application performs one or more operations related to the activity based on receiving the notification, e.g., housekeeping tasks such as deleting a locally- stored document/document draft, closing an open document, shutting down the application, etc.
[0092] In some embodiments, source electronic device 202 provides the extended activity data using different signals than communication signals 208, and/or by using a different communication channel/network interface than the one the activity advertisement message and/or the request for extended activity data was communicated on. For example, source electronic device 202 can receive the request for extended activity data over a Bluetooth link and can provide the extended activity data over a Wi-Fi link or the Internet.
Secure Communication Using Cloud Pairing
[0093] As discussed earlier, in some embodiments, electronic devices that perform activity transfer operations participate in a preliminary pairing operation, e.g., a "cloud pairing" operation, such as the predefined pairing described in pending U.S. patent application no. xx/xxx,xxx, which is titled "Predefined Wireless Pairing," by inventors Jason C. Conn, Akshay Mangalam Srivatsa, Craig P. Dooley, and Michael Giles, filed on the same day as the instant application, which has attorney docket no. APL-P22642USP1, and the contents of which are incorporated by reference as described above. In some embodiments, electronic devices encrypt and decrypt messages exchanged with each other for performing activity transfer operations using security information acquired during the cloud pairing operation, e.g., using encryption keys acquired during the cloud pairing operation.
[0094] For example, in some embodiments, source electronic device 202 encrypts the activity advertisement message (see FIG. 3, step 310) and/or the extended activity data (see FIG. 6, step 608) using an encryption key acquired during the cloud pairing operation that source electronic device 202 performs with companion electronic device 204. In some embodiments, companion electronic device 204 encrypts the request for extended activity data (see FIG. 5, step 512) and/or the notification that the activity was transferred (see FIG. 5, step 518) using the same security information, different security information acquired during the cloud pairing operation that companion electronic device 204 performs with source electronic device 202, and/or information derived from security information acquired during the cloud pairing operation.
Determining the Second Application Using an Activity Identifier
[0095] As described earlier, in some embodiments, an electronic device determines whether a second application that is associated with a first application is available in the electronic device (to facilitate a possible transfer of an activity to the electronic device). FIG. 7 presents a flowchart illustrating a process for determining whether a second application is available at companion electronic device 204 in accordance with some embodiments. The operations shown in FIG. 7 can be performed during the process shown in FIG. 5, e.g., at step 504. Note that the operations shown in FIG. 7 are presented as a general example of operations performed by some embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., companion electronic device 204, etc.), in some embodiments, other mechanisms perform the operations. For example, one or both of source electronic device 202 and second source electronic device 206 may perform similar operations to determine for themselves whether a second application is available.
[0096] The process shown in FIG. 7 begins when companion electronic device 204 determines whether a flag in the activity advertisement message is asserted (step 700). As described earlier, in some embodiments, source electronic device 202 asserts a flag in the activity advertisement message to indicate that the activity identifier is/comprises a representation of a domain name for the advertised activity. In some of these embodiments, companion electronic device 204 determines that the activity advertisement message comprises a
representation of a domain name by determining that the flag is asserted. Flags are described in more detail later in this description, e.g., with reference to FIGs. 11 and 13.
[0097] If a flag in the activity advertisement message is asserted (step 700, yes), companion electronic device 204 processes the flag (step 702). The processing of the flag which takes place at step 702 is described later with reference to FIG. 8. Some embodiments repeat step 702 (i.e., the processing described with reference to FIG. 8) for each asserted flag in the activity advertisement message, e.g., repeat the processing for each asserted flag when the activity advertisement message comprises two or more asserted flags.
[0098] If the activity advertisement message does not comprise a flag that is asserted (step 700, no), companion electronic device 204 compares the activity identifier from the activity advertisement message to activity identifiers for activities that are available at companion electronic device 204 (step 704). For example, companion electronic device 204 can look up the activity identifier from the activity advertisement message in activity identifiers in the available-activity table at companion electronic device 204 (or other structure where companion electronic device 204 stores available activity information, as described earlier with reference to FIG. 4).
[0099] If the lookup for the activity identifier finds a match in an entry in the available-activity table (step 706, yes), companion electronic device 204 determines that the second application is the application whose activity identifier is stored in that entry (step 708).
[0100] If the lookup for the activity identifier does not find a match in the available activity information (step 706, no), companion electronic device 204 determines that an application associated with the first application is not available at companion electronic device 204 (step 710).
Determining the Second Application Using a Flag
[0101] As described earlier, some embodiments assert a flag in the activity advertisement message. FIG. 8 presents a flowchart illustrating a process for determining the second application using a flag in accordance with some embodiments. More specifically, FIG. 8 presents a flowchart illustrating a process that companion electronic device 204 performs at step 702 of FIG. 7. Note that the operations shown in FIG. 8 are presented as a general example of operations performed by some embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., companion electronic device 204, etc.), in some embodiments, other mechanisms perform the operations. For example, one or both of source electronic device 202 and second source electronic device 206 may perform similar operations for themselves.
[0102] The process shown in FIG. 8 begins when companion electronic device 204 determines an application corresponding to the flag (step 800). In some embodiments, companion electronic device 204 uses the position of the asserted flag and/or the value of the flag to determine the application corresponding to the flag. For example, when the activity advertisement message includes more than one flag that can be asserted, each of the flags can be used to identify a different application that can be used to continue the activity. In some embodiments, the flag is a multi-bit field and different values of the multi-bit field identify a different application. In some embodiments, companion electronic device 204 stores a mapping that identifies the application that the position/value of the flags corresponds to.
[0103] Next, companion electronic device 204 determines whether the application corresponding to the flag is available at companion electronic device 204 (step 802). For example, companion electronic device 204 can check whether the application corresponding to the flag is installed at companion electronic device 204. In some embodiments, step 802 is not performed/is skipped, so that the process shown in FIG. 8 continues from step 800 to step 804. For example, step 802 is not performed in embodiments that use flags to identify only pre- installed applications that are known to be available at companion electronic device 204 and cannot be uninstalled by a user.
[0104] If the application corresponding to the flag is available (step 802, yes), companion electronic device 204 determines that the second application is the application corresponding to the flag (step 804). The process then ends, which can include continuing to step 506 in FIG. 5.
[0105] If the application corresponding to the flag is not available at companion electronic device 204 (step 802, no), the process ends. At this point, companion electronic device 204 can determine that the second application is not available (e.g., as in FIG. 5, step 504, no), or can continue to step 704 in FIG. 7 to determine whether the second application is available by using the activity identifier from the activity advertisement message.
[0106] In some embodiments, the process shown in FIG. 8 allows an application different than the first application to continue the activity at companion electronic device 204. For example, consider the case where the first application is a web browser and the activity performed in the first application includes browsing a social-media website. In this example, the second application can be a social-media app that accesses resources (e.g., social media user pages, etc.) accessed in the first application/web browser (i.e., the second application is an app and not a web browser). By using the flag, these embodiments can configure the social-media app to continue the activity that was being performed at the social-media website, at the same point where the web browser left off. As another example, in some embodiments, the first application is a standalone media-streaming app that streams a movie from a website (such as a media player app) and the second application is a web browser than can stream the movie. By using the flag, these embodiments configure the web browser to continue playing the movie, which can include using the extended activity data for the activity to cause the web browser to continue playing the movie where the media-streaming app left off.
[0107] In some embodiments, source electronic device 202 sets a second flag (or a different value for the flag) in the activity advertisement message to indicate that source electronic device 202 will subsequently provide
instructions/information on how to continue the activity at companion electronic device 204. In some embodiments, the application corresponding to the flag comprises the instructions/information on how to continue the activity at companion electronic device 204. In some embodiments, the extended activity data provides the instructions/information for continuing the activity at companion electronic device 204. Determining the Second Application Using a Structure Storing Advertised Activities
[0108] As described earlier with reference to FIG. 3, in some
embodiments, the activity identifier in the activity advertisement message identifies an entry in a structure (e.g., a table) in which the electronic device that advertised the activity stores activity information for the advertised activity. FIG. 9 presents a flowchart illustrating a process for determining whether the second application is available when the activity identifier identifies an entry in such a structure in accordance with some embodiments. More specifically, during the process shown in FIG. 9, companion electronic device 204 uses an activity identifier that identifies an entry in an advertised-activity table where source electronic device 202 stored activity information for the advertised activity to determine whether a second application that is associated with the first application is available at companion electronic device 204 (examples of advertised-activity tables are described in more detail below with reference to FIG. 12). Note that the operations shown in FIG. 9 are presented as a general example of operations performed by some embodiments. The operations performed by some
embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., source electronic device 202, companion electronic device 204), in some embodiments, other electronic devices and/or mechanisms perform the operations.
[0109] The process shown in FIG. 9 begins when companion electronic device 204 receives an activity identifier that identifies an entry in an advertised- activity table where source electronic device 202 stored activity information for the advertised activity (step 900). In some embodiments, the activity identifier includes a table identifier and an entry index, the table identifier identifying the advertised-activity table in which source electronic device 202 stored the activity information for the advertised activity, and the entry index identifying the entry in the advertised-activity table identified by the table identifier in which the activity information for the advertised activity is stored. In some embodiments, the table identifier is a hash of the advertised-activity table data.
[0110] Next, companion electronic device 204 determines whether the advertised-activity table for the activity identifier is available at companion electronic device 204 (step 902). In some embodiments, companion electronic device 204 uses the table identifier from the activity identifier to determine whether companion electronic device 204 has stored a local copy of the advertised-activity table.
[0111] If the advertised-activity table for the activity identifier is not available at companion electronic device 204 (step 902, no), companion electronic device 204 retrieves the advertised-activity table from source electronic device 202 (step 904). In some embodiments, companion electronic device 204 requests that source electronic device 202 send the advertised-activity table identified by the activity identifier from the activity advertisement message, e.g., the advertised-activity table identifier by the table identifier. Companion electronic device 204 can transmit such a request, and source electronic device 202 can respond to the request, using communication signals 208 and/or a different communication signals/a different channel.
[0112] In some embodiments, companion electronic device 204 periodically synchronizes its local copy/copies of advertised-activity tables with source electronic device 202. For example, companion electronic device 204 may receive a copy of an advertised-activity table from source electronic device 202 using a "push" mechanism, i.e., without sending a request for the copy of the advertised-activity table.
[0113] If the advertised-activity table for the activity identifier is available at companion electronic device 204 (step 902, yes), or after receiving the advertised-activity table from source electronic device 202, companion electronic device 204 uses the activity identifier to retrieve the activity information from the advertised-activity table (step 906). For example, companion electronic device 204 can retrieve the activity information from the entry in the advertised-activity table that is identified by the entry index.
[0114] In some embodiments, the operations shown in FIG. 9 enable information describing more than one activity to be advertised in a single activity advertisement message. For example, consider the case where the size of the activity advertisement message is limited, e.g., because of limitations of a network protocol used to broadcast the activity advertisement message. In this case, an entry identifier, i.e., an activity identifier that identifies an entry where activity information is stored, can be smaller (e.g., represented using fewer bits than the activity identifier) than an encoded representation, i.e., an activity identifier generated from the same activity information, enabling these embodiments to carry multiple entry identifiers in an activity advertisement message.
[0115] As described earlier with reference to FIG. 3, the described embodiments are not limited to using a table for storing the available activity information. Some embodiments use a different structure for storing the available activity information, such as an associative array, a content-addressable memory, etc. In these embodiments, the activity identifier can identify an entry in a structure in which source electronic device 202 stores activity information for the advertised activities. For example, in these embodiments, the table identifier can identify the structure and the entry index can identify the index in the structure where source electronic device 202 stored the activity information for the advertised activity.
[0116] Also, although we describe embodiments that use one advertised- activity table, some embodiments use more than one advertised-activity table, e.g., store activity information for advertised activities in different advertised- activity tables. Determining a Most Recent Activity
[0117] As described earlier, network environment 200 can include a second source electronic device, which can broadcast activity advertisement messages for activities performed at the second source electronic device. As was also described earlier, some embodiments include a timestamp in an activity advertisement message to indicate the time that the activity advertised in the activity advertisement message was last performed. FIG. 10 presents a flowchart illustrating a process for determining a most recent activity from two or more activity advertisement messages in accordance with some embodiments. More specifically, during the process shown in FIG. 10, companion electronic device 204 uses a timestamp included with the advertisement from source electronic device 202 ("activity advertisement") and a timestamp included an advertisement from second source electronic device 206 ("second activity advertisement") to determine the most recent of the activities advertised in the activity advertisement and the second activity advertisement. Note that the operations shown in FIG. 10 are presented as a general example of operations performed by some
embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., source electronic device 202, companion electronic device 204, second source electronic device 206), in some embodiments, other electronic devices and/or mechanisms perform the operations.
[0118] For the process shown in FIG. 10, it is assumed that companion electronic device 204 has already received the activity advertisement from source electronic device 202, e.g., as shown in FIG. 5. Therefore, companion electronic device 204 has the activity advertisement, including a first timestamp included with the activity advertisement.
[0119] The process shown in FIG. 10 begins when companion electronic device 204 receives the second activity advertisement (step 1000). Next, companion electronic device 204 compares the first timestamp included with the activity advertisement with a second timestamp included with the second activity advertisement (step 1002). For example, companion electronic device 204 can compare the timestamps to see which one is newer (i.e., indicates a more recent time). [0120] If the comparison indicates that the first timestamp is newer (step 1004, yes), companion electronic device determines that the activity performed in the first application, i.e., the activity advertised in the activity advertisement, is the most recent activity (step 1006). Otherwise, if the comparison indicates that the second timestamp is newer (step 1004, no), companion electronic device 204 determines that the activity performed in the second application, i.e., the activity advertised in the second activity advertisement, is the most recent activity (step 1008).
[0121] In some embodiments, companion electronic device 204 reduces the number of indications that are presented to a user in a display of companion electronic device 204 (e.g., as shown in FIG. 14) by only presenting an indication that an activity is resumable for the most recent of the advertised activities. In some embodiments, companion electronic device 204 uses timestamps to present the indications that activities are resumable in order, e.g., to present the most recent activity first, followed by other advertised activities in descending order based on relative recentness. In these embodiments, two or more indications can be presented side-by-side, one above the other, etc. in accordance with the relative recentness of the corresponding activities.
[0122] In some embodiments, companion electronic device 204 uses a history of activities that have previously been continued to present indications for activities that are resumable in order. In some embodiments, companion electronic device 204 ranks activities that have previously been continued higher in order, i.e., presents an indication that an activity that has previously been continued is resumable ahead of an indication that an activity that has not previously been continued is resumable. In some embodiments, two or more indications are presented in order based on a number of times that each of the corresponding activities have previously been continued. Activity Information
[0123] As described earlier, some embodiments use activity information that describes an activity performed at an electronic device. FIG. 11 presents a block diagram illustrating activity information 1100, activity information 1110, and activity information 1120 in accordance with some embodiments. Note that activity information 1100, activity information 1110, and activity information 1120 shown in FIG. 11 are presented as a general example of formats of activity information used by some embodiments. Some embodiments use a different format and/or include different information in activity information.
[0124] Activity information 1100 includes application identifier 1102, which identifies the application used to perform the activity described in activity information 1100. For example, application identifier 1102, which includes the string com. apple. Keynote, identifies application Keynote, an application that can be used to edit and view presentations. Activity descriptor 1104 includes the string EditPresentation, which identifies the activity performed with application Keynote as editing a presentation. Timestamp 1106, which includes the string/number 103, identifies a time that the activity was last performed, for example, the last time that a user edited the presentation in application Keynote. The timestamp can indicate a real time, e.g., the wall-clock time (or a
representation thereof, such as a system time) when the activity was last performed, or it can be a representation of time elapsed since the activity was last performed after the top of the hour, or since a synchronization event. In some embodiments, the timestamp indicates a real time, e.g., the absolute/wall-clock time (or a representation thereof, such as a system time) when source electronic device 202 was last used (e.g., last used actively by a user), or it can be a representation of time elapsed since source electronic device 202 was last used after the top of the hour, or since a synchronization event. In activity information 1100, flag 1108 is not asserted.
[0125] Activity information 1110 includes application identifier 1112, which identifies the application used to perform the activity described in activity information 1110. For example, application identifier 1112, which includes the string com. apple. Mail, identifies application Mail, an application that can be used to compose and send e-mail messages. Activity descriptor 1114 includes the string ComposeDraft to identify that the activity performed with application Mail includes composing a message draft. Timestamp 1116, which includes string/number 315, identifies a time that the activity was last performed, for example, the last time that the user used Mail to compose the draft. Flag 1118 for activity information 1110 is not asserted.
[0126] Activity information 1120 includes application identifier 1122, which identifies the application used to perform the activity described in activity information 1120. For example, application identifier 1122, which includes the string com. apple. Safari, identifies application Safari, a web browser. Activity descriptor 1124 includes the string www.evideostreamer.com, which identifies a domain name accessed with the web browser. In this example, activity descriptor 1124 holds a domain name, so flag 1128 in activity information 1120 is asserted flag 1128 to indicate that activity description 1124 comprises a domain name. Timestamp 1126, which includes string/number 820, identifies a time that the web browser was last used to access the move-streaming website.
[0127] Activity information 1130 includes application identifier 1132, which identifies the application used to perform the activity described in activity information 1130. For example, application identifier 1132, which includes the string com.CompanyA.MediaPlayer, identifies application MediaPlayer (which in this example is developed by developer CompanyA), an application that can be used to play and record multimedia content. Activity descriptor 1134 includes the string Play Video to identify that the activity performed with application
MediaPlayer includes playing a video, i.e., video playback. Timestamp 1136, which includes string/number 902, identifies a time that the activity was last performed, for example, the last time that the user used MediaPlayer to play the video. Flag 1138 for activity information 1130 is not asserted.
[0128] For illustrative purposes, the timestamps shown in FIG. 11 are calculated as a delta (difference) from a synchronization event, e.g., the top of the hour. Hence, in the examples shown in FIG. 11, the activity described with activity information 1100 is the most recent activity, because timestamp 1106 indicates that the least amount of time has elapsed from the top of the hour since the activity described with activity information 1100 was performed.
[0129] Note that, although the examples shown in FIG. 11 use strings for the application identifier and the activity descriptor, some embodiments may use different information to identify the application and/or the activity. For example, some embodiments use a numerical identifier for the application identifier and/or the activity descriptor. In some embodiments, the application identifier is an identifier for the corresponding application in an online "app store." In some embodiments, the application identifier comprises some or all of a bundle identifier, e.g., a bundle ID. Also, although the application identifier shown is separate from the activity descriptor, some embodiments combine the application identifier and the activity descriptor in a single identifier.
[0130] In some embodiments, application/app developers provide the information for the activity descriptors, such as activity descriptor 1104, activity descriptor 1114, activity descriptor 1124, and activity descriptor 1134. In these embodiments, the developer of an application/app may determine a number of activities for the application/app and may provide relevant values for activity descriptors. Advertised-Activity Table
[0131] FIG. 12 presents a block diagram illustrating an advertised-activity table 1200 in accordance with some embodiments. As described above, advertised-activity table 1200 includes information about activities that have been advertised (i.e., activities for which an activity advertisement message has been sent by an electronic device such as source electronic device 202). Note that the advertised-activity table shown in FIG. 12 is presented as a general example of advertised-activity tables used by some embodiments. Some embodiments represent activity information differently and/or include more or less information in the advertised-activity table.
[0132] Entry 1202, which is identified by entry index 1206, stores activity information 1100 and activity identifier 1204. In this example, activity identifier 1204 is generated using application identifier 1102 and activity descriptor 1104, such as a hash of string "com.apple. Keynote : .EditPresentation."
[0133] Entry 1212, which is identified by entry index 1216, stores activity information 1110 and activity identifier 1214. In this example, activity identifier 1214 is generated using application identifier 1112 and activity descriptor 1114, such as a hash of string "com.apple.Mail.-. ComposeDrafi."
[0134] Entry 1222, which is identified by entry index 1226, stores activity information 1120 and activity identifier 1224. In this example, activity identifier 1224 is generated using activity descriptor 1124, such as a hash of string
www. evideostr earner, com.
[0135] Entry 1232, which is identified by entry index 1236, stores activity information 1130 and activity identifier 1234. In this example, activity identifier 1234 is generated using application identifier 1132 and activity descriptor 1134, such as a hash of string " com. CompanyA.MediaPlayer:: Play Video. "
[0136] For illustrative purposes, entries 1202-1232 store all of activity information 1100-1130, respectively. Note though that, in some embodiments, entries 1202-1232 store only some of activity information 1100-1130, respectively. For example, some embodiments do not store timestamps 1106- 1136 in entries 1202-1232.
Available-Activity Table
[0137] In some embodiments, the above-described available-activity table is formatted similarly to advertised-activity table 1200 shown in FIG. 12.
However, the entries in the available-activity table include application
information for applications that are available in the corresponding electronic device, e.g., companion electronic device 204.
Activity Advertisement Message
[0138] FIG. 13 presents a block diagram illustrating an activity advertisement 1300, e.g., an activity advertisement message, in accordance with some embodiments. Note that the activity advertisement message shown in FIG. 13 is presented as a general example of an activity advertisement message used by some embodiments. Some embodiments order fields in the activity advertisement message differently and/or include different information in the activity
advertisement message.
[0139] Activity advertisement message 1300 optionally includes device ID field 1302 and version ID field 1304. Device ID field 1302 includes an identifier that identifies the device from which activity advertisement message 1300 was sent, e.g. identifies source electronic device 202. Version ID field 1304 includes a version identifier, such as a version identifier that companion electronic device 204 can use to determine how fields in activity information 1300 are formatted and/or how information is stored in the fields.
[0140] Activity identifier field 1306 includes an activity identifier, e.g., one or more of activity identifiers 1204-1224. Flags field 1308 includes one or more flags corresponding to the advertised activity, e.g., flag 1108-1128.
[0141] Timestamp field 1310 includes atimestamp for an activity advertised in activity identifier field 1306, e.g., one or more of timestamps 1106- 1126.
Resumable-Activity Indication
[0142] As described earlier, some embodiments present an indication that the activity is resumable before requesting the extended activity data. FIG. 14 presents a block diagram illustrating a resumable-activity indication, i.e., an indication that an activity is resumable, in accordance with some embodiments. More specifically, FIG. 14 shows a resumable-activity indication displayed on display 1400 for companion electronic device 204. Note that the resumable- activity indication shown in FIG. 14 is presented as a general example of a resumable-activity indication used by some embodiments. Some embodiments use a different resumable-activity indication and/or present the resumable-activity indication differently.
[0143] In the illustrated embodiment, companion electronic device 204 is a smartphone that comprises a touch-screen display 1400. The embodiment shown in FIG. 14 is in a receptive state because display 1400 shows a lock screen with unlock indicator 1402, which shows the phrase "slide to unlock." Generally, a user of companion electronic device 204 performs an operation with unlock indicator 1402 to unlock companion electronic device 204, such as sliding a graphic for unlock indicator 1402 across display 1400 with a finger.
[0144] Resumable-activity indication 1404 comprises a graphic, e.g., an icon, that a user can manipulate to accept (or reject) the activity transfer. In FIG. 14, resumable-activity indication 1404 comprises an icon resembling an envelope, indicating that the resumable activity includes using a mail application. In some embodiments the user can accept the activity transfer by clicking on/touching resumable-activity indication 1404, and/or by moving resumable-activity indication 1404 along a path on display 1400. For example, in some
embodiments the user can accept the activity transfer by touching and dragging resumable-activity indication 1404 along or near path 1406 (shown as a dotted line).
[0145] For illustrative purposes, resumable-activity indication 1404 is shown at a lock screen for companion electronic device 204. In some
embodiments, resumable-activity indication 1404 can be shown at a different screen/location, e.g., at an unlocked screen, at a menu bar, by using a notification window/pop-up, etc. Also, the position, size, graphic, color and/or other visual features of resumable-activity indication 1404 can vary for different
embodiments, and can depend on the type of activity that can be resumed. For example, in some embodiments companion electronic device 204 determines the graphic shown in resumable activity indication 1404 based on the application identifier for the advertised activity. As another example, in some embodiments resumable-activity indication 1404 is shown at the lower left corner of display 1400. Some embodiments present multiple resumable-activity indicators at the same time.
[0146] Note that accepting (or rejecting) the activity transfer can include moving resumable-activity indication 1404 along a different path than path 1406, e.g., to the top of the screen, along a curved path, etc. In some embodiments, the user can accept the activity transfer by clicking on resumable-activity indication 1404, by tapping on resumable-activity indication 1404, by swiping resumable- activity indication 1404, by performing a gesture using resumable-activity indication 1404, etc.
Automatic and Manual Activity Advertisement
[0147] In some embodiments, source electronic device 202 broadcasts activity advertisements automatically, e.g., at predetermined time intervals, as soon as activity information is received, based on a detected location of source electronic device 202, etc. In these embodiments, source electronic device 202 can provide a setting, e.g., a system preference, that a user can use to turn the broadcasting of activity advertisements on or off.
[0148] In some embodiments, source electronic device 202 starts broadcasting activity advertisements manually, i.e., waits for input from a user to begin broadcasting the activity advertisements. In some of these embodiments, source electronic device 202 starts broadcasting activity advertisements upon detecting the user's input, and continues to broadcast activity advertisements for a predetermined period of time and/or until the user provides an input directing source electronic device 202 to stop the activity advertisements. In some embodiments, the user input for starting and/or stopping activity advertisements includes motion of source electronic device 202 (e.g., shaking source electronic device 202, moving source electronic device 202 in an arc, rocking source electronic device 202, etc.), performing one or more gestures on a touch screen for source electronic device 202, pressing a key and/or button combination, etc.
[0149] In some embodiments, the activity advertisement message and/or a message that source electronic device 202 sends to companion electronic device 204 along with (i.e., in addition to) the activity advertisement message causes companion electronic device 204 to start a timer. In some embodiments, companion electronic device 204 remains in the receptive state as described above until this timer expires. Source electronic device 202 can provide an expiry time for the timer to companion electronic device 204, or companion electronic device 204 can determine the expiry time.
[0150] In some embodiments, companion electronic device 204 presents an indication that the activity is resumable until the timer expires, and, if the user accepts the indication, continues the activity at companion electronic device 204 without the user performing one or more operations (e.g., fingerprint scan, password entry, etc.) to unlock companion electronic device 204. More specifically, companion electronic device 204 can detect that the user accepted the indication and can bypass the lock screen/unlock operation, allowing the user to start using companion electronic device 204 without unlocking companion electronic device 204. In some embodiments, the user is allowed to bypass the lock screen/unlock operation only before the timer expires.
Activity Continuation Framework
[0151] In some embodiments, a third-party application receives access to some or all of the activity transfer operations, e.g., operations described earlier with reference to FIGs. 3-10, through an "activity continuation" framework that is available at electronic devices that can participate in activity transfer operations. The activity continuation framework can provide the third-party application access to an operating system function, a daemon, a process, a service, etc., that performs at least some of the activity transfer operations. For example, in some embodiments, the provider of an electronic device and/or operating system for the electronic device provides an application programming interface (API) through which third-party applications can make calls to functions that facilitate activity transfer operations. In some embodiments, the activity continuation framework enables third-party applications (and third-party application developers) to transfer an activity from one electronic device to another electronic device without implementing (or even having knowledge of) the low-level details of activity continuation.
[0152] For example, in some embodiments, to enable the third-party application to participate in activity transfer operations, the third-party application developer provides activity descriptors for activities that the third-party application can perform and a method for the third-party application to be configured to perform an activity. In some of these embodiments, at an electronic device such as source electronic device 202, the third-party application makes a call to a function provided by the activity continuation framework to provide an activity descriptor (and possibly extended activity data) for an activity performed in the third-party application. At an electronic device such as companion electronic 204, to configure the third-party application to perform the activity, the activity continuation framework can pass the extended activity data to the third- party application (e.g., through a command line switch or parameter, by using an object, etc.). Hence, the activity continuation framework can facilitate activity continuation for third-party applications with minimal effort and expense for the third-party application developer. Messages Exchanged Between Electronic Devices
[0153] FIG. 15 presents a swim lane diagram illustrating messages exchanged between electronic devices in accordance with some embodiments. As can be seen in FIG. 15, the messages are exchanged between source electronic device 202 and companion electronic device 204 over a period of time, with activity advertisement 1500 occurring first in time and the lower messages occurring subsequently in time. Although FIG. 15 is shown with messages exchanged in a particular order, in some embodiments, other messages are exchanged and/or messages are exchanged in a different order. Generally, electronic devices in the described embodiments exchange sufficient messages to enable the operations herein described.
[0154] The messages in FIG. 15 are associated with two operations performed by source electronic device 202 and/or companion electronic device 204. The first operation, which includes advertisement 1500, is an activity advertisement operation such as is shown in FIG. 3. During the activity advertisement operation, source electronic device 202 broadcasts at least one activity advertisement 1500.
[0155] The second operation, which includes request for extended activity data 1502, extended activity data 1504, and notification of activity transfer 1506, is an activity transfer operation such as shown in FIGs. 5-6. During the activity transfer operation, companion electronic device 204 responds to activity advertisement 1500 with request for extended activity data 1502. Upon receiving the request for extended activity data 1502, source electronic device 202 responds by sending extended activity data 1504. In some embodiments, after companion electronic device 204 uses the extended activity data to commence performing the activity at the second application, companion electronic device 204 sends notification of activity transfer 1506 to let source electronic device 202 know that the activity was transferred. Forwarding Activity-Related Information
[0156] As described above, in some embodiments, source electronic devices (e.g., source electronic device 202) forwards, to companion electronic devices (e.g., companion electronic device 204), activity-related information. Generally, activity-related information includes any information that can be used when performing an activity (e.g., an activity that is transferred to the companion electronic device as described herein or another activity performed on the companion electronic device). For example, activity-related information includes, but is not limited to, information from a copy and paste clipboard in source electronic device 202 (e.g., text, images, video, sounds, settings, files, etc.), earlier versions of a file, the contents of an undo buffer (which holds a record of changes made by a user to the system that can be used to reverse the changes, etc.), and/or other types of information. Upon receiving activity-related information, companion electronic devices can use the activity-related information for one or more activities. For example, when the activity-related information comprises the contents of an undo buffer, a companion electronic device can update a local undo buffer (i.e., an undo buffer in the companion electronic device) using the contents of the undo buffer received from source electronic device. For instance, an undo buffer may include a listing of the last N operations performed when editing a document, the listing configured to enable reversing or "undoing" the operations while subsequently editing the document using menus, hotkey combinations, etc. In this way, the companion electronic device can configure itself to enable the reversing or undoing of operations that were previously performed on the source electronic device.
[0157] FIG. 17 presents a flowchart illustrating a process for forwarding activity-related information from a source electronic device to a companion electronic device in accordance with some embodiments. More specifically, FIG. 17 illustrates an embodiment where source electronic device 202 forwards the activity-related information to companion electronic device 204 using an advertisement message. Note that the operations shown in FIG. 17 are presented as a general example of operations performed by some embodiments. The operations performed by some embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., companion electronic device 204, etc.), in some embodiments, other mechanisms perform the operations.
[0158] For the process shown in FIG. 17, the contents of a clipboard in source electronic device 202 are used as the activity-related information. In some embodiments, however, and as described above, other types of activity-related information may be forwarded from source electronic device 202. In addition, "clipboard" as used herein indicates a copy and paste clipboard in a corresponding device. In some embodiments, clipboards are software services (e.g., operating system software services, standalone applications, etc.) that provide temporary storage for information in electronic devices. Clipboards enable users to perform operations such as copy, paste, cut, etc. to interact with the information. Such clipboards are generally known in the art and are therefore not described in more detail herein.
[0159] The process shown in FIG. 17 starts when source electronic device 202 determines that activity-related information is available for forwarding to companion electronic device 204 (step 1700). For example, based on receiving the above-described activity information (see, e.g., step 300 in FIG. 3), source electronic device 202 can perform one or more checks and determine that activity- related information is available. As another example, upon receiving an indication that the user has performed a copy operation that copied information to the clipboard (e.g., copied text, a file, an image, etc.), source electronic device 202 can determine that activity-related information is available. As another example, source electronic device 202 can monitor various operations being performed in source electronic device 202 as part of performing an activity and can directly or indirectly determine that activity-related information has become available. As described above, for the example in FIG. 17, the contents of the clipboard are the activity-related information. Source electronic device 202 therefore determines, in step 1700, that there are one or more copied items on the clipboard that were placed there while performing a current activity.
[0160] Source electronic device 202 then generates an activity-related information advertisement (step 1702). Generally, the activity-related information advertisement includes sufficient information to enable companion electronic device 204 (and possibly other devices that receive the activity-related information advertisement) to determine that the activity-related information is of interest and to process the activity-related information. Continuing the clipboard example, source electronic device 202 can generate an activity-related information advertisement that enables companion electronic device 204 to determine that the activity-related information described in the activity-related information advertisement, i.e., the contents of the clipboard from source electronic device 202, are of interest to companion electronic device 204, as well as updating a clipboard in companion electronic device 204 with or based on the contents of the clipboard from the source electronic device 202.
[0161] FIG. 18 presents a block diagram illustrating an activity-related information advertisement 1800 generated by source electronic device 202 in accordance with some embodiments. Activity-related information advertisement 1800 optionally includes device ID field 1802, version ID field 1804, activity identifier field 1806, and timestamp field 1808. Device ID field 1802 includes an identifier that identifies the device from which activity-related information advertisement 1800 was sent, e.g. identifies source electronic device 202.
Version ID field 1804 includes aversion identifier, such as aversion identifier that companion electronic device 204 can use to determine how fields in activity- related information advertisement 1800 are formatted and/or how information is stored in the fields. Activity identifier field 1806 includes an activity identifier that identifies an activity with which the corresponding activity-related information is associated, e.g., one or more of activity identifiers 1204-1224. Timestamp field 1808 includes atimestamp for an activity advertised in activity identifier field 1806. As described above, timestamps can be used to resolve an order in which two or more activity-related information advertisements 1800 are to be handled, which activity-related information advertisements 1800 are to be ignored, etc.
[0162] Activity-related information field 1810 includes the activity-related information and/or information based on, derived from, or otherwise identifying the activity-related information. Continuing the example above, in some embodiments, source electronic device 202 includes, in activity-related information field 1810 some or all of the actual contents from the clipboard in source electronic device 202. For example, if a section of text was recently copied to the clipboard, the section of text, i.e., the text itself, possibly with metadata including formatting, timestamps, version information, etc., can be included in activity-related information field 1810. As another example, if a section of text, an image, and a file were separately copied to the clipboard during one or more copy operations, some or all of the section of text, image, and file, possibly with corresponding metadata, can be included in activity-related information field 1810.
[0163] As another example, in embodiments where source electronic device 202 includes information based on, derived from, etc. the activity-related information in activity-related information field 1810, source electronic device 202 may include, in activity-related information field 1810, compressed information, representative information, information that can be used to derive the activity-related information, and/or other information based on or associated with the activity-related information. For example, source electronic device 202 may include an indication that information is available (e.g., a pointer, tag, identifier, reference, and/or other indicator), perhaps including basic identification of the type of information, but not include the actual activity-related information itself in activity-related information advertisement 1800. In these embodiments, companion electronic device 204 may perform one or more operations for retrieving the activity-related information indicated in activity-related information advertisement 1800. For example, assuming that source electronic device 202 includes a pointer to activity-related information in activity-related information field 1810, companion electronic device 204 may retrieve the activity-related information indicated by the pointer from source electronic device 202 via one or more corresponding separate communications.
[0164] In some embodiments, the information based on, derived from, etc. the activity-related information can be included in activity-related information field 1810 in addition to some or all of the actual activity-related information. Continuing the clipboard example, assuming that a small section of text (100 bytes) and a large image (4 MB) were copied to the clipboard in source electronic device 202, source electronic device 202 may include the small section of text (and possibly corresponding metadata) in activity-related information field 1810, but may include only a reference to the image. Companion electronic device 204 can then use the reference to request the image as described above. In some embodiments, the size of the activity-related information is used to determine if the activity-related information or information based thereon will be included in activity-related information advertisement 1800. For example, based on one or more thresholds (e.g., a maximum size for activity-related information
advertisement 1800, etc.) activity-related information may be directly included or indirectly included (e.g., represented by a pointer, indicator, etc.) in activity- related information field 1810.
[0165] Source electronic device 202 then transmits (e.g., broadcasts, unicasts, multicasts, etc.) activity-related information advertisement 1800 (step 1704). For example, using a corresponding protocol, source electronic device 202 can unicast activity-related information advertisement 1800 to companion electronic device 204. Generally, during this operation, source electronic device 202, via a wired or wireless communication link, provides activity-related information advertisement 1800 to companion electronic device 204. As described in more detail below, upon receiving activity-related information advertisement 1800, companion electronic device 204 selectively provides the activity-related information for use when performing one or more activities in companion electronic device 204.
[0166] For the example in FIG. 17, embodiments are described in which source electronic device 202 advertises the activity-related information separately from the above-described activity advertisement (e.g., activity advertisement 1300). In other words, in some embodiments, activity advertisement 1300 is transmitted in addition to activity-related information advertisement 1800.
However, in some embodiments, some or all of the above-described activity- related information (i.e., the actual information, pointers, etc.) is included in activity advertisement 1300. In these embodiments, a separate activity-related information advertisement 1800 may not be used. In these embodiments, activity advertisement 1300 includes various fields, values, etc. used for holding the activity-related information or information based thereon. In these embodiments, companion electronic device 204 can perform similar operations to those shown in FIG. 19 to process the activity-related information in activity advertisement 1300.
[0167] Although activity-related information advertisement 1800 is shown as an example of an activity-related information advertisement, in some embodiments, activity-related information advertisement 1800 is formatted differently (e.g., includes a different arrangement of fields, etc.). For example, in some embodiments, one or more of the fields that are described as being optional are not optional. Generally, activity-related information advertisement 1800 includes sufficient information to enable source electronic device 202 to communicate, to companion electronic device 204, activity-related information to enable companion electronic device 204 to provide the activity-related
information for use when performing one or more activities in the companion electronic device 204.
[0168] FIG. 19 presents a flowchart illustrating a process for receiving, in a companion electronic device, activity-related information from a source electronic device in accordance with some embodiments. More specifically, FIG. 19 illustrates an embodiment where companion electronic device 204 receives, from source electronic device 202, activity-related information. Note that the operations shown in FIG. 19 are presented as a general example of operations performed by some embodiments. The operations performed by some
embodiments include different operations and/or operations that are performed in a different order. Additionally, although certain mechanisms are used in describing the operations (e.g., companion electronic device 204, etc.), in some embodiments, other mechanisms perform the operations.
[0169] For the process shown in FIG. 19, the contents of a clipboard in source electronic device 202 are used as the activity-related information. In some embodiments, however, and as described above, other types of activity-related information may be received from source electronic device 202.
[0170] The process shown in FIG. 19 starts when companion electronic device 204 receives, from source electronic device 202, an activity-related information advertisement 1800 (step 1900). As described above, this operation can include receiving a unicast, broadcast, multicast, etc. activity-related information advertisement 1800 that includes information that enables companion electronic device 204 process the activity-related information and selectively provide the activity-related information for use when performing one or more activities in the companion electronic device 204.
[0171] Companion electronic device 204 then determines if the activity- related information described in activity-related information advertisement 1800 is of interest (1902). Generally, during this operation, companion electronic device 204 determines if the activity-related information is to be used in companion electronic device 204. Note that, in this description, the operation of deciding that activity-related information is of interest and correspondingly providing the activity-related information (or not) is described as "selectively" providing the activity-related information. In other words, companion electronic device 204 chooses whether or not to provide the activity-related information to activities in companion electronic device 204 as described herein.
[0172] In some embodiments, when determining if the activity-related information is of interest, companion electronic device 204 presents, on a display of companion electronic device 204 (e.g., display 1400), an activity-related information availability indicator. FIG. 20 presents a block diagram illustrating activity-related information availability indicator 2000 in accordance with some embodiments. As can be seen in FIG. 20, activity-related information availability indicator 2000 is an icon that is presented on display 1400 of companion electronic device 204. In some embodiments, activity-related information availability indicator 2000 is a simple icon that generally indicates that activity- related information is available. In some embodiments, however, activity-related information availability indicator 2000 includes a representation of the type(s) of the activity-related information within the icon (e.g., a text indicator as shown, an image indicator, an undo buffer indicator, a clipboard indicator, a combination indicator, etc.). Similarly to the above-described resumable activity indication 1404, in some embodiments, a user may select activity-related information availability indicator 2000 to signal to companion electronic device 204, an acceptance (or not) of activity-related information. For example, a user can finger tap activity-related information availability indicator 2000 on a touch sensitive screen, perform a mouse pointer hover and click on activity-related information availability indicator 2000, click-select and drag activity-related information availability indicator 2000 along a designated path, etc. In some embodiments, the acceptance of the activity-related information causes companion electronic device 204 to determine that the activity-related information is of interest.
[0173] In some embodiments, when deciding if the activity-related information is of interest (in addition to or instead of using above-described activity-related information availability indicator 2000), companion electronic device 204 determines if a corresponding activity is to be transferred from source electronic device 202 to companion electronic device 204, if the activity-related information is in a format supported by companion electronic device 204, etc. Generally, companion electronic device 204 determines that the activity-related information is of interest when the activity-related information should and can be made available for activities in companion electronic device 204.
[0174] If the activity-related information described in activity-related information advertisement 1800 is not of interest (step 1904), companion electronic device 204 can halt processing related to activity-related information advertisement 1800 and the process ends. For this operation, in some
embodiments, companion electronic device 204 can remove activity-related information availability indicator 2000 from the display screen, can configure itself to ignore future duplicate advertisements, can communicate a negative acknowledgement or denial to source electronic device 202, etc.
[0175] If the activity-related information described in activity-related information advertisement 1800 is of interest (step 1904), companion electronic device 204 acquires the activity-related information (1906). Generally, during this operation, companion electronic device 204 retrieves at least some of the activity-related information from one or both of activity-related information advertisement 1800 and source electronic device 202. For this operation, if activity-related information advertisement 1800 contains some or all of the actual activity-related information, companion electronic device 204 can acquire, from activity-related information advertisement 1800, some or all of the activity-related information. For example, assuming that source electronic device 202 included at least some of the contents of the clipboard in activity-related information advertisement 1800, companion electronic device 204 can acquire, from activity- related information advertisement 1800 the contents of the clipboard.
[0176] In addition to or instead of acquiring the activity-related information from activity-related information advertisement 1800, companion electronic device 204 can acquire from source electronic device 202, some or all of the activity-related information. For example, if source electronic device 202 included, in activity-related information advertisement 1800, a pointer to (or other indicator of) activity-related information on source electronic device 202 (e.g., a pointer to information such as an image file on the clipboard in source electronic device 202, etc.), companion electronic device 204 can request, from source electronic device 202, the activity-related information.
[0177] In some embodiments, the activity-related information can be acquired along with extended-activity data, i.e., can be included in the extended activity data by source electronic device 202. In some of these embodiments, companion electronic device 204 requests the sending of the activity-related information along with the extended activity data. For example, activity-related information advertisement 1800 can include an indication that activity-related information is available, e.g., a pointer or other indicator, and companion electronic device, as described herein can receive a request to acquire the activity- related data along with transferring a corresponding activity (i.e., requesting extended activity data).
[0178] Companion electronic device 204 then provides the activity-related information for use when performing one or more activities in companion electronic device 204 (step 1908). During this operation, companion electronic device 204 uses one or more corresponding structures (memories, clipboards, caches, buffers, etc.) to store the activity-related information so that the activity- related information is available to activities (e.g., activities transferred to companion electronic device 204 from source electronic device 202, activities started on companion electronic device 204, etc.). In some embodiments, "providing the activity-related information for use when performing one or more activities" comprises providing the activity-related information in such a way that, during operation of the activities, the activity-related information can be used in corresponding and expected ways. Continuing the clipboard example, this can include making the contents of the clipboard from the source electronic device 202 available for pasting and other operations as information on the clipboard is generally available in companion electronic device 204— i.e., from the clipboard in companion electronic device 204. For instance, so hotkeys and menu selections can be used to access, on companion electronic device 204, the contents of the clipboard copied from source electronic device 202. As another example, assuming that the activity-related information includes the contents of an undo buffer, an undo buffer in companion electronic device 204 can be updated using the activity-related information (i.e., a history of operations performed in source electronic device 202) so that corresponding operations, which were not performed initially in companion electronic device 204, can be undone in companion electronic device 204.
[0179] Continuing the clipboard example, in some embodiments, providing the activity-related information for use when performing one or more activities in the companion electronic device 204 includes copying the contents of the clipboard described in activity-related information advertisement 1800 to a clipboard in companion electronic device 204. In these embodiments, the contents of the clipboard can be partially or completely overwritten by the contents of the clipboard described in activity-related information advertisement 1800. In some embodiments, to avoid overwriting, and therefore losing, useful information on the clipboard in companion electronic device 204, companion electronic device 204 (e.g., an operating system thereon) provides a separate transferred information buffer. In these embodiments, the transferred information buffer can be accessed using corresponding menu choices, hotkeys, etc. In some embodiments, the user can be presented with a choice (e.g., with a pop-up prompt) to either overwrite the clipboard or write the information to the transferred activity buffer. In some embodiments, the transferred information buffer is a software service (e.g., operating system software service, standalone application, etc.) that provides temporary storage for information in electronic devices, although a hardware-based transferred information buffer may be used alone or in combination with a software transferred information buffer. The transferred information buffer enables users to perform operations such as copy, paste, cut, etc. to interact with the information that is stored in the transferred information buffer.
[0180] In some embodiments, a user can be presented with an interface (e.g., on display 1400) that enables the user to determine which and where the contents of the clipboard from source electronic device 202 are to be copied to the clipboard in companion electronic device. For example, after selecting activity- related information availability indicator 2000, a pop-up window showing or otherwise listing the contents of the clipboard from source electronic device 202 can be presented on display 1400, the pop-up window including mechanisms for selecting which contents are to be copied to the clipboard in companion electronic device 204, where on the clipboard the contents are to be copied, etc.
[0181] Note that, although activity-related information availability indicator 2000 is presented on a lock screen in a particular location, in some embodiments, activity-related information availability indicator 2000 can be presented on any screen during operation of companion electronic device 204, in different locations, etc. In addition, activity-related information availability indicator 2000 may be presented along with and/or associated with resumable activity indication 1404. In these embodiments, a user may select one or both of activity-related information availability indicator 2000 and resumable activity indication 1404 to one or both of transfer an activity (as described herein) or accept activity-related information. In some embodiments, companion electronic device 204 presents only resumable activity indication 1404 and a user selecting resumable activity indication 1404 causes companion electronic device 204 to both of transfer an activity (as described herein) and accept activity-related information.
[0182] The foregoing descriptions of embodiments have been presented only for purposes of illustration and description. They are not intended to be exhaustive or to limit the embodiments to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the embodiments. The scope of the embodiments is defined by the appended claims.

Claims

What Is Claimed Is;
1. A method, comprising:
by a companion electronic device, performing operations for:
receiving, from a source electronic device, activity-related information, the activity-related information associated with an activity performed in the source electronic device, the receiving comprising receiving source clipboard information, the source clipboard information comprising a copy of some or all of a contents of a clipboard in the source electronic device; and
selectively providing the activity-related information for use when performing one or more activities in the companion electronic device.
2. The method of claim 1, wherein selectively providing the activity- related information for use when performing the one or more activities comprises: replacing some or all of a contents of a clipboard in the companion electronic device with the source clipboard information.
3. The method of claim 2, further comprising:
replacing some or all of the contents of the clipboard in the companion electronic device with the source clipboard information based on receiving an indication that some or all of the contents of the clipboard in the companion electronic device are to be replaced using the source clipboard information.
4. The method of claim 1, wherein selectively providing the activity- related information for use when performing one or more activities comprises: storing the source clipboard information in a transferred information buffer in the companion electronic device, the transferred information buffer being different than a clipboard in the companion electronic device; and providing the source clipboard information from the transferred information buffer for use in activities in the companion electronic device.
5. The method of claim 1, wherein receiving, from the source electronic device, the activity-related information comprises:
receiving an advertisement message from the source electronic device, the advertisement message comprising some or all of the activity-related information.
6. The method of claim 1, wherein receiving, from the source electronic device, the activity-related information comprises:
receiving an advertisement message from the source electronic device, the advertisement message comprising an identifier of some or all of the activity- related information;
using the identifier to request, from the source electronic device, some or all of the activity-related information; and
in response to the request, receiving, from the source electronic device, some or all of the activity-related information.
7. The method of claim 1, wherein receiving, from the source electronic device, the activity-related information comprises:
requesting, from the source electronic device, extended activity data, the extended activity data comprising information that can be used to configure an application in the companion electronic device to continue an activity from the source electronic device; and
receiving, along with extended activity data for the activity performed in the first application from the source electronic device, the activity-related information.
8. The method of claim 1, wherein selectively providing the activity- related information comprises:
presenting, on a display of the companion electronic device, an activity- related information availability indicator;
upon receiving an acceptance of the activity-related information availability indicator, providing the activity-related information for use when performing one or more activities in the companion electronic device; and
upon receiving a rejection of the activity-related information availability indicator, not providing the activity-related information for use when performing one or more activities in the companion electronic device.
9. A companion electronic device, comprising:
a processing subsystem; and
a networking subsystem;
the companion electronic device:
receiving, from a source electronic device, activity-related information, the activity-related information associated with an activity performed in the source electronic device, the receiving comprising receiving source clipboard information, the source clipboard information comprising a copy of some or all of a contents of a clipboard in the source electronic device; and
selectively providing the activity-related information for use when performing one or more activities in the companion electronic device.
10. The companion electronic device of claim 9, further comprising: a clipboard;
wherein, when selectively providing the activity-related information for use when performing the one or more activities, the companion electronic device:
replaces some or all of a contents of the clipboard in the companion electronic device with the source clipboard information.
11. The companion electronic device of claim 10, wherein the companion electronic device:
replaces some or all of a contents of a clipboard in the companion electronic device with the source clipboard information based on receiving an indication that some or all of the contents of the clipboard in the companion electronic device are to be replaced using the source clipboard information.
12. The companion electronic device of claim 9, further comprising: a transferred information buffer, the transferred information buffer being different than a clipboard in the companion electronic device;
wherein, when selectively providing the activity-related information for use when performing one or more activities, the companion electronic device:
stores the source clipboard information in the transferred information buffer; and
provides the source clipboard information from the transferred information buffer for use in activities in the companion electronic device.
13. The companion electronic device of claim 9, wherein, when receiving, from the source electronic device, the activity-related information, the companion electronic device:
receives an advertisement message from the source electronic device, the advertisement message comprising some or all of the activity-related information.
14. The companion electronic device of claim 9, wherein, when receiving, from the source electronic device, the activity-related information, the companion electronic device:
receives an advertisement message from the source electronic device, the advertisement message comprising an identifier of some or all of the activity- related information;
uses the identifier to request, from the source electronic device, some or all of the activity-related information; and
in response to the request, receives, from the source electronic device, some or all of the activity-related information.
15. The companion electronic device of claim 9, wherein, when receiving, from the source electronic device, the activity-related information, the companion electronic device:
requests, from the source electronic device, extended activity data, the extended activity data comprising information that can be used to configure an application in the companion electronic device to continue an activity from the source electronic device; and
receives, along with extended activity data for the activity performed in the first application from the source electronic device, the activity-related information.
16. The companion electronic device of claim 9, further comprising: a display subsystem, the display subsystem comprising a display;
wherein, when selectively providing the activity-related information, the companion electronic device:
presents, on the display, an activity-related information availability indicator;
upon receiving an acceptance of the activity-related information availability indicator, provides the activity-related information for use when performing one or more activities in the companion electronic device; and
upon receiving a rejection of the activity-related information availability indicator, does not provide the activity-related information for use when performing one or more activities in the companion electronic device.
17. A computer readable storage medium storing instructions that, when executed by a processing subsystem in a companion electronic device, cause the companion electronic device to perform a method comprising:
receiving, from a source electronic device, activity-related information, the activity-related information associated with an activity performed in the source electronic device, the receiving comprising receiving source clipboard information, the source clipboard information comprising a copy of some or all of a contents of a clipboard in the source electronic device; and
selectively providing the activity-related information for use when performing one or more activities in the companion electronic device.
18. The computer readable storage medium of claim 17, wherein selectively providing the activity-related information for use when performing the one or more activities comprises:
replacing some or all of a contents of a clipboard in the companion electronic device with the source clipboard information.
19. The computer readable storage medium of claim 18, wherein the method further comprises:
receiving an indication that some or all of the contents of the clipboard in the companion electronic device are to be overwritten using the source clipboard information.
20. The computer readable storage medium of claim 17, wherein selectively providing the activity-related information for use when performing one or more activities comprises: storing the source clipboard information in a transferred information buffer in the companion electronic device, the transferred information buffer being different than a clipboard in the companion electronic device; and
providing the source clipboard information from the transferred information buffer for use in activities in the companion electronic device.
21. The computer readable storage medium of claim 17, wherein receiving, from the source electronic device, the activity-related information comprises:
receiving an advertisement message from the source electronic device, the advertisement message comprising some or all of the activity-related information.
22. The computer readable storage medium of claim 17, wherein receiving, from the source electronic device, the activity-related information comprises:
receiving an advertisement message from the source electronic device, the advertisement message comprising an identifier of some or all of the activity- related information;
using the identifier to request, from the source electronic device, some or all of the activity-related information; and
in response to the request, receiving, from the source electronic device, some or all of the activity-related information.
23. The computer readable storage medium of claim 17, wherein receiving, from the source electronic device, the activity-related information comprises:
requesting, from the source electronic device, extended activity data, the extended activity data comprising information that can be used to configure an application in the companion electronic device to continue an activity from the source electronic device; and
receiving, along with extended activity data for the activity performed in the first application from the source electronic device, the activity-related information.
24. The computer readable storage medium of claim 17, wherein selectively providing the activity-related information comprises:
presenting, on a display of the companion electronic device, an activity- related information availability indicator;
upon receiving an acceptance of the activity-related information availability indicator, providing the activity-related information for use when performing one or more activities in the companion electronic device; and
upon receiving a rejection of the activity-related information availability indicator, not providing the activity-related information for use when performing one or more activities in the companion electronic device.
PCT/US2016/040583 2014-05-30 2016-06-30 Forwarding activity-related information from source electronic devices to companion electronic devices WO2017039821A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/841,410 US10187770B2 (en) 2014-05-30 2015-08-31 Forwarding activity-related information from source electronic devices to companion electronic devices
US14/841,410 2015-08-31

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
KR1020197032808A KR102097931B1 (en) 2015-08-31 2016-06-30 Forwarding activity-related information from source electronic devices to companion electronic devices
CN202210397164.7A CN114706698A (en) 2015-08-31 2016-06-30 Forwarding activity-related information from a source electronic device to a companion electronic device
KR1020187006717A KR102044108B1 (en) 2015-08-31 2016-06-30 Forward activity-related information from the source electronic device to the companion electronic device
CN201680050026.4A CN107949830B (en) 2015-08-31 2016-06-30 Forwarding activity-related information from a source electronic device to a companion electronic device
TW105127666A TWI627541B (en) 2015-08-31 2016-08-29 Forwarding activity-related information from source electronic devices to companion electronic devices

Publications (1)

Publication Number Publication Date
WO2017039821A1 true WO2017039821A1 (en) 2017-03-09

Family

ID=56551556

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2016/040583 WO2017039821A1 (en) 2014-05-30 2016-06-30 Forwarding activity-related information from source electronic devices to companion electronic devices

Country Status (4)

Country Link
KR (2) KR102097931B1 (en)
CN (2) CN114706698A (en)
TW (1) TWI627541B (en)
WO (1) WO2017039821A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10667109B2 (en) 2014-05-30 2020-05-26 Apple Inc. Forwarding activity-related information from source electronic devices to companion electronic devices
US10708371B2 (en) 2014-05-30 2020-07-07 Apple Inc. Activity continuation between electronic devices
US10771946B2 (en) 2014-05-30 2020-09-08 Apple Inc. Dynamic types for activity continuation between electronic devices

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080160974A1 (en) * 2006-12-29 2008-07-03 Nokia Corporation Transferring task completion to another device
US20130332846A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Extensible application state preservation architecture
US20150012861A1 (en) * 2013-07-02 2015-01-08 Dropbox, Inc. Syncing content clipboard

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489414B2 (en) * 2010-03-30 2019-11-26 Microsoft Technology Licensing, Llc Companion experience
US20120096368A1 (en) * 2010-10-14 2012-04-19 Microsoft Corporation Cloud-based virtual clipboard
US9110743B2 (en) * 2010-12-21 2015-08-18 Microsoft Technology Licensing, Llc Extensible system action for sharing while remaining in context
US8775850B2 (en) * 2011-06-28 2014-07-08 Amazon Technologies, Inc. Transferring state information between electronic devices
TW201314471A (en) * 2011-09-29 2013-04-01 Cheng-Wei Tsai Cloud clipboard system and method thereof
US9098177B2 (en) * 2012-12-13 2015-08-04 Google Technology Holdings LLC Apparatus and methods for facilitating context handoff between devices in a cloud based wireless personal area network
US20140188802A1 (en) * 2012-12-31 2014-07-03 Appsense Limited Pull and paste
US8964947B1 (en) * 2013-03-11 2015-02-24 Amazon Technologies, Inc. Approaches for sharing data between electronic devices
WO2015039300A1 (en) 2013-09-18 2015-03-26 Nokia Corporation Bluetooth low energy packets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080160974A1 (en) * 2006-12-29 2008-07-03 Nokia Corporation Transferring task completion to another device
US20130332846A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Extensible application state preservation architecture
US20150012861A1 (en) * 2013-07-02 2015-01-08 Dropbox, Inc. Syncing content clipboard

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10667109B2 (en) 2014-05-30 2020-05-26 Apple Inc. Forwarding activity-related information from source electronic devices to companion electronic devices
US10708371B2 (en) 2014-05-30 2020-07-07 Apple Inc. Activity continuation between electronic devices
US10771946B2 (en) 2014-05-30 2020-09-08 Apple Inc. Dynamic types for activity continuation between electronic devices
US11356829B2 (en) 2014-05-30 2022-06-07 Apple Inc. Dynamic types for activity continuation between electronic devices

Also Published As

Publication number Publication date
KR20180038522A (en) 2018-04-16
CN107949830A (en) 2018-04-20
CN114706698A (en) 2022-07-05
TWI627541B (en) 2018-06-21
KR102097931B1 (en) 2020-04-06
KR102044108B1 (en) 2019-11-12
KR20190126949A (en) 2019-11-12
CN107949830B (en) 2022-05-06
TW201719443A (en) 2017-06-01

Similar Documents

Publication Publication Date Title
US11356829B2 (en) Dynamic types for activity continuation between electronic devices
US9948728B2 (en) Continuing an activity commenced on a source device with a companion device
US10667109B2 (en) Forwarding activity-related information from source electronic devices to companion electronic devices
AU2018202458B2 (en) Activity continuation between electronic devices
US10659200B2 (en) Companion application for activity cooperation
KR102097931B1 (en) Forwarding activity-related information from source electronic devices to companion electronic devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16744972

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20187006717

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 16744972

Country of ref document: EP

Kind code of ref document: A1