EP3039538B1 - Mediated data exchange for sandboxed applications - Google Patents
Mediated data exchange for sandboxed applications Download PDFInfo
- Publication number
- EP3039538B1 EP3039538B1 EP14741771.1A EP14741771A EP3039538B1 EP 3039538 B1 EP3039538 B1 EP 3039538B1 EP 14741771 A EP14741771 A EP 14741771A EP 3039538 B1 EP3039538 B1 EP 3039538B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- application
- data
- broker
- computing device
- mediated
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 230000001404 mediated effect Effects 0.000 title claims description 90
- 238000012545 processing Methods 0.000 claims description 33
- 244000035744 Hura crepitans Species 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 26
- 230000004044 response Effects 0.000 claims description 19
- 238000009877 rendering Methods 0.000 claims 1
- 230000008676 import Effects 0.000 description 47
- 238000004891 communication Methods 0.000 description 42
- 230000002452 interceptive effect Effects 0.000 description 27
- 230000015654 memory Effects 0.000 description 25
- 230000008569 process Effects 0.000 description 17
- 230000000875 corresponding effect Effects 0.000 description 15
- 230000007246 mechanism Effects 0.000 description 13
- 230000006855 networking Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000001276 controlling effect Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 238000012790 confirmation Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000002618 waking effect Effects 0.000 description 2
- 101100498818 Arabidopsis thaliana DDR4 gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008571 general function Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/606—Protecting data by securing the transmission between two devices or processes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
- G06F21/53—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/545—Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45587—Isolation or security of virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/547—Messaging middleware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2149—Restricted operating environment
Definitions
- the described embodiments relate to computing devices. More specifically, the described embodiments relate to a mediated data exchange between sandboxed applications executing on a computing device.
- Sandboxing is a technique that is used to prevent applications executing on a computing device from maliciously or mistakenly altering data (e.g., files) and/or misusing computational resources on the computing device.
- data e.g., files
- Sandboxed an application is permitted by the operating system to access only a limited set of resources in the computing device and is prevented from accessing data other than the application's own data.
- the application is allowed to freely access (i.e., read from, write to, delete, etc.) the application's own files, but the application is blocked by the operating system from accessing files belonging to other applications.
- sandboxing is useful for preventing applications from maliciously or mistakenly altering data and/or misusing computational resources on the computing device
- sandboxing significantly limits interactions between applications. For example, although being able to create and/or modify its own files, a sandboxed application is unable to communicate those files to another application or to receive files from another application. Placing such limits on the interactions for sandboxed applications can frustrate users, who are accustomed to non-sandboxed applications that can communicate freely. To avoid frustrating users, designers have provided workarounds to enable sandboxed applications to interact with other applications.
- patent publication US 2013/219176 A1 which relates to the transfer of data between sandboxed applications in a mobile device via a cloud-hosted service (Averail Cloud Content Exchange) that provides secure access from mobile devices to a shared access file system (the cloud-based secure virtual file management service).
- the SVFM system offers a common facility to secure virtual file system to mobile applications, via a lightweight SVFM library that is linked with each application, thereby enabling such applications running on a mobile device to hook into SVFM services for virtualized file system management and policy controlled access to files.
- a computing device 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 computing 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.
- a computer-readable storage medium can be any device or medium or combination thereof that stores code and/or data for use by a computing device.
- the computer-readable storage medium can include, but is not limited to, volatile memory or nonvolatile memory, including flash memory, random access memory (eDRAM, RAM, SRAM, DRAM, DDR, DDR2/DDR3/DDR4 SDRAM, etc.), read-only memory (ROM), and/or magnetic or optical storage mediums (e.g., disk drives, magnetic tape, CDs, DVDs).
- the computer-readable storage medium does not include non-statutory computer-readable storage mediums such as transitory signals.
- one or more hardware modules are configured to perform the operations herein described.
- the hardware modules can comprise, but are not limited to, one or more processors/processor cores/central processing units (CPUs), application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), caches/cache controllers, embedded processors, graphics processors (GPUs)/graphics processor cores, pipelines, and/or other programmable-logic devices.
- the hardware modules include one or more general-purpose circuits that are configured by executing instructions (program code, firmware/microcode, etc.) to perform the operations.
- a data structure representative of some or all of the structures and mechanisms described herein is stored on a computer-readable storage medium that includes a database or other data structure which can be read by a computing device and used, directly or indirectly, to fabricate hardware comprising the structures and mechanisms.
- the data structure may be a behavioral-level description or register-transfer level (RTL) description of the hardware functionality in a high level design language (HDL) such as Verilog or VHDL.
- HDL high level design language
- the description may be read by a synthesis tool which may synthesize the description to produce a netlist comprising a list of gates/circuit elements from a synthesis library that represent the functionality of the hardware comprising the above-described structures and mechanisms.
- the netlist may then be placed and routed to produce a data set describing geometric shapes to be applied to masks.
- the masks may then be used in various semiconductor fabrication steps to produce a semiconductor circuit or circuits corresponding to the above-described structures and mechanisms.
- the database on the computer accessible storage medium may be the netlist (with or without the synthesis library) or the data set, as desired, or Graphic Data System (GDS) II data.
- GDS Graphic Data System
- functional blocks may be referred to in describing some embodiments.
- functional blocks include one or more interrelated circuits (e.g., logic circuits, memory circuits, control circuits, etc.) that perform the described operations.
- the circuits in a functional block include circuits that execute program code (e.g., machine code, firmware, etc.) to perform the described operations.
- a sandbox is generally a limitation in the data and resources on the computing device that are accessible by a sandboxed application.
- a sandboxed application i.e., an application that is operating within the constraints of a sandbox
- the described embodiments include a broker application that enables a mediated data exchange between sandboxed applications and other applications operating on the computing device (including other sandboxed applications).
- the broker application receives a communication from a sandboxed application indicating that the sandboxed application wishes to import or export data of a given type (e.g., text, a document file, an image/video file, a streamed file, etc.).
- the broker application determines one or more other applications on the computing device that have registered with the broker as being able to handle data of that type.
- the broker application communicates an identifier of available other applications (e.g., to a user via a display of computing device 100) and receives a response that indicates one of the other applications that is to participate in the import or export of the data.
- the broker then activates the other application and exchanges the data between the applications.
- the broker application may request the data from the selected other application, receive the requested data, and forward the data to the sandboxed application.
- the sandboxed application may indicate the data to the broker and the broker may request a location (e.g., in a memory or in a directory in a file system) for placing the data from the selected other application and then may place the data in the location.
- the sandbox for the sandboxed application is maintained; the sandboxed application is not allowed direct access to data or resources outside the sandbox.
- the broker application (which has permissions within and outside the sandbox) receives communications from the sandboxed application and communicates on behalf of the sandboxed communication with the selected other application, including handling the exchange of data to and from the sandbox.
- the broker application performs mediated data exchanges for importing data to or exporting data from sandboxed applications on a computing device. Because the broker application has simplified and known interfaces, the described embodiments avoid the need for significant custom programming for the application and/or operating system to enable sandboxed applications to import or export data.
- FIG. 1 presents a block diagram of computing device 100 in accordance with the described embodiments.
- computing device 100 includes processing subsystem 102, memory subsystem 104, networking subsystem 106, and display subsystem 108.
- Processing subsystem 102 is a functional block that is configured to perform computational operations in computing device 100.
- processing subsystem 102 can include, but is not limited to, one or more processors and/or processor cores (e.g., central processing unit (CPU) cores, graphics processing unit (GPU) cores, etc.), application-specific integrated circuits (ASICs), microcontrollers, and/or programmable-logic devices.
- processors and/or processor cores e.g., central processing unit (CPU) cores, graphics processing unit (GPU) cores, etc.
- ASICs application-specific integrated circuits
- microcontrollers e.g., microcontrollers, and/or programmable-logic devices.
- Memory subsystem 104 is a functional block that is configured to store data and/or instructions for use by processing subsystem 102, networking subsystem 106, and/or display subsystem 108.
- memory subsystem 104 can include, but is not limited to, one or more of static random access memory (SRAM), embedded dynamic random access memory (eDRAM), DRAM, double data rate synchronous DRAM (DDR SDRAM), flash memory, and/or other types of memory circuits, along with circuits for controlling access to the memory.
- SRAM static random access memory
- eDRAM embedded dynamic random access memory
- DRAM double data rate synchronous DRAM
- flash memory and/or other types of memory circuits, along with circuits for controlling access to the memory.
- memory subsystem 104 includes a memory hierarchy with an arrangement of one or more caches coupled to a memory for computing device 100.
- processing subsystem 102 also includes one or more caches.
- memory subsystem 104 is coupled to one or more high-capacity mass-storage devices (not shown).
- memory subsystem 104 may be coupled to a magnetic or optical drive, a solid-state drive, and/or another type of mass-storage device.
- Networking subsystem 106 is a functional block configured to access, couple to, and communicate on one or more wired and/or wireless networks.
- networking subsystem 106 can include, but is not limited to, a BluetoothTM networking system, a cellular networking system (e.g., EDGE, UMTS, HSDPA, LTE, etc.), a universal serial bus (USB) networking system, a networking system based on the standards described in Institute for Electrical and Electronic Engineers (IEEE) 802.11 (i.e., an 802.11 wireless network), an Ethernet networking system, or a wired or wireless personal-area networking (PAN) system (e.g., a network based on the standards described in IEEE 802.15, etc.).
- IEEE Institute for Electrical and Electronic Engineers
- PAN personal-area networking
- Networking subsystem 106 includes controllers, radios/antennas for wireless network connections, sockets/plugs for hardwired electrical connections, and/or other devices used for coupling to, communicating on, and handling data and events on a wired and/or wireless network.
- Display subsystem 108 is a functional block configured to display information (e.g., user interfaces, graphics, etc.) on one or more interfaces (e.g., display screens, indicators, light-emitting diodes, etc.) of computing device 100.
- display subsystem 108 can include, but is not limited to, a touch-sensitive display screen and the circuits and mechanisms for displaying information on the display screen.
- Bus 110 includes one or more signal lines, controllers, etc. that the subsystems can use to communicate with one another.
- bus 110 can include one or more packet buses, dedicated signal lines, etc.
- Computing device 100 can be, or can be incorporated into, any of a number of different types of devices. Generally, these devices include any device that can perform the operations herein described.
- computing device 100 can be, or can be incorporated into, a desktop computer, a laptop computer, a server, a media player, an appliance, a subnotebook/netbook, a tablet computer, a cellular phone, a piece of testing equipment, a network appliance, a set-top box, a personal digital assistant (PDA), a smart phone, a toy, a controller, or another device.
- PDA personal digital assistant
- computing device 100 includes additional subsystems.
- computing device 100 can include, but is not limited to, one or more power subsystems (that provide power to the illustrated subsystems from one or more external sources, batteries, etc.), media processing subsystems (e.g., audio/video processors, etc.), and/or input-output subsystems (keyboard, mouse, touch-sensitive display, etc.).
- computing device 100 does not include networking subsystem 106.
- the described embodiments can include any arrangement of subsystems that can perform the operations herein described.
- FIG. 2 presents an operating system 200 in accordance with the described embodiments.
- operating system 200 which is executed by processing subsystem 102, serves as an intermediary between hardware (e.g., subsystems 102-108) and software (e.g., applications, programs, drivers, and other software) in computing device 100 and applications executed by processing subsystem 102.
- Operating system 200 provides known interfaces and mechanisms (application program interfaces, etc.) that enable applications 202-206 to communicate with operating system 200 and the other applications to perform operations.
- Operating system 200 can be, but is not limited to, the iOS operating system from Apple Inc. of Cupertino, CA and/or another operating system. Aside from the operations herein described, operating systems and their general functions are known in the art and hence are not described in detail.
- Application 204 and application 206 are software programs that execute on computing device 100 (e.g., are executed by processing subsystem 102 using instructions and data from memory subsystem 104).
- applications 202-206 can be any applications that can perform portions of the mediated data exchange herein described.
- applications 202-206 are a word processing application, a media processing application (e.g., an image editing application for photographs and videos, etc.), and a social media application (e.g., an application for interacting with a social media website, etc.), respectively.
- Applications 202-206 are configured to interact with (i.e., generate, edit, interpret, display, and/or perform other operations on or with) various data, including files, streaming data, etc.
- application 204 may generate, edit, display, and/or perform other operations with media files such as image files (e.g., joint photographic experts group (JPEG), tagged image file format (TIF), bitmap image file (BMP), etc.), video files (QuickTime file format (MOV), audio video interleave (AVI), etc.), audio files (Advanced Audio Coding (AAC), MPEG-2 audio layer III (MP3), etc.), and/or other types of files.
- Application 206 may display and/or perform other operations with media files including some or all of the types of tiles described above, text files (text (TXT), etc.), rich text format files (RTF), and/or other types of files.
- applications 202-206 in some embodiments different types and/or numbers of applications may be present.
- applications such as a remote file system application, an office productivity application, etc. are executed by computing device 100 and perform some or all of the operations herein described (with or without applications 202-206).
- one or both of applications 204 and 206 are applications, daemons, utilities, routines, etc. (collectively, "utilities") included within operating system 200 (i.e., installed and executed as part of operating system 200, perhaps without a user manually executing the utility).
- applications 204 and 206 are utilities provided by operating system 200 for managing libraries on computing device 100 that contain files such as images, videos, documents, etc.
- broker application 300 interacts with the utilities provided by operating system 200 in a similar way to the herein-described interactions with applications 204 and 206.
- broker application 300 is not limited to interoperating with "third-party” applications such as user-installed applications, but can also interoperate with "first-party” utilities provided by operating system 200.
- FIG. 3 presents a block diagram illustrating broker application 300 and sandboxes 302 and 304 for applications 204 and 206, respectively, in accordance with some embodiments. Because applications 204 and 206 are sandboxed, applications 204 and 206 are permitted by operating system 200 to access only a limited set of resources in computing device 100 (e.g., certain portions of caches and memories in memory subsystem 104, etc.) and are prevented from accessing application data (e.g., files, streams, state data, etc.) other than their own data.
- application data e.g., files, streams, state data, etc.
- application 204 is permitted by operating system 200 to freely access (i.e., read from, write to, modify, delete, etc.) files and other data in data 306, but application 204 is blocked by operating system 200 from accessing any other application's data, including application 206's data 308.
- data 306 and data 308 are stored in areas in memory subsystem 104 (e.g., in caches and in a memory) that the corresponding application is permitted to access.
- Broker application 300 provides a mediated data exchange service for applications on computing device 100 (e.g., applications 202-206).
- a mediated data exchange is a three-entity operation that involves a sandboxed application (e.g., application 204) using broker application 300 as an intermediary for performing a data transfer between the sandboxed application and another application that may or may not be sandboxed (e.g., to import a file to or export a file from a sandboxed application to another application, etc.).
- broker application 300 In contrast to the sandboxed applications themselves, which are limited by operating system 200 to accessing only certain data and resources in computing device 100, broker application 300 has operating system permissions to freely access data for both sandboxed applications and non-sandboxed applications. In other words, broker application 300 can acquire files and other data (e.g., data 306 and 308) from sandboxed applications as well write data to sandboxed applications to enable the mediated data exchange. For example, broker application 300 can freely read and copy sandboxed application 204's files from directories for application 204 (i.e., from data 306) and can write files to application 206's directories (i.e., to data 308).
- data 306 and 308 e.g., data 306 and 308
- broker application 300 is a low-level application (e.g., a daemon, a background application, an operating system process, etc.) that is executed by processing subsystem 102 using instructions and data from memory subsystem 104.
- broker application 300 is started (i.e., processing subsystem 102 starts executing broker application 300) as part of a start-up process for computing device 100 and/or operating system 200.
- broker application 300 may accept and respond to messages from applications 204 and 206 (and other applications in computing device 100) as described in more detail below.
- both of applications 204 and 206 are shown as being sandboxed, in some embodiments, only one of the applications is sandboxed. However, embodiments in which only one of the applications is sandboxed perform similar operations to import and export data from an application's sandbox.
- FIG. 4 illustrates communications between application 204 and broker application 300 and between application 206 and broker application 300 during corresponding registration operations in accordance with some embodiments.
- the registration operation shown in FIG. 4 is performed to register each of application 204 and application 206 with broker application 300 to enable subsequent mediated data exchanges.
- the operations and communications shown in FIG. 4 are presented as a general example of functions performed by some embodiments.
- the operations and communications performed by other embodiments include different operations/communications and/or operations/communications that are performed in a different order.
- applications 204 and 206 are used in describing the process, in some embodiments, other applications perform at least some of the operations.
- messages which are generically referred to as "messages" -- are described.
- these messages may be exchanged between the indicated entities (e.g., application 204 and broker application 300, etc.) using any communication protocol acceptable to both entities.
- the entities use an inter-application messaging mechanism provided by operating system 200 that adheres to a corresponding communication protocol.
- the messages are formatted (e.g., with header, payload, etc.) in accordance with the communication protocol.
- Registration 402 generally includes information that enables broker application 300 to interact with application 204 during subsequent operations.
- the information in registration 402 includes one or more of: identifiers for application 204, file types supported by application 204, file converters provided by application 204, directory information for application 204, controls on types of mediated data exchanges permitted by application 204, and/or other information for or about application 204.
- the identifier for application 204 can include any identifier or combination of identifiers that enables broker application 300 to find and communicate with application 204, such as a file name for an executable, an operating system identifier for application 204, etc.
- the file types supported by application 204 includes a list of file types with which application 204 is configured to interact.
- each file type in the list of file types includes an indication of operations, e.g., edit, display, interpret, etc. that application 204 can perform on or for the file type.
- each file type in the list of file types includes an indication of whether application 204 can import and/or export files of the file type.
- the file converters provided by application 204 includes a list of file converters that may be used by application 204 to convert files from a first format to a second format (e.g., from one media format to another, etc.).
- the directory structure for application 204 includes one or more identifiers for directories used by application 204 for storing corresponding types of files (e.g., a working directory, a longer-term storage directory, etc.).
- the controls on the types of mediated data exchanges permitted by application 204 include an indication of whether import and/or export is permitted during a mediated data exchange, a maximum file size, conditions under which the mediated data exchange is impermissible (e.g., operating state, etc.), and/or other controls.
- registration 404 generally includes information that enables broker application 300 to interact with application 206 during subsequent operations.
- broker application 300 sends an acknowledgement message (not shown) to the registering application after receiving and processing the corresponding registration. Then, after the registration operation is complete, upon receiving a message initiating a mediated data exchange from an application, broker application 300 uses the information acquired from the corresponding registration to facilitate the mediated data exchange (as described in more detail below).
- FIG. 4 shows registration 402 and registration 404 in the same figure, these messages are not necessarily sent at the same time.
- the registration operation is performed (at which time the corresponding registration message is sent).
- the registration operation is performed as one or both of application 204 and application 206 are started for the first time on computing device 100.
- one or both of application 204 and application 206 may prompt the user to generally grant permission for the mediated data exchange and then (assuming the user grants permission) the registration operation is performed.
- one or more installation files for an application include some or all of the above-described information that enables broker application 300 to interact with application 204 during subsequent operations.
- operating system 200 upon installation of the application, reads the installation files and communicates the registration information to broker application 300.
- the communication of the information by operating system 200 to broker application 300 may occur as the application is installed and possibly without the application having been run (i.e., without the application sending registration messages to broker application 300).
- operating system 200 acquires the information about the application and stores the information (but may communicate some or none of the information to broker application 300 as the application is installed).
- broker application 300 may subsequently request the stored information from operating system 200.
- applications may perform one or more registration update operations after the initial registration operation.
- the application updates the above-described information that enables broker application 300 to interact with application 204 during subsequent operations. For example, if the application starts or stops supporting a given file type, starts or stops providing a given converter, etc., the application may perform a registration update to update broker application 300.
- FIG. 5 presents a block diagram illustrating communications between application 204, application 206, and broker application 300 during a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange shown in FIG. 5 is an export of data from application 204 to application 206. Note that the operations and communications shown in FIG. 5 are presented as a general example of functions performed by some embodiments. The operations and communications performed by other embodiments include different operations/communications and/or operations/communications that are performed in a different order. Additionally, although applications 204 and 206 are used in describing the process, in some embodiments, other applications perform at least some of the operations.
- application 204 is a media processing application and application 206 is a social media application.
- data to be exported during the export operation is a JPEG file (i.e., an image file) that was created in application 204 and that the JPEG file is to be uploaded to a social media website using application 206.
- JPEG file i.e., an image file
- this example is used for FIG. 5
- one or both of application 204 and 206 may be different types of application, and the mediated data exchange may be used to export different types of data from application 204 to application 206.
- application 204 is a word processing application and application 206 is a cloud file system application (i.e., an application that enables files to be stored to a server "in the cloud").
- a word processor document may be exported from the word processor application to the cloud file system application for storage in a server in the cloud.
- application 204 is an office productivity application (e.g., a spreadsheet application) and application 206 is a software fax machine application.
- a spreadsheet may be created in the office productivity application and exported to the fax machine application for faxing to a receiver. More generally, the described embodiments are operable with any two (or more) applications that can communicate with broker application 300 and export data.
- application 204 is sandboxed (as shown in FIG. 3 ), which means that operating system 200 permits application 204 to access only a limited set of resources in computing device 100 and prevents application 204 from directly accessing application data (e.g., files, etc.) other than application 204's own data.
- application data e.g., files, etc.
- application 204 would be unable to export the data to application 206.
- application 206 may or may not be sandboxed (the communications/operations for the mediated data exchange are similar).
- messages which are generically referred to as "messages" -- are described.
- these messages may be exchanged between the indicated entities (e.g., application 204 and broker application 300, etc.) using any communication protocol acceptable to both entities.
- the entities use an inter-application messaging mechanism provided by operating system 200 that adheres to a corresponding communication protocol.
- the messages are formatted (e.g., with header, payload, etc.) in accordance with the communication protocol.
- View 500 is an interactive graphical user interface for application 204 that provides the user with graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for interacting with application 204 (i.e., for controlling the operation of application 204). At least some of the graphical elements in view 500 include "export" graphical elements. These elements enable a user of computing device 100 to indicate that an export operation is to be performed to export specified data from application 204 to another application.
- input 502 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and is sent to application 204.
- display subsystem 108 or an input-output subsystem (not shown) of computing device 100
- input 502 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and is sent to application 204.
- display subsystem 108 or an input-output subsystem (not shown) of computing device 100
- the user activates the graphical elements in view 500 to indicate to application 204 that the JPEG file is to be exported, thereby causing a corresponding input 502 to be sent to application 204.
- application 204 Upon receiving input 502 and determining that the data (i.e., a JPEG) is to be exported, application 204 sends a message with request 504 to broker application 300 to start the mediated data exchange with broker application 300.
- request 504 identifies the type of mediated data exchange and identifies the data, along with possibly including other information about the export.
- request 504 identifies the mediated data exchange as an export and identifies the file as the JPEG.
- Request 504 may also indicate file formats into which the data may be converted by application 204 (although this information may have been or may also have been indicated in the above-described registration). For example, if application 204 can convert the JPEG file to a TIFF file, request 504 may indicate this capability of application 204.
- Broker application 300 analyzes request 504 to determine the type of mediated data exchange being requested by application 204 and the data to be exchanged. Upon determining from request 504 that a JPEG is to be exported from application 204, broker application 300 examines registration information from other applications in computing device 100 and determines that application 206 (and possibly other applications, e.g., application 202, etc.) either supports JPEGs directly, or one of application 204 or 206 provides a converter to convert JPEG to a file format that application 206 supports. For this example, it is assumed that application 206 supports JPEGs directly; otherwise a conversion operation may be performed by application 204 and/or application 206 during the mediated data exchange.
- Broker application 300 then sends list 506 display subsystem 108 to be displayed on a display for display subsystem 108 to enable the user to select an application to which the data is to be exported.
- List 506 includes a list of applications on computing device 100 (e.g., application 206, etc.) that support the type of data indicated in request 504.
- List 506 may be presented using an interactive graphical user interface on a display in display subsystem 108 along with, and perhaps overlapping portions of, view 500 from application 204 -- so that, from the user's perspective, it appears that list 506 is being presented by application 204 (the user may be unaware that broker application 300 is involved in the export of the data).
- the interactive graphical user interface in which list 506 is presented may include a list of applications and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the selection of an application from the list of applications which is presented so that the interactive graphical user interface for list 506 overlaps at least some of view 500 (view 500 may take up the entire display behind the interactive graphical user interface for list 506).
- FIG. 6 presents a block diagram illustrating the interactive graphical user interface for list 506 (shown simply as "list 506") presented on display 600 for computing device 100 in accordance with some embodiments. As can be seen in FIG. 6 , list 506 overlaps view 500 (which, as described above, would actually appear as an interface for application 204 -- but has been simplified to being shaded for FIG. 6 ).
- selection 508 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and a message with selection 508 is sent to broker application 300.
- display subsystem 108 or an input-output subsystem (not shown) of computing device 100
- selection 508 includes one or more identifiers for application 206.
- the interactive graphical user interface for list 506 is removed from display 600, leaving view 500 presented on the display screen of display subsystem without the interactive graphical user interface for list 506.
- broker application 300 determines that application 206 was selected by the user for exporting the data from application 204.
- Broker application 300 therefore generates request 510 and sends a message with request 510 to application 206 (which may involve at least partially starting/waking application 206 to receive the message with request 510).
- Request 510 includes an indication that the particular type of data (JPEG) is to be exported from application 204 to application 206, along with a request for a response from application 206 confirming that: (1) such an export is permissible to application 206 and possibly (2) information about particulars of export (e.g., a converter to be used, timing for export, a suggested directory for the export, etc.).
- JPEG particular type of data
- application 206 After analyzing request 510, application 206 sends a message with response 512 to broker application 300.
- Response 512 includes either a confirmation or a denial for proceeding with the export of the data from application 204 to application 206, along with other information (if any) about the export.
- response 512 includes a confirmation that the export is permissible to application 206 and no other information.
- application 206 could deny the export and/or could indicate a condition (e.g., a destination directory for outside application 206's sandbox, should application 206 be sandboxed) that broker application 300 is configured to deny.
- the mediated data exchange may be terminated, perhaps with a message sent to display subsystem 108 for display to the user indicating that the export of the data from application 204 has been terminated.
- View 514 is an interactive graphical user interface for application 206 that provides the user with various displays and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the operation of application 206.
- the graphical elements in view 514 enable a user of computing device 100 to indicate (via select, click, menu select, etc.) that the data from application 204 is to be exported from application 204 to application 206 in a given way (e.g., copied to a particular directory, etc.). Note that, although sent to broker application 300 (and eventually hosted in a frame presented by broker application 300), view 514 is presented and controlled by application 206.
- view 514 is an actual interface for application 206 and the graphical elements in view 514 directly control the operations of application 206.
- view 514 is a complete/normal view of application 206's user interface (e.g., the interface for application 206 that is presented when application 206 is started up), although a custom/limited view of application 206 may also be presented.
- broker application 300 Upon receiving response 512 with the confirmation and view 514, broker application 300 creates frame with view 516 (e.g., uses a graphics processing portion of operating system 200 to create a frame controlled by broker application 300 with view 514, which is presented and controlled by application 206, within the frame). Broker application 300 then sends frame with view 516 to display subsystem 108 to be displayed on a display for display subsystem 108. Display subsystem 108 presents frame with view 516 on the display in display subsystem 108 along with, and perhaps overlapping portions of, view 500 from application 204 - - so that, from the user's perspective, it appears that frame with view 516 is being presented by application 204 (again, the user may be unaware that broker application 300 is involved in the export of the data).
- frame with view 516 e.g., uses a graphics processing portion of operating system 200 to create a frame controlled by broker application 300 with view 514, which is presented and controlled by application 206, within the frame.
- Broker application 300 then sends frame with view 5
- FIG. 7 presents a block diagram illustrating frame with view 516 presented on display 700 for a computing device 100 in accordance with some embodiments.
- frame with view 516 (which would actually appear as an interactive graphical user interface for application 206 -- but has been simplified for FIG. 7 )
- overlaps view 500 (which would also actually appear as an interface for application 204 -- but has been simplified to being shaded).
- the frame is minimally visible in FIG. 7 (e.g., as a narrow dark perimeter around frame with view 516, etc.), and may be invisible/not displayed in some embodiments, thereby preserving the appearance that application 204 is performing the export of the data.
- the user can then activate graphical elements in view 514 as presented in frame with view 516 to generate input 518, which controls application 206, e.g., hover a mouse over a menu item and click to select, touch a touch-sensitive screen over a button, type in/select an identifier, etc.
- the user may activate various graphical elements in view 514 to cause display subsystem 108 to send input 518 to application 206 to command application 206 to take corresponding action.
- Configuration information 520 includes indications of how the data is to be exported from application 204 to application 206 that are to be used by broker application 300 when exporting the data.
- configuration information 520 may include a directory for application 206 into which the exported data is to be placed, an action to be taken with the exported data by application 206 (e.g., upload the JPEG file to a social media website), etc.
- broker application 300 Based on configuration information 520, broker application 300 generates request 522.
- Request 522 includes a request for application 204 to send data 524 (the JPEG) to broker application 300.
- Broker application 300 then sends a message with request 522 to application 204.
- application 204 Upon receiving request 522, application 204 responds by sending data 524 to broker application 300.
- "sending" data 524 to broker application 300 comprises application 204 simply acknowledging that the export of data 524 is still to be performed (e.g., remains permissible to application 204).
- Broker application 300 which has access permission for the data, then accesses data 524 wherever data 524 resides (e.g., in a directory for application 204).
- broker application 300 Upon receiving data 524 (or the above-described acknowledgement), broker application 300 copies data 524 (as data 526) to application 206 in the manner indicated in configuration information 520.
- broker application 300 can copy data 526 (recall, a JPEG file) to a social media website, can store data 526 in a directory for application 206, from where data 526 can be uploaded to the social media website by application 206, etc.
- broker application 300 closes frame with view 516 upon receiving an indication (e.g., a mouse hover over a close button in view 514 and a click to select, a finger press on an exit button in view 514, etc.) from the user that frame with view 516 should be closed.
- an indication e.g., a mouse hover over a close button in view 514 and a click to select, a finger press on an exit button in view 514, etc.
- frame with view 516 When frame with view 516 is closed, it leaves view 500 presented on the display screen of display subsystem without frame with view 516. Note, however, that, as long as frame with view is presented on the display of display subsystem 108, the user can interact with application 206 using any of the graphical elements, etc. in view 514. In other words, all the controls for application 206 function normally via view 514.
- broker application 300 may, because no file type has been specified, present, in list 506, a list of all applications to which application 204 can export data. The user may then select an application for the export from list 506 (again possibly without specifying the file, the file type, etc.). Based on the selected application, broker application 300 may communicate a list of acceptable file types to application 206 in request 510. The list may then be used by application 206 to filter/select and indicate, to the user, files that can be exported to application 206. Based on a user selection of the file that is to be exported, the file can be exported as described above.
- sandboxed application 204 is able to export data via broker application 300 to application 206.
- broker application 300 presents various interactive graphical interfaces to the user on the display, the user is not informed or shown that broker application 300 is being used during the export operation and the various interactive graphical interfaces that are presented appear to be spawned/generated by application 204, simplifying the user's experience during the export operation.
- FIG. 8 presents a block diagram illustrating communications between application 204, application 206, and broker application 300 during a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange shown in FIG. 8 is an import of data to application 204 from application 206. Note that the operations and communications shown in FIG. 8 are presented as a general example of functions performed by some embodiments. The operations and communications performed by other embodiments include different operations/communications and/or operations/communications that are performed in a different order. Additionally, although applications 204 and 206 are used in describing the process, in some embodiments, other applications perform at least some of the operations.
- application 204 is a media processing application and application 206 is a social media application.
- data to be imported during the import operation is a JPEG file (i.e., an image file) that is to be imported from a social media website using application 206 so that the JPEG file can be edited in application 204.
- JPEG file i.e., an image file
- application 204 and 206 may be different types of application, and the mediated data exchange may be used to import different types of data from application 204 to application 206.
- the described embodiments are operable with any two (or more) applications that can communicate with broker application 300 and import data.
- application 204 is sandboxed (as shown in FIG. 3 ), which means that operating system 200 permits application 204 to access only a limited set of resources in computing device 100 and prevents application 204 from directly accessing application data (e.g., files, etc.) other than application 204's own data.
- application data e.g., files, etc.
- application 204 would be unable to import the data from application 206.
- FIG. 8 although shown as sandboxed in FIG. 3 , application 206 may or may not be sandboxed (the communications/operations for the mediated data exchange are similar).
- messages which are generically referred to as "messages" -- are described.
- these messages may be exchanged between the indicated entities (e.g., application 204 and broker application 300, etc.) using any communication protocol acceptable to both entities.
- the entities use an inter-application messaging mechanism provided by operating system 200 that adheres to a corresponding communication protocol.
- the messages are formatted (e.g., with header, payload, etc.) in accordance with the communication protocol.
- View 800 is an interactive graphical user interface for application 204 that provides the user with graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for interacting with application 204 (i.e., for controlling the operations of application 204).
- graphical elements areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.
- At least some of the graphical elements in view 800 include "import" graphical elements. These elements enable a user of computing device 100 to indicate that an import operation is to be performed to import data from another application to application 204.
- input 802 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and is sent to application 204.
- display subsystem 108 or an input-output subsystem (not shown) of computing device 100
- input 802 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and is sent to application 204.
- display subsystem 108 or an input-output subsystem (not shown) of computing device 100
- the user activates the graphical elements in view 800 to indicate to application 204 that a JPEG file is to be imported, thereby causing a corresponding input 802 to be sent to application 204.
- application 206 Upon receiving input 802 and determining that the data (i.e., a JPEG) is to be imported, application 206 sends a message with request 804 to broker application 300 to start the mediated data exchange with broker application 300.
- request 804 identifies the type of mediated data exchange and identifies the data, along with possibly including other information about the import.
- request 804 identifies the mediated data exchange as an import and identifies the file as a JPEG.
- Request 804 may also indicate file formats from which the data may be converted into a JPEG by application 204 (although this information may have been or may also have been indicated in the above-described registration). For example, if application 204 can convert a TIFF file to a JPEG file, request 804 may indicate this capability of application 204.
- Broker application 300 analyzes request 804 to determine the type of mediated data exchange being requested by application 204 and the data to be exchanged. Upon determining from request 804 that a JPEG is to be imported to application 204, broker application 300 examines registration information from other applications in computing device 100 and determines that application 206 (and possibly other applications, e.g., application 202, etc.) either supports JPEGs directly, or one of application 204 or 206 provides a converter to convert a file format that application 206 supports to JPEG. For this example, it is assumed that application 206 supports JPEGs directly; otherwise a conversion operation may be performed by application 204 and/or application 206 during the mediated data exchange.
- Broker application 300 then sends list 806 display subsystem 108 to be displayed on a display for display subsystem 108 to enable the user to select an application from which the data is to be imported.
- List 806 includes a list of applications on computing device 100 (e.g., application 206, etc.) that support the type of data indicated in request 804.
- List 806 may be presented using an interactive graphical user interface on a display in display subsystem 108 along with, and perhaps overlapping portions of, view 800 from application 204 -- so that, from the user's perspective, it appears that list 806 is being presented by application 204 (the user may be unaware that broker application 300 is involved in the import of the data).
- the interactive graphical user interface in which list 806 is presented may include a list of applications and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the selection of an application from the list of applications which is presented so that the interactive graphical user interface for list 806 overlaps at least some of view 800 (view 800 may take up the entire display behind the interactive graphical user interface for list 806).
- view 800 may take up the entire display behind the interactive graphical user interface for list 806.
- selection 808 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and a message with selection 808 is sent to broker application 300.
- display subsystem 108 or an input-output subsystem (not shown) of computing device 100
- selection 808 includes one or more identifiers for application 206.
- the interactive graphical user interface for list 806 is removed from the display in display subsystem 108, leaving view 800 presented on the display screen of display subsystem without the interactive graphical user interface for list 806.
- broker application 300 determines that application 206 was selected by the user for importing the data to application 204.
- Broker application 300 therefore generates request 810 and sends a message with request 810 to application 206 (which may involve at least partially starting/waking application 206 to receive the message with request 810).
- Request 810 includes an indication that the particular type of data (JPEG) is to be imported from application 206 to application 204, along with a request for a response from application 206 confirming that: (1) such an import is permissible and possibly (2) information about particulars of the import (e.g., a converter to be used, timing for import, a suggested directory as a source for the data to be imported, etc.).
- JPEG particular type of data
- application 206 After analyzing request 810, application 206 sends a message with response 812 to broker application 300.
- Response 812 includes either a confirmation or a denial for proceeding with the import of the data from application 206 to application 204, along with other information (if any) about the import.
- response 812 includes a confirmation that the import is permissible to application 206 and no other information.
- application 206 could deny the import and/or could indicate a condition (e.g., a directory for import outside application 206's sandbox, should application 206 be sandboxed) that broker application 300 is configured to deny.
- the mediated data exchange may be terminated, perhaps with a message sent to display subsystem 108 for display to the user indicating that the import of the data to application 204 has been terminated.
- View 814 is an interactive graphical user interface for application 206 that provides the user with various displays and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the operation of application 206.
- the graphical elements in view 814 enable a user of computing device 100 to indicate (via select, click, menu select, etc.) that the data from application 206 is to be imported to application 204 in a given way (e.g., copied from a particular directory for application 206, etc.). Note that, although sent to broker application 300 (and eventually hosted in a frame presented by broker application 300), view 814 is presented and controlled by application 206.
- view 814 is an actual interface for application 206 and the graphical elements in view 814 directly control the operations of application 206.
- view 814 is a complete/normal view of application 206's user interface (e.g., the interface for application 206 that is presented when application 206 is started up), although a custom/limited view of application 206 may also be presented.
- broker application 300 Upon receiving response 812 with the confirmation and view 814, broker application 300 creates frame with view 816 (e.g., uses a graphics processing portion of operating system 200 to create a frame controlled by broker application 300 with view 814, which is presented and controlled by application 206, within the frame). Broker application 300 then sends frame with view 816 to display subsystem 108 to be displayed on a display for display subsystem 108. Display subsystem 108 presents frame with view 816 on the display in display subsystem 108 along with, and perhaps overlapping portions of, view 800 from application 204 - - so that, from the user's perspective, it appears that frame with view 816 is being presented by application 204 (again, the user may be unaware that broker application 300 is involved in the import of the data).
- frame with view 816 e.g., uses a graphics processing portion of operating system 200 to create a frame controlled by broker application 300 with view 814, which is presented and controlled by application 206, within the frame.
- Broker application 300 then sends frame with view 8
- the frame may not be visible to the user or may be only minimally visible to the user (e.g., may include minimal or no visible elements).
- the display appears similar to the display shown in FIG. 7 .
- the user can then activate graphical elements in view 814 as presented in frame with view 816 to generate input 818, which controls application 206, e.g., hover a mouse over a menu item and click to select, touch a touch-sensitive screen over a button, type in/select an identifier, etc.
- the user may activate various graphical elements in view 814 to cause display subsystem 108 to send input 818 to application 206 to command application 206 to take the corresponding action.
- Configuration information 820 includes indications of how the import of data from application 204 to application 206 is to be performed that are to be used by broker application 300 when performing the import of data into application 204.
- configuration information 820 may include a directory for application 206 from which the imported data is to be acquired, an action to be taken to acquire the data by application 206 (e.g., download the JPEG file from a social media website), etc.
- broker application 300 Based on configuration information 820, broker application 300 generates request 822.
- Request 822 includes a request for application 206 to send data 824 (the JPEG) to broker application 300.
- Broker application 300 then sends a message with request 822 to application 204.
- application 206 Upon receiving request 822, application 206 responds by sending data 824 to broker application 300.
- "sending" data 824 to broker application 300 comprises application 206 simply acknowledging that the import of data 824 from application 206 to application 204 is still to be performed (e.g., remains permissible to application 206).
- Broker application 300 which has access permission for the data, then accesses data 824 wherever data 824 resides (e.g., in a directory for application 206).
- broker application 300 Upon receiving data 824 (or the above-described acknowledgement), broker application 300 copies data 824 (as data 826) from application 206 to application 204 in the manner indicated in configuration information 820.
- broker application 300 can download data 824 (the JPEG) from a social media website, can acquire data 824 from a directory for application 206, from where data 826 can be copied into a designated directory for application 204, etc.
- broker application 300 closes frame with view 816 upon receiving an indication (e.g., a mouse hover over a close button in view 814 and a click to select, a finger press on an exit button in view 814, etc.) from the user that frame with view 816 should be closed.
- an indication e.g., a mouse hover over a close button in view 814 and a click to select, a finger press on an exit button in view 814, etc.
- frame with view 816 When frame with view 816 is closed, it leaves view 800 presented on the display screen of display subsystem without frame with view 816. Note, however, that, as long as frame with view is presented on the display of display subsystem 108, the user can interact with application 206 using any of the graphical elements, etc. in view 814. In other words, all the controls for application 206 function normally via view 814.
- broker application 300 may, because no file type has been specified, present, in list 806, a list of all applications from which application 204 can import data. The user may then select an application for the import from list 806 (again possibly without specifying the file, the file type, etc.). Based on the selected application, broker application 300 may communicate a list of acceptable file types to application 206 in request 810. The list may then be used by application 206 to filter/select and indicate, to the user, files that can be imported to application 206. Based on a user selection of the file that is to be imported, the file can be imported as described above.
- sandboxed application 204 is able to import data via broker application 300 from application 206. Also, as described above, when broker application 300 presents various interactive graphical interfaces to the user on the display, the user is not informed or shown that broker application 300 is being used during the import operation and the various interactive graphical interfaces that are presented appear to be spawned/generated by application 204, simplifying the user's experience during the import operation. In addition, both of applications 204 and 206 are unaware of the other application in this process; both applications communicate with broker application 300 to perform the operations described.
- FIG. 9 presents a flowchart illustrating a process for performing a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange in FIG. 9 is an export of data from a first sandboxed application to a second application, for which the second application may or may not be sandboxed. Note that the operations shown in FIG. 9 are presented as a general example of functions performed by some embodiments. The operations performed by other embodiments include different operations and/or operations that are performed in a different order. In addition, although certain mechanisms in computing device 100 are used in describing the operations in FIG. 9 , in some embodiments, other mechanisms can perform the operations.
- the process shown in FIG. 9 starts when broker application 300 receives a request from a first sandboxed application (e.g., application 204) to export data (e.g., a file, a stream of data, etc.) to a second application (e.g., application 206) (step 900).
- a first sandboxed application e.g., application 204
- export data e.g., a file, a stream of data, etc.
- the application can send a message with a request such as request 504 to broker application 300.
- Broker application 300 then communicates with the second application to acquire configuration information for the mediated data exchange (step 902). As described above, as part of this communication, broker application 300 requests that the second application confirm that it is permissible to proceed with the mediated data exchange and requests details about the mediated data exchange from the second application. For example, broker application 300 can receive an identifier of a destination directory for the data from the second application.
- broker application 300 presents a frame with a view of the second application (perhaps overlapping a view of the first application) on a display of computing device 100 to enable a user to interact with the second application for controlling some or all of the mediated data exchange. For instance, for controlling operations performed by the second application using the data that is being exported from the first application to the second application.
- broker application 300 presents an interactive graphical user interface with a list for selecting application 206 for the mediated data exchange. However, for clarity in describing the operations shown in FIG. 9 , these operations are not described.
- step 904 If the configuration information from the second application indicates that the mediated data exchange is not to proceed (step 904), the process ends. Note that, by performing this operation, broker application 300 provides the second application with the opportunity to deny the mediated data exchange.
- broker application 300 exports the data from the first application to the second application in accordance with the configuration information (step 906).
- broker application 300 receives the data from the first application and forwards the received data from broker application 300 to the second application.
- broker application 300 may copy the file to a local directory for broker application 300 and may then may write the file from the local directory to a directory for the second application.
- broker application 300 may copy the file from a directory for the first application to a directory for the second application.
- FIG. 10 presents a flowchart illustrating a process for performing a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange in FIG. 10 is an import of data to a first sandboxed application from a second application, for which the second application may or may not be sandboxed. Note that the operations shown in FIG. 10 are presented as a general example of functions performed by some embodiments. The operations performed by other embodiments include different operations and/or operations that are performed in a different order. In addition, although certain mechanisms in computing device 100 are used in describing the operations in FIG. 10 , in some embodiments, other mechanisms can perform the operations.
- the process shown in FIG. 10 starts when broker application 300 receives a request from a first sandboxed application (e.g., application 204) to import data (e.g., a file, a stream of data, etc.) from a second application (e.g., application 206) (step 1000).
- a first sandboxed application e.g., application 204
- import data e.g., a file, a stream of data, etc.
- the application can send a message with a request such as request 504 to broker application 300.
- Broker application 300 then communicates with the second application to acquire configuration information for the mediated data exchange (step 1002). As described above, as part of this communication, broker application 300 requests that the second application confirm that it is permissible to proceed with the mediated data exchange and requests details about the mediated data exchange from the second application. For example, broker application 300 can receive an identifier of a source directory for the data from the second application.
- broker application 300 presents a frame with a view of the second application (perhaps overlapping a view of the first application) on a display of computing device 100 to enable a user to interact with the second application for controlling some or all of the mediated data exchange. For instance, for controlling operations performed by the second application using the data that is being imported to the first application from the second application.
- broker application 300 presents an interactive graphical user interface with a list for selecting application 206 for the mediated data exchange. However, for clarity in describing the operations shown in FIG. 10 , these operations are not described.
- step 1004 If the configuration information from the second application indicates that the mediated data exchange is not to proceed (step 1004), the process ends. Note that, by performing this operation, broker application 300 provides the second application with the opportunity to deny the mediated data exchange.
- broker application 300 imports the data from the second application to the first application in accordance with the configuration information (step 1006).
- broker application 300 receives the data from the second application and forwards the received data from broker application 300 to the first application.
- broker application 300 may copy the file to a local directory for broker application 300 and may then may write the file from the local directory to a directory for the first application.
- broker application 300 may copy the file from a directory for the second application to a directory for the first application.
- broker application 300 and/or operating system 200 present views similar to the above-described views presented by applications (e.g., view 514 and view 814).
- applications e.g., view 514 and view 814.
- operating system 200 and/or broker application 300 may present views for the utilities (including for utilities that don't otherwise present views).
- operating system 200 (or one of the applications) can provide a library of generalized views that applications may select instead of presenting a view such as view 514 and/or 814.
- broker application 300 may keep one or more of the applications operable (i.e., not completely close or exit the application) for the duration of the import or export. This can include broker application 300 presenting indications of progress (e.g., progress bars, etc.) that are displayed by the application(s) and/or operating system 200.
- the applications are kept sufficiently operable to perform the transfer, but views for one or both of the application may no longer be presented on a display in display subsystem 108. Thus, one or both of the applications may run in the background while the import or export is completed. In these embodiments, if a user starts the application (e.g.
- broker application 300, operating system 200, and/or the application may present an indication that the import or export is in progress (e.g., present the above-described progress indicator).
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Description
- The described embodiments relate to computing devices. More specifically, the described embodiments relate to a mediated data exchange between sandboxed applications executing on a computing device.
- Some operating systems for computing devices support "sandboxing." Sandboxing is a technique that is used to prevent applications executing on a computing device from maliciously or mistakenly altering data (e.g., files) and/or misusing computational resources on the computing device. When "sandboxed," an application is permitted by the operating system to access only a limited set of resources in the computing device and is prevented from accessing data other than the application's own data. Thus, for example, in these computing devices, the application is allowed to freely access (i.e., read from, write to, delete, etc.) the application's own files, but the application is blocked by the operating system from accessing files belonging to other applications.
- Although sandboxing is useful for preventing applications from maliciously or mistakenly altering data and/or misusing computational resources on the computing device, sandboxing significantly limits interactions between applications. For example, although being able to create and/or modify its own files, a sandboxed application is unable to communicate those files to another application or to receive files from another application. Placing such limits on the interactions for sandboxed applications can frustrate users, who are accustomed to non-sandboxed applications that can communicate freely. To avoid frustrating users, designers have provided workarounds to enable sandboxed applications to interact with other applications. For example, designers have added customized program code to one or both of the sandboxed application and the other application, as well as the operating system, to enable rudimentary interactions between a given sandboxed application and one other application. However, existing workarounds require that application program code and/or operating system code be modified on a case-by-case basis to enable the workarounds.
- Further background information can be found in patent publication
US 2013/219176 A1 which relates to the transfer of data between sandboxed applications in a mobile device via a cloud-hosted service (Averail Cloud Content Exchange) that provides secure access from mobile devices to a shared access file system (the cloud-based secure virtual file management service). The SVFM system offers a common facility to secure virtual file system to mobile applications, via a lightweight SVFM library that is linked with each application, thereby enabling such applications running on a mobile device to hook into SVFM services for virtualized file system management and policy controlled access to files. -
-
FIG. 1 presents a block diagram illustrating a computing device in accordance with some embodiments. -
FIG. 2 presents an operating system and applications in accordance with the some embodiments. -
FIG. 3 presents a block diagram illustrating broker application and sandboxes for applications in accordance with some embodiments. -
FIG. 4 illustrates communications between applications and a broker application during corresponding registration operations in accordance with some embodiments. -
FIG. 5 presents a block diagram illustrating communications between applications and a broker application during a mediated data exchange in accordance with some embodiments. -
FIG. 6 presents a block diagram illustrating an interactive graphical user interface presented on a display for a computing device in accordance with some embodiments. -
FIG. 7 presents a block diagram illustrating a frame with a view presented on display for a computing device in accordance with some embodiments. -
FIG. 8 presents a block diagram illustrating communications between applications and a broker application during a mediated data exchange in accordance with some embodiments. -
FIG. 9 presents a flowchart illustrating a process for performing a mediated data exchange in accordance with some embodiments. -
FIG. 10 presents a flowchart illustrating a process for performing a mediated data exchange in accordance with some embodiments. - Throughout the figures and the description, like reference numerals refer to the same figure elements.
- The present invention is specified in the independent claims. Preferred embodiments are specified in the dependent claims. Embodiments which do not fall with the scope of the claims are not part of the invention. 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 scope of the described embodiments.
- In some embodiments, a computing device (e.g.,
computing device 100 inFIG. 1 ) 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 computing 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. - A computer-readable storage medium can be any device or medium or combination thereof that stores code and/or data for use by a computing device. For example, the computer-readable storage medium can include, but is not limited to, volatile memory or nonvolatile memory, including flash memory, random access memory (eDRAM, RAM, SRAM, DRAM, DDR, DDR2/DDR3/DDR4 SDRAM, etc.), read-only memory (ROM), 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 non-statutory computer-readable storage mediums such as transitory signals.
- 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/processor cores/central processing units (CPUs), application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), caches/cache controllers, embedded processors, graphics processors (GPUs)/graphics processor 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/microcode, etc.) to perform the operations.
- In some embodiments, a data structure representative of some or all of the structures and mechanisms described herein (e.g., some or all of computing device 100 (see
FIG. 1 )) is stored on a computer-readable storage medium that includes a database or other data structure which can be read by a computing device and used, directly or indirectly, to fabricate hardware comprising the structures and mechanisms. For example, the data structure may be a behavioral-level description or register-transfer level (RTL) description of the hardware functionality in a high level design language (HDL) such as Verilog or VHDL. The description may be read by a synthesis tool which may synthesize the description to produce a netlist comprising a list of gates/circuit elements from a synthesis library that represent the functionality of the hardware comprising the above-described structures and mechanisms. The netlist may then be placed and routed to produce a data set describing geometric shapes to be applied to masks. The masks may then be used in various semiconductor fabrication steps to produce a semiconductor circuit or circuits corresponding to the above-described structures and mechanisms. Alternatively, the database on the computer accessible storage medium may be the netlist (with or without the synthesis library) or the data set, as desired, or Graphic Data System (GDS) II data. - In the following description, functional blocks may be referred to in describing some embodiments. Generally, functional blocks include one or more interrelated circuits (e.g., logic circuits, memory circuits, control circuits, etc.) that perform the described operations. In some embodiments, the circuits in a functional block include circuits that execute program code (e.g., machine code, firmware, etc.) to perform the described operations.
- In the described embodiments, at least one application executes in a "sandbox" that is maintained for the application by an operating system on a computing device on which the application is executed. In these embodiments, a sandbox is generally a limitation in the data and resources on the computing device that are accessible by a sandboxed application. For example, in some embodiments, a sandboxed application (i.e., an application that is operating within the constraints of a sandbox) is limited to accessing the application's own data (e.g., files) and certain resources in the computing device (e.g., areas in a memory for the computing device, etc.) -- and thus is prevented from accessing files and/or resources outside the sandbox. The described embodiments include a broker application that enables a mediated data exchange between sandboxed applications and other applications operating on the computing device (including other sandboxed applications).
- To perform the mediated data exchange, in some embodiments, the broker application receives a communication from a sandboxed application indicating that the sandboxed application wishes to import or export data of a given type (e.g., text, a document file, an image/video file, a streamed file, etc.). The broker application then determines one or more other applications on the computing device that have registered with the broker as being able to handle data of that type. Next, the broker application communicates an identifier of available other applications (e.g., to a user via a display of computing device 100) and receives a response that indicates one of the other applications that is to participate in the import or export of the data. The broker then activates the other application and exchanges the data between the applications. For example, in the event that data is to be imported into the sandboxed application from another application, the broker application may request the data from the selected other application, receive the requested data, and forward the data to the sandboxed application. As another example, in the event that data is to be exported from the sandboxed application to another application, the sandboxed application may indicate the data to the broker and the broker may request a location (e.g., in a memory or in a directory in a file system) for placing the data from the selected other application and then may place the data in the location.
- In the described embodiments, during the mediated data exchange, the sandbox for the sandboxed application is maintained; the sandboxed application is not allowed direct access to data or resources outside the sandbox. Instead, the broker application (which has permissions within and outside the sandbox) receives communications from the sandboxed application and communicates on behalf of the sandboxed communication with the selected other application, including handling the exchange of data to and from the sandbox.
- As described above, in the described embodiments, the broker application performs mediated data exchanges for importing data to or exporting data from sandboxed applications on a computing device. Because the broker application has simplified and known interfaces, the described embodiments avoid the need for significant custom programming for the application and/or operating system to enable sandboxed applications to import or export data.
-
FIG. 1 presents a block diagram ofcomputing device 100 in accordance with the described embodiments. As can be seen inFIG. 1 ,computing device 100 includesprocessing subsystem 102,memory subsystem 104,networking subsystem 106, anddisplay subsystem 108. -
Processing subsystem 102 is a functional block that is configured to perform computational operations incomputing device 100. For example,processing subsystem 102 can include, but is not limited to, one or more processors and/or processor cores (e.g., central processing unit (CPU) cores, graphics processing unit (GPU) cores, etc.), application-specific integrated circuits (ASICs), microcontrollers, and/or programmable-logic devices. -
Memory subsystem 104 is a functional block that is configured to store data and/or instructions for use by processingsubsystem 102,networking subsystem 106, and/ordisplay subsystem 108. For example,memory subsystem 104 can include, but is not limited to, one or more of static random access memory (SRAM), embedded dynamic random access memory (eDRAM), DRAM, double data rate synchronous DRAM (DDR SDRAM), flash memory, and/or other types of memory circuits, along with circuits for controlling access to the memory. In some embodiments,memory subsystem 104 includes a memory hierarchy with an arrangement of one or more caches coupled to a memory forcomputing device 100. In some of these embodiments,processing subsystem 102 also includes one or more caches. In addition, in some embodiments,memory subsystem 104 is coupled to one or more high-capacity mass-storage devices (not shown). For example,memory subsystem 104 may be coupled to a magnetic or optical drive, a solid-state drive, and/or another type of mass-storage device. -
Networking subsystem 106 is a functional block configured to access, couple to, and communicate on one or more wired and/or wireless networks. For example,networking subsystem 106 can include, but is not limited to, a Bluetooth™ networking system, a cellular networking system (e.g., EDGE, UMTS, HSDPA, LTE, etc.), a universal serial bus (USB) networking system, a networking system based on the standards described in Institute for Electrical and Electronic Engineers (IEEE) 802.11 (i.e., an 802.11 wireless network), an Ethernet networking system, or a wired or wireless personal-area networking (PAN) system (e.g., a network based on the standards described in IEEE 802.15, etc.).Networking subsystem 106 includes controllers, radios/antennas for wireless network connections, sockets/plugs for hardwired electrical connections, and/or other devices used for coupling to, communicating on, and handling data and events on a wired and/or wireless network. -
Display subsystem 108 is a functional block configured to display information (e.g., user interfaces, graphics, etc.) on one or more interfaces (e.g., display screens, indicators, light-emitting diodes, etc.) ofcomputing device 100. For example,display subsystem 108 can include, but is not limited to, a touch-sensitive display screen and the circuits and mechanisms for displaying information on the display screen. - Within
computing device 100,processing subsystem 102,memory subsystem 104,networking subsystem 106, and display subsystem 108 (collectively, "the subsystems") are coupled together by bus 110. Bus 110 includes one or more signal lines, controllers, etc. that the subsystems can use to communicate with one another. For example, bus 110 can include one or more packet buses, dedicated signal lines, etc. -
Computing device 100 can be, or can be incorporated into, any of a number of different types of devices. Generally, these devices include any device that can perform the operations herein described. For example,computing device 100 can be, or can be incorporated into, a desktop computer, a laptop computer, a server, a media player, an appliance, a subnotebook/netbook, a tablet computer, a cellular phone, a piece of testing equipment, a network appliance, a set-top box, a personal digital assistant (PDA), a smart phone, a toy, a controller, or another device. - Although embodiments are described using a particular number and arrangement of subsystems, some embodiments include a different number and/or arrangement of subsystems. For example, some embodiments include two, four, or a different number of processing subsystems. As another example, in some embodiments,
computing device 100 includes additional subsystems. In these embodiments,computing device 100 can include, but is not limited to, one or more power subsystems (that provide power to the illustrated subsystems from one or more external sources, batteries, etc.), media processing subsystems (e.g., audio/video processors, etc.), and/or input-output subsystems (keyboard, mouse, touch-sensitive display, etc.). As another example, in some embodiments,computing device 100 does not includenetworking subsystem 106. Generally, the described embodiments can include any arrangement of subsystems that can perform the operations herein described. -
FIG. 2 presents anoperating system 200 in accordance with the described embodiments. Generally,operating system 200, which is executed by processingsubsystem 102, serves as an intermediary between hardware (e.g., subsystems 102-108) and software (e.g., applications, programs, drivers, and other software) incomputing device 100 and applications executed by processingsubsystem 102.Operating system 200 provides known interfaces and mechanisms (application program interfaces, etc.) that enable applications 202-206 to communicate withoperating system 200 and the other applications to perform operations.Operating system 200 can be, but is not limited to, the iOS operating system from Apple Inc. of Cupertino, CA and/or another operating system. Aside from the operations herein described, operating systems and their general functions are known in the art and hence are not described in detail. -
Application 204 andapplication 206 are software programs that execute on computing device 100 (e.g., are executed by processingsubsystem 102 using instructions and data from memory subsystem 104). In some embodiments, applications 202-206 can be any applications that can perform portions of the mediated data exchange herein described. However, in the examples herein, applications 202-206 are a word processing application, a media processing application (e.g., an image editing application for photographs and videos, etc.), and a social media application (e.g., an application for interacting with a social media website, etc.), respectively. - Applications 202-206 are configured to interact with (i.e., generate, edit, interpret, display, and/or perform other operations on or with) various data, including files, streaming data, etc. For example,
application 204 may generate, edit, display, and/or perform other operations with media files such as image files (e.g., joint photographic experts group (JPEG), tagged image file format (TIF), bitmap image file (BMP), etc.), video files (QuickTime file format (MOV), audio video interleave (AVI), etc.), audio files (Advanced Audio Coding (AAC), MPEG-2 audio layer III (MP3), etc.), and/or other types of files.Application 206 may display and/or perform other operations with media files including some or all of the types of tiles described above, text files (text (TXT), etc.), rich text format files (RTF), and/or other types of files. - Although embodiments are described using applications 202-206, in some embodiments different types and/or numbers of applications may be present. For example, in some embodiments, applications such as a remote file system application, an office productivity application, etc. are executed by computing
device 100 and perform some or all of the operations herein described (with or without applications 202-206). - In addition, although shown in
FIG. 3 separately from operatingsystem 200, in some embodiments, one or both ofapplications operating system 200, perhaps without a user manually executing the utility). For example, in some embodiments, one or both ofapplications operating system 200 for managing libraries oncomputing device 100 that contain files such as images, videos, documents, etc. In these embodiments,broker application 300 interacts with the utilities provided byoperating system 200 in a similar way to the herein-described interactions withapplications broker application 300 is not limited to interoperating with "third-party" applications such as user-installed applications, but can also interoperate with "first-party" utilities provided byoperating system 200. -
FIG. 3 presents a block diagram illustratingbroker application 300 andsandboxes applications applications applications system 200 to access only a limited set of resources in computing device 100 (e.g., certain portions of caches and memories inmemory subsystem 104, etc.) and are prevented from accessing application data (e.g., files, streams, state data, etc.) other than their own data. For example,application 204 is permitted by operatingsystem 200 to freely access (i.e., read from, write to, modify, delete, etc.) files and other data indata 306, butapplication 204 is blocked by operatingsystem 200 from accessing any other application's data, includingapplication 206'sdata 308. Note thatdata 306 anddata 308 are stored in areas in memory subsystem 104 (e.g., in caches and in a memory) that the corresponding application is permitted to access. -
Broker application 300 provides a mediated data exchange service for applications on computing device 100 (e.g., applications 202-206). Generally, a mediated data exchange is a three-entity operation that involves a sandboxed application (e.g., application 204) usingbroker application 300 as an intermediary for performing a data transfer between the sandboxed application and another application that may or may not be sandboxed (e.g., to import a file to or export a file from a sandboxed application to another application, etc.). In contrast to the sandboxed applications themselves, which are limited byoperating system 200 to accessing only certain data and resources incomputing device 100,broker application 300 has operating system permissions to freely access data for both sandboxed applications and non-sandboxed applications. In other words,broker application 300 can acquire files and other data (e.g.,data 306 and 308) from sandboxed applications as well write data to sandboxed applications to enable the mediated data exchange. For example,broker application 300 can freely read and copysandboxed application 204's files from directories for application 204 (i.e., from data 306) and can write files toapplication 206's directories (i.e., to data 308). - As shown in
FIG. 3 (by the relative closeness ofbroker application 300 tooperating system 200 in contrast toapplications 204 and 206), in some embodiments,broker application 300 is a low-level application (e.g., a daemon, a background application, an operating system process, etc.) that is executed by processingsubsystem 102 using instructions and data frommemory subsystem 104. In some embodiments,broker application 300 is started (i.e.,processing subsystem 102 starts executing broker application 300) as part of a start-up process forcomputing device 100 and/oroperating system 200. Upon being started,broker application 300 may accept and respond to messages fromapplications 204 and 206 (and other applications in computing device 100) as described in more detail below. - Although both of
applications -
FIG. 4 illustrates communications betweenapplication 204 andbroker application 300 and betweenapplication 206 andbroker application 300 during corresponding registration operations in accordance with some embodiments. The registration operation shown inFIG. 4 is performed to register each ofapplication 204 andapplication 206 withbroker application 300 to enable subsequent mediated data exchanges. Note that the operations and communications shown inFIG. 4 are presented as a general example of functions performed by some embodiments. The operations and communications performed by other embodiments include different operations/communications and/or operations/communications that are performed in a different order. Additionally, althoughapplications - In the example below, various communications -- which are generically referred to as "messages" -- are described. Generally, these messages may be exchanged between the indicated entities (e.g.,
application 204 andbroker application 300, etc.) using any communication protocol acceptable to both entities. For example, in some embodiments, the entities use an inter-application messaging mechanism provided byoperating system 200 that adheres to a corresponding communication protocol. The messages are formatted (e.g., with header, payload, etc.) in accordance with the communication protocol. - During a registration operation for
application 204,application 204 sends a message withregistration 402 tobroker application 300.Registration 402 generally includes information that enablesbroker application 300 to interact withapplication 204 during subsequent operations. For example, in some embodiments, the information inregistration 402 includes one or more of: identifiers forapplication 204, file types supported byapplication 204, file converters provided byapplication 204, directory information forapplication 204, controls on types of mediated data exchanges permitted byapplication 204, and/or other information for or aboutapplication 204. In some embodiments, the identifier forapplication 204 can include any identifier or combination of identifiers that enablesbroker application 300 to find and communicate withapplication 204, such as a file name for an executable, an operating system identifier forapplication 204, etc. In some embodiments, the file types supported byapplication 204 includes a list of file types with whichapplication 204 is configured to interact. In some of these embodiments, each file type in the list of file types includes an indication of operations, e.g., edit, display, interpret, etc. thatapplication 204 can perform on or for the file type. In addition, in some embodiments, each file type in the list of file types includes an indication of whetherapplication 204 can import and/or export files of the file type. In some embodiments, the file converters provided byapplication 204 includes a list of file converters that may be used byapplication 204 to convert files from a first format to a second format (e.g., from one media format to another, etc.). In some embodiments, the directory structure forapplication 204 includes one or more identifiers for directories used byapplication 204 for storing corresponding types of files (e.g., a working directory, a longer-term storage directory, etc.). In some embodiments, the controls on the types of mediated data exchanges permitted byapplication 204 include an indication of whether import and/or export is permitted during a mediated data exchange, a maximum file size, conditions under which the mediated data exchange is impermissible (e.g., operating state, etc.), and/or other controls. - In addition, during a registration operation for
application 206,application 206 sends a message withregistration 404 tobroker application 300. As described above,registration 404 generally includes information that enablesbroker application 300 to interact withapplication 206 during subsequent operations. - In some embodiments,
broker application 300 sends an acknowledgement message (not shown) to the registering application after receiving and processing the corresponding registration. Then, after the registration operation is complete, upon receiving a message initiating a mediated data exchange from an application,broker application 300 uses the information acquired from the corresponding registration to facilitate the mediated data exchange (as described in more detail below). - Although
FIG. 4 showsregistration 402 andregistration 404 in the same figure, these messages are not necessarily sent at the same time. For example, in some embodiments, as each of one or both ofapplication 204 andapplication 206 are installed oncomputing device 100, the registration operation is performed (at which time the corresponding registration message is sent). As another example, in some embodiments, as one or both ofapplication 204 andapplication 206 are started for the first time oncomputing device 100, the registration operation is performed. As yet another example, in some embodiments, as a user performs an operation that may lead to a mediated data exchange, one or both ofapplication 204 andapplication 206 may prompt the user to generally grant permission for the mediated data exchange and then (assuming the user grants permission) the registration operation is performed. - As described above, although a registration process is illustrated in
FIG. 4 , In some embodiments, a different registration process is used. For example, in some embodiments, a "passive" registration process is used. In some of these embodiments, for passive registration, one or more installation files for an application include some or all of the above-described information that enablesbroker application 300 to interact withapplication 204 during subsequent operations. In some of these embodiments,operating system 200, upon installation of the application, reads the installation files and communicates the registration information tobroker application 300. In these embodiments, the communication of the information byoperating system 200 tobroker application 300 may occur as the application is installed and possibly without the application having been run (i.e., without the application sending registration messages to broker application 300). In some of these embodiments,operating system 200 acquires the information about the application and stores the information (but may communicate some or none of the information tobroker application 300 as the application is installed). In these embodiments,broker application 300 may subsequently request the stored information fromoperating system 200. - In some embodiments, applications (e.g.,
application 204 and/or 206) may perform one or more registration update operations after the initial registration operation. During a registration update operation, the application updates the above-described information that enablesbroker application 300 to interact withapplication 204 during subsequent operations. For example, if the application starts or stops supporting a given file type, starts or stops providing a given converter, etc., the application may perform a registration update to updatebroker application 300. -
FIG. 5 presents a block diagram illustrating communications betweenapplication 204,application 206, andbroker application 300 during a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange shown inFIG. 5 is an export of data fromapplication 204 toapplication 206. Note that the operations and communications shown inFIG. 5 are presented as a general example of functions performed by some embodiments. The operations and communications performed by other embodiments include different operations/communications and/or operations/communications that are performed in a different order. Additionally, althoughapplications - For the example shown in
FIG. 5 , it is assumed thatapplication 204 is a media processing application andapplication 206 is a social media application. It is also assumed that the data to be exported during the export operation is a JPEG file (i.e., an image file) that was created inapplication 204 and that the JPEG file is to be uploaded to a social mediawebsite using application 206. Although this example is used forFIG. 5 , in other embodiments, one or both ofapplication application 204 toapplication 206. For example, in some embodiments,application 204 is a word processing application andapplication 206 is a cloud file system application (i.e., an application that enables files to be stored to a server "in the cloud"). In these embodiments, a word processor document may be exported from the word processor application to the cloud file system application for storage in a server in the cloud. As another example, in some embodiments,application 204 is an office productivity application (e.g., a spreadsheet application) andapplication 206 is a software fax machine application. In these embodiments, a spreadsheet may be created in the office productivity application and exported to the fax machine application for faxing to a receiver. More generally, the described embodiments are operable with any two (or more) applications that can communicate withbroker application 300 and export data. - For the example in
FIG. 5 , it is further assumed thatapplication 204 is sandboxed (as shown inFIG. 3 ), which means thatoperating system 200permits application 204 to access only a limited set of resources incomputing device 100 and preventsapplication 204 from directly accessing application data (e.g., files, etc.) other thanapplication 204's own data. In other words, withoutbroker application 300 functioning as an intermediary as described below,application 204 would be unable to export the data toapplication 206. For the operations shown inFIG. 5 , although shown as sandboxed inFIG. 3 ,application 206 may or may not be sandboxed (the communications/operations for the mediated data exchange are similar). - In the example below, various communications -- which are generically referred to as "messages" -- are described. Generally, these messages may be exchanged between the indicated entities (e.g.,
application 204 andbroker application 300, etc.) using any communication protocol acceptable to both entities. For example, in some embodiments, the entities use an inter-application messaging mechanism provided byoperating system 200 that adheres to a corresponding communication protocol. The messages are formatted (e.g., with header, payload, etc.) in accordance with the communication protocol. - The communications shown in
FIG. 5 start whenapplication 204 sendsview 500 todisplay subsystem 108. View 500 is an interactive graphical user interface forapplication 204 that provides the user with graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for interacting with application 204 (i.e., for controlling the operation of application 204). At least some of the graphical elements inview 500 include "export" graphical elements. These elements enable a user ofcomputing device 100 to indicate that an export operation is to be performed to export specified data fromapplication 204 to another application. When the user activates the graphical elements, e.g., hovers a mouse over an export menu item and clicks to select, touches a touch-sensitive screen over an export button, types in/selects a data identifier, etc.,input 502 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and is sent toapplication 204. For this example, it is assumed that the user activates the graphical elements inview 500 to indicate toapplication 204 that the JPEG file is to be exported, thereby causing acorresponding input 502 to be sent toapplication 204. - Upon receiving
input 502 and determining that the data (i.e., a JPEG) is to be exported,application 204 sends a message withrequest 504 tobroker application 300 to start the mediated data exchange withbroker application 300. Generally,request 504 identifies the type of mediated data exchange and identifies the data, along with possibly including other information about the export. Thus, as described above,request 504 identifies the mediated data exchange as an export and identifies the file as the JPEG.Request 504 may also indicate file formats into which the data may be converted by application 204 (although this information may have been or may also have been indicated in the above-described registration). For example, ifapplication 204 can convert the JPEG file to a TIFF file,request 504 may indicate this capability ofapplication 204. -
Broker application 300 analyzesrequest 504 to determine the type of mediated data exchange being requested byapplication 204 and the data to be exchanged. Upon determining fromrequest 504 that a JPEG is to be exported fromapplication 204,broker application 300 examines registration information from other applications incomputing device 100 and determines that application 206 (and possibly other applications, e.g.,application 202, etc.) either supports JPEGs directly, or one ofapplication application 206 supports. For this example, it is assumed thatapplication 206 supports JPEGs directly; otherwise a conversion operation may be performed byapplication 204 and/orapplication 206 during the mediated data exchange. -
Broker application 300 then sendslist 506display subsystem 108 to be displayed on a display fordisplay subsystem 108 to enable the user to select an application to which the data is to be exported.List 506 includes a list of applications on computing device 100 (e.g.,application 206, etc.) that support the type of data indicated inrequest 504.List 506 may be presented using an interactive graphical user interface on a display indisplay subsystem 108 along with, and perhaps overlapping portions of, view 500 fromapplication 204 -- so that, from the user's perspective, it appears thatlist 506 is being presented by application 204 (the user may be unaware thatbroker application 300 is involved in the export of the data). For example, the interactive graphical user interface in which list 506 is presented may include a list of applications and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the selection of an application from the list of applications which is presented so that the interactive graphical user interface forlist 506 overlaps at least some of view 500 (view 500 may take up the entire display behind the interactive graphical user interface for list 506).FIG. 6 presents a block diagram illustrating the interactive graphical user interface for list 506 (shown simply as "list 506") presented ondisplay 600 forcomputing device 100 in accordance with some embodiments. As can be seen inFIG. 6 ,list 506 overlaps view 500 (which, as described above, would actually appear as an interface forapplication 204 -- but has been simplified to being shaded forFIG. 6 ). - When the user activates the graphical elements for
list 506 to select an application to which the data is to be exported, e.g., hovers a mouse over an application identifier and clicks to select, touches a touch-sensitive screen over an application identifier, types in/selects an application identifier, etc.,selection 508 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and a message withselection 508 is sent tobroker application 300. For this example, it is assumed that the user selected to export the data toapplication 206 and thusselection 508 includes one or more identifiers forapplication 206. After the user makes the selection, the interactive graphical user interface forlist 506 is removed fromdisplay 600, leavingview 500 presented on the display screen of display subsystem without the interactive graphical user interface forlist 506. - Upon receiving
selection 508,broker application 300 determines thatapplication 206 was selected by the user for exporting the data fromapplication 204.Broker application 300 therefore generatesrequest 510 and sends a message withrequest 510 to application 206 (which may involve at least partially starting/wakingapplication 206 to receive the message with request 510).Request 510 includes an indication that the particular type of data (JPEG) is to be exported fromapplication 204 toapplication 206, along with a request for a response fromapplication 206 confirming that: (1) such an export is permissible toapplication 206 and possibly (2) information about particulars of export (e.g., a converter to be used, timing for export, a suggested directory for the export, etc.). - After analyzing
request 510,application 206 sends a message withresponse 512 tobroker application 300.Response 512 includes either a confirmation or a denial for proceeding with the export of the data fromapplication 204 toapplication 206, along with other information (if any) about the export. For this example, it is assumed thatresponse 512 includes a confirmation that the export is permissible toapplication 206 and no other information. It is possible, however, that, inresponse 512,application 206 could deny the export and/or could indicate a condition (e.g., a destination directory foroutside application 206's sandbox, shouldapplication 206 be sandboxed) thatbroker application 300 is configured to deny. In this case, the mediated data exchange may be terminated, perhaps with a message sent to displaysubsystem 108 for display to the user indicating that the export of the data fromapplication 204 has been terminated. - Along with
response 512,application 206 sendsview 514 tobroker application 300. View 514 is an interactive graphical user interface forapplication 206 that provides the user with various displays and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the operation ofapplication 206. The graphical elements inview 514 enable a user ofcomputing device 100 to indicate (via select, click, menu select, etc.) that the data fromapplication 204 is to be exported fromapplication 204 toapplication 206 in a given way (e.g., copied to a particular directory, etc.). Note that, although sent to broker application 300 (and eventually hosted in a frame presented by broker application 300),view 514 is presented and controlled byapplication 206. In other words, view 514 is an actual interface forapplication 206 and the graphical elements inview 514 directly control the operations ofapplication 206. In some embodiments,view 514 is a complete/normal view ofapplication 206's user interface (e.g., the interface forapplication 206 that is presented whenapplication 206 is started up), although a custom/limited view ofapplication 206 may also be presented. - Upon receiving
response 512 with the confirmation andview 514,broker application 300 creates frame with view 516 (e.g., uses a graphics processing portion ofoperating system 200 to create a frame controlled bybroker application 300 withview 514, which is presented and controlled byapplication 206, within the frame).Broker application 300 then sends frame withview 516 todisplay subsystem 108 to be displayed on a display fordisplay subsystem 108.Display subsystem 108 presents frame withview 516 on the display indisplay subsystem 108 along with, and perhaps overlapping portions of, view 500 from application 204 - - so that, from the user's perspective, it appears that frame withview 516 is being presented by application 204 (again, the user may be unaware thatbroker application 300 is involved in the export of the data). Note that the frame may not be visible to the user or may be only minimally visible to the user (e.g., may include minimal or no visible elements).FIG. 7 presents a block diagram illustrating frame withview 516 presented ondisplay 700 for acomputing device 100 in accordance with some embodiments. As can be seen inFIG. 7 , frame with view 516 (which would actually appear as an interactive graphical user interface forapplication 206 -- but has been simplified forFIG. 7 ), overlaps view 500 (which would also actually appear as an interface forapplication 204 -- but has been simplified to being shaded). Note that the frame is minimally visible inFIG. 7 (e.g., as a narrow dark perimeter around frame withview 516, etc.), and may be invisible/not displayed in some embodiments, thereby preserving the appearance thatapplication 204 is performing the export of the data. - The user can then activate graphical elements in
view 514 as presented in frame withview 516 to generateinput 518, which controlsapplication 206, e.g., hover a mouse over a menu item and click to select, touch a touch-sensitive screen over a button, type in/select an identifier, etc. For example, assuming that the user wanted to upload the above-described JPEG to a social media website, the user may activate various graphical elements inview 514 to causedisplay subsystem 108 to sendinput 518 toapplication 206 to commandapplication 206 to take corresponding action. - Based on the command in
input 518,application 206 generates configuration information 520. Configuration information 520 includes indications of how the data is to be exported fromapplication 204 toapplication 206 that are to be used bybroker application 300 when exporting the data. For example, configuration information 520 may include a directory forapplication 206 into which the exported data is to be placed, an action to be taken with the exported data by application 206 (e.g., upload the JPEG file to a social media website), etc. - Based on configuration information 520,
broker application 300 generatesrequest 522.Request 522 includes a request forapplication 204 to send data 524 (the JPEG) tobroker application 300.Broker application 300 then sends a message withrequest 522 toapplication 204. Upon receivingrequest 522,application 204 responds by sendingdata 524 tobroker application 300. Note thatapplication 204 sends the data to brokerapplication 300, and does not directly communicate data toapplication 206 -- such a communication would be prevented by operatingsystem 200 due to the sandboxing ofapplication 204. In some embodiments, "sending"data 524 tobroker application 300 comprisesapplication 204 simply acknowledging that the export ofdata 524 is still to be performed (e.g., remains permissible to application 204).Broker application 300, which has access permission for the data, then accessesdata 524 whereverdata 524 resides (e.g., in a directory for application 204). - Upon receiving data 524 (or the above-described acknowledgement),
broker application 300 copies data 524 (as data 526) toapplication 206 in the manner indicated in configuration information 520. For example,broker application 300 can copy data 526 (recall, a JPEG file) to a social media website, can storedata 526 in a directory forapplication 206, from wheredata 526 can be uploaded to the social media website byapplication 206, etc. - In some embodiments,
broker application 300 closes frame withview 516 upon receiving an indication (e.g., a mouse hover over a close button inview 514 and a click to select, a finger press on an exit button inview 514, etc.) from the user that frame withview 516 should be closed. When frame withview 516 is closed, it leavesview 500 presented on the display screen of display subsystem without frame withview 516. Note, however, that, as long as frame with view is presented on the display ofdisplay subsystem 108, the user can interact withapplication 206 using any of the graphical elements, etc. inview 514. In other words, all the controls forapplication 206 function normally viaview 514. - Note that, although a user is described above as activating graphical elements in
view 500 to indicate toapplication 204 that a particular type of file is to be exported (the JPEG file), in some embodiments, the user may simply and generally indicate that a file is to be exported without specifying the type of file and/or otherwise identifying the file. In these embodiments, the operations shown above are similar, except thatbroker application 300 may, because no file type has been specified, present, inlist 506, a list of all applications to whichapplication 204 can export data. The user may then select an application for the export from list 506 (again possibly without specifying the file, the file type, etc.). Based on the selected application,broker application 300 may communicate a list of acceptable file types toapplication 206 inrequest 510. The list may then be used byapplication 206 to filter/select and indicate, to the user, files that can be exported toapplication 206. Based on a user selection of the file that is to be exported, the file can be exported as described above. - Using the described operations,
sandboxed application 204 is able to export data viabroker application 300 toapplication 206. In addition, as described above, whenbroker application 300 presents various interactive graphical interfaces to the user on the display, the user is not informed or shown thatbroker application 300 is being used during the export operation and the various interactive graphical interfaces that are presented appear to be spawned/generated byapplication 204, simplifying the user's experience during the export operation. -
FIG. 8 presents a block diagram illustrating communications betweenapplication 204,application 206, andbroker application 300 during a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange shown inFIG. 8 is an import of data toapplication 204 fromapplication 206. Note that the operations and communications shown inFIG. 8 are presented as a general example of functions performed by some embodiments. The operations and communications performed by other embodiments include different operations/communications and/or operations/communications that are performed in a different order. Additionally, althoughapplications - For the example shown in
FIG. 8 , it is assumed thatapplication 204 is a media processing application andapplication 206 is a social media application. It is also assumed that the data to be imported during the import operation is a JPEG file (i.e., an image file) that is to be imported from a social mediawebsite using application 206 so that the JPEG file can be edited inapplication 204. As described above (forFIG. 5 ), although this example is used forFIG. 8 , in other embodiments, one or both ofapplication application 204 toapplication 206. Generally, the described embodiments are operable with any two (or more) applications that can communicate withbroker application 300 and import data. - For the example in
FIG. 8 , it is further assumed thatapplication 204 is sandboxed (as shown inFIG. 3 ), which means thatoperating system 200permits application 204 to access only a limited set of resources incomputing device 100 and preventsapplication 204 from directly accessing application data (e.g., files, etc.) other thanapplication 204's own data. In other words, withoutbroker application 300 functioning as an intermediary as described below,application 204 would be unable to import the data fromapplication 206. For the operations shown inFIG. 8 , although shown as sandboxed inFIG. 3 ,application 206 may or may not be sandboxed (the communications/operations for the mediated data exchange are similar). - In the example below, various communications -- which are generically referred to as "messages" -- are described. Generally, these messages may be exchanged between the indicated entities (e.g.,
application 204 andbroker application 300, etc.) using any communication protocol acceptable to both entities. For example, in some embodiments, the entities use an inter-application messaging mechanism provided byoperating system 200 that adheres to a corresponding communication protocol. The messages are formatted (e.g., with header, payload, etc.) in accordance with the communication protocol. - The communications shown in
FIG. 8 start whenapplication 204 sendsview 800 todisplay subsystem 108. View 800 is an interactive graphical user interface forapplication 204 that provides the user with graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for interacting with application 204 (i.e., for controlling the operations of application 204). At least some of the graphical elements inview 800 include "import" graphical elements. These elements enable a user ofcomputing device 100 to indicate that an import operation is to be performed to import data from another application toapplication 204. When the user activates the graphical elements, e.g., hovers a mouse over an import menu item and clicks to select, touches a touch-sensitive screen over an import button, types in/selects a data identifier, etc.,input 802 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and is sent toapplication 204. For this example, it is assumed that the user activates the graphical elements inview 800 to indicate toapplication 204 that a JPEG file is to be imported, thereby causing acorresponding input 802 to be sent toapplication 204. - Upon receiving
input 802 and determining that the data (i.e., a JPEG) is to be imported,application 206 sends a message withrequest 804 tobroker application 300 to start the mediated data exchange withbroker application 300. Generally,request 804 identifies the type of mediated data exchange and identifies the data, along with possibly including other information about the import. Thus, as described above,request 804 identifies the mediated data exchange as an import and identifies the file as a JPEG.Request 804 may also indicate file formats from which the data may be converted into a JPEG by application 204 (although this information may have been or may also have been indicated in the above-described registration). For example, ifapplication 204 can convert a TIFF file to a JPEG file,request 804 may indicate this capability ofapplication 204. -
Broker application 300 analyzesrequest 804 to determine the type of mediated data exchange being requested byapplication 204 and the data to be exchanged. Upon determining fromrequest 804 that a JPEG is to be imported toapplication 204,broker application 300 examines registration information from other applications incomputing device 100 and determines that application 206 (and possibly other applications, e.g.,application 202, etc.) either supports JPEGs directly, or one ofapplication application 206 supports to JPEG. For this example, it is assumed thatapplication 206 supports JPEGs directly; otherwise a conversion operation may be performed byapplication 204 and/orapplication 206 during the mediated data exchange. -
Broker application 300 then sendslist 806display subsystem 108 to be displayed on a display fordisplay subsystem 108 to enable the user to select an application from which the data is to be imported.List 806 includes a list of applications on computing device 100 (e.g.,application 206, etc.) that support the type of data indicated inrequest 804.List 806 may be presented using an interactive graphical user interface on a display indisplay subsystem 108 along with, and perhaps overlapping portions of, view 800 fromapplication 204 -- so that, from the user's perspective, it appears thatlist 806 is being presented by application 204 (the user may be unaware thatbroker application 300 is involved in the import of the data). For example, the interactive graphical user interface in which list 806 is presented may include a list of applications and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the selection of an application from the list of applications which is presented so that the interactive graphical user interface forlist 806 overlaps at least some of view 800 (view 800 may take up the entire display behind the interactive graphical user interface for list 806). Although a figure is not presented for this operation, in some embodiments, the display oncomputing device 100 appears similar to the display shown inFIG. 6 . - When the user activates the graphical elements for
list 806 to select an application from which the data is to be imported, e.g., hovers a mouse over an application identifier and clicks to select, touches a touch-sensitive screen over an application identifier, types in/selects an application identifier, etc.,selection 808 is generated by display subsystem 108 (or an input-output subsystem (not shown) of computing device 100) and a message withselection 808 is sent tobroker application 300. For this example, it is assumed that the user selected to import the data fromapplication 206 and thusselection 808 includes one or more identifiers forapplication 206. After the user makes the selection, the interactive graphical user interface forlist 806 is removed from the display indisplay subsystem 108, leavingview 800 presented on the display screen of display subsystem without the interactive graphical user interface forlist 806. - Upon receiving
selection 808,broker application 300 determines thatapplication 206 was selected by the user for importing the data toapplication 204.Broker application 300 therefore generatesrequest 810 and sends a message withrequest 810 to application 206 (which may involve at least partially starting/wakingapplication 206 to receive the message with request 810).Request 810 includes an indication that the particular type of data (JPEG) is to be imported fromapplication 206 toapplication 204, along with a request for a response fromapplication 206 confirming that: (1) such an import is permissible and possibly (2) information about particulars of the import (e.g., a converter to be used, timing for import, a suggested directory as a source for the data to be imported, etc.). - After analyzing
request 810,application 206 sends a message withresponse 812 tobroker application 300.Response 812 includes either a confirmation or a denial for proceeding with the import of the data fromapplication 206 toapplication 204, along with other information (if any) about the import. For this example, it is assumed thatresponse 812 includes a confirmation that the import is permissible toapplication 206 and no other information. It is possible, however, that, inresponse 812,application 206 could deny the import and/or could indicate a condition (e.g., a directory for import outsideapplication 206's sandbox, shouldapplication 206 be sandboxed) thatbroker application 300 is configured to deny. In this case, the mediated data exchange may be terminated, perhaps with a message sent to displaysubsystem 108 for display to the user indicating that the import of the data toapplication 204 has been terminated. - Along with
response 812,application 206 sendsview 814 tobroker application 300. View 814 is an interactive graphical user interface forapplication 206 that provides the user with various displays and graphical elements (areas of text and/or graphics, buttons, menus, sliders, scrollbars, etc.) for controlling the operation ofapplication 206. The graphical elements inview 814 enable a user ofcomputing device 100 to indicate (via select, click, menu select, etc.) that the data fromapplication 206 is to be imported toapplication 204 in a given way (e.g., copied from a particular directory forapplication 206, etc.). Note that, although sent to broker application 300 (and eventually hosted in a frame presented by broker application 300),view 814 is presented and controlled byapplication 206. In other words, view 814 is an actual interface forapplication 206 and the graphical elements inview 814 directly control the operations ofapplication 206. In some embodiments,view 814 is a complete/normal view ofapplication 206's user interface (e.g., the interface forapplication 206 that is presented whenapplication 206 is started up), although a custom/limited view ofapplication 206 may also be presented. - Upon receiving
response 812 with the confirmation andview 814,broker application 300 creates frame with view 816 (e.g., uses a graphics processing portion ofoperating system 200 to create a frame controlled bybroker application 300 withview 814, which is presented and controlled byapplication 206, within the frame).Broker application 300 then sends frame withview 816 todisplay subsystem 108 to be displayed on a display fordisplay subsystem 108.Display subsystem 108 presents frame withview 816 on the display indisplay subsystem 108 along with, and perhaps overlapping portions of, view 800 from application 204 - - so that, from the user's perspective, it appears that frame withview 816 is being presented by application 204 (again, the user may be unaware thatbroker application 300 is involved in the import of the data). Note that the frame may not be visible to the user or may be only minimally visible to the user (e.g., may include minimal or no visible elements). Although a figure is not presented for this operation, in some embodiments, the display appears similar to the display shown inFIG. 7 . - The user can then activate graphical elements in
view 814 as presented in frame withview 816 to generateinput 818, which controlsapplication 206, e.g., hover a mouse over a menu item and click to select, touch a touch-sensitive screen over a button, type in/select an identifier, etc. For example, assuming that the user wanted to download the above-described JPEG from a social media website, the user may activate various graphical elements inview 814 to causedisplay subsystem 108 to sendinput 818 toapplication 206 to commandapplication 206 to take the corresponding action. - Based on the command in
input 818,application 206 generates configuration information 820. Configuration information 820 includes indications of how the import of data fromapplication 204 toapplication 206 is to be performed that are to be used bybroker application 300 when performing the import of data intoapplication 204. For example, configuration information 820 may include a directory forapplication 206 from which the imported data is to be acquired, an action to be taken to acquire the data by application 206 (e.g., download the JPEG file from a social media website), etc. - Based on configuration information 820,
broker application 300 generatesrequest 822.Request 822 includes a request forapplication 206 to send data 824 (the JPEG) tobroker application 300.Broker application 300 then sends a message withrequest 822 toapplication 204. Upon receivingrequest 822,application 206 responds by sendingdata 824 tobroker application 300. Note thatapplication 206 sends the data to brokerapplication 300, and does not directly communicate data toapplication 204 -- such a communication would be prevented by operatingsystem 200 due to the sandboxing ofapplication 204. In some embodiments, "sending"data 824 tobroker application 300 comprisesapplication 206 simply acknowledging that the import ofdata 824 fromapplication 206 toapplication 204 is still to be performed (e.g., remains permissible to application 206).Broker application 300, which has access permission for the data, then accessesdata 824 whereverdata 824 resides (e.g., in a directory for application 206). - Upon receiving data 824 (or the above-described acknowledgement),
broker application 300 copies data 824 (as data 826) fromapplication 206 toapplication 204 in the manner indicated in configuration information 820. For example,broker application 300 can download data 824 (the JPEG) from a social media website, can acquiredata 824 from a directory forapplication 206, from wheredata 826 can be copied into a designated directory forapplication 204, etc. - In some embodiments,
broker application 300 closes frame withview 816 upon receiving an indication (e.g., a mouse hover over a close button inview 814 and a click to select, a finger press on an exit button inview 814, etc.) from the user that frame withview 816 should be closed. When frame withview 816 is closed, it leavesview 800 presented on the display screen of display subsystem without frame withview 816. Note, however, that, as long as frame with view is presented on the display ofdisplay subsystem 108, the user can interact withapplication 206 using any of the graphical elements, etc. inview 814. In other words, all the controls forapplication 206 function normally viaview 814. - Note that, although a user is described above as activating graphical elements in
view 800 to indicate toapplication 204 that a particular type of file is to be imported (the JPEG file), in some embodiments, the user may simply and generally indicate that a file is to be imported without specifying the type of file and/or otherwise identifying the file. In these embodiments, the operations shown above are similar, except thatbroker application 300 may, because no file type has been specified, present, inlist 806, a list of all applications from whichapplication 204 can import data. The user may then select an application for the import from list 806 (again possibly without specifying the file, the file type, etc.). Based on the selected application,broker application 300 may communicate a list of acceptable file types toapplication 206 inrequest 810. The list may then be used byapplication 206 to filter/select and indicate, to the user, files that can be imported toapplication 206. Based on a user selection of the file that is to be imported, the file can be imported as described above. - Using the described operations,
sandboxed application 204 is able to import data viabroker application 300 fromapplication 206. Also, as described above, whenbroker application 300 presents various interactive graphical interfaces to the user on the display, the user is not informed or shown thatbroker application 300 is being used during the import operation and the various interactive graphical interfaces that are presented appear to be spawned/generated byapplication 204, simplifying the user's experience during the import operation. In addition, both ofapplications broker application 300 to perform the operations described. -
FIG. 9 presents a flowchart illustrating a process for performing a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange inFIG. 9 is an export of data from a first sandboxed application to a second application, for which the second application may or may not be sandboxed. Note that the operations shown inFIG. 9 are presented as a general example of functions performed by some embodiments. The operations performed by other embodiments include different operations and/or operations that are performed in a different order. In addition, although certain mechanisms incomputing device 100 are used in describing the operations inFIG. 9 , in some embodiments, other mechanisms can perform the operations. - The process shown in
FIG. 9 starts whenbroker application 300 receives a request from a first sandboxed application (e.g., application 204) to export data (e.g., a file, a stream of data, etc.) to a second application (e.g., application 206) (step 900). For example, the application can send a message with a request such asrequest 504 tobroker application 300. -
Broker application 300 then communicates with the second application to acquire configuration information for the mediated data exchange (step 902). As described above, as part of this communication,broker application 300 requests that the second application confirm that it is permissible to proceed with the mediated data exchange and requests details about the mediated data exchange from the second application. For example,broker application 300 can receive an identifier of a destination directory for the data from the second application. - As described above, in some embodiments, various interactive graphical user interfaces are presented on a display of
computing device 100 to enable a user to initiate and control the mediated data exchange. For example, in some embodiments,broker application 300 presents a frame with a view of the second application (perhaps overlapping a view of the first application) on a display ofcomputing device 100 to enable a user to interact with the second application for controlling some or all of the mediated data exchange. For instance, for controlling operations performed by the second application using the data that is being exported from the first application to the second application. As another example, in some embodiments,broker application 300 presents an interactive graphical user interface with a list for selectingapplication 206 for the mediated data exchange. However, for clarity in describing the operations shown inFIG. 9 , these operations are not described. - If the configuration information from the second application indicates that the mediated data exchange is not to proceed (step 904), the process ends. Note that, by performing this operation,
broker application 300 provides the second application with the opportunity to deny the mediated data exchange. - Otherwise, if the configuration information from the second application indicates that the mediated data exchange is to proceed (step 904),
broker application 300 exports the data from the first application to the second application in accordance with the configuration information (step 906). As described above, when exporting data from the first application to the second application,broker application 300 receives the data from the first application and forwards the received data frombroker application 300 to the second application. For example, when the data is a file,broker application 300 may copy the file to a local directory forbroker application 300 and may then may write the file from the local directory to a directory for the second application. As another example, when the data is a file,broker application 300 may copy the file from a directory for the first application to a directory for the second application. -
FIG. 10 presents a flowchart illustrating a process for performing a mediated data exchange in accordance with some embodiments. More specifically, the mediated data exchange inFIG. 10 is an import of data to a first sandboxed application from a second application, for which the second application may or may not be sandboxed. Note that the operations shown inFIG. 10 are presented as a general example of functions performed by some embodiments. The operations performed by other embodiments include different operations and/or operations that are performed in a different order. In addition, although certain mechanisms incomputing device 100 are used in describing the operations inFIG. 10 , in some embodiments, other mechanisms can perform the operations. - The process shown in
FIG. 10 starts whenbroker application 300 receives a request from a first sandboxed application (e.g., application 204) to import data (e.g., a file, a stream of data, etc.) from a second application (e.g., application 206) (step 1000). For example, the application can send a message with a request such asrequest 504 tobroker application 300. -
Broker application 300 then communicates with the second application to acquire configuration information for the mediated data exchange (step 1002). As described above, as part of this communication,broker application 300 requests that the second application confirm that it is permissible to proceed with the mediated data exchange and requests details about the mediated data exchange from the second application. For example,broker application 300 can receive an identifier of a source directory for the data from the second application. - As described above, in some embodiments, various interactive graphical user interfaces are presented on a display of
computing device 100 to enable a user to initiate and control the mediated data exchange. For example, in some embodiments,broker application 300 presents a frame with a view of the second application (perhaps overlapping a view of the first application) on a display ofcomputing device 100 to enable a user to interact with the second application for controlling some or all of the mediated data exchange. For instance, for controlling operations performed by the second application using the data that is being imported to the first application from the second application. As another example, in some embodiments,broker application 300 presents an interactive graphical user interface with a list for selectingapplication 206 for the mediated data exchange. However, for clarity in describing the operations shown inFIG. 10 , these operations are not described. - If the configuration information from the second application indicates that the mediated data exchange is not to proceed (step 1004), the process ends. Note that, by performing this operation,
broker application 300 provides the second application with the opportunity to deny the mediated data exchange. - Otherwise, if the configuration information from the second application indicates that the mediated data exchange is to proceed (step 1004),
broker application 300 imports the data from the second application to the first application in accordance with the configuration information (step 1006). As described above, when importing data to the second application from the first application,broker application 300 receives the data from the second application and forwards the received data frombroker application 300 to the first application. For example, when the data is a file,broker application 300 may copy the file to a local directory forbroker application 300 and may then may write the file from the local directory to a directory for the first application. As another example, when the data is a file,broker application 300 may copy the file from a directory for the second application to a directory for the first application. - In some embodiments,
broker application 300 and/oroperating system 200 present views similar to the above-described views presented by applications (e.g.,view 514 and view 814). For example, in embodiments where utilities are provided by operating system 200 (e.g., for accessing files such as media files, etc. in operating system libraries),operating system 200 and/orbroker application 300 may present views for the utilities (including for utilities that don't otherwise present views). As another example, in some embodiments, operating system 200 (or one of the applications) can provide a library of generalized views that applications may select instead of presenting a view such asview 514 and/or 814. - In some embodiments, when importing and exporting files from applications,
broker application 300 may keep one or more of the applications operable (i.e., not completely close or exit the application) for the duration of the import or export. This can includebroker application 300 presenting indications of progress (e.g., progress bars, etc.) that are displayed by the application(s) and/oroperating system 200. In some embodiments, the applications are kept sufficiently operable to perform the transfer, but views for one or both of the application may no longer be presented on a display indisplay subsystem 108. Thus, one or both of the applications may run in the background while the import or export is completed. In these embodiments, if a user starts the application (e.g. click-selects an icon in the display that starts the application, etc.) while the import or export is in progress,broker application 300,operating system 200, and/or the application may present an indication that the import or export is in progress (e.g., present the above-described progress indicator). - 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 (13)
- A method for operating a computing device in which a processing subsystem executes a first application in a first sandbox that prevents direct access by the first application to data and resources in the computing device that are outside the first sandbox and prevents direct access by a second application to data and resources within the first sandbox, comprising:
in the processing subsystem, performing operations for a broker application, the broker application being permitted access to the data and resources in the first sandbox, the operations comprising:communicating with the second application to acquire configuration information for a mediated data exchange from the second application;determining whether the second application has denied the mediated data exchange between the first application and the second application in the computing device based on a control set by the second application;in response to determining that the second application has not denied the mediated data exchange, performing the mediated data exchange between the first application and the second application in the computing device based on the control, the mediated data exchange comprising, when importing data from the second application to the first application, receiving the data from the second application in the broker application and forwarding the received data from the broker application to the first application within the first sandbox; andin response to determining that the second application has denied the mediated data exchange, terminating the mediated data exchange. - The method of claim 1, wherein performing the mediated data exchange comprises: in the broker application,
receiving, from the first application, a request to exchange data of a given type with another application; presenting, on a display coupled to the computing device, an identifier of one or more other applications that are configured to exchange data of the given type; and
receiving an indication of one of the other applications with which the mediated data exchange is to be performed, the indicated one of the other applications being the second application. - The method of claim 2,
wherein receiving, from the first application, the request to exchange data of the given type with another application comprises receiving, from the first application, an identification of one or more additional data types to which the first application can convert data of the given type; and
wherein presenting, on the display coupled to the computing device, the identifier of one or more other applications that are configured to exchange data of the given type comprises presenting identifiers of other applications that are configured to exchange data of the one or more additional data types to which the first application can convert the data of the given type. - The method of claim 2, further comprising:
in the broker application,
receiving registrations from one or more other applications in the computing device, the registrations comprising type identifiers that identify one or more data types supported by the other applications; and
creating a record of the one or more other applications and the data types supported by the one or more other applications, the record being used to determine the one or more other applications that are configured to exchange data of the given type. - The method of claim 1, wherein performing the mediated data exchange comprises:
in the broker application,
presenting, on a display coupled to the computing device, a frame, wherein a view of the second application is hosted within the frame by the broker application, the view of the second application comprising at least one element that enables control of an aspect of the mediated data exchange. - The method of claim 5, wherein presenting the frame operated by the broker application with the view of the second application within the frame comprises:
in the broker application,
requesting the view of the second application from the second application; and
receiving the view of the second application from the second application. - The method of claim 1, wherein the mediated data exchange further comprises:
when exporting data from the first application to the second application, receiving the data from the first application within the first sandbox in the broker application and forwarding the received data from the broker application to the second application. - The method of claim 1, wherein the second application is executed in a second sandbox that is different than the first sandbox and that prevents direct access by the second application to data and resources in the computing device that are outside the second sandbox.
- A computing device in which a first application is executed in a first sandbox that prevents direct access by the first application to data and resources in the computing device that are outside the first sandbox and prevents direct access by a second application to data and resources within the first sandbox, comprising:a processing subsystem;wherein the processing subsystem is configured to perform operations for a broker application, the broker application being permitted access to the data and resources in the first sandbox, the operations comprising:communicating with the second application to acquire configuration information for a mediated data exchange from the second application;determining whether the second application has denied the mediated data exchange between the first application and the second application in the computing device based on a control set by the second application;in response to determining that the second application has not denied the mediated data exchange, performing the mediated data exchange between the first application and the second application in the computing device based on the control, the mediated data exchange comprising, when importing data from the second application to the first application, receiving data from the second application in the broker application and forwarding the received data from the broker application to the first application within the first sandbox; andin response to determining that the second application has denied the mediated data exchange, terminating the mediated data exchange.
- The computing device of claim 9, wherein the computing device comprises:a display subsystem coupled to the processing subsystem, the display subsystem comprising a display;wherein, when performing operations for the broker application, the processing subsystem is further configured to:receive, from the first application, a request to exchange data of a given type with another application;present, on the display, an identifier of one or more other applications that are configured to exchange data of the given type; andreceive an indication of one of the other applications with which the mediated data exchange is to be performed, the indicated one of the other applications being the second application.
- The computing device of claim 9, further comprising: a display subsystem coupled to the processing subsystem, the display subsystem comprising a display; wherein, when performing operations for the broker application, the processing subsystem is further configured to:
present, on the display coupled to the computing device, a frame, wherein a view of the second application is hosted within the frame by the broker application, the view of the second application comprising at least one element that enables control of an aspect of the mediated data exchange. - The computing device of claim 9, wherein, when performing operations for the broker application, the processing subsystem is further configured to:
when exporting data from the first application to the second application, receive the data from the first application within the first sandbox in the broker application and forward the received data from the broker application to the second application. - The computing device of claim 9, wherein the control comprises at least one of a property of the data and an operating property of the computing device rendering the mediated data exchange impermissible.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/025,696 US9473562B2 (en) | 2013-09-12 | 2013-09-12 | Mediated data exchange for sandboxed applications |
PCT/US2014/045398 WO2015038225A1 (en) | 2013-09-12 | 2014-07-03 | Mediated data exchange for sandboxed applications |
Publications (2)
Publication Number | Publication Date |
---|---|
EP3039538A1 EP3039538A1 (en) | 2016-07-06 |
EP3039538B1 true EP3039538B1 (en) | 2019-04-17 |
Family
ID=51211915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP14741771.1A Active EP3039538B1 (en) | 2013-09-12 | 2014-07-03 | Mediated data exchange for sandboxed applications |
Country Status (6)
Country | Link |
---|---|
US (2) | US9473562B2 (en) |
EP (1) | EP3039538B1 (en) |
KR (1) | KR101788492B1 (en) |
CN (1) | CN105556469B (en) |
TW (2) | TWI579766B (en) |
WO (1) | WO2015038225A1 (en) |
Families Citing this family (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9003517B2 (en) * | 2009-10-28 | 2015-04-07 | Microsoft Technology Licensing, Llc | Isolation and presentation of untrusted data |
US8819586B2 (en) * | 2011-05-27 | 2014-08-26 | Microsoft Corporation | File access with different file hosts |
US9529657B2 (en) | 2014-02-07 | 2016-12-27 | Oracle International Corporation | Techniques for generating diagnostic identifiers to trace events and identifying related diagnostic information |
US9529658B2 (en) | 2014-02-07 | 2016-12-27 | Oracle International Corporation | Techniques for generating diagnostic identifiers to trace request messages and identifying related diagnostic information |
EP3103239B1 (en) | 2014-02-07 | 2023-10-11 | Oracle International Corporation | Cloud service custom execution environment |
SG11201605659SA (en) * | 2014-02-07 | 2016-08-30 | Oracle Int Corp | Mobile cloud service architecture |
SG11201605786SA (en) | 2014-03-31 | 2016-10-28 | Oracle Int Corp | Infrastructure for synchronization of mobile device with mobile cloud service |
US9811393B2 (en) | 2014-05-29 | 2017-11-07 | Apple Inc. | Consistent extension points to allow an extension to extend functionality of an application to another application |
US10063661B2 (en) | 2015-01-14 | 2018-08-28 | Oracle International Corporation | Multi-tenant cloud-based queuing systems |
US9575740B2 (en) * | 2015-01-21 | 2017-02-21 | Samsung Electronics Co., Ltd. | Apparatus and method for running multiple instances of a same application in mobile devices |
CN106326321B (en) * | 2015-07-10 | 2022-01-28 | 中兴通讯股份有限公司 | Big data exchange method and device |
US9891970B2 (en) * | 2015-09-03 | 2018-02-13 | Facebook, Inc. | Techniques to share application data through a messaging system |
WO2017052109A1 (en) * | 2015-09-22 | 2017-03-30 | Samsung Electronics Co., Ltd. | Screen grab method in electronic device |
US10223400B2 (en) | 2015-12-17 | 2019-03-05 | Facebook, Inc. | Techniques to configure media packages |
GB201604362D0 (en) * | 2016-03-15 | 2016-04-27 | Tangentix Ltd | Computer system and method for sandboxed applications |
EP3436935A1 (en) | 2016-03-28 | 2019-02-06 | Oracle International Corporation | Pre-formed instructions for a mobile cloud service |
US10574672B2 (en) * | 2016-07-01 | 2020-02-25 | Mcafee, Llc | System and method to detect bypass of a sandbox application |
US10171468B2 (en) | 2016-08-23 | 2019-01-01 | International Business Machines Corporation | Selective processing of application permissions |
CN106815525B (en) * | 2016-12-13 | 2020-03-31 | 北京元心科技有限公司 | Data transmission method and device |
US11366789B2 (en) | 2017-06-29 | 2022-06-21 | Microsoft Technology Licensing, Llc | Content access |
CN110019437A (en) * | 2017-07-18 | 2019-07-16 | 北京京东尚科信息技术有限公司 | A kind of method and system exporting data |
CN110574033B (en) * | 2017-08-22 | 2023-07-25 | 谷歌有限责任公司 | Remote procedure call to reduce multimedia content delivery |
CN110083465B (en) * | 2019-04-26 | 2021-08-17 | 上海连尚网络科技有限公司 | Data transmission method between boarded applications |
CN110309628B (en) * | 2019-05-24 | 2021-06-01 | 北京指掌易科技有限公司 | Method for safely sharing application of mobile terminal |
US11704356B2 (en) * | 2019-09-06 | 2023-07-18 | Dropbox, Inc. | Restoring integrity of a social media thread from a social network export |
CN111522575B (en) * | 2020-04-15 | 2023-11-24 | 维沃移动通信有限公司 | Application program upgrading method and electronic equipment |
CN112434284B (en) * | 2020-10-29 | 2022-05-17 | 格物钛(上海)智能科技有限公司 | Machine learning training platform implementation based on sandbox environment |
Family Cites Families (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8102317B2 (en) * | 2001-02-02 | 2012-01-24 | Trueposition, Inc. | Location identification using broadcast wireless signal signatures |
US7209898B2 (en) | 2002-09-30 | 2007-04-24 | Sap Aktiengesellschaft | XML instrumentation interface for tree-based monitoring architecture |
US8200775B2 (en) | 2005-02-01 | 2012-06-12 | Newsilike Media Group, Inc | Enhanced syndication |
US7685598B1 (en) * | 2003-12-23 | 2010-03-23 | The Weather Channel, Inc. | Desktop application framework |
JP2007036387A (en) | 2005-07-22 | 2007-02-08 | Star Micronics Co Ltd | Microphone array |
US8474054B2 (en) * | 2007-06-26 | 2013-06-25 | Digital Keystone, Inc. | Systems and methods for conditional access and digital rights management |
US20090049380A1 (en) | 2007-08-16 | 2009-02-19 | Joshua Allen Rehling | Page Modules and States |
US20090222765A1 (en) | 2008-02-29 | 2009-09-03 | Sony Ericsson Mobile Communications Ab | Adaptive thumbnail scrollbar |
WO2010019683A2 (en) * | 2008-08-12 | 2010-02-18 | Whetsel Robert C | Trusted client-centric application architecture |
US20100146523A1 (en) * | 2008-12-05 | 2010-06-10 | Tripod Ventures Inc./ Entreprises Tripod Inc. | Browser environment application and local file server application system |
US9003517B2 (en) * | 2009-10-28 | 2015-04-07 | Microsoft Technology Licensing, Llc | Isolation and presentation of untrusted data |
US8631482B2 (en) * | 2010-05-28 | 2014-01-14 | Apple Inc. | Method for managing computer resources accessed by a program operating in a restricted environment |
EP2405337B1 (en) | 2010-07-06 | 2015-09-16 | HTC Corporation | Method for presenting human machine interface, handheld device using the same, and computer readable medium therefor |
US8438640B1 (en) * | 2010-12-21 | 2013-05-07 | Adobe Systems Incorporated | Method and apparatus for reverse patching of application programming interface calls in a sandbox environment |
WO2012106655A2 (en) * | 2011-02-05 | 2012-08-09 | Visa International Service Association | Merchant-consumer bridging platform apparatuses, methods and systems |
US20120284702A1 (en) * | 2011-05-02 | 2012-11-08 | Microsoft Corporation | Binding applications to device capabilities |
US20120304283A1 (en) * | 2011-05-27 | 2012-11-29 | Microsoft Corporation | Brokered item access for isolated applications |
US8819586B2 (en) * | 2011-05-27 | 2014-08-26 | Microsoft Corporation | File access with different file hosts |
US20120331411A1 (en) * | 2011-06-22 | 2012-12-27 | Apple Inc. | Cross process accessibility |
US20130179414A1 (en) * | 2012-01-06 | 2013-07-11 | Microsoft Corporation | Mechanisms for connecting files between applications |
US8863299B2 (en) | 2012-01-06 | 2014-10-14 | Mobile Iron, Inc. | Secure virtual file management system |
US9032303B2 (en) * | 2012-02-28 | 2015-05-12 | Microsoft Technology Licensing, Llc | Web-based interaction with a local system |
US8832847B2 (en) * | 2012-07-10 | 2014-09-09 | International Business Machines Corporation | Coordinating data sharing among applications in mobile devices |
US9117087B2 (en) * | 2012-09-06 | 2015-08-25 | Box, Inc. | System and method for creating a secure channel for inter-application communication based on intents |
US20140089379A1 (en) * | 2012-09-24 | 2014-03-27 | Appsense Limited | Systems and methods for collaborative mobile device applications |
US20140096213A1 (en) * | 2012-09-28 | 2014-04-03 | Kevin Quan | Method and system for distributed credential usage for android based and other restricted environment devices |
-
2013
- 2013-09-12 US US14/025,696 patent/US9473562B2/en active Active
-
2014
- 2014-07-03 EP EP14741771.1A patent/EP3039538B1/en active Active
- 2014-07-03 KR KR1020167009216A patent/KR101788492B1/en active IP Right Grant
- 2014-07-03 WO PCT/US2014/045398 patent/WO2015038225A1/en active Application Filing
- 2014-07-03 CN CN201480050038.8A patent/CN105556469B/en active Active
- 2014-09-11 TW TW105120208A patent/TWI579766B/en active
- 2014-09-11 TW TW103131434A patent/TWI553556B/en active
-
2016
- 2016-10-14 US US15/294,300 patent/US9898355B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
TW201636835A (en) | 2016-10-16 |
EP3039538A1 (en) | 2016-07-06 |
US9898355B2 (en) | 2018-02-20 |
US20150074165A1 (en) | 2015-03-12 |
TW201528140A (en) | 2015-07-16 |
US9473562B2 (en) | 2016-10-18 |
CN105556469A (en) | 2016-05-04 |
TWI579766B (en) | 2017-04-21 |
KR20160052717A (en) | 2016-05-12 |
US20170102975A1 (en) | 2017-04-13 |
TWI553556B (en) | 2016-10-11 |
WO2015038225A1 (en) | 2015-03-19 |
KR101788492B1 (en) | 2017-10-19 |
CN105556469B (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9898355B2 (en) | Mediated data exchange for sandboxed applications | |
JP6796194B2 (en) | Kernel event trigger | |
US9858052B2 (en) | Decentralized operating system | |
KR101942818B1 (en) | Codeless sharing of spreadsheet objects | |
CN109074286B (en) | Control of applications using system resources | |
TW200945096A (en) | Secure browser-based applications | |
US9002808B1 (en) | Using a web application as the default handler of local content | |
US10146413B2 (en) | Method and apparatus for displaying screen in electronic devices | |
US20130227085A1 (en) | Terminal and method for using cloud services | |
CN107258072B (en) | Method and system for managing conversation content of chat software and recording medium | |
KR102516696B1 (en) | Third-party access of end-user device assets | |
CN106254551A (en) | The document transmission method of a kind of dual system and mobile terminal | |
US20150242076A1 (en) | Method of editing one or more objects and apparatus for same | |
KR20150141073A (en) | Method and Electronic Device for operating screen | |
KR20200091917A (en) | Resource processing method and system, storage medium, electronic device | |
WO2014067368A1 (en) | Method, apparatus and device for obtaining resource preview image | |
US20150242370A1 (en) | Method and apparatus for processing data | |
US10313978B2 (en) | Electronic apparatus and control method thereof | |
WO2024046184A1 (en) | File management and application management method, and electronic device | |
JP2021047601A (en) | Information processing device and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20160331 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
DAX | Request for extension of the european patent (deleted) | ||
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
17Q | First examination report despatched |
Effective date: 20170801 |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: APPLE INC. |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: GRANT OF PATENT IS INTENDED |
|
INTG | Intention to grant announced |
Effective date: 20181108 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE PATENT HAS BEEN GRANTED |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: EP |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R096 Ref document number: 602014044903 Country of ref document: DE |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: REF Ref document number: 1122320 Country of ref document: AT Kind code of ref document: T Effective date: 20190515 Ref country code: IE Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: NL Ref legal event code: MP Effective date: 20190417 |
|
REG | Reference to a national code |
Ref country code: LT Ref legal event code: MG4D |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: NL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: PT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190817 Ref country code: AL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: FI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: LT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: HR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: NO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190717 Ref country code: SE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: ES Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LV Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: PL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: BG Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190717 Ref country code: GR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190718 Ref country code: RS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: MK05 Ref document number: 1122320 Country of ref document: AT Kind code of ref document: T Effective date: 20190417 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190817 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R097 Ref document number: 602014044903 Country of ref document: DE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: RO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: CZ Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: AT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: EE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: DK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: SK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MC Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: SM Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: IT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: PL |
|
26N | No opposition filed |
Effective date: 20200120 |
|
GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 20190717 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: TR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
REG | Reference to a national code |
Ref country code: BE Ref legal event code: MM Effective date: 20190731 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190717 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LI Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190731 Ref country code: SI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: LU Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190703 Ref country code: BE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190731 Ref country code: CH Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190731 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190731 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190703 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: CY Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 Ref country code: HU Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO Effective date: 20140703 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20190417 |
|
P01 | Opt-out of the competence of the unified patent court (upc) registered |
Effective date: 20230526 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20240604 Year of fee payment: 11 |