The present disclosure relates generally to the field of electrical devices, and more particularly, to techniques and systems associated with sharing of resources between devices.
Existing architectures for sharing the resources of multiple devices often rely on a central server system for accessing the resources and allocating the resources to users of the devices. For example, cloud computing systems rely on an Internet communication interface to connect users with resources of the cloud devices. Private networks (e.g., within a business or other institution) similarly rely on central servers. Some network architectures are distributed (e.g., ad hoc sensor networks) but such architectures are typically configured for transmitting information from each of the distributed devices, and do not allow the devices to share control of device resources.
Embodiments will be readily understood by the following detailed description in conjunction with the accompanying drawings. To facilitate this description, like reference numerals designate like structural elements. Embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings.
Embodiments of techniques and systems associated with device-to-device (D2D) resource sharing are described. In some embodiments, a D2D communication channel between a first device and a second device is established and a sharing request is received at the first device, from the second device, including a credential identifying the second device. Data representative of a first resource locally available to the first device, but not locally available to the second device, is provided to the second device by the first device. Use of the first resource may be controlled in accordance with an instruction transmitted to the first device from the second device.
In the following detailed description, reference is made to the accompanying drawings which form a part hereof wherein like numerals designate like parts throughout, and in which is shown by way of illustration embodiments that may be practiced. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present disclosure. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of embodiments is defined by the appended claims and their equivalents.
Various operations may be described as multiple discrete actions or operations in turn, in a manner that is most helpful in understanding the claimed subject matter. However, the order of description should not be construed as to imply that these operations are necessarily order dependent. In particular, these operations may not be performed in the order of presentation. Operations described may be performed in a different order than the described embodiment. Various additional operations may be performed and/or described operations may be omitted in additional embodiments.
For the purposes of the present disclosure, the phrase “A and/or B” means (A), (B), or (A and B). For the purposes of the present disclosure, the phrase “A, B, and/or C” means (A), (B), (C), (A and B), (A and C), (B and C), or (A, B and C).
The description uses the phrases “in an embodiment,” or “in embodiments,” which may each refer to one or more of the same or different embodiments. Furthermore, the terms “comprising,” “including,” “having,” and the like, as used with respect to embodiments of the present disclosure, are synonymous. As used herein, the terms “module” and “logic” may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processing device (shared, dedicated, or group) and/or memory (shared, dedicated, or group) that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
The term “device,” as used herein, may include one or more wireless or wired electronic components such as a desktop computer, a laptop computer, a handheld computer, a tablet computer, a server, a cellular telephone, a pager, an audio and/or video player (e.g., an MP3 player or a DVD player), a gaming device, a video camera, a digital camera, a navigation device (e.g., a GPS device), a “peripheral” (e.g., a printer, a scanner, a headset, a keyboard, a mouse, etc.), a medical device (e.g., a heart rate monitor, a blood pressure monitor, etc.), and/or other fixed, portable, or mobile electronic devices. Devices may communicate with each other (referred to as device-to-device or D2D communication) in any of a number of ways, including Universal Serial Bus (USB) connections, wireless near-field communication (NFC) protocols, or any of a number of other wired or wireless communication modalities. The term “constellation,” as used herein, may refer to a collection of two or more devices, each configured to share resources with at least one other device in the collection. Communication between various pairs of devices in a constellation may take place using different communication modalities for different pairs, or may be constrained to a single common modality. As used herein, the term “resource” may refer to a hardware, firmware, or software component, or a combination of two or more of such components, whose functionality may be used by a device. For example, a video camera “device” may have video recording, audio recording, image processing and storage “resources.” In another example, a laptop computer “device” may have a sensor interface “resource” and an accelerometer “resource” coupled to the laptop computer via the sensor interface.
As used herein, the terms “local” and “remote” may refer to relationships between resources and devices, and between devices. A resource local to a device may be controlled by and/or in communication with the device, without use of the resource sharing systems and/or techniques described herein. Examples of resources local to a device may include resources embedded in the device (e.g., one or more processing devices, such as processor cores, embedded in a computing device), resources controlled by the device through a wireless, NFC path (e.g., a headset in communication with a smartphone via a Bluetooth protocol), and resources coupled to the device via a USB, parallel port, or other wired or peripheral protocol (e.g., an electronic effects pedal in wired communication with an electric guitar device). A device that is local to a resource may be referred to as the “owner” of the resource. A resource may have more than one owner device, and an owner device may be associated with more than one resource. A resource remote to a device may not be controlled by and/or in communication with the device without going through an intermediate device that is an owner of that resource, without use of the resource sharing systems and/or techniques described herein. A resource local to a remote device may be referred to as a “remote resource.” As used herein, “resources” may include physical and/or virtual resources, and “devices” may include physical and/or virtual devices. As used herein, “control” of a resource may include access to or receipt of data associated with the resource (e.g., access to video data generated by a digital video camera).
Referring now to
In some embodiments, device 100 may include application layer 118, service layer 116 and resource management layer 102. In general, each layer of device 100 may process information about available resources and provide the processed information to one or more layers above it, thereby allowing the higher layers to operate at higher levels of abstraction with regard to the available resources. One or more applications may execute in application layer 118 and may draw on resource information provided by service layer 116. In some embodiments, service layer 116 may be a mobile operating system (OS) service layer. In turn, service layer 116 may process resource information provided by resource management layer 102. In some embodiments, resource management layer 102 may manage access by service layer 116 and/or application layer 118 to local resources 114 and/or remote resources (not shown). In some embodiments, resource management layer 102 may notify service layer 116 when changes in available resources occur. Service layer 116 may notify currently active or future applications running in application layer 118 of resource changes so that the applications may, for example, adapt to the addition of new resources and utilize them as if the resources were local to device 100. For example, in some embodiments, application layer 118 may register a callback when resource management layer 102 determines that a resource is newly available, is no longer available, has had a change in one or more properties, or under any other suitable condition.
Resource management layer 102 may include D2D communication module 104. D2D communication module 104 may be coupled to credential management module 106, resource aggregation module 108, and local resource controller 110. In some embodiments, D2D communication module 104 may be configured for receiving a sharing request from a remote device (not shown). The sharing request may represent a request from the remote device to initiate a session to share resources. This “sharing” may take the form of the use (and/or offer of use) of one of local resources 114 by the remote device, the use (and/or offer of use) of a resource local to the remote device by device 100, or a combination of both. As used herein, the “control” of a device may include D2D communication module 104 may receive a sharing request via one or more wired or wireless communications components, such as one or more antennas.
In some embodiments, a sharing request may be triggered by one or more actions, such as an NFC tap, a change of location of the requesting device (as determined, e.g., by a global positioning system (GPS) device or an accelerometer), an infrared-based ping query between the devices, etc. In some embodiments, the trigger action may be user configurable (e.g., through a user interface on the requesting device, such as a keypad, touchscreen, or other interface). In some embodiments, a sharing request from a device may include credential data which may, for example, identify the device. Various embodiments of sharing requests are discussed below with reference to credential management module 106 and with reference to
D2D communication module 104 may also be configured for establishing a D2D communication channel between device 100 and a remote device, for transmitting information and instructions to the remote device via the D2D communication channel, and/or for receiving information and instructions from the remote device via the D2D communication channel. In some embodiments, a D2D communication channel may be a private secure channel between two devices over which resource sharing information and instructions may be transmitted. A private secure channel may be established between two devices in accordance with any suitable technique known in the art. For example, in some embodiments, a Secure Socket Layer (SSL) protocol and/or a Transport Layer Security (TLS) protocol (e.g., with mutual authentication) may be used. In some such embodiments, an encrypted channel may be established between two devices, and the devices may authenticate each other using X.509 certificates or another public-private key authentication scheme.
Resource management layer 102 may include credential management module 106. Credential management module 106 may be coupled to D2D communication management module 104 and local resource control module 110. In some embodiments, credential management module 106 may be configured for providing and/or receiving credentials for identifying, authenticating, and/or authorizing the sharing of resources between device 100 and one or more remote devices. For example, credential management module 106 may be configured for receiving, from a remote device, a credential that identifies the remove device and that may be used to enable the remote device to control one or more of local resources 114 via instructions transmitted from the remote device to device 100 (via a D2D communication channel established by D2D communication management module 104). In some embodiments, credential data from a device may include a unique device name, serial number, or other identifier. In some embodiments, credential data managed by credential management module 106 may identify a remote device as belonging to an authorized group of devices with which sharing may take place (e.g., a group of devices owned by a common organization, or made available to each other via a sharing agreement).
In some embodiments, a credential may include an encryption key, a security certificate, a password, or other data that the remote device may use to signal to device 100 that the remote device is or should be authorized by device 100 to share local resources 114 (or a subset thereof). In some embodiments, a credential may authenticate the identity of a device in accordance with known techniques for automatically secured D2D communication. For example, credential management module 106 may generate a character string, and may authorize a remote device to share local resources 114 when the remove device provides that character string to device 100 as a credential. In some embodiments, device 100 and the remote device must be in physical proximity to allow visual transfer of the character string (e.g., by having a camera of the remote device capture the character string from a display of device 100, or by having a user of the remote device view a display of device 100 and manually enter the character string using a keyboard of the remote device). In some embodiments, credential data provided by a remote device may be accompanied by data representative of shareable resources local to the remote device; in other embodiments, data representative of shareable resources may be provided separately from credential data. Such latter embodiments may advantageously minimize wasted data transfer when, for example, a remote device's credentials are not accepted by device 100 and thus sharing will be prohibited.
In some embodiments in which a constellation of three or more devices are sharing resources in some combination, one or more of the devices in the constellation may serve as central credential management entities, and may maintain credential data and make credential determinations for the entire constellation. In some embodiments, such central credential management entities may synchronize credential data among the devices in the constellation on a synchronous or asynchronous basis. In some embodiments, a session token may be supplied to establish a secure session for resource sharing; other session attributes (such as a list of current devices in the constellation, refreshed authentication credentials lists, etc.) may also be supplied as part of establishing the session. Depending on the degree of robustness desired for the constellation, a device added to the constellation may serve as a mesh or ring network node as well, so as to help maintain the constellation if other devices exit the constellation.
Credential management module 106 may also be configured, along with D2D communication module 104 and resource aggregation module 108 (discussed below), to manage the process of one or more remote devices leaving a resource sharing arrangement with device 100 and thus the loss of one or more remote resources. For example, in some embodiments, credential management module 106 may, along with resource aggregation module 108, provide an “exit event” to application layer 118 when a remote device and/or resource is no longer accessible to device 100 (e.g., because the remote device loses power, or is dropped and breaks). The exit event provided to application layer 118 may be provided in a manner similar to existing techniques for managing “hot plug” devices (such as smart cards or server storage racks).
Resource management layer 102 may include resource aggregation module 108. Resource aggregation module 108 may be coupled to D2D communication module 104 and local resource properties management module 112. In some embodiments, D2D communication module 104 may receive, from a remote device, data representative of a resource locally available to the remote device but not locally available to device 100. In such embodiments, resource aggregation module 108 may be configured to provide, to another layer in device 100 (e.g., service layer 116), a representation of this resource as a local resource available for use by device 100. For example, in embodiments in which resource aggregation module 108 provides a representation of a non-local resource (e.g., a resource local to a remote device) to service layer 116, the non-local resource may appear to service layer 116 as a local resource available for use by service layer 116 and/or other layers such as application layer 118.
Service layer 116 and/or application layer 118 may provide instructions for control of the non-local resource as if the non-local resource were local to device 100. In some embodiments, resource management layer 102 may intercept these instructions and route them to the appropriate local component (e.g., local resource control module 110, discussed below) or remote device. In some embodiments, resource aggregation module 108 may abstract the mechanisms and internal details required to use a local or remote resource, and present resources as virtual resources using a standard application programming interface (API). For example, in some embodiments, resource aggregation module 108 may expose itself as a device driver (e.g., when some or all resources are usually exposed via device drivers, such as hard drive resources). Other existing programming APIs may be used. In some embodiments, service layer 116 may embody one or more such standardized APIs (e.g., Open Device, Read, Write, etc.) to access resources. Resource management layer 102 may then implement the API by parsing and routing more primitive commands to the targeted resource. Some embodiments may “virtualize” a resource by making it appear that a single resource can be “owned” by multiple clients or exists as multiple instances. In some embodiments, a remote resource meant to appear as a local resource could also be so virtualized; as such, remote resource virtualization may occur before aggregation and/or standard resource virtualization takes place. A remote resource may have a local “proxy” equivalent that, when accessed, routes resource interaction requests to the remote device.
In some embodiments, resource aggregation module 108 may be configured for aggregating information about multiple ones of local resources 114 that are of a same type and providing a representation of an aggregate resource to another layer in device 100 (e.g., service layer 116) or to another device (such as a remote device). In some embodiments, resource aggregation module 108 may be configured for aggregating information about one or more of local resources 114 and one or more resources of a same type that are local to a remote device (but not local to device 100), and providing a representation of an aggregate resource to another layer in device 100 or to another device. In some embodiments, resource aggregation module 108 may be configured for aggregating information about one or more resources of a same type that are local to different remote devices (but not local to device 100), and providing a representation of an aggregate resource to another layer in device 100 or to another device. In some embodiments, resource aggregation module 108 may be configured for providing a representation of an aggregate resource based on any combination of resources available locally to device 100 or any of its remote devices. Various embodiments of techniques for determining type and aggregating resources are discussed below (e.g., with reference to
Resource management layer 102 may include local resource control module 110. Local resource control module 110 may be coupled to D2D communication module 104, credential management module 106 and local resource properties management module 112. In some embodiments, local resource control module 110 may be configured for determining that a remote device is or should be authorized to control one or more of local resources 114. In some embodiments, this determination may be based on one or more credentials received from the remote device (and processed or otherwise stored by credential management module 106). Credential management module 106 may also store data representative of which remote devices are authorized to access which (if any) of local resources 114. Such information may be referred to herein as an access control list (ACL), which may be stored in a memory associated with local resource control module 110. In some embodiments, an ACL may be associated with a single remote device and may identify which of local resources 114 the remote device is authorized to control (as well as any conditions on that control, such as read-only, write-only, or read-write). In some embodiments, an ACL may be associated with a class of remote devices (e.g., all smartphones). In some embodiments, a single ACL may be associated with any remote device which is properly authenticated for resource sharing with device 100. Credential management module 106 may further store information about the relative priority of various remote devices in using various ones of local resources 114.
In some embodiments, local resource control module 110 may be configured for controlling use of one or more of local resources 114 in accordance with instructions transmitted to device 100 from one or more remote devices authorized to control the one or more local resources 114, or from layers of device 100 such as service layer 116 and/or application layer 118. Local resource control module 110 may receive information about which remote devices are authorized to control which of local resources 114 from credential management module 106, and in some embodiments, may use this information to determine which instructions received from remote devices via D2D communication module 104 are to be executed. In some embodiments, D2D communication module 104 evaluates whether instructions are authorized in accordance with information stored in credential management module 106 prior to passing instructions to local resource control module 110.
Resource management layer 102 may include local resource properties management module 112. Local resource properties management module 112 may be coupled to resource aggregation module 108 and local resource control module 110. In some embodiments, local resource properties management module 112 may include memory to store data about properties of one or more of local resources 114. That data may be used by resource aggregation module 108 to determine how to represent local resources 114 to other layers (such as service layer 116 and/or application layer 118) and/or to remote devices, and how to aggregate local resources 114 among themselves and/or with resources not local to device 100. In some embodiments, data about properties of one or more of local resources 114 may be provided to local resource controller 110 prior to executing a received instruction to ensure that the local resource targeted by the instruction has the properties required or desired for proper execution of the instruction.
One example of data representative of one or more of local resources 114 may include data representative of current or past usage of a local resource. Another example is an indicator of the “stickiness” of a particular property; whether that particular property (e.g., a calibration factor of a medical device, or a baseline value for a sensor) is subject to change when a particular device (e.g., the device 100 or a remote device) ceases to control the resource. In some embodiments, one or more properties of each local resource 114 are included in a resource property manifest stored in local resource properties management module 112. Various embodiments of local resource properties that may be stored in local resource properties management module 112 are discussed below (e.g., with reference to
In some embodiments, applications and/or other processes executing on device 100 (e.g., in service layer 116 and/or application layer 118) may be designed or optimized for use with resources that may be not be consistently available (e.g., local resources that are shared with other devices, or remote resources which may become unavailable when their owner device stops sharing the remote resource.) Such processes may, for example, perform processing operating in smaller batches to reduce the probability of a disruption in the middle of a batch and improve the ability of the process to move operating to available resources.
Referring now to
In
In
In
In some embodiments, when resource 1214a generates data in response to executing control instruction 226, the data is transmitted from device 1200a to device 2200b in substantially the same form as generated by resource 1214a. When a service and/or application layer of device 2200b receives this data, the data appears to have come directly from a local resource. For example, in some embodiments, resource 1214a may be an electronic keyboard configured to generate musical instrument digital interface (MIDI) data when keys are depressed. When device 2200b is in control of resource 1214a, this MIDI data may be routed through device 1200a and to device 2200b substantially unchanged; from the perspective of device 2200b, the electronic keyboard is owned by device 2200b. Embodiments in which a device may control a remote resource using “raw” instructions interpretable by the remote resource (instead, for example, of providing an instruction in a form that must be interpreted and translated by an application executing on the owner device) may improve the granularity with which a device may control a remote resource, thereby allowing a fuller range of control. Similarly, embodiments in which a device may receive data generated by the remote resource in a substantially “raw” form may improve the granularity with which the device may interpret and respond to the data.
In some embodiments, the control instruction of
In
As discussed above, in some embodiments, resources local to different remote devices may be aggregated and presented as an aggregate resource. In some embodiments, this aggregation occurs when the resources are of a same or similar type such that treatment as an aggregate resource is possible or suitable. For example, if resource 1214a is a storage device with a capacity of 5 GB, and resource 2214b is a storage device with a capacity of 3 GB, resource 1214a and resource 2214b may be aggregated and represented as a single aggregate storage device with a capacity of 8 GB.
In
In
In
In
In
If resource 3214c is of a same type as resource 1214a and resource 2214b, device 1200a may represent these local resources as a single aggregate resource (e.g., as discussed above with reference to
In
As illustrated in
Referring now to
Resource property manifest 1400 may include a number of different kinds of data about the one or more resources associated with resource property manifest 1400. For ease of discussion of
In some embodiments, resource property manifest 1400 may include allocation map data 1404. Allocation map data 1402 may be representative of whether or not the resource is currently in use by any devices which are authorized to control the resource. Allocation map data 1402 may be representative of the number of devices authorized to control the resource, and/or how many such devices are currently controlling, or recently have controlled, the resource. Allocation map data 1402 may be representative of the relative priority and/or criticality of current uses of the resource. For example, in some embodiments, resource management module 102 (
In some embodiments, resource property manifest 1400 may include stickiness data 1406. As discussed above with reference to
In some embodiments, resource property manifest 1400 may include sync map data 1408. In some embodiments, sync map data 1408 may be used to constrain two or more resources in a constellation to adhere to the same internal state or properties. For example, a second display resource on a remote device might be set in “mirror mode” by an application on the remote device having access to both local and remote displays as distinct resources. By storing an indication of the “mirror mode” among sync map data 1408, the matching of displays may be enforced so that two constellation users may see the same content on their individual displays. In some embodiments, sync map data 1408 for a particular resource may indicate that such “mirror modes” or other synchronization should be supported by any user of the resource. In another example, one device may act on a mirrored display resource with a local input resource (e.g., a touch screen), and the touch action may be sent as raw input to the remote device, displayed on the remote device's display resource, then mirrored back to the local display device. In another example, an area of RAM may be aggregated across two devices as a display “frame buffer,” with each device displaying a complementary portion of the frame buffer on the device's local display. In such an embodiment, sync map data 1408 may indicate that the content of the frame buffer should be kept in sync between the two devices.
In some embodiments, the systems and techniques disclosed herein may be advantageously used in mobile device systems to allows users of the resources (e.g., applications running on the mobile devices) to take advantage of the dynamic availability of resources due to the migration of devices and resources in and out of the constellation. These dynamically available resources may be exposed by a resource manager (such as resource management layer 102 of
Referring now to
Process 1500 may begin at operation 1502 in which device 100 may establish a D2D communication channel with a remote device. In some embodiments, operation 1502 may be performed by D2D communication module 102 (
At operation 1504, device 100 may determine whether a sharing request has been received from the remote device with which a D2D communication channel was established at operation 1502. In some embodiments, operation 1504 may be performed by D2D communication module 102 (
If a sharing request is received at operation 1504, device 100 may proceed to operation 1506 and may receive a credential from the remote device. In some embodiments, the credential received at operation 1506 may be included with the sharing request identified at operation 1504. In some embodiments, operation 1506 may be performed by D2D communication module 102 and/or credential management module 106 (
At operation 1508, device 100 may determine whether the remote device is authorized to control a resource locally available to device 100 (e.g., one or more of local resources 114, referred to as “the local resource”). In some embodiments, operation 1508 may be performed by D2D communication module 102 and credential management module 106 (
If device 100 determines at operation 1508 that the remote device is not authorized to control the local resource, process 1500 may end. If device 100 determines at operation 1508 that the remote device is authorized to control a local resource, device 100 may proceed to operation 1510 and may provide data representative of the local resource to the remote device. In some embodiments, operation 1510 may be performed by D2D communication module 102, local resource control module 110 resource aggregation module 108 (
Referring now to
Process 1600 may begin at operation 1602 in which device 100 may determine whether an instruction to control a resource locally available to device 100 (e.g., one or more of local resources 114, referred to as “the local resource”) has been received from a remote device. In some embodiments, operation 1602 may be performed by D2D communication module 102 (
At operation 1606, device 100 may provide, to another remote device, updated data representative of the local resource. In some embodiments, operation 1606 may be performed by D2D communication module 102, local resource properties management module 112 and resource aggregation module 108 (
Referring now to
Process 1700 may begin at operation 1702 in which device 100 may provide a credential to a remote device to enable control of resource(s) locally available to the remove device (referred to as “remote resource(s)”). In some embodiments, operation 1702 may be performed by D2D communication module 102 and credential management module 106 (
At operation 1704, device 100 may receive data representative of the remote resources. In some embodiments, operation 1704 may be performed by D2D communication module 102 and resource aggregation module 108 (
At operation 1706, device 100 may provide, to service layer 116, a representation of the remote resource as an available local resource. In some embodiments, operation 1706 may be performed by resource aggregation module 108 (
At operation 1708, device 100 may transmit an instruction to the remote device to control the remote resource. In some embodiments, operation 1708 may be performed by D2D communication module 102 (
Referring now to
Process 1800 may begin at operation 1802 in which resource aggregation module 108 may determine a type associated with a first resource that is a candidate for aggregation. The first resource may be local to device 100 (e.g., one or more of local resources 114) or remote to device 100. In some embodiments, determining a type of the first resource at operation 1802 may include identifying type data contained in a resource property manifest (e.g., resource property manifest 1400 of
At operation 1804, resource aggregation module 108 may determine a type associated with a second resource that is a candidate for aggregation. The second resource may be local to device 100 (e.g., one or more of local resources 114) or remote to device 100. Determining a type at operation 1804 may take any of the forms described above with reference to determining a type at operation 1802. In some embodiments, different kinds of data may be used at operations 1802 and 1804 to identify the types of the first and second resources; for example, the type of the first resource may be identified by type data included in a resource property manifest, while the type of the second resource may be identified by a model name or serial number.
At operation 1806, resource aggregation module 108 may determine whether the type of the first resource and the type of the second resource are a same type. If no, process 1800 may then end. If yes, resource aggregation module 108 may proceed to operation 1808 and provide, to service layer 116 of device 100, a representation of an aggregate of the first and second resources. In some embodiments, operation 1808 may include some or all of the operations described above with reference to
Referring now to
Each of these elements may perform its conventional functions known in the art. In particular, system memory 1904 and mass storage 1906 may be employed to store a working copy and a permanent copy of the programming instructions implementing the method of any of
The permanent copy of the programming instructions may be placed into permanent storage 1906 in the factory, or in the field, through, for example, a machine-accessible distribution medium (not shown), such as a compact disc (CD), or through communication interface 1910 (e.g., from a distribution server (not shown)). That is, one or more distribution media having an implementation of the instructions may be employed to distribute the instructions and program various computing devices. The constitution of elements 1902-1912 are known, and accordingly will not be further described. Any one or more suitable hardware, firmware, or software components of computing device 1900, or any combination thereof, may serve as a resource for sharing in a D2D resource sharing system in accordance with the techniques disclosed herein.
Machine-readable media (including non-transitory machine readable media, such as), methods, systems and devices for performing the above-described techniques are illustrative examples of embodiments disclosed herein. Additionally, other devices in the above-described interactions may be configured to perform various disclosed techniques.
Example 1 is a method for sharing resources between devices, including: establishing a device-to-device communication channel between a first device and a second device; receiving, from the second device, a sharing request including a credential identifying the second device; providing, to the second device from the first device, data representative of a first resource locally available to the first device, the first resource not locally available to the second device; and controlling use of the first resource in accordance with an instruction transmitted to the first device from the second device.
Example 2 may include the subject matter of Example 1, and further specifies that the sharing request is triggered by a near-field communication tap between the first device and the second device, an infrared-based ping query between the first device and the second device, or a location change of the second device.
Example 3 may include the subject matter of any of Examples 1-2, and further includes, prior to controlling use of the first resource in accordance with the instruction transmitted to the first device from the second device, determining, at the first device, that the second device is authorized to control the first resource based on the credential received from the second device.
Example 4 may include the subject matter of any of Examples 1-3, and further specifies that the data representative of the first resource includes data representative of current or past usage of the first resource.
Example 5 may include the subject matter of any of Examples 1-4, and further specifies that the data representative of the first resource includes an indicator of a property of the first resource that is subject to change after the first resource is no longer controlled in accordance with an instruction from the second device.
Example 6 may include the subject matter of any of Examples 1-5, and further includes: establishing a second device-to-device communication channel between the first device and a third device, the third device different from the second device; receiving, from the third device, a sharing request including a credential identifying the third device; providing, to the third device from the first device, data representative of the first resource, the first resource not locally available to the third device; and controlling use of the first resource in accordance with an instruction transmitted to the first device from the third device.
Example 7 may include the subject matter of Example 6, and further includes sending, to the second device, updated data representative of the first resource after controlling use of the first resource in accordance with the instructions transmitted to the first device from the third device.
Example 8 may include the subject matter of any of Examples 1-7, and further includes: providing, to the second device, a credential identifying the first device; receiving, at the first device from the second device, data representative of a second resource locally available to the second device, the second resource not locally available to the first device; and providing, to the service layer of the first device, a representation of the second resource as a local resource available for use by the service layer.
Example 9 may include the subject matter of Example 8, and further specifies that providing, to a service layer of the first device, a representation of the second resource as a local resource available for use by the service layer includes: identifying a type of the second resource based on the data representative of the second resource; identifying a third resource locally available to the first device, the third resource having a same type as the type of the second resource; and providing, to a service layer of the first device, a representation of an aggregate of the second and third resources.
Example 10 may include the subject matter of Example 8, and further includes: establishing a second device-to-device communication channel between the first device and a third device, the third device different from the second device; providing, to the third device over the second device-to-device communication channel, a credential identifying the first device; receiving, at the first device from the third device, data representative of a third resource locally available to the third device, the third resource not locally available to the first device; and providing, to a service layer of the first device, a representation of the third resource as a local resource available for use by the service layer.
Example 11 may include the subject matter of Example 10, and further specifies that providing, to a service layer of the first device, a representation of the third resource as a local resource available for use by the service layer includes: identifying a type of the second resource based on the data representative of the second resource; identifying a type of the third resource based on the data representative of the third resource; and providing, to a service layer of the first device, a representation of an aggregate of the second and third resources.
Example 12 may include the subject matter of any of Examples 1-11, and further specifies that the first device includes a personal computing device and the second device includes a personal computing device, a camera, or a musical instrument.
Example 13 is one or more machine readable media including instructions that, in response to execution by a processing device of a first device, cause the first device to perform the method of any of Examples 1-12.
Example 14 is one or more machine readable media including instructions that, in response to execution by a processing device of a first device, cause the first device to: establish a device-to-device communication channel between the first device and a second device; receive, from the second device, a sharing request including a credential identifying the second device; provide, to the second device, data representative of a first resource locally available to the first device, the first resource not locally available to the second device; and control use of the first resource in accordance with an instruction transmitted to the first device from the second device.
Example 15 may include the subject matter of Example 14, and further specifies that the sharing request is triggered by a near-field communication tap between the first device and the second device, an infrared-based ping query between the first device and the second device, or a location change of the second device.
Example 16 may include the subject matter of any of Examples 14-15, and further includes instructions that, in response to execution by the processing device, cause the first device to: prior to controlling use of the first resource in accordance with the instruction transmitted to the first device from the second device, determine that the second device is authorized to control the first resource based on the credential received from the second device.
Example 17 may include the subject matter of any of Examples 14-16, and further specifies that the data representative of the first resource includes data representative of current or past usage of the first resource.
Example 18 may include the subject matter of any of Examples 14-17, and further specifies that the data representative of the first resource includes an indicator of a property of the first resource that is subject to change after the first resource is no longer controlled in accordance with an instruction from the second device.
Example 19 may include the subject matter of any of Examples 14-18, and further includes instructions that, in response to execution by the processing device, cause the first device to: establish a second device-to-device communication channel between the first device and a third device, the third device different from the second device; receive, from the third device, a sharing request including a credential identifying the third device; provide, to the third device, data representative of the first resource, the first resource not locally available to the third device; and control use of the first resource in accordance with an instruction transmitted to the first device from the third device.
Example 20 may include the subject matter of Example 19, and further includes instructions that, in response to execution by the processing device, cause the first device to: send, to the second device, updated data representative of the first resource after controlling use of the first resource in accordance with the instructions transmitted to the first device from the third device.
Example 21 may include the subject matter of any of Examples 14-20, and further includes instructions that, in response to execution by the processing device, cause the first device to: provide, to the second device, a credential identifying the first device; receive, from the second device, data representative of a second resource locally available to the second device, the second resource not locally available to the first device; and provide, to a service layer of the first device, a representation of the second resource as a local resource available for use by the service layer.
Example 22 may include the subject matter of Example 21, and further specifies that provide, to a service layer of the first device, a representation of the second resource as a local resource available for use by the service layer includes: identify a type of the second resource based on the data representative of the second resource; identify a third resource locally available to the first device, the third resource having a same type as the type of the second resource; and provide, to the service layer of the first device, a representation of an aggregate of the second and third resources.
Example 23 may include the subject matter of Example 21, and further includes instructions that, in response to execution by the processing device, cause the first device to: establish a second device-to-device communication channel between the first device and a third device, the third device different from the second device; provide, to the third device over the second device-to-device communication channel, a credential identifying the first device; receive, from the third device, data representative of a third resource locally available to the third device, the third resource not locally available to the first device; and provide, to a service layer of the first device, a representation of the third resource as a local resource available for use by the service layer.
Example 24 may include the subject matter of Example 23, and further specifies that provide, to a service layer of the first device, a representation of the third resource as a local resource available for use by the service layer includes: identify a type of the second resource based on the data representative of the second resource; identify a type of the third resource based on the data representative of the third resource; and provide, to the service layer of the first device, a representation of an aggregate of the second and third resources.
Example 25 may include the subject matter of any of Examples 14-24, and further specifies that the first device includes a personal computing device and the second device includes a personal computing device, a camera, or a musical instrument.
Example 26 is an apparatus for sharing resources, including: means for establishing a device-to-device communication channel between the apparatus and a second device; means for receiving, from the second device, a sharing request including a credential identifying the second device; means for providing, to the second device, data representative of a first resource locally available to the first device, the first resource not locally available to the second device; and means for controlling use of the first resource in accordance with an instruction transmitted to the apparatus from the second device.
Example 27 may include the subject matter of Example 26, and further includes: means for providing, to the second device, a credential identifying the apparatus; means for receiving, from the second device, data representative of a second resource locally available to the second device, the second resource not locally available to the apparatus; and means for providing, to a service layer of the apparatus, a representation of the second resource as a local resource available for use by the service layer.
Example 28 may include the subject matter of any of Examples 26-27, and further specifies that the means for providing, to a service layer of the apparatus, a representation of the second resource as a local resource available for use by the service layer includes: means for identifying a type of the second resource based on the data representative of the second resource; means for identifying a third resource locally available to the apparatus, the third resource having a same type as the type of the second resource; and means for providing, to the service layer of the apparatus, a representation of an aggregate of the second and third resources.
Example 29 may include the subject matter of any of Examples 26-28, and further includes: means for establishing a second device-to-device communication channel between the apparatus and a third device, the third device different from the second device; means for providing, to the third device over the second device-to-device communication channel, a credential identifying the apparatus; means for receiving, from the third device, data representative of a third resource locally available to the third device, the third resource not locally available to the apparatus; and means for providing, to a service layer of the apparatus, a representation of the third resource as a local resource available for use by the service layer.
Example 30 is an apparatus for sharing resources between devices, including one or more processing devices, and one or more machine readable media configured with instructions that, in response to execution by the one or more processing devices, cause the apparatus to: establish a device-to-device communication channel between the apparatus and a second device; receive, from the second device, a sharing request including a credential identifying the second device; provide, to the second device, data representative of a first resource locally available to the apparatus, the first resource not locally available to the second device; and control use of the first resource in accordance with an instruction transmitted to the apparatus from the second device.
Example 31 may include the subject matter of Example 30, and further specifies that the sharing request is triggered by a near-field communication tap between the apparatus and the second device, an infrared-based ping query between the apparatus and the second device, or a location change of the second device.
Example 32 may include the subject matter of any of Examples 30-31, and further specifies that the one or more machine readable further include instructions that, in response to execution by the one or more processing devices, cause the apparatus to: prior to controlling use of the first resource in accordance with the instruction transmitted to the apparatus from the second device, determine that the second device is authorized to control the first resource based on the credential received from the second device.
Example 33 may include the subject matter of any of Examples 30-32, and further specifies that the data representative of the first resource includes data representative of current or past usage of the first resource.
Example 34 may include the subject matter of any of Examples 30-33, and further specifies that the data representative of the first resource includes an indicator of a property of the first resource that is subject to change after the first resource is no longer controlled in accordance with an instruction from the second device.
Example 35 may include the subject matter of any of Examples 30-34, and further specifies that the one or more machine readable media further includes instructions that, in response to execution by the one or more processing devices, cause the apparatus to: establish a second device-to-device communication channel between the apparatus and a third device, the third device different from the second device; receive, from the third device, a sharing request including a credential identifying the third device; provide, to the third device, data representative of the first resource, the first resource not locally available to the third device; and control use of the first resource in accordance with an instruction transmitted to the apparatus from the third device.
Example 36 may include the subject matter of Example 35, and further specifies that the one or more machine readable media further includes instructions that, in response to execution by the one or more processing devices, cause the apparatus to: send, to the second device, updated data representative of the first resource after controlling use of the first resource in accordance with the instructions transmitted to the apparatus from the third device.
Example 37 may include the subject matter of any of Examples 30-36, and further specifies that the one or more machine readable media further includes instructions that, in response to execution by the one or more processing devices, cause the apparatus to: provide, to the second device, a credential identifying the apparatus; receive, from the second device, data representative of a second resource locally available to the second device, the second resource not locally available to the apparatus; and provide, to a service layer of the apparatus, a representation of the second resource as a local resource available for use by the service layer.
Example 38 may include the subject matter of Example 37, and further specifies that provide, to a service layer of the apparatus, a representation of the second resource as a local resource available for use by the service layer includes: identify a type of the second resource based on the data representative of the second resource; identify a third resource locally available to the apparatus, the third resource having a same type as the type of the second resource; and provide, to the service layer of the apparatus, a representation of an aggregate of the second and third resources.
Example 39 may include the subject matter of Example 37, and further specifies that the one or more machine readable media further includes instructions that, in response to execution by the one or more processing devices, cause the apparatus to: establish a second device-to-device communication channel between the apparatus and a third device, the third device different from the second device; provide, to the third device over the second device-to-device communication channel, a credential identifying the apparatus; receive, from the third device, data representative of a third resource locally available to the third device, the third resource not locally available to the apparatus; and provide, to a service layer of the apparatus, a representation of the third resource as a local resource available for use by the service layer.
Example 40 may include the subject matter of Example 39, and further specifies that provide, to a service layer of the apparatus, a representation of the third resource as a local resource available for use by the service layer includes: identify a type of the second resource based on the data representative of the second resource; identify a type of the third resource based on the data representative of the third resource; and provide, to the service layer of the apparatus, a representation of an aggregate of the second and third resources.
Example 41 may include the subject matter of any of Examples 30-40, and further specifies that the apparatus includes a personal computing device and the second device includes a personal computing device, a camera, or a musical instrument.
Example 42 is an apparatus for sharing resources including means for performing the method of any of Examples 1-12.
Number | Date | Country | |
---|---|---|---|
Parent | 13997636 | Jun 2013 | US |
Child | 14828301 | US |