WO2015180688A1 - 媒体处理方法及设备 - Google Patents

媒体处理方法及设备 Download PDF

Info

Publication number
WO2015180688A1
WO2015180688A1 PCT/CN2015/080311 CN2015080311W WO2015180688A1 WO 2015180688 A1 WO2015180688 A1 WO 2015180688A1 CN 2015080311 W CN2015080311 W CN 2015080311W WO 2015180688 A1 WO2015180688 A1 WO 2015180688A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
resource
media resource
resources
playing
Prior art date
Application number
PCT/CN2015/080311
Other languages
English (en)
French (fr)
Inventor
匡运生
朱萸
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15799337.9A priority Critical patent/EP3139573B1/en
Priority to US15/315,317 priority patent/US10972581B2/en
Publication of WO2015180688A1 publication Critical patent/WO2015180688A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2812Exchanging configuration information on appliance services in a home automation network describing content present in a home automation network, e.g. audio video content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Definitions

  • the present invention relates to multimedia communication technologies, and in particular, to a media processing method and device.
  • a raw media file is usually expanded into a plurality of media files having different media formats and/or resolutions but all characterizing the same content by transcoding or downloading from different content providers to adapt the media content to the family. It can be played on different media playback devices in the network.
  • the separated media content directories stored on each media server by transcoding or downloading are aggregated into one total content directory, and the media files of the same content in different media formats are not considered to have the same media content.
  • How to integrate the processing of media files so although the content directory is aggregated into one, there will be multiple media files with the same or similar names in the content directory.
  • the present invention provides a media processing method and device for solving the problem that the media files in the prior art are aggregated into a total content directory, and multiple media files with the same name appear in the content directory.
  • an embodiment of the present invention provides a media processing method, including:
  • the at least two media resource objects are integrated, so that the integrated at least two media resource objects are represented by one media identifier;
  • the first media resource object is one of the at least two media resource objects suitable for playing by the media playing device.
  • the identifying, by the media content information, the media description information in the media content directory includes:
  • the acquiring a media content directory of the at least one media server, and performing media description information in the at least two media resource objects in the media content directory Identification including:
  • the integrated media content directory Obtaining, by the at least one media server, the integrated media content directory, when the number of the media servers is more than or equal to two, at least two media resources belonging to different media servers in the integrated media content directory
  • the media description information in the object is identified.
  • the at least two media resources belonging to different media servers in the integrated media content directory are The media description information in the object, including:
  • the media description in each media resource object Matching at least one of the media name, the duration, and the production information in the information to determine whether there are at least two media resources having the same media content, including:
  • the media names in the media description information corresponding to the at least two media resources have the same characters exceeding the first threshold ratio
  • the duration deviation in the media description information corresponding to the at least two media resources is within a preset range
  • the production information in the media description information corresponding to the at least two media resources is the same.
  • the at least two media resource objects are When the corresponding media resource has the same media content, the at least two media resource objects are integrated, so that the integrated at least two media resource objects are represented by a media identifier, including:
  • the media resources corresponding to the at least two media resource objects have the same media content, combining the at least two media resource objects to generate a reference media resource object, where the reference media resource object includes the at least two Media description information of each media resource object in the media resource object, the at least two media resource objects being represented by a media identifier of the reference media resource object.
  • the media resource address corresponding to the first media resource object includes:
  • Playing the at least two media resource objects separately from the at least one media playing device The capability information is matched, and the media playing device that supports playing the media resource corresponding to each of the at least two media resource objects is determined.
  • the performing, by the performing, the at least two media resource objects and the playing capability information of the at least one media playing device Matches including:
  • the media data request message includes:
  • the storage path of the media resource and the prefetched data range The storage path of the media resource and the prefetched data range.
  • the play request includes a media play device selected from the at least one media play device and a requested media identifier
  • the determining is to support playing the at least two media resource pairs
  • the media playing device of the media resource corresponding to each media resource object in the image including:
  • the number of media resources supported by the media playing device in the at least two media resource objects is more than one, determining, according to the playback response delay effect of the more than one media resource, that the more than one media resource is relatively a playback priority of the media playback device;
  • the play command carries the media resource address of the selected media player that supports playing and playing the media resource with the highest priority.
  • the method further includes :
  • the switched media playback device Determining the at least two media if the switched media resource is one of the at least two media resources having the same media content, and the switched media playback device does not support playing the switched media resource
  • the media playing device switched in the resource supports the played media resource
  • the switching request further includes a current playing time
  • Sending a play command to the switched media playing device including:
  • the switched media playing device supports the played media in the at least two media resources And sending, by the switching media device, the play command, where the play command further includes the current play time, so that the switched media is played, where the duration of the physical resource is the same as the duration of the switched media resource.
  • the device starts playing the media resource that supports playing from the current playing time;
  • the handover fails.
  • the method further includes:
  • the matching list includes an identifier of the media playing device and an identifier of the media resource that the media playing device supports to play in the at least two media resources;
  • an embodiment of the present invention provides a media processing method, including:
  • the media server identifies the media description information in the at least two media resource objects in the media content directory that is stored by the media server.
  • the media resources corresponding to the at least two media resource objects have the same media content, the at least two are integrated.
  • a media resource object such that the at least two media resource objects after integration are represented by a media identifier;
  • the determining, by the media description information in the at least two media resource objects in the media content directory that is stored by the device includes:
  • the media name, the duration, and the production information in the media description information in each media resource object are at least A match is made to determine whether there are at least two media assets with the same media content, including:
  • the media names in the media description information corresponding to the at least two media resources have the same characters exceeding the first threshold ratio
  • the duration deviation in the media description information corresponding to the at least two media resources is within a preset range
  • the production information in the media description information corresponding to the at least two media resources is the same.
  • the at least two media resource objects are respectively Corresponding media resources have the same media content, and the at least two media resource objects are integrated, so that the integrated at least two media resource objects are represented by one media identifier, including:
  • the media resources corresponding to the at least two media resource objects have the same media content, combining the at least two media resource objects to generate a reference media resource object, where the reference media resource object includes the at least two Media description information of each media resource object in the media resource object, the at least two media resource objects being represented by a media identifier of the reference media resource object.
  • an embodiment of the present invention provides a media control device, including:
  • An obtaining module configured to acquire a media content directory of at least one media server, and identify media description information in at least two media resource objects in the media content directory;
  • a processing module configured to integrate the at least two media resource objects when the media resources corresponding to the at least two media resource objects have the same media content, so that the at least two media resource objects after integration are Media logo representation;
  • a pushing module configured to send a media resource address corresponding to the first media resource object to the media playing device according to the capability information of the media playing device selected by the user, so that the media playing device acquires and plays the corresponding media resource address
  • the media resource object is one of the at least two media resource objects suitable for playing by the media playing device.
  • the acquiring module includes: a matching unit, configured to: in a media name, a duration, and a production information in the media description information in each media resource object At least one of the matches is performed to determine whether there are at least two media assets having the same media content.
  • the acquiring module is specifically configured to obtain, by using at least one media server, an integrated media content directory, where the number of the media servers is more than or When equal to two, media description information in at least two media resource objects belonging to different media servers in the integrated media content directory is identified.
  • the matching unit is specifically configured to belong to a different media server in the integrated media content directory.
  • At least two media resource objects match at least one of a media name, a duration, and a production information in the media description information in each media resource object to determine whether there are at least two media resources having the same media content.
  • the media description information in each media resource object Matching at least one of the media name, the duration, and the production information to determine whether there are at least two media resources having the same media content including:
  • the media names in the media description information corresponding to the at least two media resources have the same characters exceeding the first threshold ratio
  • the duration deviation in the media description information corresponding to the at least two media resources is within a preset range
  • the production information in the media description information corresponding to the at least two media resources is the same.
  • the processing module further includes:
  • the media resources corresponding to the at least two media resource objects have the same media content, combining the at least two media resource objects to generate a reference media resource object, where the reference media resource object includes the at least two Media description information of each media resource object in the media resource object, the at least two media resource objects being represented by a media identifier of the reference media resource object.
  • the media control device further includes: a play matching module, And matching, the at least two media resource objects are respectively matched with the playing capability information of the at least one media playing device, and determining to play the media playing of the media resource corresponding to each of the at least two media resource objects device.
  • the play matching module is specifically configured to: media format and resolution of the at least two media resource objects Rate, respectively, with device capability information of the at least one media playback device Matching the media format and display resolution that support decoding; or
  • the media data request message includes:
  • the storage path of the media resource and the prefetched data range The storage path of the media resource and the prefetched data range.
  • the pushing module includes:
  • a receiving unit configured to receive a play request of the user, where the play request includes a media play device selected from the at least one media play device and a requested media identifier;
  • a determining unit if the requested media identifier is the media identifier corresponding to the at least two media resources having the same media content, determining the first media resource object, where the first media resource object is the at least two media
  • the selected media playing device in the resource supports the played media resource
  • a sending unit configured to send a play command to the selected media playing device, where the play command carries a media resource address corresponding to the first media resource object, so that the selected media playing device plays the Support for playing media resources.
  • the play matching module is specifically configured to:
  • the number of media resources supported by the media playing device in the at least two media resource objects is more than one, determining, according to the playback response delay effect of the more than one media resource, that the more than one media resource is relatively a playback priority of the media playback device;
  • the determining unit is specifically configured to:
  • the play command carries the media resource address of the selected media player that supports playing and playing the media resource with the highest priority.
  • the apparatus further includes: the switching module is configured to:
  • the switched media playback device Determining the at least two media if the switched media resource is one of the at least two media resources having the same media content, and the switched media playback device does not support playing the switched media resource
  • the media playing device switched in the resource supports the played media resource
  • the switching request further includes a current playing time
  • Sending a play command to the switched media playing device including:
  • the playing command further includes the current playing time, so that the switched media playing device starts playing the media resource that supports playing from the current playing time;
  • the handover fails.
  • the device further includes: a generating module, configured to generate a matching list
  • the matching list includes an identifier of the media playing device and an identification number of the media resource that the media playing device supports to play in the at least two media resources;
  • the determining unit is specifically configured to:
  • an embodiment of the present invention provides a media server, including:
  • a processing module configured to identify media description information in at least two media resource objects in the media content directory that is stored by the user, where the media resources corresponding to the at least two media resource objects have the same media content, At least two media resource objects, such that the at least two media resource objects after integration are represented by one media identifier;
  • a sending module configured to send the integrated media content directory to the media control device
  • the receiving module is configured to receive a media resource request sent by the media playing device, where the acquiring media resource request includes a media resource address, and the media resource corresponding to the media resource address is sent to the media playing device.
  • the processing module includes: a matching unit, configured to: at least media name, duration, and production information in the media description information in each media resource object A match is made to determine if there are at least two media assets with the same media content.
  • the matching module is specifically configured to:
  • the media names in the media description information corresponding to the at least two media resources have the same characters exceeding the first threshold ratio
  • the duration deviation in the media description information corresponding to the at least two media resources is within a preset range
  • the production information in the media description information corresponding to the at least two media resources is the same.
  • the processing module is specifically configured to:
  • each of the media resources corresponding to the at least two media resource objects has the same media content, marking each of the at least two media resource objects, where The tag is configured to add an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects, where the at least two tags are marked Media resource objects are represented by a media identifier; or
  • the media resources corresponding to the at least two media resource objects have the same media content, combining the at least two media resource objects to generate a reference media resource object, where the reference media resource object includes the at least two Media description information of each media resource object in the media resource object, the at least two media resource objects being represented by a media identifier of the reference media resource object.
  • the media processing method and device of the embodiment of the present invention by acquiring the media content directory of the at least one media server, and identifying the media description information in the at least two media resource objects in the media content directory, when the at least two The media resources corresponding to the media resource objects have the same media content, and the at least two media resource objects are integrated, and the content list is obtained according to the integrated media content directory, so that the media resource objects having the same media content are identified by only one media identifier. It is indicated that the content list displayed to the user does not include a duplicate media identifier, and in the playback process, the media playback device is sent to the media playback device according to the capability information of the media playback device selected by the user.
  • a media resource address corresponding to one of the at least two media resource objects so that the media playing device acquires and plays the media resource corresponding to the media resource address, thereby implementing the content list displayed to the user Media logo is singular, and During playback, media player devices of different media resources to push for their play.
  • Embodiment 1 is a flowchart of Embodiment 1 of a media processing method according to the present invention
  • Embodiment 2 is a flowchart of Embodiment 2 of a media processing method according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a media processing method according to the present invention.
  • Embodiment 4 is a flowchart of Embodiment 4 of a media processing method according to the present invention.
  • Embodiment 5 is a flowchart of Embodiment 5 of a media processing method according to the present invention.
  • Embodiment 6 is a signaling flowchart of Embodiment 6 of a media processing method according to the present invention.
  • Embodiment 7 is a signaling flowchart of Embodiment 7 of a media processing method according to the present invention.
  • Embodiment 8 is a signaling flowchart of Embodiment 8 of a media processing method according to the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 1 of a media control device according to the present invention.
  • Embodiment 1 of a media server according to the present invention is a schematic structural diagram of Embodiment 1 of a media server according to the present invention.
  • Embodiment 11 is a schematic structural diagram of Embodiment 2 of a media control device according to the present invention.
  • FIG. 12 is a schematic structural diagram of Embodiment 2 of a media server according to the present invention.
  • the media server involved in the embodiment of the present invention may include a digital media server (DMS) for storing media files such as pictures, audio, video, etc.
  • DMS digital media server
  • the DMS may be a smart phone, a tablet, or a digital camera.
  • a home network device or a mobile handheld device capable of generating and storing media content such as pictures, music, and video programs, such as a portable computer may also be a medium located outside the home network and on the network side that can be discovered, controlled, and accessed by an internal control point of the home network.
  • a server such as a cloud server that accesses an account through a user.
  • the media playing device involved in the embodiments of the present invention may include a Digital Media Renderer (DMR) and a Digital Media Player (DMP) for playing media files such as pictures, audio, and video.
  • DMR Digital Media Renderer
  • DMP Digital Media Player
  • the device, DMR can be a fixed playback device, such as audio, TV and connected set-top boxes, projectors, etc., or mobile playback devices, such as smart phones, tablets, portable computers, personal digital terminals.
  • the media control device involved in the embodiment of the present invention is used to discover the online line in the home network.
  • the media server and the media playing device, and the device that controls each device, the media control device may be a digital media controller (DMC), for example, a mobile handheld device such as a smart phone or a tablet computer.
  • DMC digital media controller
  • the function module of the content directory stored on the DMS inside and outside the home network can be embedded in a DMS or DMC, or can be a separate physical Equipment served.
  • FIG. 1 is a flowchart of a first embodiment of a media processing method according to the present invention.
  • the execution subject of the embodiment is a media control device.
  • the method in this embodiment may include:
  • S101 Acquire a media content directory of the at least one media server, and identify media description information in the at least two media resource objects in the media content directory.
  • the media content directory includes a plurality of media resource objects, where the media resource objects are in one-to-one correspondence with the media resources, and the media description information of the media resources corresponding thereto may be included, and the media description information may include but is not limited to Media name, duration, production information, etc.
  • the media resource has the same media content, and the different media resources have the same media content (such as different versions of the media files of a movie), and may specifically include: different media having the same media content and the same media format.
  • the content list is obtained according to the integrated media content directory. Since the media resource object having the same media content is represented by only one media identifier, the user is displayed to the user.
  • the content list does not include a duplicate media identifier, and the content list includes a media identifier of each media resource having different media content stored by the at least one media server and a media identifier of the media resource having the same media content.
  • the media resource address corresponding to the first media resource object is sent to the media playing device according to the capability information of the media playing device selected by the user, so that the media playing device acquires and plays the media resource corresponding to the media resource address.
  • the first media resource object is one of the at least two media resource objects suitable for playing by the media playing device.
  • the media description information in the at least two media resource objects in the media content directory is identified in S102, which may be specifically: media name and duration in media description information in each media resource object.
  • the production information may include publisher information and director information.
  • the at least one of the media name, the duration, and the production information in the media description information is matched to determine whether there are at least two media resources having the same media content, which may be specifically: (1) at least two The media name in the media description information corresponding to the media resource has the same number of characters exceeding the first threshold ratio; (2) the duration deviation in the media description information corresponding to the at least two media resources is within a preset range; (3) The production information in the media description information corresponding to the at least two media resources is the same; if the conditions (1), (2), and (3) above are satisfied, or any two conditions are satisfied or the three conditions are satisfied, then It can be determined that at least two media assets have the same media content.
  • a preferred manner may be: if the media names in the media description information corresponding to the at least two media resources have characters exceeding a first threshold ratio If the time length deviation in the media description information corresponding to the at least two media resources is within a preset range, if the time length deviation in the media description information corresponding to the at least two media resources is within a preset range, Determining whether the production information in the media description information corresponding to the at least two media resources is the same; if the production information in the media description information corresponding to the at least two media resources is the same, determining that the at least two media resources have The same media content.
  • the first threshold may be a fixed value.
  • the proportion of the same number of characters in each media name in the number of characters of the respective media names may be compared with the first threshold. That is, you only need to ensure that the body of the media name or most of the characters are the same. For example, if the first threshold is set to 0.8, and the media names of two media files are "avater” and “avaterr” respectively, the same characters of the two are "avater", the same number of characters.
  • the ratio of the same number of characters in the media name "avater” is 1, and the ratio of the same number of characters in the media name "avaterr” is 0.87, then the possibility of having the same media content exists in the two media files, and then judging The length deviation of the two media files, if the length of the two media files is 1 hour 25 minutes, 1 hour 23 minutes, respectively, due to the difference in the length of the media file program provided by different content providers, in the identification process,
  • the duration of the media file allows for a certain range of deviations. For example, the total length of the movie title and end of the movie is 1 minute and a half to 3 minutes. This time interval can be used as the deviation of the preset range, then "avater” and "avaterr".
  • the length deviation of the two media files is within a preset range, and further determining whether the production information is the same. If the publishers of the two media files are both 20 Century Fox and the director is James Camron, the media content of the two media files is determined. the same.
  • the manner of matching the media name, the duration, and the production information in the media description information in each media resource object is a preferred method for determining whether there are at least two media resources having the same media content, and the media may be determined first. Whether the length deviation in the media description information corresponding to the resource is within a preset range, and determining whether the characters in the media name are the same as the first threshold, and finally determining whether the production information is the same, that is, determining the media description information corresponding to the media resource.
  • the name of the media, the deviation of the duration, and the order in which the information is produced may be unlimited.
  • the at least two media resource objects are integrated, so that the at least two media resources after integration are integrated.
  • the object is represented by a media identifier, and may be implemented in the following two manners: (1) when the media resources corresponding to the at least two media resource objects have the same media content, and the at least two media resource objects Each of the media resource objects is tagged, wherein the tag is to add an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects And marking the at least two media resource objects by one media identifier; (2) when the media resources corresponding to the at least two media resource objects have the same media content, and the at least two media resource objects Performing a merge to generate a reference media resource object, the reference media resource object including the at least two media Media description information of each media resource object in the resource object, the at least two media resource objects being represented by a media identifier of the reference media resource object.
  • the at least two media resource objects may be separately Matching with the playing capability information of the at least one media playing device, determining a media playing device that supports playing the media resource corresponding to each of the at least two media resource objects.
  • the matching the at least two media resource objects with the playing capability information of the at least one media playing device may be performed by using any one of the following two methods: (1) the at least two media resources are used. The media format and resolution in the object are respectively matched with the media format and display resolution supporting decoding in the device capability information of the at least one media playing device; (2) transmitting the media data to the at least one media playing device And requesting the message, so that the at least one media playing device prefetches at least a portion of the media resource data from the media server to perform a play attempt according to the media data request message.
  • the media playing device that plays the media resource corresponding to each of the at least two media resource objects may be determined by using one of the foregoing two manners.
  • the media data request message may include a storage path of the media resource and a prefetched data range.
  • the S103 may be specifically: receiving a play request of the user, where the play request includes the media play device selected from the at least one media play device and the requested media identifier; if the requested media identifier is Determining, by the media identifier corresponding to the at least two media resources of the same media content, the first media resource object, where the first media resource object supports playback of the selected media playback device of the at least two media resources a media resource; sending a play command to the selected media play device, where the play command carries a media resource address corresponding to the first media resource object, so that the selected media play device plays the support The media resource played.
  • the media playing device that determines to play the media resource corresponding to each of the at least two media resource objects may be: if the media playing device supports playing in the at least two media resource objects Determining the playing of the more than one media resource relative to the media playing device according to the resolution of the more than one media resource and the device capability information of the media playing device.
  • the selected media playback device in the resource supports the played media resources, including: Determining that the selected media playing device of the at least two media resource objects supports playing and playing the highest priority media resource; the playing command carries the selected media playing device to support playing and has the highest playback priority The media resource address of the media resource.
  • the switching request includes an identifier of the switched media playing device and the switched media resource; if the switched media Determining, by the switched media device, that the switched media device does not support playing the switched media resource, determining that the switching is performed in the at least two media resources
  • the media playback device supports the played media resource; and sends a play command to the switched media play device, where the play command carries the media resource address of the media resource supported by the switched media play device, so that the switch
  • the media playing device plays the media resource that supports the playing.
  • the switching request further includes a current playing time
  • the sending the play command to the switched media playing device may be specifically: if the switched media playing device supports the played media in the at least two media resources Sending, by the switched media device, the play command, where the duration of the resource is the same as the duration of the switched media resource, where the play command further includes the current play time, so that the switched media play device The media resource that supports the playing is started to be played from the current playing time; if the duration of the media resource supported by the switched media playing device in the at least two media resources is different from the duration of the switched media resource, Then the switch fails.
  • the method further includes: generating a matching list, where the matching list includes an identifier of the media playing device and the at least two media resources
  • the media playing device supports the identification number of the played media resource.
  • the media resource that the selected media playing device supports to play in the at least two media resources may be: according to the matching list. Determining an identification number of the media resource supported by the selected media playing device in the at least two media resources. That is, the media resource supported by the selected media playing device can be directly determined by the playing priority of the media playing device, and the matching list can be generated according to the playing priority, and then determined according to the matching list.
  • the selected media playing device supports the played media resource.
  • the media processing method by acquiring media of at least one media server a content directory, and identifying media description information in at least two media resource objects in the media content directory, when the media resources corresponding to the at least two media resource objects have the same media content, integrating the At least two media resource objects obtain a content list according to the integrated media content directory, so that the media resource object having the same media content is represented by only one media identifier, so the content list displayed to the user does not include duplicate media identifiers, and thus During the playing process, the media resource address corresponding to one of the at least two media resource objects played by the media playing device is sent to the media playing device according to the capability information of the media playing device selected by the user.
  • the media playing device obtains and plays the media resource corresponding to the media resource address, thereby realizing that the media identifier displayed in the content list of the user is singular, and in the playing process, playing different media playing devices Push the media resources that are appropriate for its playback.
  • FIG. 2 is a flowchart of a second embodiment of the media processing method of the present invention.
  • the executor of the embodiment is a media server. As shown in FIG. 2, the method in this embodiment may include:
  • S201 Send a media content directory to the media control device, so that the media control device identifies media description information in at least two media resource objects in the media content directory, where the at least two media resource objects respectively correspond to The media resources have the same media content, and the at least two media resource objects are integrated, so that the integrated at least two media resource objects are represented by one media identifier.
  • S202 Receive a media resource request sent by the media playing device, and the media resource request includes a media resource address, and send the media resource corresponding to the media resource address to the media playing device.
  • the S201 indicates that the media description information in the at least two media resource objects in the media content directory is: at least one of a media name, a duration, and a production information in the media description information.
  • the items are matched to determine whether there are at least two media resources having the same media content; the production information may include publisher information, director information, lead information, and the like.
  • the at least one of the media name, the duration, and the production information in the media description information is matched, and determining whether there are at least two media resources having the same media content may be: (1) at least two media.
  • the media name in the media description information corresponding to the resource has the same number of characters exceeding the first threshold ratio; (2) the media corresponding to the at least two media resources (3) the production information in the media description information corresponding to the at least two media resources is the same; (1), (2), (3) If the condition is met or either of the two conditions are met or the three conditions are met, then at least two media resources may be determined to have the same media content.
  • a preferred manner may be: if the media names in the media description corresponding to the at least two media resources have the same characters exceeding the first threshold ratio Determining whether the length deviation in the media description information corresponding to the at least two media resources is within a preset range; if the duration deviation in the media description information corresponding to the at least two media resources is within a preset range, Determining whether the production information in the media description information corresponding to the at least two media resources is the same; if the production information in the media description information corresponding to the at least two media resources is the same, determining that the at least two media resources have the same Media content.
  • the at least two media resource objects are integrated, so that the integrated at least two media resource objects are identified by one media
  • any one of the following two methods may be used: (1) when each of the media resources corresponding to the at least two media resource objects have the same media content, and each of the at least two media resource objects The resource object is tagged, wherein the tag is to add an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects, after the tag The at least two media resource objects are represented by one media identifier; (2) when the media resources corresponding to the at least two media resource objects have the same media content, and the at least two media resource objects are merged, Generating a reference media resource object, the reference media resource object including the at least two media resource objects Each media description information object property, said at least two properties of the objects represented by the reference media identification media resource object.
  • the media processing method by sending a media content directory to the media control device, to enable the media control device to identify media description information in at least two media resource objects in the media content directory, when The media resources corresponding to the at least two media resource objects have the same media content, and the at least two media resource objects are integrated, and the content list is generated according to the integrated media content directory, so that the integrated at least two media resource pairs are generated.
  • the receiving media resource request sent by the media playing device of the receiving media playing device includes a media resource address, and the media resource corresponding to the media resource address is sent to the media playing device, thereby realizing the content displayed to the user.
  • the media IDs in the list are singular.
  • FIG. 3 is a flowchart of a third embodiment of a media processing method according to the present invention.
  • the method shown in FIG. 1 and FIG. 2 is described in detail below by using a specific embodiment.
  • the embodiment includes a home network. Two DMSs, one DMS located on the external network side of the home network, and one DMC.
  • the two DMSs located inside the home network are DMS1 and DMS2, and one DMS located on the external network side of the home network, specifically Clould Server, and
  • the media resource is used as an example for the media file.
  • Each media file corresponds to a media resource object, where the media resource object includes description information of the media file corresponding thereto, and the description information of the media file may be CDS metadata.
  • the media processing method of the present implementation may include the following steps:
  • Each DMS sends a media content directory stored in its own media file to the DMC.
  • this embodiment includes three DMSs, namely DMS1, DMS2, and Cloud Server.
  • the DMC After each DMS is online, the DMC discovers each DMS and calls the CDS::Browse()/Search() command to each DMS. After receiving the command, each DMS sends the media content directory stored on its own device to the DMC.
  • the DMC identifies the media resource object corresponding to each media file stored in each DMS.
  • DMS1, DMS2, and Cloud Server respectively identify media resource objects stored in their own media files, and since media files having the same content may have different media formats or resolutions, discriminating from media formats or resolutions It is impossible to determine whether the content of the media file is the same, so the specific identification method is to analyze some of the metadata information of the media content directory to represent the nature of the media content, including the media name, the duration of the program, the production information, and the like. For example, assume that the metadata information of the three media files stored in the DMS 1 is as shown in Table 1.
  • these metadata information includes a name field ⁇ dc:title>, a media resource field ⁇ res>, and a production information field ⁇ film information>.
  • the ⁇ res> field contains information such as file size "size”, program duration "duration”, resolution “resolution”, media format “protocolInfo”, and file address URL
  • the ⁇ film information> field contains the publisher.
  • the name field ⁇ dc:title> is first analyzed. As shown in Table 1, the name field information of the three media files are the same, so it is determined that the three media files have the same media content.
  • the names are not necessarily identical, but the main body of the name or most of the characters are the same.
  • the length of the program is analyzed. As shown in Table 1, the durations of the programs of the three media files are the same. Therefore, the possibility of discriminating that the three media files have the same media content is further increased.
  • S303 Integrate a media resource object corresponding to at least two media files having the same media content, and generate a content list.
  • the media resource objects corresponding to the at least two media files are integrated, and the integration may be specifically performed in any of the following two manners.
  • Kind
  • Method 1 Mark each media resource object corresponding to at least two media files having the same media content.
  • the DMS1, the DMS2, and the Cloud Server respectively analyze the metadata information in the media resource object corresponding to the media file stored by the DMS1, the DMS2, and the Cloud Server, and if the media files have the same media content, the media are obtained.
  • the media resource objects corresponding to the file are marked to indicate that the media files have the same media content.
  • a ⁇ link> field is added to the metadata information in the media resource object in the media content directory for tagging, and the ⁇ link> field contains the identification number and address information of other media files having the same media content.
  • the media files whose media file identification numbers are “0”, “1”, and “2” have the same media content, that is, the movie of AVATAR, and the media content corresponding to the above three media files.
  • the metadata information in the media resource object of the directory is updated separately, and the ⁇ link> field is added. Take the media file whose media identification number is “0” as an example.
  • the metadata in the media file identification number is “0”. After the information is added, the identification number and address information of the media file having the same media content is added.
  • Manner 2 Combine each media resource object corresponding to at least two media files having the same media content to generate a reference media resource object. Specifically, the media resource objects corresponding to the at least two media files having the same media content are combined to generate a reference media resource object, where the reference resource object includes metadata information of the media file having the same media content, for example, Table 1
  • the media files whose media file identification numbers are “0”, “1”, and “2” have the same media content, that is, the movie of AVATAR, and the media resources of the media content directory corresponding to the above three media files.
  • the metadata information in the object is separately combined to generate a reference media resource object, and the metadata information in the media resource object corresponding to the three media files is placed in the reference resource object, and the media resource object corresponding to the three media files is deleted.
  • the metadata resource object of the other media content object having the same media content may be merged into the reference media resource object by using one of the media resource objects as one of the reference media resource objects, and the media resource object other than the reference media resource object is deleted.
  • the DMC acquires device capability information of the DMR found in the home network and a list of supported media formats.
  • three DMRs of DMR1, DMR2, and DMR3 are shared in the home network.
  • the specific physical devices are a tablet, a smart phone, and a television.
  • the DMC After discovering three DMR devices in the home network, the DMC calls the AVT::GetDeviceCapabilities() command respectively. After receiving the command, the three DMR devices respectively send the device capability information and supported decoding of the device to the DMC.
  • the device capability information includes screen size, screen resolution, and the like.
  • the specific device capability information and the media format list information supported for decoding are shown in Table 3.
  • the DMC matches the media file with the same media content and the obtained device capability information of the multiple DMRs and the supported media format to generate a matching list.
  • the DMC matches the media file with the playback device, and matches the media files suitable for playing for a specific DMR to generate a match. List.
  • the priority of the media file relative to the DMR can be obtained in the following two manners to generate a matching list:
  • Method 1 Determine more than one according to the resolution of the media file and the device capability information of the DMR. The priority of media files relative to the DMR.
  • DMR1 (Tablet) as an example
  • the screen size of the DMR is 9.7 inches
  • the resolution of the screen is 1280 ⁇ 720
  • the supported media formats profiles are supported.
  • three media identifications of media files with the same media content are identified as "0", "1", and "2”, and the media packet format of the "0" media file is found.
  • the media resolution is 1280 ⁇ 720
  • the media packet format of the “1” media file is MP4
  • the media resolution is 960 ⁇ 600
  • the packet format of the “2” media file is MPEG
  • the media resolution is 1920 ⁇ 1080.
  • the tablet supports the media format of the “0” media and the “1” media, but does not support the media format of the “2” media, that is, the “2” media cannot be played on the tablet, and the resolution of the “0” media file. It is 1920 ⁇ 1080, which is the same as the screen resolution of the tablet, so the “0” media file will get better playback when playing on the tablet, so it can be concluded that the “0” media file and the “1” media file are both It can be played on DMR1, but the “0” media file is more suitable for playing on DMR1, and its playback priority order is 0,1. Similarly, it can be concluded that the priority order of DMR2 (Smartphone) playback is 1,0; the priority order of DMR3 (TV) playback is 2,0,1. Therefore, a matching list can be obtained as shown in Table 4.
  • DMR2 Smartphone
  • DMR3 TV
  • Manner 2 Determine the priority of more than one media file relative to the DMR according to the playing condition of the media file.
  • the digital media control device sends a media data request message to the DMR, where the media data request message includes a storage path of the media file and a prefetched data range, and the DMR prefetches a part of the media file from the DMS according to the media data request message, and performs decoding. Try to play and check the effect of playback.
  • the specific implementation method uses Tablet (DMR1) as an example. After prefetching some media data of three media files "0", “1” and "2", DMR1 decodes them separately.
  • the DMC When the user clicks on the media name "AVATAR" on the DMC (the medium contains 3 different media files) and selects the DMR1 (Tablet) device for playing, the DMC obtains the matching list generated according to S305 (as shown in Table 4).
  • the media file suitable for playing on the DMR1 (Tablet) is a media file whose media file identification number is “0”, and then the media stream that is pushed to the DMR1 is a media stream of the “0” media file.
  • the DMC calls the AVT::SetAVTransportURI() command to the DMR1, where the command information includes the URL address information of the "0" media file and related metadata information, and the DMR1 according to the received URL address of the "0” media file.
  • the information is requested from the digital media server DMS1 storing the "0" media file for playback.
  • the media processing method provided in this embodiment obtains the media content directory of each DMS through the DMC, and identifies the media resource object corresponding to each media file stored in each DMS according to the media content directory of each DMS, if at least two DMS stores are determined. If at least two media files having the same media content exist in each media file, the media resource objects corresponding to the at least two media files having the same content are integrated, so that the integrated media resource object is represented by only one media identifier, and the content list is generated. And displaying to the user, the content list does not include a duplicate media identifier, and the content list includes a media identifier of each media file having different media content stored by each DMS and a media identifier of at least two media files having the same media content.
  • the media files having the same media content in the media content directory are associated with each other, and the media identifiers of the plurality of media files having the same media content are not present in the media content list, and in the playing process, different DMRs are based on the device capability information thereof. It pushes the media files that are suitable for its playback So that the user can get a better user experience.
  • Embodiment 4 is a flowchart of Embodiment 4 of the media processing method of the present invention.
  • the execution body of the embodiment is a media control device.
  • the media controller is
  • the obtained media content directory is a media content directory that is integrated by the media server.
  • the method in this embodiment may include:
  • S401 Acquire an integrated media content directory sent by at least one media server, and identify media description information in at least two media resource objects in the media content directory.
  • the media resource address corresponding to the first media resource object is sent to the media playing device according to the capability information of the media playing device selected by the user, so that the media playing device acquires and plays the media resource corresponding to the media resource address.
  • the first media resource object is one of the at least two media resource objects suitable for playing by the media playing device.
  • the identifying the media description information in the at least two media resource objects in the media content directory may be specifically: at least two media resource objects belonging to different media servers in the integrated media content directory. And matching at least one of a media name, a duration, and a production information in the media description information in each media resource object to determine whether there are at least two media resources having the same media content; the production information may include a publisher Information, director information, starring information, etc.
  • the at least one of the media name, the duration, and the production information in the media description information in the media resource object is matched to determine whether there are at least two media resources having the same media content, and the specific implementation manner is: (1) The media name in the media description information corresponding to the at least two media resources has the same number of characters exceeding the first threshold ratio; (2) the duration deviation in the media description information corresponding to the at least two media resources is preset (3) the production information in the media description information corresponding to the at least two media resources is the same; the above conditions (1), (2), (3), any one of the conditions is satisfied or any two conditions are satisfied or If the three conditions are met, it can be determined that at least two media resources have the same media content.
  • a preferred manner may be: if the media in the media description information corresponding to the at least two media resources If the characters in the body name are the same as the first threshold ratio, determine whether the length deviation in the media description information corresponding to the at least two media resources is within a preset range; if the media description corresponding to the at least two media resources If the time length deviation in the information is within the preset range, determining whether the production information in the media description information corresponding to the at least two media resources is the same; if the production information in the media description information corresponding to the at least two media resources is the same And determining that the at least two media resources have the same media content.
  • the integration of the at least two media resource objects may be performed in any one of the following two manners: (1) Each of the at least two media resource objects is tagged, wherein the tag is to add the other of the at least two media resource objects to each of the at least two media resource objects An identification number and address information of the media resource object, the marked at least two media resource objects are represented by one media identifier; (2) combining the at least two media resource objects to generate a reference media resource object, The reference media resource object includes media description information for each of the at least two media resource objects, the at least two media resource objects being represented by media identifiers of the reference media resource object.
  • the at least two media resource objects are respectively matched with the playing capability information of the at least one media playing device, and determining to support playing each of the at least two media resource objects The media playback device of the media resource corresponding to the object.
  • the matching the at least two media resource objects with the playing capability information of the at least one media playing device may be performed by using any one of the following two methods: (1) the at least two media resource objects The media format and resolution are respectively matched with the supported media format and display resolution in the device capability information of the at least one media playing device; (2) transmitting the media data request message to the at least one media playing device So that the at least one media playing device prefetches at least a portion of the media resource data from the DMS to perform a play attempt according to the media data request message.
  • the media data request message may include a storage path of the media resource and a prefetched data range.
  • the specific implementation manner of S403 is: receiving a play request of the user, where the play is requested. And determining, by the media playing device selected from the at least one media playing device, the requested media identifier, and determining, if the requested media identifier is the media identifier corresponding to the at least two media resources having the same media content, determining a first media resource object, the first media resource object is a media resource supported by the selected media playing device of the at least two media resources; and a play command is sent to the selected media playing device.
  • the play command carries the media resource address corresponding to the first media resource object, so that the selected media play device plays the media resource that supports playing.
  • the media playing device that determines that the media resource corresponding to each of the at least two media resource objects is supported may be: if the media playing device of the at least two media resource objects supports playing If the number of the media resources is more than one, the playback priority of the more than one media resource relative to the media playback device is determined according to the resolution of the more than one media resource and the device capability information of the media playback device.
  • the media playing device determines, if the media playing device supports more than one media resource in the at least two media resource objects, determining the more than one media resource according to a play response delay effect of the more than one media resource And determining, according to the playing priority of the media playing device, determining that the selected media playing device of the at least two media resources supports playing and playing the media resource with the highest priority; the playing command carries The selected media playing device supports playing and playing the media resource with the highest priority media resource Site.
  • the user may also receive a handover request, where the handover request includes the identifier of the switched media playback device and the switched media resource; if the switched media resource is at least two of the same media content a media resource, wherein the switched media playing device does not support playing the switched media resource, determining that the switched media playing device supports the played media resource in the at least two media resources;
  • the switched media playing device sends a play command, where the play command carries the media resource address of the media resource supported by the switched media play device, so that the switched media play device plays the media resource that supports the play.
  • the switching request further includes a current playing time; if the duration of the media resource supported by the switched media playing device in the at least two media resources is the same as the duration of the switched media resource, then the switching to the The media playing device sends the play command, where the play command further includes the current play time, so that the switched media play device is from the current The playing time starts to play the media resource that supports the playing; if the duration of the media resource supported by the switched media playing device in the at least two media resources is different from the duration of the switched media resource, the switching fails.
  • the matching list may be further generated, where the matching list includes an identifier of the media playing device and the at least two And the identification number of the media resource that the media playing device supports to play the media resource in the media resource; and further, determining, according to the matching list, an identification number of the media resource supported by the selected media playing device in the at least two media resources.
  • the media processing method by receiving the integrated media content directory sent by the at least one media server, identifying the media description information in the at least two media resource objects in the media content directory, when the at least two The media resources corresponding to the media resource objects have the same media content, and the at least two media resource objects are integrated, so that the at least two media resource objects after integration are represented by one media identifier, so according to the integrated media
  • the content object generated by the resource object does not include the duplicate media identifier, and the at least two media resources suitable for the media playing device to be played are sent to the media playing device according to the capability information of the media playing device selected by the user.
  • FIG. 5 is a flowchart of Embodiment 5 of the media processing method of the present invention.
  • the executor of this embodiment is a media server. As shown in FIG. 5, the method in this embodiment may include:
  • the media server identifies the media description information in the at least two media resource objects in the media content directory that is stored by the media server.
  • the media resources corresponding to the at least two media resource objects have the same media content, the at least the media content is integrated.
  • Two media resource objects, such that the at least two media resource objects after integration are represented by one media identifier.
  • S502 Send the integrated media content directory to the media control device, so that the media control device identifies the media description information in the at least two media resource objects in the integrated media content directory, where the at least The media resources corresponding to the two media resource objects have the same media content, and the at least two media resource objects are integrated, so that after integration The at least two media resource objects have a media identifier representation.
  • S503 Receive a media resource request sent by the media playing device, where the acquiring media resource request includes a media resource address, and send the media resource corresponding to the media resource address to the media playing device.
  • the media description information in the media content directory of the media content directory stored in the S501 is identified by the media name information in the media content directory in the S501, which may be specifically: media name, duration, and media in the media description information in each media resource object. At least one of the information is matched to determine whether there are at least two media resources having the same media content; optionally, the production information may include publisher information, director information, starring information, and the like.
  • the media name in the media description information corresponding to the at least two media resources has the same number of characters exceeding the first threshold ratio; (2) the duration deviation in the media description information corresponding to the at least two media resources is in a preset range (3) the production information in the media description information corresponding to the at least two media resources is the same; the above condition (1), (2), (3), any one of the conditions is satisfied or any two conditions are satisfied or three If the item condition is satisfied, it can be determined that at least two media resources have the same media content.
  • a preferred manner may be: if the media names in the media description information corresponding to the at least two media resources have characters exceeding a first threshold ratio If the time length deviation in the media description information corresponding to the at least two media resources is within a preset range, if the time length deviation in the media description information corresponding to the at least two media resources is within a preset range, Determining whether the production information in the media description information corresponding to the at least two media resources is the same; if the production information in the media description information corresponding to the at least two media resources is the same, determining that the at least two media resources have The same media content.
  • the at least two media resource objects are integrated, so that the integrated at least two media resource objects are represented by one media identifier.
  • any one of the following two methods may be used: (1) when the media resources corresponding to the at least two media resource objects have the same media content, and each of the at least two media resource objects Mark, The tag is configured to add an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects, where the at least the tagged The two media resource objects are represented by one media identifier; (2) when the media resources corresponding to the at least two media resource objects have the same media content, the at least two media resource objects are merged to generate a reference media resource.
  • the reference media resource object includes media description information of each of the at least two media resource objects, where the at least two media resource objects are represented by the media identifier of the reference media resource object.
  • the media description information in each media resource object in the media content directory stored by the media server is identified by each media server, and the media resources corresponding to each of the at least two media resource objects have the same Media content, the at least two media resource objects are integrated, and the integrated at least two media resource objects are identified by a media identifier, and each media server sends the integrated media content directory to the media control device, and is controlled by the media.
  • the device identifies the media description information in the media resource object in the integrated media content directory, and integrates the media resource object with the same media content, and the media server receives the media resource request sent by the media playback device, where the media resource is obtained.
  • the request includes a media resource address, and the media resource corresponding to the media resource address is sent to the media playing device, so that the media resource objects corresponding to the media files having the same media content in the media content directory are associated with each other, and the content list displayed to the user is Media content does not exist a plurality of identical media identification, media identification is unitary.
  • FIG. 6 is a signaling flowchart of Embodiment 6 of the media processing method of the present invention.
  • the embodiment includes a home network.
  • Two internal DMSs one DMS located on the external network side of the home network, and one DMC.
  • the two DMSs located inside the home network are DMS1 and DMS2, and one DMS located on the external network side of the home network, specifically Clould Server.
  • the media resource is used as an example for the media file, and each media file corresponds to a media resource object, where the media resource object includes description information of the media file corresponding thereto, and the description information of the media file may be CDS. Metadata information, the media processing method of the present implementation may include the following steps:
  • S601 Identify a media resource object corresponding to the media file stored by itself.
  • Each DMS (DMS1, DMS2, and Clould Server) identifies the media resource object corresponding to the media file stored in the DMS.
  • the DMC may identify the media resource object corresponding to each media file of each DMS in S302. I will not repeat them here.
  • S602 Integrate a media resource object corresponding to at least two media files having the same media content.
  • the media resources objects corresponding to the media files stored in the DMS are integrated by the DMS.
  • the DMS For the specific implementation process, refer to the integration method in S303, and details are not described herein.
  • S603 Send the integrated media content directory to the DMC.
  • Each DMS sends its integrated media content directory to the DMC.
  • the DMC identifies and integrates the integrated media content directory sent by each DMS to generate a content list.
  • the DMC identifies the integrated media content directory sent by the DMS1, the DMS2, and the Clould Server, and the identification process is mainly for the media resource object corresponding to the media resource having the same media content existing between different DMSs, and the specific identification process may be Referring to the identification method in S302, the integration process may refer to the integration method in S303, and details are not described herein again. Further, a content list is generated, a media resource having the same content, and only one media identifier is displayed in the content list.
  • the DMC acquires capability information of the DMR device found in the home network and a list of media formats supported for decoding.
  • the DMC matches the device capability information of the obtained multiple media content with the obtained device capability information of the multiple DMRs and the supported media format to generate a matching list.
  • each DMS identifies a media resource object corresponding to the media file stored by the DMS, and integrates the media resource object corresponding to the at least two media files having the same media content, and sends the integrated media content directory.
  • the DMC is for the media resources with the same media content existing between different DMSs, and is sent to each DMS.
  • the merged media content directory is re-identified and integrated to generate a content list, so that the media resource objects corresponding to the media resources having the same media content are associated with each other, and the media identifiers in the content list are singular, and further, the DMC obtains the home network.
  • the DMC matches the media file having the same media content with the acquired device capability information of the multiple DMRs and the supported media format to generate a matching list.
  • the DMC selects a suitable media file to play on the selected playing device according to the matching list, so as to push the media resources suitable for playing for different DMRs during the playing process.
  • FIG. 7 is a signaling flowchart of a seventh embodiment of the media processing method of the present invention. As shown in FIG. 7, the embodiment provides an aggregation module (AO) based on the third embodiment.
  • the media processing method may include the following. step:
  • the aggregation module aggregates media content directories of each DMS inside and outside the home network.
  • the three DMSs detect that there is an aggregation module in the home network, and report the media content directory stored on each DMS to the aggregation module.
  • the aggregation module identifies and integrates media content of each media resource stored in each DMS.
  • the aggregation module identifies the media resource object corresponding to each media resource stored in each DMS according to the media content directory sent by each DMS, and if it is determined that two or more media resources having the same media content exist, corresponding to the media resource
  • the media resource object is integrated.
  • the specific identification and integration process can refer to S302 and S303.
  • the aggregation module obtains a content list according to the integrated media content directory.
  • the media identifier in the content list has unity.
  • S704 Send the content list to the DMC, so that the DMC presents the content list to the user.
  • the DMC calls the CDS::Browse()/Search() command to the aggregation module, and after receiving the command information, the aggregation module sends the aggregation module to the DMC through the identified and integrated media content directory and the generated content list.
  • the content list is presented to the user by the DMC.
  • the DMC acquires device capability information of the DMR found in the home network and a list of media formats supported for decoding.
  • S706 DMC media format model and points for media files having the same media content The resolution matches the acquired device capability information of the plurality of DMRs and the list of supported media formats to generate a matching list.
  • the media content directory of each DMS is obtained by the aggregation module, and the media content of each media resource stored in each DMS is identified according to the media content directory of each DMS, and if at least two DMS stores are determined, Having at least two media resources having the same media content in the media resource, the media resource objects corresponding to the at least two media resources are respectively integrated in the media content directory corresponding to the at least two DMSs, and the aggregation module is integrated according to the integration
  • the content list is obtained, and the content list is sent to the DMC, and the content list is displayed to the user by the DMC, and the content list includes media identifiers of the media resources having different media contents stored by each DMS and having the same media content.
  • the media resources having the same media content in the media content directory are associated with each other, and the media identifiers of the plurality of media files having the same media content are not present in the media content list, and are in the process of playing , for different DMRs to push the media resources suitable for its playback
  • FIG. 8 is a signaling flowchart of Embodiment 8 of the media processing method of the present invention. As shown in FIG. 8, the embodiment is completed on the basis of any one of Embodiment 3, Embodiment 6, and Embodiment 7. After selecting the media content played by the playback device, the DMC selects the appropriate media file according to the matching list to play on the selected playback device of the user, and further includes the following steps:
  • S801 The DMC receives a handover request of the user.
  • the play command carries the metadata information of the media resource that the switched DMR supports to play, so that the switched DMR plays the media file that supports the playing.
  • DMR1 (Tablet)
  • the user intends to switch the media content to play on the DMR3 (TV)
  • the DMC calls the AVT::GetPositionInfo() command to the DMR1 to obtain the current playing time point of the "0" media file, and then the DMC queries the matching list to obtain the media file identifier.
  • the media file numbered "2" is most suitable for playing on DMR3, and then checking the playing time field information in the metadata information of the corresponding media file of the media content directory of the "2" media file, and finding the same as the "0" media file.
  • the playback time is the same, the DMC calls the AVT::SetAVTransportURI() command to the DMR3, and the command information includes the URL address information of the "2" media file, the related metadata information, and the current playback time point of the obtained media file, DMR3 direction
  • the digital media server Cloud Server storing the "2" media file requests the data stream of the "2" media file after the current playback time point.
  • the DMC searches sequentially according to the priority order of the media files in the column of the DMR3 player in the matching list, if the playing time of the media file is "0". If the media file playback time is different, the media file will not be changed when switching, and the “0” media file will be switched to DMR3 for playback.
  • the media processing method of the embodiment receives the switching request of the user through the DMC, and sends a play command suitable for the media file played by the DMR to the switched DMR, thereby implementing flexible selection of the playing device in the home network, and obtaining a better playing effect.
  • FIG. 9 is a schematic structural diagram of Embodiment 1 of the media control device according to the present invention.
  • the device in this embodiment may include: an obtaining module 91, a processing module 92, and a pushing module 93, where the acquiring module 91 is configured to acquire at least a media content directory of the media server, the media description information in the at least two media resource objects in the media content directory is identified; the processing module 92 is configured to: when the media resources corresponding to the at least two media resource objects respectively have When the same media content is used, the at least two media resource objects are integrated, so that the integrated at least two media resource objects are represented by one media identifier; and the pushing module 93 is configured to: according to the capability of the media playing device selected by the user Transmitting, to the media playing device, a media resource address corresponding to the first media resource object, so that the media playing device acquires and plays the media resource corresponding to the media resource address, where the first media resource object is suitable for the One of the at least two media resource objects played
  • the obtaining module 91 includes: a matching unit, configured to match at least one of a media name, a duration, and a production information in the media description information in each media resource object, and determine that There are at least two media assets with the same media content.
  • the obtaining module 91 is specifically configured to obtain an integrated media content directory sent by the at least one media server, where the integrated media content directory is used when the number of the media servers is more than or equal to two.
  • the media description information in at least two media resource objects belonging to different media servers is identified.
  • the matching unit is specifically configured to: in the at least two media resource objects belonging to different media servers in the integrated media content directory, media name, duration, and creation information in the media description information in each media resource object. At least one of the matches is performed to determine whether there are at least two media assets having the same media content.
  • the at least one of the media name, the duration, and the production information in the media description information in the media resource object is matched, and determining whether there are at least two media resources having the same media content may include: 1) The media name in the media description information corresponding to the at least two media resources has the same number of characters exceeding the first threshold ratio; (2) the duration deviation in the media description information corresponding to the at least two media resources is in a preset range (3) the production information in the media description information corresponding to the at least two media resources is the same; the above condition (1), (2), (3), any one of the conditions is satisfied or any two conditions are satisfied or three If the item condition is satisfied, it can be determined that at least two media resources have the same media content.
  • the processing module further includes: an integration unit, configured to: when each of the media resources corresponding to the at least two media resource objects have the same media content, and each of the at least two media resource objects Marking, wherein the tag is to add an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects, the tagged The at least two media resource objects are represented by one media identifier; or when the media resources corresponding to the at least two media resource objects have the same media content, the at least two media resource objects are combined to generate a reference media.
  • the media control device further includes: a play matching module, configured to match the at least two media resource objects with the playability information of the at least one media play device, and determine to support playing the at least two media.
  • a play matching module configured to match the at least two media resource objects with the playability information of the at least one media play device, and determine to support playing the at least two media.
  • a play matching module configured to match the at least two media resource objects with the playability information of the at least one media play device, and determine to support playing the at least two media.
  • a play matching module configured to match the at least two media resource objects with the playability information of the at least one media play device, and determine to support playing the at least two media.
  • the play matching module is specifically configured to: perform media format and resolution of the at least two media resource objects, respectively, with a media format and display resolution supported by the device capability information of the at least one media playback device. Matching; or sending a media data request message to the at least one media playing device, so that the at least one media playing device prefetches at least a portion of the media resource data from the media server to perform a play attempt according to the media data request message.
  • the media data request message includes: a storage path of the media resource and a prefetched data range.
  • the pushing module 93 includes: a receiving unit, configured to receive a play request of the user, where the play request includes a media playing device selected from the at least one media playing device and a requested media identifier; Determining, by the first media resource object, the first media resource object is the at least two media resources, if the requested media identifier is the media identifier corresponding to the at least two media resources having the same media content.
  • the selected media playing device supports the played media resource; the sending unit is configured to send a play command to the selected media playing device, where the play command carries the media resource address corresponding to the first media resource object So that the selected media playing device plays the media resource that supports playing.
  • the play matching module is specifically configured to: if the number of media resources supported by the media play device in the at least two media resource objects is more than one, according to the resolution of the more than one media resource And determining, by the device capability information of the media playback device, a play priority of the media play device by the media play device; or if the media play device of the at least two media resource objects supports the played media resource Determining a play priority of the more than one media resource relative to the media play device according to a play response delay effect of the more than one media resource; the determining unit is specifically configured to: Determining that the selected media playing device of the at least two media resource objects supports playing and playing the highest priority media resource; the playing command carries the selected media playing device to support playing and playing priority The media resource address of the highest media resource.
  • the media control further includes: the switching module is configured to: receive a handover request of the user, where the handover request includes an identifier of the switched media playback device and the switched media resource;
  • the switched media resource is the at least two media assets having the same media content Determining, by the media playing device, that the switched media playing device does not support playing the switched media resource, determining that the switched media playing device supports the played media resource in the at least two media resources;
  • the sending the play command to the switched media playing device includes: if the media playing device of the at least two media resources supports the duration of the played media resource Sending the play command to the switched media play device, where the play command further includes the current play time, so that the switched media play device is from the same The currently playing time starts to play the media resource that supports the playing; if the duration of the media resource supported by the switched media playing device in the at least two media resources is different from the duration of the switched media resource, the switching fails. .
  • the media control device further includes: a generating module, configured to generate a matching list, where the matching list includes an identifier of the media playing device and an identifier of the media resource that the media playing device supports to play in the at least two media resources;
  • the determining unit is configured to: determine, according to the matching list, an identification number of a media resource that the selected media playing device supports to play in the at least two media resources.
  • the media control device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 , and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of Embodiment 1 of a media server according to the present invention.
  • the apparatus in this embodiment may include: a processing module 101, a sending module 102, and a receiving module 103, where the processing module 101 is used for itself.
  • the media description information in the at least two media resource objects in the stored media content directory is identified, and when the media resources corresponding to the at least two media resource objects have the same media content, the at least two media resource objects are integrated, The at least two media resource objects are represented by a media identifier; the sending module 102 is configured to send the integrated media content directory to the media control device, and the receiving module 103 is configured to receive the media transmission device.
  • a media resource request where the acquiring a media resource request includes a media resource address, and sending, to the media playing device, a media resource corresponding to the media resource address source.
  • the processing module 101 includes a matching unit, configured to match at least one of a media name, a duration, and a production information in the media description information in each media resource object, to determine whether there is at least one of the same media content.
  • a matching unit configured to match at least one of a media name, a duration, and a production information in the media description information in each media resource object, to determine whether there is at least one of the same media content.
  • Two media resources; the production information may include publisher information and director information.
  • the matching unit is specifically configured to: (1) the media name in the media description information corresponding to the at least two media resources has the same number of characters exceeding the first threshold ratio; (2) the at least two media resources correspond to (3) The production information in the media description information corresponding to the at least two media resources is the same; (1), (2), (3), If one condition satisfies or both conditions are met or the three conditions are met, then it can be determined that at least two media resources have the same media content.
  • the processing module 101 is specifically configured to mark each media resource object of the at least two media resource objects when the media resources corresponding to the at least two media resource objects have the same media content.
  • the tag is configured to add an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects, where the tagged At least two media resource objects are represented by one media identifier; or, when the media resources corresponding to the at least two media resource objects have the same media content, the at least two media resource objects are merged to generate a reference media resource.
  • the reference media resource object includes media description information of each of the at least two media resource objects, where the at least two media resource objects are represented by the media identifier of the reference media resource object.
  • the media control device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 11 is a schematic structural diagram of Embodiment 2 of a media control device according to the present invention.
  • the device in this embodiment may include: a receiver 111, a processor 112, and a transmitter 113, where the receiver 111 is configured to obtain a media content directory of the at least one media server, the media description information in the at least two media resource objects in the media content directory is identified; the processor 112 is configured to: respectively, the media resources corresponding to the at least two media resource objects Having the same media content, integrating the at least two media resource objects such that the at least two media resource objects after integration are represented by one media identifier; and the transmitter 113 for selecting according to the user
  • the capability information of the media playback device sends the media resource address corresponding to the first media resource object to the media playback device, so that the media playback device acquires and plays the media resource corresponding to the media resource address, where the first media resource The object is one of the at least two media resource objects suitable for playing by the media playing device.
  • the receiver 111 is specifically configured to match at least one of a media name, a duration, and a production information in the media description information in each media resource object, to determine whether there are at least two media resources having the same media content;
  • the production information may include publisher information and director information.
  • the receiver 111 is further configured to: obtain an integrated media content directory sent by the at least one media server, where the number of the media servers is more than or equal to two, in the integrated media content directory.
  • Media description information in at least two media resource objects belonging to different media servers is identified.
  • the at least two media resource objects belonging to different media servers in the integrated media content directory at least one of a media name, a duration, and a production information in the media description information in each media resource object.
  • the production information may include information such as publisher information and director information.
  • the at least one of the media name, the duration, and the production information in the media description information in the media resource object is matched to determine whether there are at least two media resources having the same media content, including: (1) at least The media name in the media description information corresponding to the two media resources has the same number of characters exceeding the first threshold ratio; (2) the duration deviation in the media description information corresponding to the at least two media resources is within a preset range; 3) the production information in the media description information corresponding to the at least two media resources is the same; the above condition (1), (2), (3), any one of the conditions is satisfied or any two conditions are satisfied or the three conditions are satisfied Then, it can be determined that at least two media resources have the same media content.
  • the processor 112 is configured to mark, when the media resources corresponding to the at least two media resource objects have the same media content, each of the at least two media resource objects, where the tag is Adding an identification number and address information of the other media resource objects of the at least two media resource objects to each of the at least two media resource objects, and marking the at least two media resource objects Represented by a media identifier; or when the media resources corresponding to the at least two media resource objects have the same media Contenting, combining the at least two media resource objects to generate a reference media resource object, where the reference media resource object includes media description information of each of the at least two media resource objects, the at least Two media resource objects are represented by media identifiers of the reference media resource objects.
  • the sending according to the capability information of the media playing device selected by the user, the media resource corresponding to one of the at least two media resource objects played by the media playing device to the media playing device Before the address, the method further includes: matching the at least two media resource objects with the playing capability information of the at least one media playing device, and determining to support playing the media corresponding to each of the at least two media resource objects The media player of the resource.
  • the matching, by the media capability and the resolution of the at least two media resource objects, the media format and the resolution of the at least two media resource objects respectively Matching the media format supporting the decoding and the display resolution in the device capability information of the at least one media playing device; or transmitting the media data request message to the at least one media playing device, so that the at least one media playing device according to the The media data request message prefetches at least a portion of the media resource data from the media server for a play attempt.
  • the media data request message includes: a storage path of the media resource and a prefetched data range.
  • the sender 113 is specifically configured to receive a play request of the user, where the play request includes the media play device selected from the at least one media play device and the requested media identifier; if the requested media identifier Determining, by the media identifier corresponding to the at least two media resources having the same media content, the first media resource object, where the first media resource object is the selected media playback device of the at least two media resources Supporting the played media resource; sending a play command to the selected media play device, where the play command carries a media resource address corresponding to the first media resource object, so that the selected media play device plays the The media resources that support playback.
  • the determining, by the media playing device, the media playing device that supports playing the media resource corresponding to each of the at least two media resource objects includes: if the media playing device supports playing in the at least two media resource objects More than one media resource, according to the Determining a resolution of the more than one media resource and device capability information of the media playback device determines a play priority of the more than one media resource for the media play device; or if the at least two media resource objects are If the number of the media resources supported by the media playback device is more than one, the playback priority of the more than one media resource relative to the media playback device is determined according to the play response delay effect of the more than one media resource.
  • Determining, by the selected media playing device, the media resources supported by the selected one of the at least two media resources including: determining that the selected media playing device of the at least two media resource objects supports playing and playing The highest priority media resource; the play command carries the media resource address of the selected media player that supports playing and playing the highest priority media resource.
  • the method further includes: receiving a handover request of the user, where the handover request includes an identifier of the switched media play device and the switched media resource; If the switched media resource is one of the at least two media resources having the same media content, and the switched media playback device does not support playing the switched media resource, determining the at least two media resources The switched media playing device supports the played media resource; and sends a play command to the switched media play device, where the play command carries the media resource address of the media resource supported by the switched media play device, so that The switched media playing device plays the media resource that supports playing.
  • the switching request further includes a current playing time; the sending the play command to the switched media playing device, including: if the switched media playing device supports the played media in the at least two media resources Sending, by the switched media device, the play command, where the duration of the resource is the same as the duration of the switched media resource, where the play command further includes the current play time, so that the switched media play device The media resource that supports the playing is started to be played from the current playing time; if the duration of the media resource supported by the switched media playing device in the at least two media resources is different from the duration of the switched media resource, Then the switch fails.
  • the method further includes: generating a matching list, where the matching list includes the media playing device And identifying, by the media playing device, the identification number of the media resource that is played by the media playing device, and determining, by the selected media playing device, the media resource that is supported by the media playing device, including the at least two media resources, including : according to the horse
  • the binding list determines an identification number of the media resource supported by the selected media playing device in the at least two media resources.
  • the media control device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 12 is a schematic structural diagram of Embodiment 2 of the media server of the present invention.
  • the device in this embodiment may include: a processor 122, a transmitter 123, and a receiver 121, where the processor 122 is configured to store itself.
  • Media description information in at least two media resource objects in the media content directory is identified, and when the media resources corresponding to the at least two media resource objects have the same media content, the at least two media resource objects are integrated, so that The at least two media resource objects are represented by a media identifier;
  • the sender 123 is configured to send the integrated media content directory to the media control device, and the receiver 121 is configured to receive the media sent by the media playback device.
  • the resource request includes the media resource address, and the media resource corresponding to the media resource address is sent to the media playing device.
  • the processor 121 is specifically configured to match at least one of a media name, a duration, and a production information in the media description information in each media resource object, to determine whether there are at least two media having the same media content.
  • Resources; the production information includes publisher information and director information.
  • the at least one of the media name, the duration, and the production information in the media description information in the media resource object is matched to determine whether there are at least two media resources having the same media content, including: (1) at least The media name in the media description information corresponding to the two media resources has the same number of characters exceeding the first threshold ratio; (2) the duration deviation in the media description information corresponding to the at least two media resources is within a preset range; 3) the production information in the media description information corresponding to the at least two media resources is the same; the above condition (1), (2), (3), any one of the conditions is satisfied or any two conditions are satisfied or the three conditions are satisfied Then, it can be determined that at least two media resources have the same media content.
  • the at least two media resource objects are integrated, so that the at least two media resource objects after integration are configured by one
  • the media identifier representation includes: marking, when the media resources corresponding to the at least two media resource objects have the same media content, each media resource object of the at least two media resource objects, wherein the marking is The at least two media Adding an identification number and address information of the other media resource objects of the at least two media resource objects to each of the media resource objects, wherein the tagged at least two media resource objects are represented by a media identifier; or And when the media resources corresponding to the at least two media resource objects have the same media content, combining the at least two media resource objects to generate a reference media resource object, where the reference media resource object includes the at least two Media description information of each media resource object in the media resource object, the at least two media resource objects being represented by a media identifier of the reference media resource object.
  • the media server provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例提供一种媒体处理方法及设备。本发明媒体处理方法,包括:获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。

