This invention relates in general to computer networks, and more particularly to digital media sharing/utilization in home networks.
Recently, digital technologies have been increasingly adopted by consumers. This adoption has accelerated to wide availability of network technologies such as broadband Internet access and wireless networking. These technologies enable devices to interact with each other as well with a global community of users and businesses. As such, devices large and small are increasingly network aware.
Increased usage of digital entertainment has led users to demand greater device interoperability, so that content such as video, audio, and pictures, audio can be easily shared by devices throughout the home. However, consumers too often find out that network-capable devices are not necessarily compatible with each other or with the consumer's home networking equipment. This interoperability requires that the devices not only use compatible data transfer media and protocols, but that the media itself is in a format usable by all of these devices.
In response to these demands, a number of consumer electronics manufacturers formed an organization known as the Digital Living Network Alliance (DLNA). The goal of the DLNA is ensure device and content interoperability throughout the home using established industry standards. For example, to ensure device interoperability, the DLNA incorporates standards from such bodies as the Internet Engineering Task Force (IETF), the World Wide Web Consortium (W3C), and the Universal Plug and Play (UPnP) Forum. For example, the device model used by DLNA is derived from the UPnP framework.
The UPnP Forum defines an architecture for pervasive peer-to-peer network connectivity of intelligent appliances, wireless devices, and PCs of all form factors. It is designed to bring easy-to-use, flexible, standards-based connectivity to ad-hoc or unmanaged networks whether in the home, in a small business, public spaces, or attached to the Internet. UPnP technology provides a distributed, open networking architecture that leverages IETF and W3C standards such as Transmission Control Proto/Internet Protocol (TCP/IP) and Hypertext Markup Language (HTML) to enable seamless proximity networking in addition to control and data transfer among networked devices.
In addition to connectivity standards, the DLNA incorporates media standards such as JPEG, LPCM, and MPEG2 for rendering digital image, audio, and video respectively. The focus on media formats is a distinguishing feature between the work of the UPnP Forum and DLNA. The UPnP framework was designed with a focus on ensuring devices can discover each other's services and utilize those services across the network. However, it is up to the peer UPnP devices to determine/negotiate compatible media formats outside of the UPnP framework. Thus the DLNA media profiles are intended to fill that gap.
Numerous media profiles with specific DLNA media profile identifiers have been defined to help devices ensure media format compatibility. When a DLNA device creates the content (e.g., digital camera) this can ensure that the content is digitized and stored in a DLNA compatible from the start. However, user will want to incorporate legacy media files into their DLNA network, and may also want to transfer/incorporate media from devices that are not fully DLNA certified. As a result, when a DLNA device such as a media server adds new content (e.g., media file, link to content), the device may need to analyze the content and assign a DLNA media profile identifier to each item of content.
Determining media profile identifiers for unknown content may be processor intensive. Such determination may involve guessing a format (e.g., via a file name extension), examining content headers, and/or analyzing samples of the digitized content, using media codecs to resolve images, etc. As such, devices with less powerful processors (e.g., mobile devices) may see performance issues when trying to determine media profile identifiers for locally accessible content. However, with the increased capacity seen in portable devices such as media players and mobile phones, it becomes more likely that users will want to use such mobile devices as a primary media storage to ensure their media is always close at hand. However, when a large amount of new content is being added to a mobile device (e.g., initial deployment, when the user desires to change hundreds or thousands of media content items) the user experience may significantly suffer if the processing takes too long time. Thus, improving the performance of DLNA media profile characterization in such devices is desirable.
To overcome limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention discloses a system, apparatus and method for assisting media server devices in determining media profiles. In one embodiment, a method involves enumerating digital media objects on a media server device. A remote procedure call of a network server is invoked to determine media profile identifiers of the digital media objects, and sample portions of the digital media objects are accessed. The sample portions are usable to assign the media profile identifiers to the respective digital media objects. The sample portions of the digital media objects are sent to the network server and, in response to invoking the remote procedure call, the media profile identifiers assigned to the sample portions are received from the network server. Based on the assignment of the media profile identifiers to the sample portions, the media profile identifiers are assigned to the digital media objects at the media server device.
In a more particular embodiment of the method, the media profile identifiers include Digital Living Network Alliance (DLNA) media profile identifiers. In one variation, sending the sample portions of the media files involves sending the sample portions of the media files as an argument of the remote procedure call. In such a variation, the sample portions of the media files may be sent as binary objects embedded in an Extensible Markup Language (XML) document. In another variation, the method may further involve discovering the remote procedure call via a service discovery protocol of a home network.
In a more particular embodiment of the method, invoking the remote procedure call involves sending Uniform Resource Identifiers (URIs) of the digital media objects as an argument of the remote procedure call. In such a case, sending the sample portions of the media files may involve sending the sample portions of the media files by a media access service of the media server device in response to a client request made by the network server. Further in such a case, the client request is made in response to invoking the remote procedure call, and the client request includes the URIs of the digital media objects. The client request may be made via a Hypertext Transport Protocol (HTTP) method, and the sample portions may be defined in the HTTP method by the use of an HTTP Range header.
In another embodiment of the invention, an apparatus includes a network interface capable of connecting to a network server via a home network and a processor coupled to the network interface. Memory is coupled to the processor, and the memory includes a media server that provides access to digital media objects stored on the apparatus. The memory further includes instructions that cause the processor to enumerate the digital media objects and invoke a remote procedure call of the network server to determine media profile identifiers of the digital media objects. The instructions further cause the processor to access sample portions of the digital media objects. The sample portions are usable to assign the media profile identifiers to the respective digital media objects. The instructions further cause the processor to send the samples of the digital media objects to the network server via the home network and receive from the network server the media profile identifiers assigned to the sample in response to invoking the remote procedure call. The processor assigns the media profile identifiers to the digital media objects based on the assignment of the media profile identifiers to the samples.
In another embodiment of the invention, an apparatus includes a network interface capable of connecting to a media server device via a home network. A processor is coupled to the network interface and memory is coupled to the processor. The memory includes instructions that cause the processor to receive, via the home network, a request to invoke a remote procedure call to assign media profile identifiers to respective digital media objects that are accessible via the media server. The instructions further cause the processor to access sample portions of the digital media objects from the media server device, analyze the sample portions to assign media profile identifiers to the respective digital media objects, and send the media profile identifiers to the media server device in response to the request.
In another embodiment of the invention, a system includes: means for enumerating digital media objects on a media server device; means for defining sample portions of the digital media objects, wherein the sample portions are usable to assign media profile identifiers to the respective digital media objects; means for receiving, via a home network, a request to assign the media profile identifiers to the respective digital media objects; means for analyzing the sample portions to assign media profile identifiers to the respective digital media objects; and means for sending the media profile identifiers to the media server device in response to the request.
In another embodiment of the invention, a computer readable storage medium has instructions stored thereon that are executable by a processor to: enumerate digital media objects accessible via a network media server device; invoke, via a home network, a remote procedure call of a network server to determine media profile identifiers of the digital media objects; access sample portions of the digital media objects, wherein the sample portions are usable to assign the media profile identifiers to the respective digital media objects; send the samples of the digital media objects to the network server via the home network; receive from the network server the media profile identifiers assigned to the sample in response to invoking the remote procedure call; and assign the media profile identifiers to the digital media objects based on the assignment of the media profile identifiers to the samples.
These and various other advantages and features of novelty which characterize the invention are pointed out with particularity in the claims annexed hereto and form a part hereof. However, for a better understanding of the invention, its advantages, and the objects obtained by its use, reference should be made to the drawings which form a further part hereof, and to accompanying descriptive matter, in which there are illustrated and described representative examples of systems, apparatuses, and methods in accordance with the invention.
The invention is described in connection with the embodiments illustrated in the following diagrams.
In the following description of various embodiments, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration various embodiments in which the invention may be practiced. It is to be understood that other embodiments may be utilized, as structural and operational changes may be made without departing from the scope of the present invention.
Generally, the present disclosure is related to efficiently and automatically characterizing digital media on mobile devices. For example, a mobile device capable of acting as a media server may create a (relatively small) sample of stored/accessible digital media, and send this sample to a network server for analysis and characterization. The sample is chosen with the smallest size possible, while still having enough data to enable characterization of the media from which the sample is taken. This characterization may, for example, result in a DLNA media profile identifier (ID) being assigned to the media from which the sample was taken.
The embodiments described herein provide advantages in some cases, such as where media is stored/served via mobile devices. In such cases, embodiments of the invention allow faster detection of profile IDs when large number of files will be examined. Offloading of profile detection can improve mobile device performance, decrease waiting times, and decrease battery usage. Such profile detection may also work in concert with media re-coding or transcoding services to change mobile content to DLNA-compatible formats. This may be useful in situations where commonly used mobile device formats are not DLNA compatible, thereby preventing the media and/or device from taking advantage of DLNA certification. In addition, if DLNA capabilities are extended/modified, it may be simpler to update software on single computing device than in a number of mobile and/or embedded devices. As a result, a system can be more easily kept up to date on the current DLNA capabilities.
In some embodiments described herein, some of the interactions may use service discovery mechanisms of ad-hoc, peer-to-peer networks. A widely implemented form of this network technology is UPnP, which is promoted by the UPNP Forum. The UPnP Forum promises transparent communication between any type of network-capable appliance, machine, or device. In many examples that follow, the use of UPnP and related technologies is illustrated with respect to audio-video (AV) components, although the concepts may apply equally to any type of apparatus.
In reference now to
The local network 102 may be suited for encompassing a physical space suitable for a home or small office application, as well as dealing with a (sometimes small) quantity of devices that might be seen in home or small business environment. Such a local network 102 may also be adaptable for use in other user environments, such as industrial computing/automation, vehicle/automotive computing or mobile/wearable computing. Additionally, the network 102 may encompass other physically distant networks (e.g., in vehicles, summer homes) by using Virtual Private Networking (VPN) via the Internet 124 or similar remote access technologies.
Devices coupled to the network 102 may utilize one or more protocols for service discovery. As described above, the network 102 may use service discovery protocols associated with DLNA, such as UPnP. Other wired and/or wireless protocols and technologies may also be adaptable to enable computing and non-computing devices to interoperate via the network, including Bonjour, Zeroconf, Jini™, X10, Bluetooth, xAP, Rendezvous, HomeRF, IrDA, Local Area Network (LAN), Wireless LAN (WLAN), WiFi, Ultra Wide Band (UWB), WiBree, Intelligent Grouping and Resource Sharing (IGRS), etc. Generally, these protocols and technologies may make enable various devices to exchange digital media for use/rendering.
In the illustrated network, mobile device 104 includes stored digital media content 116. In order to for the device 104 to share this media content 116 with DLNA-certified components (or in analogous systems) the mobile device 104 may need to obtain or compile media profile data 118. The media profile data 118 may describe a number of aspects of the underlying media objects 116, such as encoding (e.g., codec, version, bitrate, variable/fixed bit rate scheme), digital rights management (e.g., encryption, licenses, permissions), and other metadata (e.g., file extensions, file size, date created/modified/accessed, etc.). In the embodiments described hereinbelow, the media profile data 118 may take the form of a DLNA profile ID, Multipurpose Internet Mail Extensions (MIME) types, and UPNP Audio Video (AV) class information (e.g., as defined in ContentDirectory: 1 specification) and file extension.
At some during or after the digital media content 116 is transferred to the device 104, a number of representative samples 120 are created. These samples 120 may created by the device 104 itself, or by some other device (e.g., source device that sends the media to device 104) and may be dynamically generated and/or stored with the media content 120. The samples 120 may be defined so that the samples 120 may be extracted using minimal processing. For example, the samples 120 may be formed from a fixed and/or easily calculated leading and/or trailing bits of a file. In other arrangements, the samples 120 may be formed by reading the files from the beginning until a certain pattern is detected. In configurations where the samples 120 includes an unmodified excerpt of the underlying, locally stored content 116, then it may not be needed to separately store the samples on the device 104, because the samples are already stored in the form of the media. In other cases, the media content 116 may be remotely stored (e.g., the device 104 uses a Uniform Resource Locator to access remote digital content) then there may be some benefit in locally storing samples 120 on device 104.
The samples 120 may be sent to other elements of the network 102 by way of a control point component 122. The control point 122 generally directs interactions between source and target devices on the network. For example, the control point 122 can be used for such operations as directing media from media storage devices (e.g., devices 104, 106) to media rendering devices (e.g., device 110). In this example, the control point 122 is directing the samples 120 be sent from device 104 to media server 106, as indicated by paths 124, 126. The control point 122 may operate on the device 104 or elsewhere on the network 102. For example, the control point 122 may be located on a mobile device, and/or on a home media server 106 that actively collects media content. In the latter case, the home media server 106 could use the server's own profile services to determine the profile IDs and then upload the content to mobile device 104.
The media server 106 (or similar device) may have much greater computational power than the mobile device 104, so in some scenarios the sample data 120 can be transferred 126 to the server 106 for purposes of characterizing the samples. Such characterization may be for purposes of determining media-descriptive data such as DLNA profile ID, MIME-types, and UPNP AV class information of the associated media content 116. This profile data is determined using up-to-date signatures and characterization software that may in some cases be more available on a fixed infrastructure machine 106 than portable device 104. The profile data is returned to device 104 as indicated by paths 128, 130.
The paths 124, 126, 128, 130 indicate that the control point 122 is an intermediary in transferring the samples and profiles between to the server 106 and device. However, the actual data transfer may occur independently of the control point 122 (e.g., via a path directly between the device 104 and media server 106). For example, the control point 122 may operate on a third device on the network 102. In such a case the control point 122 may provide enough data to one or more of the devices 104, 106 to allow the devices 104, 106 themselves to exchange data indicated bypaths 124, 126, 128, 130.
The system shown in
In reference now to
The first device 202 utilizes a service of the second device 204 for characterizing media stored on the first media server 208. The control point 206 may have access to metadata 212 that at least describes the availability of content available on the server 208. This metadata 212 may be accessed at any time needed by the control point 206, and here in this example as being received before a request 214 is made to characterize the content stored in or accessible by the media server 208. This request 214 may be generated in response to some internal event (e.g., adding of media to server 208), user generated event (e.g., request via user interface of device 202 to connect to DLNA network), and/or a network generated event (e.g., service discovery message transmitted on a DLNA network).
In order to satisfy the request 214, the control point 206 invokes a GetProtocolInfo action 216 (e.g., via remote procedure call to invoke a method across a network) to determine the media resolving capabilities of device 204. In response, the media server 210 of device 204 returns a description 218 (e.g., UPnP service description) of the device's capability to resolve media characteristics. After determining that the service is compatible, the control point 206 invokes a remote method 220 that causes the detection to commence.
The method 220 in this example is called “X_detectDLNAProfileIDs” and a list of content Uniform Resource Identifiers (URIs) are provided as arguments to the method 220. The URIs may be locally available at the control point 206 or may be obtained by querying the media server 202 (e.g., receiving response 212 in response to a query). An example of argument given with detectDLNAProfileIDs action 220 is shown below in Table 1:
The illustrated media server 210 utilizes the Hypertext Transport Protocol (HTTP) “Range” header to obtain samples of media referenced by the URIs provided in the method invocations 220. Thus the server invokes 222, 226 an HTTP method (e.g., GET, POST) and uses the Range headers to define what portion of the target URIs should be returned as representative samples 224, 228. The range values used in the headers may be predetermined for some or all media types (e.g., as determined or guessed by filename extensions in the URI), may be communicated or hinted at by the control point 208 as part of method call 220, and/or may be adjusted as needed. For example, if sample 224 using a predetermined range cannot be used to positively characterize the content item associated with URI of method call 222, the media server 210 could make additional invocations of the method 222 using the same URI, but with different ranges to obtain additional content samples 224.
Although two examples of content access methods 222, 226 are shown, it will be appreciated that any number of invocations may be used, e.g., one for each content item represented by a URI in method call 220. This is indicated by ellipsis 230. Other adaptations may be used to reduce the number of repeated invocations 222, 226 used to obtain content samples. For example, the method call 220 could return a content URI such as “http://content-group.mp3.xml” which is an internal reference or document of device 202 that may, for example, provide access all of the media objects shown in Table 1.
When the media server 210 invokes a content retrieval method (e.g., 222) using the special internally significant URI that references a plurality of media objects, the device 202 may return 224 a multi-part message in response. The multi-part message includes a sample of each media item referenced by the special URI. The definition of the returned samples (e.g., size) could also be defined internally by this special URI, or a Range header value used in the method 222 could be applied to all of the samples. In this way, the overhead associated with multiple invocations of HTTP methods may be reduced. Other techniques may be used to extract multiple content samples using a single HTTP method call, such as executing a server side executable (e.g., common gateway interface script, active server page, Java™ Servlet, etc.) to dynamically generate the return samples as a multipart response or some other document.
The access methods 222, 226 and associated responses 224, 228 are shown in
After obtaining media samples, the device 204 analyzes 232 the samples to determine, for example, DLNA Profile IDs, UPnP AV class, and/or MIME types. The device 204 then returns the results 234 as response to the invocation 216. The device 204 can then use the returned data 234 for purposes of characterizing the media, such as storing 236 the data at the media server 208 for purposes of interacting on a DLNA network. Table 2 lists an example of data that may be contained in response 234 for the URIs listed in Table 1.
In reference now to
The first device 302 utilizes a service of the second device 304 for characterizing media stored on the first media server 308. The control point 306 has access to metadata 312 that at least describes the availability of content available on the server 308. In this scenario, the metadata 312 may also include samples of media server content that are accessed directly by the control point 306. This metadata 312 may be accessed at any time needed by the control point 306, and here in this example as being received before a request 314 is made to characterize the content stored on or accessible by the media server 308. This request 314 may be generated in response to some internal event, user generated event, and/or a network generated event.
As with the scenario in
Note that the embedding of the samples in the method invocation 320 may require that the control point 306 and/or media server 308 know beforehand the correct sample size and composition. This data may be known by the control point 306, or may be communicated to the control point 306 by the media server 310 via service discovery response 318, or by another method invocation for specifically for that purpose (not shown). In another variation, the profile data 324 may also include error codes that indicate that some samples could not be profiled, and could contain hints (e.g., different sample size/composition) that might be use to re-invoke 320 the service.
In the examples described above, a home media server may be implemented an X_detectDLNAProfileIDs( ) action as part of a UPnP Content Directory Service (CDS). This CDS Profile ID service takes media samples as input, determines the DLNA profileID (and another other relevant data, such as MIME-type and file extensions) and returns all profile IDs in one or more XML files. The input to the CDS Profile ID service can also be URL that is used to fetch media samples directly. This operation can be in background, such as when a remote device is locally coupled to a home network. The operation can also be operated remotely, such as where a user device access the home network using Network Address Translation (NAT) pass-through or a Virtual Private Network (VPN).
A control point can be used to find out services for media profile detection and facilitates moving files between two servers as part of this detection. Note that the device that utilizes a Profile ID service to characterize media need not directly store the media on the device. For example, a media server may store a URI to an Internet radio station that is accessed by the user in the same way as a locally stored file. This Internet URI could be used to capture metadata associated with the media stream, or take a sample of the stream itself. This data is passed to the Profile ID service to assist in characterizing the media stream. The profile could be stored on the local hosting device and used whenever a local component accesses the Internet stream via the local hosting device.
As described above, a network service may be implemented for automatically determining, for a particular device, profiles of media stored on or accessible via the particular device. Such service may be implemented in the UPnP framework and used to determine DLNA profiles of the target media. A control point, possibly in a mobile phone or PC, pushes the collection of media samples to a media server. The media server returns list of respective media profile IDs. In addition to determining DLNA profileIDs, the server may also determine and assign any combination of MIME-type, UPnP AV class info (defined by ContentDirectory: 1 spec) and file extensions to the media.
In reference now to
The media reader 410 is capable of reading from a storage media 414, such as optical or magnetic media. The media reader 410 may also be capable of writing to the media 414. The network interfaces 412 may be capable of communicating via one or more local networks 416 and the Internet 124. The local network 416 may utilize such media such as phone lines, coaxial cable, Ethernet, wireless radio transmissions, infrared transmissions, etc. The network 416 may include Internet Protocol (IP) based public and private networks, as well as proximity networking such as Bluetooth, WLAN, UWB, WiBree, and IrDA. The local network 416 may also utilize higher-level protocols for ad-hoc peer-to-peer connectivity, such as UPnP, Zeroconf, Jini™, and may include one or more DLNA compatible devices 422.
The operation of the processor 402 is dictated by instructions 418 that may be stored temporarily or permanently in memory 404 or other logic circuitry. The instructions 418 may be built into to the apparatus 400 during manufacture, or may be later transferred to the apparatus 400 via the storage media 414 or the networks 416. The instructions 418 may include one or more peer-to-peer service advertisement modules 420 capable of advertising a media profiling service 424 to other devices 422 of the network 416. The service advertising module 420 may operate over any current or future service discovery protocols, including UPnP service discovery in compliance with the DLNA certification. The service advertisement module 420 and profile service 424 may rely on a standard networking protocol stack 426 for common network protocols such as TCP/IP, UDP/IP, etc. The network protocol stack 426 in turn utilizes the network interface 412 for accessing the network(s) 416, 124.
The profile service 424 may include an interface, e.g., a Web Services Interface or network Application Programming Interface (API), with methods that can be invoked by network devices 422. The profile service 424 receives requests for profile analysis from the devices 422, and in response, gathers samples of media stored on or accessible by the devices 422. The profile service 424 includes/uses a profile analyzer component 428 that analyzes the collect samples to determine an appropriate categorization, such as a DLNA Profile ID and/or MIME type. The categorization data determined by the analyzer 428 is sent back to the devices 422 in response to the request for profile analysis.
The profile service 424 and analyzer 428 may utilize a database 430 for accessing signatures that assist in determining profiles. These signatures 430 may be similar to signatures used to detect computer viruses, e.g., comparing signatures to the samples to look for characteristic byte patterns. Although the signature database 430 may be stored locally, it may also be accessed wholly or in part via the Internet 124 and other remote networks. The signature database 430 (and other system components) may utilize a local (or remote) update database 432 that can be used to maintain currency of such data as signatures 430, DLNA standards, etc.
The apparatus 400 may provide the profile service 424 on an as-needed basis, and independently of other operations of the apparatus 400. In other cases, the data derived from the invocation of the service 424 may have other utilities that can be put to use by the apparatus 400. For example, the apparatus 400 may be a media server that provides media to other devices, such as via the DLNA and/or UPnP frameworks. The apparatus 400 may include locally stored media data 434 in accordance with this media server function. In such a configuration, the profile service 424 and/or analyzer 428 may store data (e.g., URIs) of analyzed media content in the media database 434 along with locally stored media. In this way, the apparatus 400 may be enabled to automatically function as a proxy for the devices 422 that invoke the service 424. The apparatus 400 can advertise the media of devices 422 in its own content listings, and redirect content requests to the appropriated devices 422 and/or cache and serve the content from the local storage 434.
In some situations, the profile analyzer 428 may be able to recognize a particular type of media based on a received sample, but determine that the format is incompatible with the database of compatible media signatures 430. This could be indicated in an error code returned by the service 424 to the requesting device. However, it may also be possible for the apparatus 400 to put the media object in a compatible format by transcoding the object, as indicate by transcoder 436. In such a case, the profile service 424 or some other component (e.g., control point of the service requesting device) may indicate to the user that conversion of media objects may be needed. Upon user confirmation (if needed based on configuration settings), the profile service 424 can download the full media object, process it via the transcoder 436, and send the transcoded object back to the requesting device, along with a profile identifier corresponding to the new coding format. In this way, the service 424 can offload another process-intensive task from the requesting device, namely the transcoding of media.
As described above, a network service component may be implemented that automatically determines profiles of media stored on network devices. This service may be useful, e.g., for mobile devices that may have limited processing power and/or limited ability to maintain up-to-date profile data. In reference now to
The operation of the processor 502 is dictated by instructions 518 that may be stored temporarily or permanently in memory 504 or other logic circuitry. The instructions 518 may be built into to the apparatus 500 during manufacture, or may be later transferred to the apparatus 500 via the storage media 514 or the networks 416, 124. The instructions 518 may include one or more networking protocol stacks 520 for common network protocols such as TCP/IP, UDP/IP, 512 for accessing the networks 416, 124 via network interface 512. The protocol stacks 520 may also be used for application-level network protocols, such as UPnP, Zeroconf, HTTP, etc.
The apparatus 500 may operate as a media server, as indicated by media server module 516 and stored media 522. The media server 516 may include the functionality defined for a DLNA M-DMS/DMS and/or be compatible with other ad-hoc, peer-to-peer digital media utilization technologies. The instructions 518 include a service discovery module 524 that can discover a media profiling service, such as provided by server apparatus 400 on local network 416, as described in greater detail in relation to
The control point/profile client 526 may be capable of determining the composition of stored media 522, such as by local filesystem access/enumeration, network directory services (e.g., UPNP ContentDirectory), etc. This may involve the access/creation of metadata 530 that describes the media. The metadata 530 may include data of interest to the underlying operating system and software (e.g., file names, file locations, file size, dates added/modified) and to the user (e.g., title, artist, playing time, etc.). However, in order to successfully share the media 522 with other devices of the network 416, the media server 516 may need other data, here shown as stored profile data 528. The profile data 528 may include data associated with media 522 that enables determining compatibility with standards in use on the network. Such data may include bitrate, codecs, DRM, etc., and be in the form of DLNA Profile IDs, MIME-types, UPnP AV class, and/or file extensions.
The control point/profile client 526 accesses a network service (e.g., via apparatus 400) for building and maintaining the profile data 528. This may involve creating samples of the media, or providing access URIs to the media 522 so that an external device may extract its own samples (e.g., via HTTP Range headers). In response to the samples being made available to the network service, profiles that characterize the media are received by the control point/profile client 526 and stored in the database 528. It will be appreciated that the media data 522, 528, 530 maybe maintained by any combination of local and remote databases, and may be included in the same or different physical media and database volumes/schema.
The apparatuses 400, 500 in
In reference now to
Sample portions of the digital media objects are accessed 606. The sample portions are usable to assign media profile identifiers to the respective digital media objects. The sample portions may be accessed before, during, or after the invocation 604 of the RPC, and may be performed via the invoking media server device and/or the network server. The sample portions of the digital media objects are sent 606 to the network server. In response to invoking 604 the remote procedure call, the media server device receives 610 the media profile identifiers assigned to the sample portions from the network server. The media profile identifiers are assigned 612 to the digital media objects at the media server device based on the assignment of the media profile identifiers to the sample portions. Thereafter, the media profile identifiers may be used to characterize the media objects as required by the home network protocols.
The foregoing description of the embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not with this detailed description, but rather determined by the claims appended hereto.