BACKGROUND
1. Field of the Invention
[0001] The present disclosure relates to resource sharing between devices. In particular,
the present disclosure relates to transmitting and receiving resource information
for identifying a resource accessible through a device over a network.
2. Description of the Related Art
[0002] In the prior art, technological advances have resulted in an increasing number of
devices becoming commercially available that include networking capabilities. Originally
restricted to desktop computers, it is now common for devices such as televisions
and mobile telephones ("smartphones"), and even household appliances such as refrigerators,
to include network interfaces. Typically, a central server or hub is required to manage
devices in a home network, which is configured to maintain a permanent network in
which the same security settings are applied to communications between all devices
on the network. As network connections become more common in mobile devices such as
tablet computers, personal digital assistants (PDAs), laptop computers and smartphones,
there is a need for a flexible approach to network management that can respond to
different devices frequently joining and leaving the network, and that can allow efficient
resource sharing between such devices. In the prior art, the only way to add new functionality
to a device is to upgrade to a newer version of the device that includes the desired
functionality, for example upgrading a non-Global Positioning System (non-GPS) digital
camera to a GPS-enabled camera to allow geo-tagging of photos.
[0003] The present invention is made in this context.
SUMMARY
[0004] According to the present invention there is provided an electronic device for communicating
over a network with at least one other device within a group of devices, the electronic
device comprising a resource information collecting module receives resource information
from the at least one other device, with the resource information including a resource
identifier for identifying a remote resource accessible through the other device and
source information for identifying a location from which the remote resource can be
obtained, and a selection module for selecting one of a plurality of resources including
the remote resource, wherein in response to the remote resource being selected, the
device requests the selected remote resource from the location identified by the source
information.
[0005] Prior to receiving the resource information the device can determine whether the
group of devices exists and to request the resource information from the at least
one other device if the group of devices exists, or set up the group of devices if
the group does not exist, and can set up the group of devices by broadcasting a group
setup message over the network to invite the at least one other device to join the
group.
[0006] After broadcasting the group setup message the device can respond to a request from
a specific device of the at least one other device to join the group by authenticating
the specific device, and transmitting an authorization token to the specific device
in response to a successful authentication result, the authorization token comprising
a token for use in authenticating communications between devices in the same group.
[0007] The device can determine whether the group of devices exists by broadcasting a group
search message including a predetermined group identifier for identifying the group,
waiting a predetermined time, and determining that the group does not exist if a response
indicating the existence of the group is not received from the network within the
predetermined time.
[0008] The device can further obtain location information about a current location of the
device, and to determine whether the group of devices exists in response to the location
information indicating that the device is at a predetermined location.
[0009] Prior to receiving the resource information the device can broadcast a resource information
request including a predetermined group identifier for identifying the group of devices,
to request resource information from any devices on the network that are included
in the group.
[0010] When resource information for a plurality of resources is received the device can
determine based on the received resource identifiers whether one specific resource
of the plurality of resources can be obtained from a plurality of different locations,
and in response to the selection module selecting the specific resource, the device
can select a preferred one of the plurality of different locations from which to request
the resource based on predetermined criteria.
[0011] The selection module can rank the plurality of resources according to at least one
predetermined ranking criteria, before selecting one of the resources.
[0012] The selection module can rank the plurality of resources based on, for each one of
the plurality of resources, information about: a time since the resource was last
accessed; and/or a current state of the resource; and/or an attribute score of the
resource; and/or a usage history of the resource.
[0013] The resource information can include type information for identifying a type of the
remote resource, and in response to the selection module selecting one of the resources,
the device can determine based on the resource information whether an alternative
resource of the same type as the selected resource and having a higher ranking than
the selected resource is available.
[0014] The device can further transmit local resource information to the at least one other
device in the group over the network, the local resource information comprising information
about a resource accessible through the device.
[0015] The device can store the received resource information for a predetermined time period
and request updated resource information from the other device after the predetermined
time period has expired, and in response to updated resource information not being
received, the device can delete the stored resource information for the other device.
[0016] The selection module can select one of the plurality of resources in response to
user input, by providing a user with information about the plurality of resources
and receiving a user command selecting one of the plurality of resources.
[0017] According to the present invention, there is also provided a device for communicating
over a network with at least one other device within a group of devices, the device
comprising a resource information providing module to generate resource information
including a resource identifier for identifying a resource accessible through the
device and source information for identifying a location from which the remote resource
can be obtained, and to transmit the resource information to the at least one other
device over the network, wherein in response to a request to use the resource received
from a specific device of the at least one other device, the device provides the requested
resource to the at least one other device.
[0018] The device can communicate over a first network according to a first network protocol
and to communicate over a second network according to a second network protocol, wherein
the group of devices may include a first other device on the first network and a second
other device on the second network, and wherein in response to a request for resource
information from the first other device, the resource information providing module
can transmit resource information about a remote resource provided by the second other
device and accessible through the device.
[0019] In response to a request from the first other device to access the remote resource,
the device can request the remote resource from the second other device to provide
the remote resource to the first other device.
[0020] The request received from the specific device may include a group identifier for
identifying the group of devices, and the device can determine whether authentication
is required in the identified group, and in response to a determination that authentication
is required, can authenticate the specific device before providing the requested resource.
[0021] According to the present invention there is further provided a method for use in
a device for communicating over a network with at least one other device within a
group of devices, the method comprising receiving resource information from a specific
device of the at least one other device, the resource information including a resource
identifier for identifying a remote resource accessible through the other device and
source information for identifying a location from which the remote resource can be
obtained, selecting one of a plurality of resources including the remote resource,
and requesting the selected remote resource from the location identified by the source
information, in response to the remote resource being selected.
[0022] The method can further comprise prior to receiving the resource information, determining
whether the group of devices exist, requesting the resource information from the specific
device if the group of devices exists, and setting up the group of devices if the
group does not exist, by broadcasting a group setup message over the network to invite
the at least one other device to join the group.
[0023] The method can further comprise after broadcasting the group setup message, responding
to a request from a specific device of the at least one other device to join the group
by authenticating the specific device, and transmitting an authorization token to
the specific device in response to a successful authentication result, the authorization
token comprising a token for use in authenticating communications between devices
in the same group.
[0024] Determining whether the group of devices exists can comprise broadcasting a group
search message including a predetermined group identifier for identifying the group,
waiting a predetermined time, and determining that the group does not exist if a response
indicating the existence of the group is not received from the network within the
predetermined time.
[0025] The method can further comprise obtaining location information about a current location
of the device, wherein it is determined whether the group of devices exists in response
to the location information indicating that the device is at a predetermined location.
[0026] The method can further comprise prior to receiving the resource information, broadcasting
a resource information request including a predetermined group identifier for identifying
the group of devices, to request resource information from any devices on the network
that are included in the group.
[0027] When resource information for a plurality of resources is received, the method can
further comprise determining based on the received resource identifiers whether a
specific resource of the resources can be obtained from a plurality of different locations,
and selecting a preferred one of the plurality of different locations from which to
request the resource based on predetermined criteria, in response to the specific
resource being selected.
[0028] The method can further comprise ranking the plurality of resources according to at
least one predetermined ranking criteria, before selecting one of the resources.
[0029] The plurality of resources can be ranked based on, for each one of the plurality
of resources, information about: a time since the resource was last accessed; and/or
a current state of the resource; and/or an attribute score of the resource; and/or
a usage history of the resource.
[0030] The resource information can include type information for identifying a type of the
remote resource, and the method can further comprise determining based on the resource
information whether an alternative resource of the same type as the selected resource
and having a higher ranking than the selected resource is available, in response to
the specific resource being selected.
[0031] The method can further comprise transmitting local resource information to the at
least one other device in the group over the network, the local resource information
comprising information about a resource accessible through the device.
[0032] The method can further comprise storing the received resource information for a predetermined
time period, requesting updated resource information from the other device after the
predetermined time period has expired, and deleting the stored resource information
for the other device, in response to updated resource information not being received.
[0033] Selecting the specific resource of the plurality of resources can comprise providing
a user with information about the plurality of resources, and receiving a user command
selecting one of the plurality of resources.
[0034] According to the present invention, there is further provided a method for use in
a device for communicating over a network with a specific device of the at least one
other device within a group of devices, the method comprising generating resource
information including a resource identifier for identifying a resource accessible
through the device and source information for identifying a location from which the
remote resource can be obtained, transmitting the resource information to the at least
one other device over the network, receiving a request to use the resource from the
specific device, and providing the requested resource to the specific device.
[0035] The device can communicate over a first network according to a first network protocol
and to communicate over a second network according to a second network protocol, wherein
the group of devices may include a first other device on the first network and a second
other device on the second network, and wherein in response to a request for resource
information from the first other device, resource information about a remote resource
provided by the second other device and accessible through the device can be transmitted
to the first other device.
[0036] The method may further comprise requesting the remote resource from the second other
device to provide the remote resource to the first other device, in response to a
request from the first other device to access the remote resource.
[0037] The request received from the specific device may include a group identifier for
identifying the group of devices, and the method may further comprise determining
whether authentication is required in the identified group, and authenticating the
specific device before providing the requested resource, in response to a determination
that authentication is required.
[0038] A non-transitory computer-readable storage medium may store a computer program which,
when executed, performs the method.
BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Exemplary embodiments of the present invention will now be described, by way of example
only, with reference to the accompanying drawings, in which:
FIG. 1 illustrates a group of devices to communicate over a network, according to
an exemplary embodiment of the present invention;
FIG. 2 illustrates a format for transmitting resource information from one device
to another, according to the exemplary embodiment of the present invention;
FIG. 3 illustrates a format for storing received resource information, according to
the exemplary embodiment of the present invention;
FIG. 4 illustrates a device for receiving resource information about a shareable resource,
according to the exemplary embodiment of the present invention;
FIG. 5 illustrates a device for transmitting resource information about a shareable
resource, according to the exemplary embodiment of the present invention;
FIG. 6 illustrates a method for use in a device such as the device shown in FIG. 4,
according to the exemplary embodiment of the present invention;
FIG. 7 illustrates a method for use in a device such as the device shown in FIG. 5,
according to the exemplary embodiment of the present invention;
FIG. 8 illustrates a first device acting as a bridging device between two other devices
on different networks, according to the exemplary embodiment of the present invention;
FIG. 9 illustrates a ranking of resources, according to the exemplary embodiment of
the present invention;
FIG. 10 illustrates a method for determining whether a resource is currently available,
according to the exemplary embodiment of the present invention;
FIG. 11 illustrates a system including two groups of devices, according to the exemplary
embodiment of the present invention;
FIG. 12 illustrates a method sequence chart showing a method for setting up a group
of devices, according to the exemplary embodiment of the present invention;
FIG. 13 illustrates a message sequence chart showing a method for setting up a group
using authentication, according to the exemplary embodiment of the present invention;
and
FIG. 14 illustrates a method sequence chart showing a method for reconnecting to a
group using authentication, according to the exemplary embodiment of the present invention.
DETAILED DESCRIPTION
[0040] Exemplary embodiments of the present invention will be described with reference to
the accompanying drawings. In the following description, a detailed explanation of
known related functions and constructions may be omitted to avoid unnecessarily obscuring
the subject matter of the present invention. The present invention may, however, be
embodied in many different forms and should not be construed as limited to the exemplary
embodiments set forth herein. In addition, terms described herein, which are defined
with reference to the functions of the present invention, may be implemented differently
depending on a user or operator's intention and practice. Therefore, the terms should
be understood on the basis of the disclosure throughout the specification. The principles
and features of this invention may be employed in varied and numerous exemplary embodiments
without departing from the scope of the invention.
[0041] The same reference numbers are used throughout the drawings to refer to the same
or like parts. Furthermore, although the drawings represent exemplary embodiments
of the invention, the drawings are not necessarily to scale and certain features may
be exaggerated or omitted in order to more clearly illustrate and explain the present
invention.
[0042] Among the terms set forth herein, a terminal, a mobile device, a portable device,
or an electronic device refers to any kind of device capable of processing data which
is transmitted or received to or from any external entity. The terminal, the mobile
device, the portable device, or the electronic device may display icons or menus on
a screen to which stored data and various executable functions are assigned or mapped.
The terminal, the mobile device, the portable device, or the electronic device may
include a computer, a notebook, a tablet PC, a cellphone, and any known type of electronic
device.
[0043] Among the terms set forth herein, a screen refers to a display or other output devices
which visually display information to the user, and which optionally are capable of
receiving and electronically processing tactile inputs from a user using a stylo,
a finger of the user, or other techniques for conveying a user selection from the
user to the output devices.
[0044] Among the terms set forth herein, an icon refers to a graphical element such as a
figure or a symbol displayed on the screen of the electronic device such that a user
can easily select a desired function or data. In particular, each icon has a mapping
relation with any function being executable in the electronic device or with any data
stored in the electronic device and is used for processing functions or selecting
data in the electronic device. When a user selects one of the displayed icons, the
electronic device identifies a particular function or data associated with the selected
icon. Then the electronic device executes the identified function or displays the
identified data.
[0045] Among the terms set forth herein, data refers to any kind of information processed
by the electronic device, including text and/or images received from any external
entities, messages transmitted or received, and information created when a specific
function is executed by the electronic device.
[0046] Among the terms set forth herein, a device refers to an electronic device such as
a terminal, a mobile device, a portable device, or any other known type of electronic
device.
[0047] Referring now to FIG. 1, a group of electronic devices which communicate over a network
is illustrated, according to an exemplary embodiment of the present invention. In
the exemplary embodiment, the group includes a television, monitor, or display unit
110-1, a laptop computer 110-2, a tablet computer 110-3 and a smartphone or personal
digital assistant (PDA) 110-4. The group of electronic devices communicate over a
wireless network 120, such as a network using WI-FI, a wireless technology for data
exchange over a computer network, commercially available from the WI-FI ALLIANCE,
although in other exemplary embodiments any type of network, wired and/or wireless,
could be used. Also, although certain types of electronic devices are shown in FIG.
1, in general exemplary embodiments of the present invention can include any type
of electronic device that is capable of communicating over a network with other devices.
Examples of other types of devices that can be included in a group of devices similar
to that shown in FIG. 1 include, but are not limited to, audio hi-fi equipment, home
media servers, set-top boxes, digital versatile disc (DVD) players, and smart appliances
such as refrigerators and washing machines that feature integrated network interfaces.
[0048] Each of the electronic devices 110-1, 110-2, 110-3, 110-4 includes at least a controller,
a storage unit, an input device and an output device. The controller may include a
central processing unit (CPU), a processor, a microprocessor, or any other known type
of electronic control unit. The storage unit may be a memory and any other known type
of storage devices for storing data and software such as an operating system and an
application program for operating the electronic device as described herein for the
present invention. The input device may be a remote control device for a television
110-1, at least one key or button, and/or a touch screen on a display unit, or any
other known type of input device. The output device may include at least a display
unit having a screen, which may be a touch screen, and may also include a speaker
for audio outputs, as well as any other known type of output device.
[0049] The devices 110-1, 110-2, 110-3, 110-4 within the group of devices shown in FIG.
1 communicate over the network 120 in order to share resources between the devices
110-1, 110-2, 110-3, 110-4. In particular, a first device that has access to at least
one shareable resource, which may be resources that are local to the first device
or are accessible by the first device over the network 120, transmits resource information
about the shareable resources to a second device over the network 120. For example,
the television 110-1 may share the data, used to generate an image on a display screen
of the television 110-1, with any of the other devices 110-2, 110-3, 110-4 or other
devices of the same or different types as the television 110-1, and so may transmit
resource information about the display screen over the network 120, or a camera without
GPS functionality could access a GPS module being shared by a smartphone in order
to obtain a GPS location to apply geo-tagging to photos. The resource information
can be received by one of the other devices, for example the smartphone 110-4, which
can then use the resource information to request access to the display screen of the
television 110-1 over the network 120. This allows the smartphone 110-4, or any other
device, which receives the resource information from the television 110-1, to access
the large display screen of the television 110-1. For example, the smartphone 110-4
can request access to the large display screen in order to display a video file or
a still image through the television 110-1.
[0050] A shareable resource can be any type of resource, for example a hardware resource
such as a display, a storage unit or memory (e.g. hard disk drive), a speaker, or
a software resource such as a multimedia file or an application.
[0051] In general, any device in the group of devices 110-1, 110-2, 110-3, 110-4 may transmit
and/or receive resource information. It is not essential for every device participating
in the group of devices to share a resource. That is, any given device may only transmit
resource information, only receive resource information, or both receive and transmit
resource information, as required. Specifically, a device may transmit resource information
if the device has any resources to share, and may receive resource information if
access to shareable resources is required. As an example, a device such as a media
server may transmit resource information to share recorded multimedia files with other
devices on the network 120, but may not require access itself to any shared resources
and hence may not receive any resource information from the other devices. On the
other hand, a device such as a smartphone may not have any resources to share and
hence may only receive resource information from other devices without transmitting
any resource information itself. These scenarios are exemplary, and in other situations,
for example, a media server may also receive resource information and/or a smartphone
may also transmit resource information to share resources.
[0052] An example of resource information transmitted from one device to another is illustrated
in FIG. 2, according to the exemplary embodiment of the present invention. In this
exemplary embodiment an extensible mark-up language (XML) format is used for the resource
information, but the invention is not limited to XML and in other exemplary embodiments
other formats could be used, such as a HyperText Markup Language(HTML), a Standard
Generalized Markup Language(SGML), or any other known information formats. As shown
in FIG. 2, the resource information 200 includes a resource identifier 201 for identifying
the shared resource, which is a resource accessible through the device transmitting
the resource information 200, and source information for identifying a location from
which the resource can be obtained.
[0053] The source information can take various forms. In the present example shown in FIG.
2, the source information includes a device identifier for identifying the device
which supplied the resource information, and a path information 202 for identifying
a path through which the resource can be accessed. The source information in FIG.
2 includes device identifiers such as the examples of the device identifiers (device_ID)
301, 302 shown in FIG. 3. Referring back to FIG. 2, in the present example the path
information 202 specifies a directory on the device which provided the resource information.
The resource can be obtained by requesting the resource from a Uniform Resource Identifier
(URI) obtained by combining the path information <path> with a device identifier <device_ID>,
for example an Internet Protocol (IP) address:
<device_ID>/<path>
[0054] When a device is sharing a plurality of resources, the path information 202 can specify
the location of each resource on the device. However, in some exemplary embodiments
the path information 202 can be omitted and the source information may only include
the device identifier. For instance, if a device is only sharing a single resource,
only the device identifier can be provided. Any other device can access the shareable
resource by sending a resource access request to the device, without knowing a specific
location on the device, and the device can respond to all resource access requests
by providing the single shared resource.
[0055] From the point of view of the device receiving the resource information 200, the
shared resource can be referred to as a remote resource, that is, a resource remote
from the device and accessible over the network 120, as opposed to a local resource
included in the device. Furthermore, in the exemplary embodiment the resource information
200 includes authentication information 203 for identifying a type of authentication
to be used when accessing the shared resource. However, in other exemplary embodiments,
the authentication information 203 can be omitted, for example if the same authentication
type will be used for all resources in the group of devices or if no authentication
is to be used.
[0056] A device that receives the resource information 200 can select one specific resource
of a plurality of resources including the remote shareable resource, and if the remote
resource is selected, can use the received resource information to request access
to that remote resource. Various approaches are possible for selecting a resource,
and will be described later in more detail. However, as an example, when the smartphone
110-4 of FIG. 1 is playing a multimedia file or is about to begin playback of a multimedia
file, the smartphone 110-4 can determine, based on received resource information,
that a larger display screen is available from the television 110-1, and can request
a user to select whether to continue reproducing the multimedia file on the smartphone
screen or on the television screen. If the user selects the television screen, which
is a remote resource shared by the television 110-1, the smartphone 110-4 requests
access from the location defined by the source information 202 associated with the
resource identifier of the selected remote resource, i.e. the television screen, to
reproduce the multimedia file through the television.
[0057] Referring now to FIG. 3, a file format for storing received resource information
is illustrated, according to the exemplary embodiment of the present invention. In
the exemplary embodiment of the present invention a device stores resource information
received from different devices in a single file 310, which may be referred to as
a resource catalog. The resource catalog 310 can be updated whenever new resource
information is received, by adding the new resource information to the catalog file.
Alternatively, in other exemplary embodiments resource information received from different
devices may be stored separately. As in the exemplary embodiment of FIG. 2, an extensible
mark-up language (XML) format is used for the resource catalog 310 in the exemplary
embodiment, but the present invention is not limited to XML and in other exemplary
embodiments any other known formats could be used.
[0058] As shown in FIG. 3, the resource catalog 310 in the present example includes first
resource information 300-1 received from a first device, and second resource information
300-2 received from a second device. In the resource catalog 310 each received resource
information 300-1, 300-2 is associated with a device identifier 301, 302, respectively,
for identifying the device from which the resource information 300-1, 300-2 was received.
Specifically, the first resource information 300-1 is associated with a device identifier
301 of the first device, and the second resource information 300-2 is associated with
a device identifier 302 of the second device.
[0059] Inclusion of the device identifier 301, 302 in the catalog 310 can assist in catalog
management. For instance, in some exemplary embodiments a device can leave a group
by broadcasting a leaving message over the network 120 to be received by other devices
in the group. When a device receives a leaving message, the device can update its
catalog 310 by deleting the stored resource information including the device identifier
301, 302 of the device from which the leaving message was received. Similarly, if
updated resource information is received, a device can determine which of the resource
information in the catalog 310 is to be replaced with the updated information based
on the device identifier 301, 302. Therefore the device identifier 301, 302 can serve
two functions, for example, identifying the location from which a resource can be
obtained, and enabling efficient management of stored resource information for a plurality
of devices.
[0060] Referring now to FIG. 4, a device 410 for receiving resource information about a
shareable resource is illustrated, according to the exemplary embodiment of the present
invention. The device 410 is able to communicate with other devices in a group of
devices over the network 120, via a network interface module 412. The network interface
module 412 may be included in the device 410, as shown in FIG. 4, or in alternative
exemplary embodiments may be accessed through a separate device to which the device
410 is connected. In addition to the network interface module 412, the device 410
comprises a resource information collector or collecting module 414 which receives
resource information over the network 120 from another device in the group of devices,
and a selection module 416 for selecting one resource of a plurality of resources
including the remote resource identified by the received resource information. The
selection module 416 may include or be connected to any known input device of the
electronic devices 110-1, 110-2, 110-3, and 110-4, such as keypads, remote controls
with keys and buttons, and a touch screen. Using the input device, a user enters a
user command or selection to select a specific resource of the plurality of resources,
and the selection module 416, in response to the user input, provides a user with
information about the plurality of resources and selects the specific resource of
the plurality of resources.
[0061] In response to the remote resource being selected, the device 410 requests the selected
remote resource from the location identified by the source information in the received
resource information. The resource information collecting module 414 can store the
received resource information in the catalog 310 as shown in FIG. 3 or in any other
format, and can store the received resource information in an internal storage module
of the device 410 or in a separate storage module, for example an external hard disk
drive.
[0062] By collecting resource information from other devices in the group of devices, the
device 410 of FIG. 4 is able to build up a collection of information about shareable
resources that can be accessed over the network 120. The device 410 can therefore
select a shareable resource, for example by selecting the resource automatically when
a particular condition is met or by selecting the resource in response to user input,
and can request access to the resource based on the stored resource information. Because
the device 410 already has the necessary information required to access the resource,
there is no need to provide a separate network management apparatus to store and manage
data repositories for holding access information about shared resources.
[0063] Referring now to FIG. 5, an electronic device for transmitting resource information
about a shareable resource is illustrated, according to the exemplary embodiment of
the present invention. As in the electronic device 410 of FIG. 4, the device 510 of
FIG. 5 is able to communicate with other devices in a group of devices over the network
120, via a network interface module 512 which may be included in the device 510 or
accessed through a separate device. The device 510 further comprises a plurality of
shareable resources 516, and a resource information generator 514, which may be a
resource information providing module. The resource information generator 514 generates
the resource information including a resource identifier for identifying one resource
of the shareable resources 516 accessible through the device 510 and source information
for identifying a location from which the resource can be obtained, and to transmit
the resource information over the network 120 to other devices in the group of devices.
In the exemplary embodiment the resource information is generated whenever the device
510 boots up. However, in alternative exemplary embodiments the resource information
can, for example, be generated before the device 510 joins the group, while the device
510 is joining the group, or after the device 510 has joined the group and in response
to a request for resource information for another device.
[0064] Furthermore, in response to a request to use the resource received from another device
over the network 120, the device 510 provides the requested resource to the other
device. The device 510 may include a resource access control module for controlling
access to the shareable resources 516 in response to requests received from other
devices, for example if authentication of the other devices is required before access
can be granted.
[0065] Various methods are possible to obtain the resource identifier to be included in
the resource information. In the exemplary embodiment, a universally unique identifier
(UUID) is used to ensure a unique identifier for each resource 516. In an alternative
exemplary embodiment, for example, a combination of device IP address and media access
control (MAC) code could be used as a resource identifier.
[0066] Although in the exemplary embodiment the device 510 includes three shareable resources,
i.e. a first shareable resource 516-1, a second shareable resource 516-2 and a third
shareable resource 516-3, in general the device 510 may include any number of shareable
resources, i.e. at least one shareable resource.
[0067] The devices 410, 510 shown in FIGS. 4 and 5, respectively, could be used as any of
the devices shown in the device group of FIG. 1, and may be combined in a single device
if it is required for that device to both transmit and receive resource information.
Also, the separate modules shown in FIGS. 4 and 5 may in general be hardware or software
modules, operating using hardware, and configured to perform the desired function.
For example the resource information collection and generation, and the resource selection
could be performed by software modules running on a processor and hence could be embodied
as a computer program stored on a non-transitory computer-readable storage medium,
such as a hard disk, an optical disk, a universal serial bus (USB) a memory stick,
and other known storage media.
[0068] As in the electronic device 410 of FIG. 4, the electronic device 510 of FIG. 5 avoids
the need for a separate network management apparatus because the resource information
generation and transmission is handled by the same device which is sharing the resources.
Therefore when a group of devices such as those devices 410, 510 shown in FIGS. 4
and 5, implementing the devices 110-1, 110-2, 110-3, 110-4, exchange resource information
over a network 120, as shown in FIG. 1, resource sharing between devices can be handled
in a distributed manner without having to provide a dedicated central server for the
purpose of resource sharing. Accordingly, even if the group of devices was originally
set up by a particular device, the remaining devices can continue to share resources
even after that device has left the group because resource sharing is not controlled
by any single device such as a central server. Hence, in the present invention, devices
can freely join and leave the group of devices at any point, without affecting the
ability of the remaining devices to share resources.
[0069] Referring now to FIG. 6, a method for use in a device, such as the device 410 shown
in FIG. 4, is illustrated according to the exemplary embodiment of the present invention.
The method could be implemented by dedicated hardware provided in the device 410,
for example an application-specific integrated circuit (ASIC), or could be implemented
by a computer program executed on a processor in the device 410.
[0070] Firstly, in step S601 the device 410 receives resource information from another device
in the group of devices over the network 120 in FIG. 1. The resource information can
be information which identifies one remote shareable resource or which identifies
a plurality of remote shareable resources. At this point, the device 410 can store
the received resource information, for example in the catalog 310 as shown in FIG.
3 together with resource information from other devices. Then, in step S602 one specific
resource of a plurality of resources is selected, for example, by a user input, command,
or selection through an input device included or connected to the selection module
416, with the plurality of resources including at least one local resource and the
remote resource identified by the resource information received in step S601.
[0071] Next, in step S603 it is determined whether the remote resource was selected. If
the remote resource was selected, then in step S604 the selected remote resource is
requested using the location information included in the resource information received
at step S601, and the method in FIG. 6 ends. On the other hand, if the selected resource
was a local resource, i.e. not a remote resource being shared by another device, then
in step S605 the selected local resource is used, and the method in FIG. 6 ends. Although
in FIG. 6 a local resource may be selected, it is not essential in all exemplary embodiments
for this to be the case. In some exemplary embodiments a resource may be selected
only from a plurality of remote resources, i.e. a set of resources not including any
local resources. For example, one file of a plurality of multimedia files may be selected,
all of which are stored remotely and are being shared by at least one device over
the network. In such exemplary embodiments steps S603 and S605 could be omitted and
instead the process can proceed directly to step S604 to request the selected remote
resource.
[0072] Referring now to FIG. 7, a method for use in a device such as the device 510 shown
in FIG. 5 is illustrated, according to the exemplary embodiment of the present invention.
As with FIG. 6, the method of FIG. 7 could be implemented by dedicated hardware or
by a computer program executed on a processor.
[0073] Firstly, in step S701, the device 510 generates resource information which identifies
at least one shareable resource accessible through the device 510. Here, the at least
one shareable resource included in the resource information could be a local resource
included in the device 510, a remote resource that can be accessed by the device 510
through another device, or any combination of local and remote shareable resources.
[0074] Then, in step S702, the generated resource information is transmitted to at least
one other device in the group of devices. The resource information can be broadcast
to all devices through the network 120, for example, when the device joins the group,
the resource information can be broadcast over the network 120 to all other devices
in the group. Alternatively, or in addition, the device 510 can periodically re-broadcast
resource information over the network 120 and/or can transmit the resource information
to a specific device in response to a request from the device 510. Also, the resource
information can be generated at any point before being transmitted. In the exemplary
embodiment the resource information is generated whenever the device 510 boots up.
However, in alternative exemplary embodiments the resource information can, for example,
be generated before the device 510 joins the group, while the device 510 is joining
the group, or after the device 510 has joined the group and in response to a request
for resource information for another device.
[0075] After transmitting resource information, then in step S703 the device 510 waits to
receive an access request for a shareable resource from another device in the group.
If no access request is received, the method loops back repeatedly to perform step
S703. In response to a request being received as determined in step S703, the device
510 proceeds to step S704 and provides the resource to the requesting device. The
method in FIG. 7 then ends. Here, authentication can be used to verify that the request
is received from an authorized device. Depending on how the group of devices has been
set up, in some exemplary embodiments it may be possible to define different types
of authentication for different resources, as shown in FIGS. 2 and 3, or authentication
may be required for all shareable resources. If authentication is required for the
requested resource then the device 510 can authenticate the requesting device before
providing the resource.
[0076] As described above, when generating resource information in step S701, the device
510 can include information about remote shareable resources that are accessible from
another device. This allows the device 510 to act as a bridging device between two
other devices in the group of devices, as shown in FIG. 8. In the example shown in
FIG. 8, a first device 810-1 is compatible with two different network standards, in
this case WI-FI and BLUETOOTH. The group of devices also includes a second device
810-2 and a third device 810-3 which are only compatible with WI-FI and can communicate
with the first device 810-1 over a WI-FI network 820-1. The group of devices further
includes a fourth device 810-4 which is only compatible with BLUETOOTH and communicates
with the first device 810-1 over a network 820-2 using BLUETOOTH, a short range wireless
communications technology at the 2.4 GHz band, commercially available from the BLUETOOTH
SPECIAL INTEREST GROUP, INC. In this way one group of devices can include devices
that communicate over more than one network type.
[0077] In the present example the first device 810-1 can act as a bridging device between
the devices 810-2, 810-3, and the fourth device 810-4. Specifically, the first device
810-1 can include information about a remote shareable resource on the fourth device
810-4 in the resource information sent to the devices 810-2, 810-3. The devices 810-2,
810-3 can therefore each access the resource on the fourth device 810-4 by sending
a request to the first device 810-1, which will in turn request the resource from
the fourth device 810-4 in order to provide the resource to the requesting device.
[0078] As shown in FIG. 8, the first device 810-1 can operate as a bridging device when
the group includes any devices that are not able to communicate directly, for example,
due to incompatible network protocols. However, the use of bridging devices is not
limited to situations in which different network types are used. For example, even
when all devices in a group communicate over the same network, a device can still
act as a bridging device by including information about remote resources in its own
resource information. This may be advantageous when two devices are not able to establish
a reliable direct connection, since the devices can still share resources via a third
device to which both can connect reliably. For instance, environmental factors may
prevent a reliable BLUETOOTH connection being formed directly between the two devices.
[0079] Exemplary embodiments of the present invention have been described in which a device
can select a remote shareable resource and request access to the selected remote resource
from another device in the group. To select one of a plurality of resources, the device
can rank the resources according to at least one predetermined ranking criteria. In
particular, a plurality of different resource types can be defined and the resource
information for each resource can include type information for identifying a type
of the remote shareable resource. When a resource of a particular type is required
the device can rank all available resources, local and remote, of that particular
type. For example, the type of required resource may be a display screen, and the
device can rank all available display screens to determine the preferred screen to
use. In this way, it can be determined based on the resource information whether an
alternative resource of the same type as the selected resource and having a higher
ranking than the selected resource is available.
[0080] Resource ranking will now be described with reference to FIG. 9, which illustrates
a system for ranking resources according to the exemplary embodiments of the present
invention. In the exemplary embodiment shown in FIG. 9, three resources of the same
type, labeled Resource 1, Resource 2, and Resource 3, are ranked according to four
predetermined criteria. In other exemplary embodiments, different criteria may be
used. In the exemplary embodiment the criteria are a time since the resource was last
accessed, a current state of the resource, an attribute score of the resource, and
a usage history of the resource. Each resource is assigned a score in each category,
and the scores for each resource are summed to give a total score. The resources can
then be ranked according to their total score, with the resource with the highest
score being selected as the preferred resource. In some exemplary embodiments, the
ranking results may be presented to a user, for example, by being output by audio
and/or visual devices such as a display which may be a touch screen on the devices
110-1, 110-2, 110-3, 110-4, to allow the user to select, through an input device and
the selection module 416, the preferred resource based on the scores.
[0081] To be able to score resources in each category, it is necessary to obtain certain
information about each resource. The information for a given resource can be obtained
from the device which originally provided the resource information for that resource,
either by being included in the resource information initially or by being received
at a later stage.
[0082] In more detail, regarding the "last access" criteria in FIG. 9, each resource can
be assigned a score under this criteria which depends on how long it has been since
the resource was last accessed. For example, a score of 0 may be assigned if the resource
has not been accessed for more than 24 hours, a score of 1 may be assigned if the
resource was accessed between 1 and 24 hours ago, and a score of 2 may be assigned
if the resource was accessed less than 1 hour ago. These ranges are only exemplary
and different ranges may be defined for different resources, for instance a multimedia
file may be accessed much less frequently than a display screen or a speaker.
[0083] Regarding the "resource state" criteria in FIG. 9, each resource can be scored depending
on a current state of the resource, which may have different meanings for different
types of resource. For example, in the case of a resource which is a global positioning
system (GPS) receiver, a higher score may be assigned to the resource if the GPS receiver
currently has a position fix as opposed to a GPS receiver which is attempting to determine
a position. On the other hand, some types of resources may only have a single state,
in which case this criteria may be omitted.
[0084] Regarding the "attributes" criteria in FIG. 9, this score can take into account any
important attributes of the resource. Which attributes are important will depend on
the resource type. For example, in the case of a display screen of a device, a higher
score may be given to a larger display than a smaller display. Other examples of attributes
include, but are not limited to, whether the display color or black-and-white images,
the power consumption of the display, and the resolution, and any combination thereof.
If the resource is a speaker, attributes could include maximum volume setting, power
consumption level, and a quality metric, and any combination thereof. In the case
of a storage unit such as a hard disk drive, attributes could include access speed
and available capacity. These attributes and resource types are merely exemplary and
are not limiting.
[0085] Regarding the "usage history" criteria in FIG. 9, this can be a score that is maintained
by the device performing the ranking, and which takes into account such factors as
whether the resource has been accessed previously, and if so, a performance level
of the resource and observed reliability. For example, if a particular resource has
been accessed frequently but has proven to be unreliable, the resource may be assigned
a low score under "usage history". In the example shown in FIG. 9, the third resource
has not previously been accessed by the present device and hence no usage history
score is available.
[0086] As described above, resource ranking can be used to select a preferred resource when
a plurality of different resources of the same type are available. Also, if the same
resource is available through different paths, for instance, if a resource can be
both directly accessed and indirectly accessed through a bridging device as described
with reference to FIG. 8, the resource information for each different access path,
defined in the location information, can be used to rank the alternative access paths
to select a preferred location from which to obtain the resource.
[0087] Referring now to FIG. 10, a method for determining whether a resource is currently
available is illustrated in table form, according to the exemplary embodiment of the
present invention. In this exemplary embodiment, before selecting one of a plurality
of resources, a device queries the other devices providing the plurality of resources
to determine whether each resource is currently available. Unavailable resources can
be removed from the selection process to ensure that only available resources can
be selected.
[0088] The method shown in FIG. 10 can be performed either at the device which provides
the resource, before responding to the availability query with a simple response indicating
"yes" or "no" for availability, or can be performed at the device making the selection
based on information received in response to the query.
[0089] In more detail, the example shown in FIG. 10 illustrates different availability states
of five resources. A first resource, labeled 001, is classed as unavailable because
the device providing the resource is not currently present, i.e. has left the network
120, or the networks 820-1, 820-2. A second resource, labeled 002, is available because
the device is present and the resource is not currently in use. A third resource,
labeled 003, is available because although the resource is currently in use, the resource
supports parallel use, i.e. use by more than one device at a time. For example, parallel
use may be supported by a media file, but not by a display screen. A fourth resource,
labeled 004, is available because the resource is interruptible (INT) and the requesting
device has a high priority. In this case it is irrelevant whether the resource is
currently in use because the requesting device will be able to interrupt the resource
to obtain access. Finally, a fifth resource, labeled 005, is unavailable because the
resource is in use, parallel use is not supported, and the requesting device is not
permitted to interrupt the previous user of the resource. Thus, the device determining
whether a resource is currently available may query the other devices and may compile
the table shown in FIG. 10, may store the table of FIG. 10 in memory or in a storage
unit of the determining device, and may perform the method of FIG. 10 by scanning
the table entries for resources which match a predetermined or input selection criteria
for the resources to be accessed.
[0090] Referring now to FIG. 11, a system including two groups of devices is illustrated,
according to the exemplary embodiment of the present invention. Specifically, in the
exemplary embodiment there are five devices 1110-1, 1110-2, 1110-3, 1110-4, 1110-5,
with all of the devices communicating via the same network 1120. However, not all
of the devices are included in the same group. The first device 1101-1, the second
device 1110-2, and third device 1110-3 are included in a first group 1131, while the
third device 1110-3 is also part of a second group 1132 which includes the fourth
device 1110-4 and the fifth device 1110-5. The different groups can be defined by
different group identifiers (IDs). A group ID is shown in FIG. 3, where the resource
catalog 310 includes a GROUP_ID to identify the group to which the resource information
applies. In the case of the third device 1110-3 in FIG. 11, this device could store
separate resource catalogs for the first group 1131 and the second 1132 group under
different group IDs.
[0091] Defining different groups in this way enables different resources to be shared across
different groups. For instance, the third device 1110-3 can share certain resources
with the first group 1131 by sending resource information for those resources to the
other devices 1110-1, 1110-2 in the first group 1131. Similarly, the third device
1110-3 can also share a different set of resources with the other devices 1110-4,
1110-5 in the second group 1132. This may be particularly advantageous when, for example,
one group is set up to use authentication and the other group is set up as an open
group which does not require authentication.
[0092] Referring now to FIG. 12, a method sequence chart showing a method for setting up
a group of devices is illustrated, according to the exemplary embodiment of the present
invention. To set up a new group of devices, i.e. if the group of devices does not
already exist, a first device 1210-1, labeled Device A, broadcasts a group setup message
over a network 1220.
[0093] In more detail, a device can attempt to join or set-up a group of devices whenever
a predetermined condition is met. In the exemplary embodiment, the predetermined condition
is based on location awareness, and the first device 1210-1 periodically obtains information
about its location, for example using a GPS receiving module. Alternatively, in other
exemplary embodiments the location determination may be made based on a WI-FI signal,
by determining that the device is within range of a predetermined network, or using
other information such as ambient sound detection. In response to the location information
indicating that the device is at a predetermined location, the first device 1210-1
determines whether the group of devices exists by broadcasting a group search message
including a predetermined group identifier for identifying the group, waiting a predetermined
time, and determining that the group does not exist if a response indicating the existence
of the group is not received from the network within the predetermined time. This
approach ensures that other devices on the network are not required to respond unless
the other devices are already part of the identified group, reducing a network traffic
burden. In alternative exemplary embodiments however, instead of broadcasting a message
including the predetermined group ID, the first device 1210-1 can broadcast a group
search message to request other devices to respond with the group IDs of any existing
groups to which the other devices already belong. The first device 1210-1 can then
wait a predetermined time and compare the group IDs in any responses received in that
time against the predetermined ID, to determine whether the group exists.
[0094] Referring back to FIG. 12, the group setup message is received by a second device
1210-2, labeled Device B, that is also connected to the network 1220. In response
to the group setup message, the second device 1210-2 determines whether to join the
new group. For example, the second device 1210-2 may request a user to select whether
or not to join the group, or alternatively could automatically join any new group
meeting certain criteria, for instance any new "open" group that does not require
authentication.
[0095] If the second device 1210-2 determines or is instructed by the user to join the new
group, the second device 1210-2 transmits a response message to the first device 1210-1
to confirm that the second device 1210-2 intends to join the group. Then, the first
device 1210-1 requests resource information from the second device 1210-2, receives
the resource information from the second device 1210-2, and in response transmits
its own resource information to the second device 1210-2. At this point both devices
1210-1, 1210-2 have exchanged resource information and can now share their resources,
and the group is set up.
[0096] Although in FIG. 12 a dedicated response to the group setup message is transmitted,
and a dedicated request for resource information is transmitted, in some exemplary
embodiments these steps and responses can be omitted. For example, instead of responding
to the group setup message with a dedicated response, the second device 1210-2 could
simply respond by transmitting the resource information to the first device 1210-1.
[0097] Referring now to FIG. 13, a message sequence chart showing a method for setting up
a group using authentication is illustrated, according to the exemplary embodiment
of the present invention. The method is similar in some respects to the method of
FIG. 12, and a detailed description of the similar steps will be omitted here to maintain
brevity. In the exemplary embodiment, the group setup message broadcast by the first
device 1310-1 over the network 1320 includes authentication information that identifies
a type of authentication to be used in communications between the devices 1310-1,
1310-2 in the new group. Upon receipt of the group setup message, the second device
1310-2 requests to join the new group by starting a mutual authentication with the
first device 1310-1. In response to the message from the second device 1310-2 being
successfully authenticated by the first device 1310-1, the first device 1310-1 accepts
the joining request from the second device 1310-2 and transmits an authorization token
to the second device 1310-2. The authorization token is a token for use in authenticating
communications between devices in the same group, which can be included in messages
sent over the network to verify to a device receiving the message that the device
originated from an authorized device. The second device 1310-2 stores the authorization
token.
[0098] As shown in FIG. 13, when subsequently requesting the resource information from the
second device 1310-2, the first device 1310-1 now includes the authorization token
in the request message. The second device 1310-2 is therefore able to confirm, by
comparison with the stored token, that the request message originated from an authorized
device.
[0099] Referring now to FIG. 14, a message sequence chart showing a method for reconnecting
to a group using authentication is illustrated, according to the exemplary embodiment
of the present invention. In the present example, a second device 1410-2 is reconnecting
to a network to which a first device 1410-1 and a third device 1410-3 are connected.
The second device 1410-2 was previously connected to the network and was a member
of Group 1, to which the first device 1410-1 also belongs. The third device 1410-3
is not included in Group 1, but is a member of a second group labeled Group 2.
[0100] Upon reconnecting the network, the second device 1410-2 broadcasts a group search
message to determine whether Group 1 still exists, i.e. whether any devices included
in Group 1 are still connected to the network. In the present example the group search
message requires each device to respond with the group IDs of any groups to which
each device belongs, although as described above, other approaches are possible in
other exemplary embodiments. The first device 1410-1 responds with a message including
the group ID of the first group, that is, Group 1, and the third device 1410-3 responds
with a message including the group ID of the second group, that is, Group 2. At this
point, the second device 1410-2 that Group 1 still exists because the first device
1410-1 is still connected to the network. In response to the determination that the
Group 1 exists, the second device 1410-2 broadcasts a request to any devices in the
first group Group 1 to rescan the group, to prompt each device to update its catalog
310, shown for example in FIG, 3, with the shared resources of the second device 1410-2.
[0101] In the exemplary embodiment, Group 1 is set up to use an authorization token to authenticate
communications, as described above with reference to FIG. 13. Therefore the first
device 1410-1, and any other devices in Group 1 still connected to the network, respond
to the rescan request by sending a resource information request including the authorization
token to the second device 1410-2. Because the second device 1410-2 was previously
part of the first group Group 1, the second device 1410-2 already has the authorization
token and can confirm that the request from the first device 1410-1 originated from
an authorized device. Therefore the second device 1410-2 transmits its own resource
information to the first device 1410-1, which adds the resource information to its
own catalog 310. A similar message sequence follows for the second device 1410-2 to
receive resource information from the first device 1410-1. At this point the second
device 1410-2 has now rejoined the first group Group 1 and can resume sharing resources.
[0102] Exemplary embodiments of the present invention have been described in which devices
receive resource information about shareable resources that are accessible through
other devices on a network. In some exemplary embodiments, a device can store the
received resource information for a predetermined time period and request updated
resource information from the other device after the predetermined time period has
expired. This ensures that an up-to-date record of shareable resources can be maintained.
Also, in response to updated resource information not being received, the device can
delete the stored resource information for the other device. This ensures that when
a device leaves the network, other devices do not subsequently attempt to access the
shareable resources of the departing device.
[0103] The above-described apparatus and methods according to the present invention can
be implemented in hardware or firmware, or as software or computer code, or combinations
thereof. Various components such as a controller, a central processing unit (CPU),
a processor, and any unit or device described herein includes at least hardware and/or
other physical structures and elements. In addition, the software or computer code
can also be stored in a non-transitory recording medium such as a CD ROM, a RAM, a
ROM whether erasable or rewritable or not, a floppy disk, CDs, DVDs, memory chips,
a hard disk, a magnetic storage media, an optical recording media, or a magneto-optical
disk or computer code downloaded over a network originally stored on a remote recording
medium, a computer readable recording medium, or a non-transitory machine readable
medium and to be stored on a local recording medium, so that the methods described
herein can be rendered in such software, computer code, software modules, software
objects, instructions, applications, applets, apps, etc. that is stored on the recording
medium using a general purpose computer, a digital computer, or a special processor
or in programmable or dedicated hardware, such as an ASIC or FPGA. As would be understood
in the art, the computer, the processor, microprocessor controller or the programmable
hardware include volatile and/or non-volatile storage and memory components, e.g.,
RAM, ROM, Flash, etc. that may store or receive software or computer code that when
accessed and executed by the computer, processor or hardware implement the processing
methods described herein. In addition, it would be recognized that when a general
purpose computer accesses code for implementing the processing shown herein, the execution
of the code transforms the general purpose computer into a special purpose computer
for executing the processing shown herein. In addition, the program may be electronically
transferred through any medium such as communication signals transmitted by wire/wireless
connections, and their equivalents. The programs and computer readable recording medium
can also be distributed in network-coupled computer systems so that the computer readable
code is stored and executed in a distributed fashion.
[0104] While certain exemplary embodiments of the present invention have been described
above, the skilled person will appreciate that many variations and modifications are
possible without departing from the scope of the invention as defined in the accompanying
claims.