Description

媒体处理方法及设备 技术领域
本发明涉及多媒体通信技术,尤其涉及一种媒体处理方法及设备。
背景技术
随着数字家庭技术的发展,以及消费电子产品本身的普遍数字化,家庭中正出现越来越多的数字化的娱乐设备和家电产品,其种类也越来越丰富,同时适于各种设备使用的媒体格式类型也是多种多样的。
由于家庭网络各种产品的设备能力、所支持的媒体格式模型均存在差异,就会导致一些媒体文件无法在所有播放设备上进行播放,从而造成一系列媒体互操作方面的问题。通常采用转码或从不同的内容提供商那里下载的方式将一份原始媒体文件扩展成多个具有不同媒体格式和/或分辨率但都表征相同内容的媒体文件,以适应该媒体内容在家庭网络中不同的媒体播放设备上都能够播放。
现有技术方案中,将通过转码或者下载得到的存储在各媒体服务器上分立的媒体内容目录汇聚整合成一份总的内容目录,对于不同媒体格式的相同内容的媒体文件并没有考虑媒体内容相同的媒体文件如何整合处理的问题,所以虽然内容目录汇聚成了一份,但内容目录中会出现多个名称相同或相近的媒体文件。
发明内容
本发明提供一种媒体处理方法及设备,用以解决现有技术中媒体文件汇聚成总的内容目录,内容目录中会出现多个名称相同的媒体文件的问题。
第一方面,本发明实施例提供一种媒体处理方法,包括:
获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
结合第一方面,在第一方面的第一种可能的实现方式中,所述对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,包括:
对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
结合第一方面,在第一方面的第二种可能的实现方式中,所述获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,包括:
获取至少一个媒体服务器发送的整合后的媒体内容目录,当所述媒体服务器的数量多于或者等于两个时,对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别,包括:
在所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
结合第一方面的第一种可能的实现方式或者第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:
当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
结合第一方面、第一方面的第一种至第四种任一种可能的实现方式,在第一方面的第五种可能的实现方式中,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,包括:
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
结合第一方面、第一方面的第一种至第五种任一种可能的实现方式,在第一方面的第六种可能的实现方式中,所述根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址之前,还包括:
将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放 能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
结合第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,所述将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,包括:
将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;或者
向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。
结合第一方面的第七种可能的实现方式,在第一方面的第八种可能的实现方式中,所述媒体数据请求消息,包括:
所述媒体资源的存储路径和预取数据范围。
结合第一方面、第一方面的第一种至第八种任一种可能的实现方式,在第一方面的第九种可能的实现方式中,所述根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个,包括:
接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;
若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;
向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
结合第一方面的第六种至第九种任一种可能的实现方式,在第一方面的第十种可能的实现方式中,所述确定支持播放所述至少两个媒体资源对 象中的每个媒体资源对象对应的媒体资源的媒体播放设备,包括:
若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源对于所述媒体播放设备的播放优先级;或
若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;
所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括:
确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;
所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
结合第一方面的第九种或者第十种可能的实现方式,在第一方面的第十一种可能实现的方式中,所述向所述选定的媒体播放设备发送播放命令之后,还包括:
接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;
若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;
向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
结合第一方面的第十一种可能的实现方式,在第一方面的第十二种可能的实现方式中,所述切换请求还包括当前播放时刻;
所述向所述切换的媒体播放设备发送播放命令,包括:
若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒 体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;
若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
结合第一方面的第六种至第十二种任一种可能的实现方式,在第一方面的第十三种可能的实现方式中,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备之后,还包括:
生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;
所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括:
根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
第二方面,本发明实施例提供一种媒体处理方法,包括:
媒体服务器对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
将整合后的媒体内容目录发送给媒体控制设备;
接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源。
结合第二方面,在第二方面的第一种可能的实现方式中,所述对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,包括:
对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资 源。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:
当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
结合第二方面、第二方面的第一种至第二种任一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,包括:
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
第三方面,本发明实施例提供一种媒体控制设备,包括:
获取模块,用于获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;
处理模块,用于当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
推送模块,用于根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
结合第三方面,在第三方面的第一种可能的实现方式中,所述获取模块包括:匹配单元,用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
结合第三方面,在第三方面的第二种可能的实现方式中,所述获取模块具体用于获取至少一个媒体服务器发送的整合后的媒体内容目录,当所述媒体服务器的数量多于或者等于两个时,对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述匹配单元具体用于在所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
结合第三方面第一种可能的实现方式或者第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:
当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
结合第三方面、第三方面的第一种至第四种任一种可能的实现方式,在第三方面的第五种可能的实现方式中,所述处理模块还包括整合单元用于:
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
结合第三方面、第三方面的第一种至第五种任一种可能的实现方式,在第三方面的第六种可能的实现方式中,所述媒体控制设备还包括:播放匹配模块,用于将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
结合第三方面的第六种可能的实现方式,在第三方面的第七种可能的实现方式中,所述播放匹配模块具体用于:将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息 中的支持解码的媒体格式和显示分辨率进行匹配;或者
向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。
结合第三方面的第七种可能的实现方式,在第三方面的第八种可能的实现方式中,所述媒体数据请求消息,包括:
所述媒体资源的存储路径和预取数据范围。
结合第三方面、第三方面的第一种至第八种任一种可能的实现方式,在第三方面的第九种可能的实现方式中,所述推送模块包括:
接收单元,用于接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;
确定单元,若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;
发送单元,用于向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
结合第三方面的第九种可能的实现方式,在第三方面的第十种可能的实现方式中,所述播放匹配模块具体用于:
若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源对于所述媒体播放设备的播放优先级;或
若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;
所述确定单元具体用于:
确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;
所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
结合第三方面的第九种或者第十种可能的实现方式,在第三方面的第十一种可能的实现方式中,所述装置还包括:切换模块用于:
接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;
若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;
向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
结合第三方面的第十一种可能的实现方式,在第三方面的第十二种可能的实现方式中,所述切换请求还包括当前播放时刻;
所述向所述切换的媒体播放设备发送播放命令,包括:
若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;
若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
结合第三方面的第六种至第十二种任一种可能的实现方式,在第三方面的第十三种可能的实现方式中,所述装置还包括:生成模块,用于生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;
所述确定单元,具体用于:
根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
第四方面,本发明实施例提供一种媒体服务器,包括:
处理模块,用于对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
发送模块,用于将整合后的媒体内容目录发送给媒体控制设备;
接收模块,用于接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源。
结合第四方面,在第四方面的第一种可能的实现方式中,所述处理模块包括匹配单元,用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述匹配模块具体用于:
当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
结合第四方面、第四方面的第一种至第二种任一种可能的实现方式,在第四方面的第三种可能的实现方式中,所述处理模块具体用于:
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中 所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
本发明实施例媒体处理方法及设备,通过获取至少一个媒体服务器的媒体内容目录,并对所述媒体内容目录中的至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,则整合所述至少两个媒体资源对象,根据整合后的媒体内容目录得到内容列表,使得具有相同媒体内容的媒体资源对象仅由一个媒体标识表示,因此展示给用户的内容列表中不包含重复的媒体标识,进而在播放过程中,根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,从而实现了展示给用户的内容列表中的媒体标识具有单一性,并且在播放过程中,对不同的媒体播放设备推送适合其播放的媒体资源。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明媒体处理方法实施例一的流程图;
图2为本发明媒体处理方法实施例二的流程图;
图3为本发明媒体处理方法实施例三的流程图;
图4为本发明媒体处理方法实施例四的流程图;
图5为本发明媒体处理方法实施例五的流程图;
图6为本发明媒体处理方法实施例六的信令流程图;
图7为本发明媒体处理方法实施例七的信令流程图;
图8为本发明媒体处理方法实施例八的信令流程图;
图9为本发明媒体控制设备实施例一的结构示意图;
图10为本发明媒体服务器实施例一的结构示意图;
图11为本发明媒体控制设备实施例二的结构示意图;
图12本发明媒体服务器实施例二的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例中涉及的媒体服务器可以包括数字媒体服务器(Digital Media Server,简称DMS),用于存储图片、音频、视频等媒体文件,DMS可以是智能手机、平板电脑(Tablet)、数码照相机、便携式计算机等能够生成和存储图片、音乐、视频节目等媒体内容的家庭网络设备或移动手持设备,也可以是位于家庭网络外部及网络侧的能够被家庭网络内部控制点发现、控制和访问的媒体服务器,例如通过用户访问账号的云服务器(Cloud Server)。
本发明实施例中涉及的媒体播放设备可以包括数字媒体呈现器(Digital Media Renderer,简称DMR)和数字媒体播放器(Digital Media Player,简称DMP),是用于播放图片、音频、视频等媒体文件的设备,DMR可以是固定播放设备,如音响、电视以及相连接的机顶盒、投影仪等,也可以是移动播放设备,如智能手机、平板电脑、便携式计算机、个人数字终端等。
本发明实施例中涉及的媒体控制设备是用于发现家庭网络中上线的 媒体服务器和媒体播放设备,并对各设备进行控制的设备,媒体控制设备可以是数字媒体控制器(Digital Media Controller,简称DMC),例如可以是智能手机、平板电脑等移动手持设备。
本发明实施例中涉及的汇聚模块(Aggregation Option,简称AO),用户汇聚家庭网络内外DMS上存储的内容目录的功能模块,该功能模块可嵌入在某个DMS或者DMC上,也可由单独的物理设备担任。
图1为本发明媒体处理方法实施例一的流程图,本实施例的执行主体为媒体控制设备,如图1所示,本实施例的方法可以包括:
S101:获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别。
其中,所述媒体内容目录中包含多个媒体资源对象,所述媒体资源对象与媒体资源一一对应,其包含与其相对应的媒体资源的媒体描述信息,所述媒体描述信息可以包括但不限于媒体名称、时长、制作信息等。
S102:当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示。
其中,媒体资源具有相同的媒体内容具体为不同的媒体资源具有相同的媒体内容(如一个影片的不同版本的媒体文件),具体可以包括:具有相同的媒体内容以及相同的媒体格式的不同的媒体资源,或者,具有相同媒体内容但版本或者格式不同,如相同的影片,不同的分辨率、质量或者比特率的媒体资源,举例说明,三个媒体文件分别为avater.rmvb,avater.avi,avater.wmv,这三个媒体文件具有相同内容,即均为影片avater,但是三个媒体文件的格式不同,则这三个媒体文件为具有相同的媒体内容的不同媒体资源。
其中,通过S102中对具有相同媒体内容的媒体资源对象进行整合后,根据整合后的媒体内容目录得到内容列表,由于具有相同媒体内容的媒体资源对象仅由一个媒体标识表示,因此展示给用户的内容列表中不包含重复的媒体标识,所述内容列表包括至少一个媒体服务器存储的各具有不同媒体内容的媒体资源的媒体标识和所述具有相同媒体内容的媒体资源的一个媒体标识。
S103:根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
可选的,在S102中所述对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,可以具体为:对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息可以包括发行商信息和导演信息。
其中,所述对所述媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,可以具体为:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
上述在确定是否存在具有相同媒体内容的至少两个媒体资源过程中,一种优选的方式可以为:若至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同,则判断所述至少两个媒体资源对应的媒体描述信息中的时长偏差是否在预设范围内;若所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内,则判断所述至少两个媒体资源对应的媒体描述信息中的制作信息是否相同;若所述至少两个媒体资源对应的媒体描述信息中的制作信息相同,则确定所述至少两个媒体资源具有相同的媒体内容。
举例而言,上述第一阈值可以为一个固定值,在比较多个媒体文件的媒体名称时,可以用各媒体名称中相同字符数在各自媒体名称字符数中的比例与第一阈值进行比较,即只需要保证媒体名称的主体或者绝大部分字符相同。例如将第一阈值设为0.8,假设有两个媒体文件的媒体名称分别为“avater”、“avaterr”,则两者的相同字符为“avater”,相同字符数 为6,相同字符数在媒体名称“avater”中的比例为1,相同字符数在媒体名称“avaterr”中的比例为0.87,则这两个媒体文件存在具有相同媒体内容的可能性,进而判断这两个媒体文件的时长偏差,若这两个媒体文件的时长分别为1小时25分钟、1小时23分钟,由于不同内容提供商所提供的媒体文件节目时长存在差别,所以在识别过程中,媒体文件的时长允许一定预设范围的偏差,比如一般电影片头和片尾总时长为1分半到3分钟之内,可以将此时间间隔作为预设范围的偏差,则“avater”和“avaterr”这两个媒体文件的时长偏差在预设范围内,进一步判断制作信息是否相同,若上述两个媒体文件的发行商都为20Century Fox,导演都为James Camron,则判断这两个媒体文件的媒体内容相同。
上述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息进行匹配的方式,是确定是否存在具有相同媒体内容的至少两个媒体资源的一种优选方式,还可以先判断媒体资源对应的媒体描述信息中的时长偏差是否在预设范围内,再判断媒体名称中是否有超过第一阈值的字符相同,最后判断制作信息是否相同,即判断媒体资源对应的媒体描述信息中的媒体名称、时长偏差、以及制作信息的顺序可以不做限制。
具体地,在S102中,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,可以具体通过以下两种方式实现:(1)当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中的每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;(2)当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
可选的,在S103之前,还可以,将所述至少两个媒体资源对象分别 与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
其中,所述将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,可以采用以下两种方式中的任意一种:(1)将所述至少两个媒体资源对象中的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;(2)向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。通过以上两种方式的一种,可以确定播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
其中,所述媒体数据请求消息可以包括所述媒体资源的存储路径和预取数据范围。
可选的,S103可以具体为:接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
其中,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备,具体可以为:若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;或者根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;进而所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括: 确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
可选的,在向所述选定的媒体播放设备发送播放命令之后,接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
其中,所述切换请求还包括当前播放时刻;所述向所述切换的媒体播放设备发送播放命令,可以具体为:若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
在所述确定支持播放所述至少两个媒体资源中每个媒体资源的媒体播放设备之后,还可以:生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;相应地,所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,可以为:根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。即可以直接通过多于一个的媒体资源相对于媒体播放设备的播放优先级确定所述选定的媒体播放设备支持播放的媒体资源,也可以根据播放优先级生成匹配列表,进而根据该匹配列表确定所述选定的媒体播放设备支持播放的媒体资源。
本实施例提供的媒体处理方法,通过获取至少一个媒体服务器的媒体 内容目录,并对所述媒体内容目录中的至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,则整合所述至少两个媒体资源对象,根据整合后的媒体内容目录得到内容列表,使得具有相同媒体内容的媒体资源对象仅由一个媒体标识表示,因此展示给用户的内容列表中不包含重复的媒体标识,进而在播放过程中,根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,从而实现了展示给用户的内容列表中的媒体标识具有单一性,并且在播放过程中,对不同的媒体播放设备推送适合其播放的媒体资源。
图2为本发明媒体处理方法实施例二的流程图,本实施例的执行主体为媒体服务器,如图2所示,本实施例的方法可以包括:
S201:向媒体控制设备发送媒体内容目录,以使所述媒体控制设备对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示。
S202:接收媒体播放设备媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送所述媒体资源地址对应的媒体资源。
其中,在S201中,所述对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,可以为:对所述媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息可以包括发行商信息、导演信息、主演信息等。
具体地,所述对所述媒体描述信息中的媒体名称、时长、制作信息至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,可以为:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体 描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
上述在确定是否存在具有相同媒体内容的至少两个媒体资源过程中,一种优选的方式可以为:若至少两个媒体资源对应的媒体描述中的媒体名称中有超过第一阈值比例的字符相同,则判断所述至少两个媒体资源对应的媒体描述信息中的时长偏差是否在预设范围内;若所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内,则判断所述至少两个媒体资源对应的媒体描述信息中的制作信息是否相同;若所述至少两个媒体资源对应的媒体描述信息中的制作信息相同,则确定所述至少两个媒体资源具有相同的媒体内容。
其中,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,可以采用以下两种方式中任一种:(1)当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中的每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中每个媒体资源对象中添加所述至少两个媒体资源对象中的其他媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;(2)当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
本实施例提供的媒体处理方法,通过向媒体控制设备发送媒体内容目录,以使所述媒体控制设备对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,根据整合后的媒体内容目录生成内容列表,使得整合后的所述至少两个媒体资源对 象由一个媒体标识表示,接收媒体播放设备媒体播放设备发送的获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送所述媒体资源地址对应的媒体资源,从而实现了展示给用户的内容列表中的媒体标识具有单一性。
图3为本发明媒体处理方法实施例三的流程图,下面采用一个具体的实施例对图1、图2所示方法进行详细说明,如图3所示,本实施例包含位于家庭网络内部的2个DMS、1个位于家庭网络外部网络侧的DMS以及1个DMC,位于家庭网络内部的2个DMS分别为DMS1、DMS2,1个位于家庭网络外部网络侧的DMS,具体为Clould Server,并且本实施例以媒体资源为媒体文件作举例说明,每个媒体文件对应有媒体资源对象,该媒体资源对象包含了与之对应的媒体文件的描述信息,该媒体文件的描述信息可以为CDS元数据信息,本实施的媒体处理方法可以包括以下步骤:
S301:各DMS将存储在自身的媒体文件的媒体内容目录发送给DMC。
如图3所示,本实施例中包含3个DMS,分别为DMS1、DMS2和Cloud Server,各DMS上线后,DMC发现各个DMS,并向各DMS调用CDS::Browse()/Search()命令,各DMS在接收到该命令后,将存储在自身设备上的媒体内容目录发送给DMC。
S302:DMC对各DMS存储的各媒体文件对应的媒体资源对象进行识别。
具体地,DMS1、DMS2以及Cloud Server分别对存储在自身的媒体文件的媒体资源对象进行识别,由于具有相同内容的媒体文件可能具有不同的媒体格式或者分辨率,单从媒体格式或者分辨率上来判别是无从判断媒体文件的内容是否相同,所以具体识别方法是分析媒体内容目录的元数据信息中的一些能够表征媒体内容性质的字段,包括媒体名称、节目时长、制作信息等。举例而言,假设DMS1中存储的3个媒体文件的元数据信息如表1所示。
表1 DMS1中存储的3个媒体文件的的元数据信息
Figure PCTCN2015080311-appb-000001
Figure PCTCN2015080311-appb-000002
在表1中,这些元数据信息中包含有名称字段<dc:title>、媒体资源字段<res>和制作信息字段<film information>。其中<res>字段中包含文件大小”size”、节目时长”duration”、分辨率”resolution”、媒体格式”protocolInfo”以及文件地址URL等信息,<film information>字段中包含发行商 <publisher>、导演<director>等信息。在识别过程中,首先分析名称字段<dc:title>,如表1所示,这3个媒体文件的名称字段信息都是相同的,因此判别这3个媒体文件具有相同媒体内容的可能性,当然,在实际判别中未必要求名称完全相同,但要保证名称的主体或者绝大部分字符是相同的;接下来分析节目时长,如表1所示,这3个媒体文件的节目时长也是相同的,因此判别这3个媒体文件具有相同媒体内容的可能性进一步增大,当然,在实际判别中,由于不同内容提供商所提供的节目时长可能存在差别,比如有的内容提供商所提供的电影把片头和结尾截去,因此未必要求节目时长完全相同,但要保证在合理偏差范围内(比如一般电影片头和片尾总时长为1分半到3分钟之内,可将此时间作为合理偏差范围);然后再分析<film information>字段,如表1所示,这3个媒体文件的发行商、导演等信息完全相同,因此可以判别为同一电影。通过分析上述字段信息并经过综合考虑,判别这3个媒体文件具有相同的媒体内容。
S303:整合具有相同媒体内容的至少两个媒体文件对应的媒体资源对象,生成内容列表。
经过S302中的识别过程后,当至少两个媒体文件具有相同的媒体内容,则对所述至少两个媒体文件对应想媒体资源对象进行整合,整合的方式具体可以为以下两种方式中任一种。
方式一、对具有相同媒体内容的至少两个媒体文件对应的每个媒体资源对象进行标记。具体而言,DMS1、DMS2以及Cloud Server分别通过分析其自身存储的媒体文件对应的媒体资源对象中的元数据信息,若得出其中有媒体文件具有相同的媒体内容的结论时,则对这些媒体文件对应的媒体资源对象进行标记,以表示这些媒体文件具有相同的媒体内容。在媒体内容目录中媒体资源对象中的元数据信息中添加<link>字段,以进行标记,<link>字段包含与其具有相同媒体内容的其他媒体文件的标识号和地址信息。如表1所示,媒体文件标识号为“0”、“1”和“2”的媒体文件具有相同的媒体内容,即都为AVATAR这部电影,则对上述三个媒体文件对应的媒体内容目录的媒体资源对象中的元数据信息分别进行更新,增加<link>字段。以媒体标识号为“0”的媒体文件为例,如表2所示,在识别出具有相同媒体内容的情况下,在媒体文件标识号为“0”的元数据 信息后增加与其具有相同媒体内容的媒体文件的标识号和地址信息。
表2 标记后的标识号为“0”的媒体文件的元数据信息
<itemID=”0”>
<dc:title>AVATAR</dc:title>
<res size=”232246026”duration=”1:32:48:00”
resolution=”1280×720”
protocollnfo=”http-get::video/xms-wmv:..”>
http://10.11.84.153/avatar.wmv
<link><itemID>1</itemID>
<currentURL>http://10.11.84.153/avatar.mp4</currentURL>
<link><itemID>2</itemID>
<currentURL>http://10.11.84.153/avatar.mpeg</currentURL>
方式二、对具有相同媒体内容的至少两个媒体文件对应的每个媒体资源对象进行合并,生成基准媒体资源对象。具体而言,将具有相同媒体内容的至少两个媒体文件对应的媒体资源对象进行合并,生成基准媒体资源对象,该基准资源对象中包含具有相同媒体内容的媒体文件的元数据信息,例如表1中,媒体文件标识号为“0”、“1”和“2”的媒体文件具有相同的媒体内容,即都为AVATAR这部电影,则对上述三个媒体文件对应的媒体内容目录的媒体资源对象中的元数据信息分别进行合并生成基准媒体资源对象,将上述三个媒体文件对应的媒体资源对象中的元数据信息放入基准资源对象中,并删除上述三个媒体文件对应的媒体资源对象,也可以以其中一个为基准媒体资源对象,将其他与其具有相同媒体内容的媒体资源对象的元数据信息合并到该基准媒体资源对象中,删除媒体资源对象中除该基准媒体资源对象外的其他媒体资源对象。
根据通过上述两种方式中的任意一种方式整合后的媒体内容目录,生成内容列表,该内容列表中具有相同媒体内容的媒体资源对象仅由一个媒体标识表示,因此展示给用户的内容列表中不包含重复的媒体标识。
S304:DMC获取家庭网络中发现的DMR的设备能力信息以及所支持解码的媒体格式列表。
如图5所示,本实施例中家庭网络中共有DMR1、DMR2和DMR3三台DMR 设备,具体的物理设备分别为平板电脑(Tablet)、智能手机(Smartphone)和电视(TV)。DMC在发现家庭网络中的3台DMR设备后,分别向其调用AVT::GetDeviceCapabilities()命令,3台DMR设备在接收到该命令后,分别向DMC发送该设备的设备能力信息和所支持解码的媒体格式列表。其中设备能力信息包括屏幕尺寸、屏幕分辨率等。具体的设备能力信息以及所支持解码的媒体格式列表信息如表3所示。
表3 DMR设备的设备能力信息和所支持的媒体格式列表
Figure PCTCN2015080311-appb-000003
S305:DMC针对具有相同媒体内容的媒体文件与获取的多个DMR的设备能力信息和所支持解码的媒体格式进行匹配,生成匹配列表。
具体地,DMC在获取整合更新后的媒体内容目录和各DMR的设备能力以及所支持解码的媒体格式列表后,对媒体文件与播放设备进行匹配,匹配对于特定DMR适合播放的媒体文件,生成匹配列表。
具体可以通过以下两种方式获取媒体文件相对于DMR的优先级,进而生成匹配列表:
方式一、根据媒体文件的分辨率和DMR的设备能力信息确定多于一 个媒体文件相对于DMR的优先级。
以DMR1(Tablet)为例,如表3所示,该DMR的屏幕尺寸(Screen size)为9.7英寸,屏幕分辨率(Resolution)为1280×720,所支持解码的媒体格式(Supported media formats profiles)如表3所示;再分析媒体标识号为“0”、“1”和“2”的3个判别为具有相同媒体内容的媒体文件的元数据信息,发现“0”媒体文件的媒体封包格式为WMV,媒体分辨率为1280×720;“1”媒体文件的媒体封包格式为MP4,媒体分辨率为960×600;“2”媒体文件的封包格式为MPEG,媒体分辨率为1920×1080。通过匹配发现Tablet支持“0”媒体和“1”媒体的媒体格式,但不支持“2”媒体的媒体格式,即“2”媒体在Tablet上将无法播放,而“0”媒体文件的分辨率为1920×1080,与Tablet的屏幕分辨率相同,因此“0”媒体文件在Tablet上播放时会获得更好的播放效果,因此可以得出结论:“0”媒体文件和“1”媒体文件都可以在DMR1上播放,但是“0”媒体文件更适合在DMR1上播放,其播放的优先级顺序为0,1。同理,可以得出DMR2(Smartphone)播放的优先级顺序为1,0;DMR3(TV)播放的优先级顺序为2,0,1。因此可以得到匹配列表如表4所示。
表4 媒体文件与播放设备匹配列表
媒体文件标识号(itemID) 播放设备
0,1 DMR1(Tablet)
1,0 DMR2(Smartphone)
2,0,1 DMR3(TV)
方式二、根据媒体文件的播放情况确定多于一个媒体文件相对于DMR的优先级。
具体地,数字媒体控制设备向DMR发送媒体数据请求消息,该媒体数据请求消息包括媒体文件的存储路径和预取数据范围,DMR根据该媒体数据请求消息从DMS预取一部分媒体文件,进行解码并尝试播放,检测播放的效果,具体实施方式以Tablet(DMR1)为例,DMR1在预取了3个媒体文件“0”、“1”和“2”的部分媒体数据之后,分别对其进行解码,发现“0”、“1”媒体均能够被解码,但“2”媒体解码失败,则认为“2”媒体无法在DMR1上播放;然后对“0”和“1”媒体进行试播放, 检测其播放的效果,发现“0”媒体的播放响应延迟小于“1”媒体的播放响应延迟,证明“0”媒体更适合于在DMR1上播放,则匹配列表中优先顺序为0,1。同理,根据上述方法,可以得出DMR2(Smartphone)播放的优先级顺序为1,0;DMR3(TV)播放的优先级顺序为2,0,1,进而生成如图4所示的匹配列表。
S306:当用户选择播放设备播放的媒体内容时,DMC根据匹配列表选择适合的媒体文件到用户选定的播放设备上播放。
当用户在DMC上点击媒体名称“AVATAR”(该媒体包含3个不同的媒体文件),并选择DMR1(Tablet)设备进行播放,则DMC根据S305生成的匹配列表(如表4所示),得到在DMR1(Tablet)上适合播放的媒体文件为媒体文件标识号为“0”的媒体文件,则确定向DMR1推送的媒体流为“0”媒体文件的媒体流。具体实施方式为DMC向DMR1调用AVT::SetAVTransportURI()命令,该命令信息中包含“0”媒体文件的URL地址信息以及相关的元数据信息,DMR1根据接收到的“0”媒体文件的URL地址信息向存储“0”媒体文件的数字媒体服务器DMS1请求媒体数据,进行播放。
本实施例提供的媒体处理方法,通过DMC获取各DMS的媒体内容目录,根据各DMS的媒体内容目录对各DMS存储的各媒体文件对应的媒体资源对象进行识别,若确定至少两个DMS存储的各媒体文件中存在具有相同媒体内容的至少两个媒体文件,则整合具有相同内容的至少两个媒体文件对应的媒体资源对象,使得整合后的媒体资源对象仅由一个媒体标识表示,生成内容列表并展示给用户,该内容列表中不包含重复的媒体标识,该内容列表包括各DMS存储的各具有不同媒体内容的媒体文件的媒体标识和具有相同媒体内容的至少两个媒体文件的一个媒体标识,实现了媒体内容目录中具有相同媒体内容的媒体文件相互关联,媒体内容列表中不存在媒体内容相同的多个媒体文件的媒体标识,并且在播放过程中,对不同DMR根据其设备能力信息向其推送适合其播放的媒体文件,从而使得用户可以获取更好的用户体验。
图4为本发明媒体处理方法实施例四的流程图,本实施例的执行主体为媒体控制设备,本实施例与图1所示实施例一的区别在于,媒体控制器 获取到的媒体内容目录为经过媒体服务器进行整合后的媒体内容目录,如图4所示,本实施例的方法可以包括:
S401:获取至少一个媒体服务器发送的整合后的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别。
其中,当仅接收到一个媒体服务器发送的整合后的媒体内容目录时,则不需要再对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,直接执行S403。
S402:当所述至少两个所述媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示。
S403:根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
其中,所述对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,可以具体为:在所述整合后的媒体内容目录中属于不同媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息可以包括发行商信息、导演信息、主演信息等。
具体地,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,具体实现方式为:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
上述在确定是否存在具有相同媒体内容的至少两个媒体资源过程中,一种优选的方式可以为:若至少两个媒体资源对应的媒体描述信息中的媒 体名称中有超过第一阈值比例的字符相同,则判断所述至少两个媒体资源对应的媒体描述信息中的时长偏差是否在预设范围内;若所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内,则判断所述至少两个媒体资源对应的媒体描述信息中的制作信息是否相同;若所述至少两个媒体资源对应的媒体描述信息中的制作信息相同,则确定所述至少两个媒体资源具有相同的媒体内容。
可选的,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象可以采用以下两种方式中的任意一种:(1)对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;(2)对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
可选的,在S403之前,还可以将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
其中,所述将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,可以采用以下两种方式中任意一种:(1)将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;(2)向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述DMS预取至少一部分媒体资源数据进行播放尝试。
其中,所述媒体数据请求消息,可以包括所述媒体资源的存储路径和预取数据范围。
可选的,S403的具体实施方式为:接收用户的播放请求,所述播放请 求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
其中,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备,可以为:若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;或若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;进而,确定所述至少两个媒体资源中对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
在上述步骤后,还可以接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
所述切换请求还包括当前播放时刻;若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前 播放时刻开始播放所述支持播放的媒体资源;若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
可选的,在所述确定支持播放所述至少两个媒体资源中每个媒体资源的媒体播放设备之后,还可以生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;进而,根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
本实施提供的媒体处理方法,通过接收至少一个媒体服务器发送的整合后的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个所述媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,因此根据整合后的媒体资源对象生成展示给用户的内容列表中不包含重复的媒体标识,根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,从而实现了媒体内容目录中具有相同媒体内容的媒体文件相互关联,展示给用户的内容列表中媒体标识具有单一性,并且在播放过程中,对不同的媒体播放设备推送适合其播放的媒体资源。
图5为本发明媒体处理方法实施例五的流程图,本实施例的执行主体为媒体服务器,如图5所示,本实施例的方法可以包括:
S501:媒体服务器对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示。
S502:将整合后的媒体内容目录发送给媒体控制设备,以使所述媒体控制设备对所述整合后的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个所述媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后 的所述至少两个媒体资源对象有一个媒体标识表示。
S503:接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源。
其中,S501中所述对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,可以具体为:对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;可选的,所述制作信息可以包括发行商信息、导演信息、主演信息等。
所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,具体可以通过以下步骤实现:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
上述在确定是否存在具有相同媒体内容的至少两个媒体资源过程中,一种优选的方式可以为:若至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同,则判断所述至少两个媒体资源对应的媒体描述信息中的时长偏差是否在预设范围内;若所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内,则判断所述至少两个媒体资源对应的媒体描述信息中的制作信息是否相同;若所述至少两个媒体资源对应的媒体描述信息中的制作信息相同,则确定所述至少两个媒体资源具有相同的媒体内容。
所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,具体可以采用以下两种方式中任意一种:(1)当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记, 其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;(2)当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
本实施例提供的媒体处理方法,通过各媒体服务器对自身存储的媒体内容目录中的各媒体资源对象中的媒体描述信息进行识别,当存在至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,则整合所述至少两个媒体资源对象,整合后的所述至少两个媒体资源对象由一个媒体标识标识,各媒体服务器将整合后的媒体内容目录发送给媒体控制设备,由媒体控制设备对各整合后的媒体内容目录中媒体资源对象中的媒体描述信息进行识别,并整合具有相同媒体内容的媒体资源对象,媒体服务器接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源,从而实现了媒体内容目录中具有相同媒体内容的媒体文件对应的媒体资源对象相互关联,展示给用户的内容列表中不存在媒体内容相同的多个媒体标识,媒体标识具有单一性。
图6为本发明媒体处理方法实施例六的信令流程图,下面采用一个具体的实施例对图4、图5所示方法进行详细说明,如图6所示,本实施例包含位于家庭网络内部的2个DMS、1个位于家庭网络外部网络侧的DMS以及1个DMC,位于家庭网络内部的2个DMS分别为DMS1、DMS2,1个位于家庭网络外部网络侧的DMS,具体为Clould Server,并且本实施例以媒体资源为媒体文件作举例说明,每个媒体文件对应有媒体资源对象,该媒体资源对象包含了与之对应的媒体文件的描述信息,该媒体文件的描述信息可以为CDS元数据信息,本实施的媒体处理方法可以包括以下步骤:
S601:对自身存储的媒体文件对应的媒体资源对象进行识别。
各DMS(DMS1、DMS2以及Clould Server)对存储在自身的媒体文件对应的媒体资源对象进行识别,具体实现过程可以参照S302中DMC对各DMS的各媒体文件对应的媒体资源对象进行识别的方法,此处不再赘述。
S602:整合具有相同媒体内容的至少两个媒体文件对应的媒体资源对象。
由各DMS对存储在自身的媒体文件对应的媒体资源对象进行整合,具体实现过程可以参照S303中的整合方法,此处不再赘述。
S603:将整合后的媒体内容目录发送给DMC。
各DMS将自身整合后的媒体内容目录发送给DMC。
S604:DMC对各DMS发送整合后的媒体内容目录进行识别以及整合,生成内容列表。
具体地,DMC对DMS1、DMS2以及Clould Server发送的整合后的媒体内容目录进行识别,其识别过程主要针对不同DMS之间存在的具有相同媒体内容的媒体资源对应的媒体资源对象,具体识别过程可以参照S302中的识别方法,整合过程可以参照S303中的整合方法,此处不再赘述。进而生成内容列表,具有相同内容的媒体资源,内容列表中只显示一个媒体标识。
S605:DMC获取家庭网络中发现的DMR设备的能力信息以及所支持解码的媒体格式列表。
S606:DMC针对具有相同媒体内容的媒体文件与获取的多个DMR的设备能力信息和所支持解码的媒体格式进行匹配,生成匹配列表。
S607:当用户选择播放设备播放的媒体内容时,DMC根据匹配列表选择适合的媒体文件到用户选定的播放设备上播放。
其中,上述S605~S607具体实施过程与实施例三S304~S306相同,此处不再赘述。
本实施提供的媒体处理方法,通过各DMS对自身存储的媒体文件对应的媒体资源对象进行识别,整合具有相同媒体内容的至少两个媒体文件对应的媒体资源对象,将整合后的媒体内容目录发送给DMC,DMC针对不同DMS之间存在的具有相同媒体内容的媒体资源,对各DMS发送的整 合后的媒体内容目录进行再识别以及整合,生成内容列表,从而实现具有相同媒体内容的媒体资源对应的媒体资源对象相互关联,该内容列表中的媒体标识具有单一性,进一步,DMC获取家庭网络中发现的DMR设备的能力信息以及所支持解码的媒体格式列表,DMC针对具有相同媒体内容的媒体文件与获取的多个DMR的设备能力信息和所支持解码的媒体格式进行匹配,生成匹配列表,当用户选择播放设备播放的媒体内容时,DMC根据匹配列表选择适合的媒体文件到用户选定的播放设备上播放,从而实现在播放过程中,对不同的DMR推送适合其播放的媒体资源。
图7为本发明媒体处理方法实施例七的信令流程图,如图7所示,本实施例在实施例三的基础上引入汇聚模块(Aggregation Option,AO),该媒体处理方法可以包括以下步骤:
S701:汇聚模块汇聚家庭网络内外的各DMS的媒体内容目录。
如图7所示,在本实施例中,当DMS1、DMS2和Cloud Server上线后,3个DMS检测到家庭网络中有汇聚模块,则向汇聚模块上报存储在各DMS上的媒体内容目录。
S702:汇聚模块对各DMS存储的各媒体资源的媒体内容进行识别以及整合。
汇聚模块根据各DMS发送的媒体内容目录对各DMS存储的各媒体资源对应的媒体资源对象进行识别,若确定存在具有相同媒体内容的两个或者两个以上媒体资源,则在对该媒体资源对应的媒体资源对象进行整合。具体识别以及整合过程可以参照S302和S303。
S703:汇聚模块根据整合后的媒体内容目录,得到内容列表。
其中,该内容列表中的媒体标识具有单一性。
S704:将内容列表发送给DMC,以使DMC将内容列表展示给用户。
具体地,DMC向汇聚模块调用CDS::Browse()/Search()命令,汇聚模块在接收到该命令信息后,将汇聚模块通过识别、整合的媒体内容目录以及生成的内容列表发送给DMC,由DMC将内容列表展示给用户。
S705:DMC获取家庭网络中发现的DMR的设备能力信息以及所支持解码的媒体格式列表。
S706:DMC针对具有相同媒体内容的媒体文件的媒体格式模型和分 辨率与获取的多个DMR的设备能力信息和所支持解码的媒体格式列表进行匹配,生成匹配列表。
S707:当用户选择播放设备播放的媒体内容时,DMC根据匹配列表选择适合的媒体文件到用户选定的播放设备上播放。
S705~S707具体实施过程与实施例三S304~S506相同,此处不再赘述。
本实施例提供的媒体处理方法,通过汇聚模块获取各DMS的媒体内容目录,根据各DMS的媒体内容目录对各DMS存储的各媒体资源的媒体内容进行识别,若确定至少两个DMS存储的各媒体资源中存在具有相同媒体内容的至少两个媒体资源,则在所述至少两个DMS对应的媒体内容目录中分别对所述至少两个媒体资源对应的媒体资源对象进行整合,汇聚模块根据整合后的媒体内容目录,得到内容列表,并将内容列表发送给DMC,由DMC将内容列表展示给用户,内容列表包括各DMS存储的各具有不同媒体内容的媒体资源的媒体标识和具有相同媒体内容的至少两个媒体资源的一个媒体标识,实现了媒体内容目录中具有相同媒体内容的媒体资源相互关联,媒体内容列表中不存在媒体内容相同的多个媒体文件的媒体标识,并且在播放过程中,对不同DMR推送适合其播放的媒体资源。
图8为本发明媒体处理方法实施例八的信令流程图,如图8所示,本实施例在实施例三、实施例六以及实施例七中任一实施例的基础上,在完成用户选择播放设备播放的媒体内容,DMC根据匹配列表选择适合的媒体文件到用户选定的播放设备上播放之后,还包括如下步骤:
S801:DMC接收用户的切换请求。
S802:若切换的媒体文件为具有相同媒体内容的至少两个媒体资源中的一个,且切换的DMR不支持播放切换的媒体资源,则确定至少两个媒体资源中切换的DMR支持播放的媒体资源。
S803:DMC向切换的DMR发送播放命令。
其中,播放命令中携带切换的DMR支持播放的媒体资源的元数据信息,以使切换的DMR播放支持播放的媒体文件。
具体地,举例而言,在“0”媒体文件在DMR1(Tablet)上播放时,用 户打算将该媒体内容切换至DMR3(TV)上播放,则DMC向DMR1调用AVT::GetPositionInfo()命令,获取“0”媒体文件当前的播放时间点,然后DMC查询匹配列表,得到媒体文件标识号为“2”的媒体文件最适合在DMR3上播放,然后检查“2”媒体文件的媒体内容目录的对应的媒体文件的元数据信息中的播放时长字段信息,发现同“0”媒体文件的播放时长相同,则DMC向DMR3调用AVT::SetAVTransportURI()命令,该命令信息包含“2”媒体文件的URL地址信息、相关的元数据信息和获取到的媒体文件当前的播放时间点,DMR3向存储“2”媒体文件的数字媒体服务器Cloud Server请求从当前播放时间点开始之后的“2”媒体文件的数据流。
若“2”媒体文件与“0”媒体文件的播放时长不相同,则DMC按照匹配列表中DMR3播放器一栏中媒体文件的优先级顺序依次查找,若媒体文件的播放时长均与“0”媒体文件播放时长不相同,则在切换的时候不改变播放的媒体文件,将“0”媒体文件切换至DMR3上播放。
本实施例的媒体处理方法通过DMC接收用户的切换请求,向切换的DMR发送适合其播放的媒体文件的播放命令,实现了家庭网络中播放设备的灵活选取,并且可以获得较好的播放效果。
图9为本发明媒体控制设备实施例一的结构示意图,如图9所示,本实施例的装置可以包括:获取模块91、处理模块92和推送模块93,其中获取模块91,用于获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;处理模块92,用于当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;推送模块93,用于根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
所述获取模块91包括:匹配单元,用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中的至少一项进行匹配,确定是 否存在具有相同媒体内容的至少两个媒体资源。
可选地,所述获取模块91具体用于获取至少一个媒体服务器发送的整合后的媒体内容目录,当所述媒体服务器的数量多于或者等于两个时,对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别。
所述匹配单元具体用于在所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
可选的,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,可以包括:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
可选的,所述处理模块还包括整合单元用于:当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
可选的,所述媒体控制设备还包括:播放匹配模块,用于将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应 的媒体资源的媒体播放设备。
所述播放匹配模块具体用于:将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;或者向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。
具体地,所述媒体数据请求消息,包括:所述媒体资源的存储路径和预取数据范围。
可选的,所述推送模块93包括:接收单元,用于接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;确定单元,若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;发送单元,用于向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
可选的,所述播放匹配模块具体用于:若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源对于所述媒体播放设备的播放优先级;或者,若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;所述确定单元具体用于:确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
可选地,所述媒体控制其还包括:切换模块用于:接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;
若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资 源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;
向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
当所述切换请求还包括当前播放时刻;所述向所述切换的媒体播放设备发送播放命令,包括:若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
所述媒体控制设备还包括:生成模块,用于生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;所述确定单元,具体用于:根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
本实施例的媒体控制设备,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图10为本发明媒体服务器实施例一的结构示意图,如图10所示,本实施例的装置可以包括:处理模块101、发送模块102和接收模块103,其中,处理模块101,用于对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;发送模块102,用于将整合后的媒体内容目录发送给媒体控制设备;接收模块103,用于接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资 源。
可选的,所述处理模块101包括匹配单元,用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息可以包括发行商信息和导演信息。
具体地,所述匹配单元具体用于:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
可选的,所述处理模块101具体用于:当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
本实施例的媒体控制设备,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图11为本发明媒体控制设备实施例二的结构示意图,如图11所示,本实施例的设备可以包括:接收器111、处理器112和发送器113,其中,接收器111,用于获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;处理器112,用于当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;发送器113,用于根据用户选定的 媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
其中,接收器111具体用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息可以包括发行商信息和导演信息。
可选地,接收器111还可用于,获取至少一个媒体服务器发送的整合后的媒体内容目录,当所述媒体服务器的数量多于或者等于两个时,对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别。具体地,在所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息可以包括发行商信息和导演信息等信息。
其中,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
处理器112,具体用于当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体 内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
可选的,所述根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个媒体资源对象对应的媒体资源地址之前,还包括:将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
可选的,所述将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,包括:将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;或者向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。
所述媒体数据请求消息,包括:所述媒体资源的存储路径和预取数据范围。
可选的,发送器113具体用于,接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
可选的,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备,包括:若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述 多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源对于所述媒体播放设备的播放优先级;或若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括:确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
可选的,所述向所述选定的媒体播放设备发送播放命令之后,还包括:接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
可选的,所述切换请求还包括当前播放时刻;所述向所述切换的媒体播放设备发送播放命令,包括:若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
可选的,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备之后,还包括:生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括:根据所述匹 配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
本实施例提供的媒体控制设备,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图12本发明媒体服务器实施例二的结构示意图,如图12所示,本实施例的设备可以包括:处理器122、发送器123和接收器121,其中,处理器122,用于对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;发送器123,用于将整合后的媒体内容目录发送给媒体控制设备;接收器121,用于接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源。
可选的,所述处理器121具体用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源;所述制作信息包括发行商信息和导演信息。
其中,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:(1)至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;(2)所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;(3)所述至少两个媒体资源对应的媒体描述信息中的制作信息相同;上述条件(1)、(2)、(3),任一项条件满足或者任两项条件满足或者三项条件满足,则可以确定至少两个媒体资源具有相同的媒体内容。
可选的,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,包括:当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体 资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
本实施例提供的媒体服务器,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (36)

  1. 一种媒体处理方法,其特征在于,包括:
    获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
    根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
  2. 根据权利要求1所述的方法,其特征在于,所述对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,包括:
    对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
  3. 根据权利要求1所述的方法,其特征在于,所述获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,包括:
    获取至少一个媒体服务器发送的整合后的媒体内容目录,当所述媒体服务器的数量多于或者等于两个时,对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别。
  4. 根据权利要求3所述的方法,其特征在于,所述对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别,包括:
    在所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
  5. 根据权利要求2或4所述的方法,其特征在于,所述对各媒体资 源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:
    当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
    至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
    所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
    所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
  6. 根据权利要求1~5任一项所述的方法,其特征在于,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,包括:
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
  7. 根据权利要求1~6任一项所述的方法,其特征在于,所述根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址之前,还包括:
    将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
  8. 根据权利要求7所述的方法,其特征在于,所述将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,包括:
    将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;或者
    向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。
  9. 根据权利要求8所述的方法,其特征在于,所述媒体数据请求消息,包括:
    所述媒体资源的存储路径和预取数据范围。
  10. 根据权利要求1~9任一项所述的方法,其特征在于,所述根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个,包括:
    接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;
    若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;
    向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
  11. 根据权利要求7~10任一项所述的方法,其特征在于,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体 资源的媒体播放设备,包括:
    若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源对于所述媒体播放设备的播放优先级;或
    若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;
    所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括:
    确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;
    所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
  12. 根据权利要求10或11所述的方法,其特征在于,所述向所述选定的媒体播放设备发送播放命令之后,还包括:
    接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;
    若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;
    向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
  13. 根据权利要求12所述的方法,其特征在于,所述切换请求还包括当前播放时刻;
    所述向所述切换的媒体播放设备发送播放命令,包括:
    若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播 放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;
    若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
  14. 根据权利要求7~13中任一所述的方法,其特征在于,所述确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备之后,还包括:
    生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;
    所述确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源,包括:
    根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
  15. 一种媒体处理方法,其特征在于,包括:
    媒体服务器对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
    将整合后的媒体内容目录发送给媒体控制设备;
    接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源。
  16. 根据权利要求15所述的方法,其特征在于,所述对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,包括:
    对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
  17. 根据权利要求16所述的方法,其特征在于,所述对各媒体资源 对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:
    当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
    至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
    所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
    所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
  18. 根据权利要求15~17任一项所述的方法,其特征在于,所述当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示,包括:
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
  19. 一种媒体控制设备,其特征在于,包括:
    获取模块,用于获取至少一个媒体服务器的媒体内容目录,对所述媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别;
    处理模块,用于当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容时,整合所述至少两个媒体资源对象,使得整合后的所述至少两个媒体资源对象由一个媒体标识表示;
    推送模块,用于根据用户选定的媒体播放设备的能力信息向所述媒体播放设备发送第一媒体资源对象对应的媒体资源地址,以使所述媒体播放设备获取并播放所述媒体资源地址对应的媒体资源,所述第一媒体资源对象为适合所述媒体播放设备播放的所述至少两个媒体资源对象中的一个。
  20. 根据权利要求19所述的媒体控制设备,其特征在于,所述获取模块包括:匹配单元,用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
  21. 根据权利要求19所述的媒体控制设备,其特征在于,所述获取模块具体用于获取至少一个媒体服务器发送的整合后的媒体内容目录,当所述媒体服务器的数量多于或者等于两个时,对所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中的媒体描述信息进行识别。
  22. 根据权利要求21所述的媒体控制设备,其特征在于,所述匹配单元具体用于在所述整合后的媒体内容目录中属于不同的媒体服务器的至少两个媒体资源对象中,对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
  23. 根据权利要求20或22所述的媒体控制设备,其特征在于,所述对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源,包括:
    当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的 媒体内容:
    至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
    所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
    所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
  24. 根据权利要求19~23所述的媒体控制设备,其特征在于,所述处理模块还包括整合单元用于:
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
  25. 根据权利要求19~24任一项所述的媒体控制设备,其特征在于,所述媒体控制设备还包括:播放匹配模块,用于将所述至少两个媒体资源对象分别与至少一个媒体播放设备的播放能力信息进行匹配,确定支持播放所述至少两个媒体资源对象中的每个媒体资源对象对应的媒体资源的媒体播放设备。
  26. 根据权利要求25所述的媒体控制设备,其特征在于,所述播放匹配模块具体用于:将所述至少两个媒体资源对象的媒体格式和分辨率,分别与所述至少一个媒体播放设备的设备能力信息中的支持解码的媒体格式和显示分辨率进行匹配;或者
    向所述至少一个媒体播放设备发送媒体数据请求消息,以使所述至少一个媒体播放设备根据所述媒体数据请求消息从所述媒体服务器预取至少一部分媒体资源数据进行播放尝试。
  27. 根据权利要求26所述的媒体控制设备,其特征在于,所述媒体数据请求消息,包括:
    所述媒体资源的存储路径和预取数据范围。
  28. 根据权利要求19~27任一项所述的媒体控制设备,其特征在于,所述推送模块包括:
    接收单元,用于接收用户的播放请求,所述播放请求包括从所述至少一个媒体播放设备中选定的媒体播放设备和请求的媒体标识;
    确定单元,若所述请求的媒体标识为所述具有相同媒体内容的至少两个媒体资源对应的媒体标识,则确定第一媒体资源对象,所述第一媒体资源对象为所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源;
    发送单元,用于向所述选定的媒体播放设备发送播放命令,所述播放命令中携带所述第一媒体资源对象对应的媒体资源地址,以使所述选定的媒体播放设备播放所述支持播放的媒体资源。
  29. 根据权利要求28所述的媒体控制设备,其特征在于,所述播放匹配模块具体用于:
    若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的分辨率和所述媒体播放设备的设备能力信息确定所述多于一个的媒体资源对于所述媒体播放设备的播放优先级;或
    若所述至少两个媒体资源对象中媒体播放设备支持播放的媒体资源的数量多于一个,则根据所述多于一个的媒体资源的播放响应延时效果确定所述多于一个的媒体资源相对于所述媒体播放设备的播放优先级;
    所述确定单元具体用于:
    确定所述至少两个媒体资源对象中所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源;
    所述播放命令中携带所述选定的媒体播放设备支持播放且播放优先级最高的媒体资源的媒体资源地址。
  30. 根据权利要求28或29所述的媒体控制设备,其特征在于,所述装置还包括:切换模块用于:
    接收用户的切换请求,所述切换请求包括切换的媒体播放设备和切换的媒体资源的标识号;
    若所述切换的媒体资源为所述具有相同媒体内容的至少两个媒体资源中的一个,且所述切换的媒体播放设备不支持播放所述切换的媒体资源,则确定所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源;
    向所述切换的媒体播放设备发送播放命令,所述播放命令中携带所述切换的媒体播放设备支持播放的媒体资源的媒体资源地址,以使所述切换的媒体播放设备播放所述支持播放的媒体资源。
  31. 根据权利要求30所述的媒体控制设备,其特征在于,所述切换请求还包括当前播放时刻;
    所述向所述切换的媒体播放设备发送播放命令,包括:
    若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长相同,则向所述切换的媒体播放设备发送所述播放命令,所述播放命令还包括所述当前播放时刻,以使所述切换的媒体播放设备从所述当前播放时刻开始播放所述支持播放的媒体资源;
    若所述至少两个媒体资源中所述切换的媒体播放设备支持播放的媒体资源的时长与所述切换的媒体资源的时长不同,则切换失败。
  32. 根据权利要求25~31任一项所述的媒体控制设备,其特征在于,所述装置还包括:生成模块,用于生成匹配列表,所述匹配列表包括媒体播放设备的标识和所述至少两个媒体资源中所述媒体播放设备支持播放的媒体资源的标识号;
    所述确定单元,具体用于:
    根据所述匹配列表确定所述至少两个媒体资源中所述选定的媒体播放设备支持播放的媒体资源的标识号。
  33. 一种媒体服务器,其特征在于,包括:
    处理模块,用于对自身存储的媒体内容目录中至少两个媒体资源对象中的媒体描述信息进行识别,当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,整合所述至少两个媒体资源对象,使得整合 后的所述至少两个媒体资源对象由一个媒体标识表示;
    发送模块,用于将整合后的媒体内容目录发送给媒体控制设备;
    接收模块,用于接收媒体播放设备发送的获取媒体资源请求,所述获取媒体资源请求包含媒体资源地址,向所述媒体播放设备发送媒体资源地址对应的媒体资源。
  34. 根据权利要求33所述的媒体服务器,其特征在于,所述处理模块包括匹配单元,用于对各媒体资源对象中的媒体描述信息中的媒体名称、时长、制作信息中至少一项进行匹配,确定是否存在具有相同媒体内容的至少两个媒体资源。
  35. 根据权利要求34所述的媒体服务器,其特征在于,所述匹配模块具体用于:
    当以下条件中的一个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的两个满足时,确定所述至少两个媒体资源具有相同的媒体内容;或者
    当以下条件中的三个满足时,确定所述至少两个媒体资源具有相同的媒体内容:
    至少两个媒体资源对应的媒体描述信息中的媒体名称中有超过第一阈值比例的字符相同;
    所述至少两个媒体资源对应的媒体描述信息中的时长偏差在预设范围内;
    所述至少两个媒体资源对应的媒体描述信息中的制作信息相同。
  36. 根据权利要求33~35任一项所述的媒体服务器,其特征在于,所述处理模块具体用于:
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体内容,对所述至少两个媒体资源对象中每个媒体资源对象进行标记,其中所述标记为在所述至少两个媒体资源对象中的每个媒体资源对象中添加所述至少两个媒体资源对象中的其它媒体资源对象的标识号和地址信息,标记后的所述至少两个媒体资源对象由一个媒体标识表示;或
    当所述至少两个媒体资源对象各自对应的媒体资源具有相同的媒体 内容,对所述至少两个媒体资源对象进行合并,生成基准媒体资源对象,所述基准媒体资源对象包含所述至少两个媒体资源对象中的每个媒体资源对象的媒体描述信息,所述至少两个媒体资源对象由所述基准媒体资源对象的媒体标识表示。
PCT/CN2015/080311 2014-05-30 2015-05-29 媒体处理方法及设备 WO2015180688A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15799337.9A EP3139573B1 (en) 2014-05-30 2015-05-29 Media processing method and device
US15/315,317 US10972581B2 (en) 2014-05-30 2015-05-29 Media processing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410238320.0A CN105141569B (zh) 2014-05-30 2014-05-30 媒体处理方法及设备
CN201410238320.0 2014-05-30

Publications (1)

Publication Number Publication Date
WO2015180688A1 true WO2015180688A1 (zh) 2015-12-03

Family

ID=54698133

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080311 WO2015180688A1 (zh) 2014-05-30 2015-05-29 媒体处理方法及设备

Country Status (4)

Country Link
US (1) US10972581B2 (zh)
EP (1) EP3139573B1 (zh)
CN (1) CN105141569B (zh)
WO (1) WO2015180688A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473183A (zh) * 2021-06-29 2021-10-01 华夏城视网络电视股份有限公司 一种应用于融合媒体的动静态媒体流批处理方法

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10877714B2 (en) * 2015-03-10 2020-12-29 Zoho Corporation Private Limited Methods and apparatus for enhancing electronic presentations
JP2017156671A (ja) * 2016-03-04 2017-09-07 ヤマハ株式会社 システム
CN107454445A (zh) * 2016-05-31 2017-12-08 北京风行在线技术有限公司 一种用于进行视频播放调度的方法和装置
CN111241341A (zh) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 视频的标识信息处理方法及视频搜索方法,装置及服务器
US11102259B2 (en) * 2019-01-22 2021-08-24 Apple Inc. Network system for content playback on multiple devices
CN113727153B (zh) * 2021-08-30 2023-10-13 聚好看科技股份有限公司 一种服务器、显示设备及媒资播放列表缓存方法
CN114302187B (zh) * 2021-12-10 2024-04-16 北京达佳互联信息技术有限公司 一种媒体资源播放方法、装置、电子设备及存储介质

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493500A (zh) * 2012-09-04 2014-01-01 华为终端有限公司 媒体播放方法、控制点和终端

Family Cites Families (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MY147018A (en) * 2001-01-04 2012-10-15 Thomson Licensing Sa A method and apparatus for acquiring media services available from content aggregators
US9143545B1 (en) * 2001-04-26 2015-09-22 Nokia Corporation Device classification for media delivery
WO2003030033A2 (en) * 2001-10-01 2003-04-10 Delphion, Inc. System and method for generating a work set of patents or other documents
EP1621008A1 (en) * 2003-04-29 2006-02-01 Koninklijke Philips Electronics N.V. Identical recordings on p2p network mapped onto single query result
US7620679B2 (en) * 2003-10-23 2009-11-17 Microsoft Corporation System and method for generating aggregated data views in a computer network
GB0400474D0 (en) 2004-01-10 2004-02-11 Koninkl Philips Electronics Nv Searching content directories
TWI244340B (en) * 2004-08-27 2005-11-21 Via Tech Inc System and method for audio/video recorder with play list pre-editor
US20060080356A1 (en) * 2004-10-13 2006-04-13 Microsoft Corporation System and method for inferring similarities between media objects
US20060168126A1 (en) * 2004-12-21 2006-07-27 Jose Costa-Requena Aggregated content listing for ad-hoc peer to peer networks
US7607582B2 (en) * 2005-04-22 2009-10-27 Microsoft Corporation Aggregation and synchronization of nearby media
US7765229B2 (en) * 2005-07-12 2010-07-27 Microsoft Corporation Single view of data in a networked computer system with distributed storage
US7916755B2 (en) * 2006-02-27 2011-03-29 Time Warner Cable Inc. Methods and apparatus for selecting digital coding/decoding technology for programming and data delivery
US7827479B2 (en) * 2007-01-03 2010-11-02 Kali Damon K I System and methods for synchronized media playback between electronic devices
US20090187951A1 (en) * 2008-01-21 2009-07-23 At&T Knowledge Ventures, L.P. System for preventing duplicate recordings
US8918808B2 (en) * 2008-02-07 2014-12-23 At&T Intellectual Property I, Lp Method and apparatus for presenting media content
US8224899B2 (en) * 2008-04-17 2012-07-17 Eloy Technology, Llc Method and system for aggregating media collections between participants of a sharing network
WO2009132084A1 (en) * 2008-04-25 2009-10-29 Gracenote, Inc. Recognition of video content
TWI361361B (en) * 2008-05-13 2012-04-01 Ind Tech Res Inst Distributed audio video system, and content directory management system and method thereof
US7752265B2 (en) * 2008-10-15 2010-07-06 Eloy Technology, Llc Source indicators for elements of an aggregate media collection in a media sharing system
US8185949B2 (en) 2008-11-20 2012-05-22 Cisco Technology, Inc. UPnP CDS user profile
US8156089B2 (en) * 2008-12-31 2012-04-10 Apple, Inc. Real-time or near real-time streaming with compressed playlists
US20120054664A1 (en) * 2009-05-06 2012-03-01 Thomson Licensing Method and systems for delivering multimedia content optimized in accordance with presentation device capabilities
US8209316B2 (en) * 2010-01-05 2012-06-26 Microsoft Corporation Providing suggestions of related videos
US20120324362A1 (en) 2010-01-19 2012-12-20 Byunghyuk Jung Electronic device and operating method of the same
KR20120112523A (ko) * 2010-01-19 2012-10-11 엘지전자 주식회사 전자기기 및 전자기기의 동작 방법
US9338276B2 (en) * 2010-01-26 2016-05-10 Apple Inc. Gating accessory connection
US20120117110A1 (en) * 2010-09-29 2012-05-10 Eloy Technology, Llc Dynamic location-based media collection aggregation
US8468568B2 (en) * 2010-10-14 2013-06-18 Comcast Cable Communications, LLC. Transmission of video signals
US8266115B1 (en) * 2011-01-14 2012-09-11 Google Inc. Identifying duplicate electronic content based on metadata
US9258609B2 (en) * 2011-03-08 2016-02-09 Tivo Inc. Multi source and destination media discovery and management platform
US8646013B2 (en) * 2011-04-29 2014-02-04 Sling Media, Inc. Identifying instances of media programming available from different content sources
US20120278837A1 (en) * 2011-04-29 2012-11-01 Sling Media Inc. Presenting related content during a placeshifting session
US9710944B2 (en) * 2012-10-22 2017-07-18 Apple Inc. Electronic document thinning
BR112015006455B1 (pt) * 2012-10-26 2022-12-20 Apple Inc Terminal móvel, servidor operável para adaptação de multimídia com base em orientação de vídeo, método para adaptação de multimídia em um servidor com base em orientação de dispositivo de um terminal móvel e meio de armazenamento legível por máquina
US8799957B2 (en) * 2012-11-08 2014-08-05 Motorola Mobility Llc Electronic program guide with display of alternative-source multimedia program options and estimated availability parameters
US9098508B2 (en) * 2012-11-21 2015-08-04 Electronic Arts Inc. Aggregating identifiers for media items
US9292160B2 (en) * 2012-11-30 2016-03-22 Verizon and Redbox Digital Entertainment Services, LLC Systems and methods for presenting media program accessibility information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493500A (zh) * 2012-09-04 2014-01-01 华为终端有限公司 媒体播放方法、控制点和终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473183A (zh) * 2021-06-29 2021-10-01 华夏城视网络电视股份有限公司 一种应用于融合媒体的动静态媒体流批处理方法
CN113473183B (zh) * 2021-06-29 2023-05-05 华夏城视网络电视股份有限公司 一种应用于融合媒体的动静态媒体流批处理方法

Also Published As

Publication number Publication date
EP3139573A4 (en) 2017-06-14
EP3139573A1 (en) 2017-03-08
CN105141569B (zh) 2019-06-21
US20170223139A1 (en) 2017-08-03
CN105141569A (zh) 2015-12-09
US10972581B2 (en) 2021-04-06
EP3139573B1 (en) 2019-05-08

Similar Documents

Publication Publication Date Title
WO2015180688A1 (zh) 媒体处理方法及设备
US9148756B2 (en) Output of content from the internet on a media rendering device
US20120060100A1 (en) System and method for transferring media content
US7574514B2 (en) Systems and methods for identifying original streams of media content
JP5367845B2 (ja) リモートソースからのdlnaデータ配信
EP3110098A1 (en) Mobile terminal and method for achieving sharing of streaming media file of cloud based on dlna
EP3041241B1 (en) Method and apparatus for playing multimedia resource
US9161075B2 (en) System independent remote storing of digital content
WO2017219575A1 (zh) 在线播放电视的方法及装置
WO2017096851A1 (zh) 一种推送视频文件的方法、***和服务器
US20170105034A1 (en) Communication apparatus, communication method, and program
CN112584200B (zh) 投屏方法、***、电子设备及存储介质
WO2015180446A1 (zh) 一种多设备联动服务中的连接通道维护***及方法
EP2647167B1 (en) Recording in a local network
US10708330B2 (en) Multimedia resource management method, cloud server and electronic apparatus
WO2015039477A1 (zh) 基于多屏互动的信息***及信息投放方法、iptv***
EP2647168B1 (en) Recording in a local network
TW201540063A (zh) 多媒體資訊處理方法、多媒體裝置與多媒體網路系統
US20130151665A1 (en) Media content flicking systems and methods
JP6063952B2 (ja) マルチメディア資産を表示する方法、関連するシステム、メディアクライアント、および関連するメディアサーバ
WO2016095434A1 (zh) 播放多媒体资源方法及其装置、存储介质
KR20140103377A (ko) 컨텐츠 서버 및 서버의 컨텐츠 제공방법
KR101991787B1 (ko) 홈 네트워크 미디어 전송 협상
WO2016070371A1 (zh) 移动终端和web终端之间互连及流传输和流媒体播放的方法
CN106708866B (zh) 用于电视设备的文件管理方法与文件管理装置

Legal Events

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

Ref document number: 15799337

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015799337

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015799337

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15315317

Country of ref document: US