CN103780465B - The method and media server, equipment that media content plays - Google Patents

The method and media server, equipment that media content plays Download PDF

Info

Publication number
CN103780465B
CN103780465B CN201210403975.XA CN201210403975A CN103780465B CN 103780465 B CN103780465 B CN 103780465B CN 201210403975 A CN201210403975 A CN 201210403975A CN 103780465 B CN103780465 B CN 103780465B
Authority
CN
China
Prior art keywords
mpd
media content
server
dms
acquisition request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210403975.XA
Other languages
Chinese (zh)
Other versions
CN103780465A (en
Inventor
单振威
朱萸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan Co Ltd
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 Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201210403975.XA priority Critical patent/CN103780465B/en
Priority to PCT/CN2013/085636 priority patent/WO2014063604A1/en
Publication of CN103780465A publication Critical patent/CN103780465A/en
Application granted granted Critical
Publication of CN103780465B publication Critical patent/CN103780465B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/278Content descriptor database or directory service for end-user access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides the method and media server, equipment that a kind of media content plays, wherein, method includes:DMS receives the first MPD that DMC is sent and obtains request, and the first MPD, which obtains request, to be included:The mark of media content, the first MPD obtain request and are used to indicate that DMS obtains MPD corresponding to media content;DMS determines media content according to mark, and MPD corresponding to generation media content that media content is changed and cut into slices, or DMS obtain MPD corresponding to media content from wide area network, MPD information corresponding to the media content obtained to DMC transmissions DMS;First MPD obtains request and sent when on DMS without MPD corresponding to media content, or, the first MPD is obtained when request is the information of the section without the first code check corresponding with mark on DMS and sent.The above method solves the problems, such as that the media content without section can not smooth playing in unstable network in the prior art.

Description

Media content playing method, media server and equipment
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method for playing media content, a media server and media equipment.
Background
With the development of digital homes, and the widespread digitization of consumer electronics products themselves, more and more digitized entertainment devices and home appliances are emerging in the home. These home network devices are connected to a home network in a wired or wireless manner to realize functions such as content sharing and mutual control, and are digital home network concepts that the industry has conceived and tried to realize.
In order to achieve interworking and control of various different types of home devices, more and more home network devices support the Universal Plug and Play (UPnP) protocol, and such devices are called UPnP devices. In the UPnP system, a user controls a home device through a Control Point (CP) in a home network, for example, the CP reads status information of the UPnP device in the home network by invoking a related Control command (action) of the UPnP device by using a UPnP protocol, so as to Control the UPnP device to execute a corresponding operation.
To implement a media sharing scenario among multiple UPnP devices in a home network, UPnP defines an AV standard, and currently, the fourth edition (Audio and Video 4, AV4 for short) has been released. The standard defines 3 entities: a Media Server (MS) storing Media contents, a Media player (MR) playing Media contents, and an audio video control point (AV CP) controlling the above-described MS and M R. For example, the AV CP may browse media contents in the MS, and the AV CP may perform a playing operation of the media contents on the MR, thereby implementing a function of the MR to play the media contents in the MS.
The Digital Living Network Alliance (DLNA for short) adopts the upnp av 1.0 standard, and is used to adaptively select different code rates for transmission according to the processing capability and Network state of the device, so as to improve the user experience. For example, a user views high definition video on a Digital Media player (DMR), and the DMR downloads the high definition video to a Digital Media Server (DMS) at a speed of 5M/s, and if the DM R detects that the network is unstable, the user may request the DMS to transmit at a speed of 800KB/s in the next minute. In the above process, the user does not feel the change in the download speed.
The precondition for the adaptive selection of different code rates for transmission is that there are slices of media content in the DMS. However, there is no slice of the media content in the DMS, for example, the DMS stores private media content without slices, and the current physical bandwidth cannot satisfy the transmission of the private media content, and at this time, the DMR cannot smoothly play the private media content.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a media server, and a device for playing media content, so as to solve the problem in the prior art that how media content without slices cannot be smoothly played in an unstable network.
In a first aspect, a method for playing media content provided in an embodiment of the present invention includes:
the media server DMS receives a first MPD acquisition request sent by a control device DMC, wherein the first MPD acquisition request comprises: the identifier of the Media content, where the first MPD acquisition request is used to instruct the DMS to acquire a Media Presentation Description (MPD) corresponding to the Media content and used to instruct the DMS to acquire the Media content;
the DMS determines the media content according to the identifier, converts and slices the media content, and generates an MPD corresponding to the media content, or acquires the MPD corresponding to the media content from a wide area network, or acquires the MPD and the slice corresponding to the media content from the wide area network;
sending information of MPD corresponding to the media content acquired by the DMS to the DMC;
wherein the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS,
or the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS.
In a first possible implementation manner of the first aspect, if the first MPD acquisition request is sent on the DMS without an MPD corresponding to the media content, the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD;
or,
if the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS, the MPD includes: and the information of the MPD is the URI of the MPD.
With reference to the first aspect and the first possible implementation manner, in a second possible implementation manner,
if the first MPD acquisition request is sent on the DMS when there is no MPD for the media content, the first MPD acquisition request further includes: at least one code rate and slice size;
or,
if the first MPD acquisition request is sent on the DMS when there is no MPD for the media content, the first MPD acquisition request further includes: at least one code rate.
With reference to the first aspect and the first possible implementation, in a third possible implementation, if the first MPD acquisition request is sent on the DMS without information of a slice with a first code rate corresponding to the identifier, the first MPD acquisition request further includes: a first code rate and a size of a slice;
or,
if the first MPD acquisition request is sent when there is no information of a slice with a first code rate corresponding to the identifier on the DMS, the first MPD acquisition request further includes: a first code rate.
With reference to the first aspect and the first possible implementation, in a fourth possible implementation, the acquiring, by the DMS, an MPD corresponding to the media content from a wide area network includes:
and the DMS acquires the MPD corresponding to the media content from a first server or a second server of the wide area network.
With reference to the first aspect and the first possible implementation manner, in a fifth possible implementation manner,
the DMS acquiring the MPD and the slice corresponding to the media content from a wide area network specifically includes:
the DMS acquires MPD and slices corresponding to the media content from a first server or a second server of the wide area network.
With reference to the first aspect and the first, fourth, or fifth possible implementation manner, in a sixth possible implementation manner, the acquiring, by the DMS, the MPD corresponding to the media content from a wide area network, or acquiring, by the DMS, the MPD and the slice corresponding to the media content from the wide area network specifically includes:
and when the DMS determines that the function of slicing and converting the media content is not available, the DMS acquires the MPD corresponding to the media content from a wide area network, or acquires the MPD and the slice corresponding to the media content from the wide area network.
With reference to the first aspect and the fourth possible implementation manner, in a seventh possible implementation manner,
the DMS acquiring, from a first server or a second server of the wide area network, an MPD corresponding to the media content, including:
if the first MPD acquisition request is sent on the DMS without the MPD corresponding to the media content,
the DMS sends a lookup request to the first server, where the lookup request is used for the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server has an MPD corresponding to the media content, receiving the MPD corresponding to the media content sent by the first server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
if the first MPD acquisition request is sent without information on a slice of the first code rate corresponding to the identifier on the DMS,
the DMS sends a search request to the first server, where the search request is used for the first server to determine whether information of a slice corresponding to the first bitrate is included in an MPD corresponding to the media content in the first server;
if the MPD in the first server includes information of a slice corresponding to the first code rate, receiving the MPD corresponding to the media content sent by the first server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
With reference to the first aspect and the fifth possible implementation manner, in an eighth possible implementation manner,
the DMS acquiring an MPD and a slice corresponding to the media content from a first server or a second server of the wide area network, including:
if the first MPD acquisition request is sent on the DMS without the MPD corresponding to the media content,
the DMS sends a lookup request to the first server, where the lookup request is used for the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server has an MPD corresponding to the media content, receiving the MPD and a slice corresponding to the media content sent by the first server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
if the first MPD acquisition request is sent without information on a slice of the first code rate corresponding to the identifier on the DMS,
the DMS sends a search request to the first server, where the search request is used for the first server to determine whether information of a slice corresponding to the first bitrate is included in an MPD corresponding to the media content in the first server;
if the MPD in the first server includes information of a slice corresponding to the first code rate, receiving the MPD and the slice corresponding to the media content sent by the first server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
With reference to the first aspect and the fourth possible implementation manner, in a ninth possible implementation manner,
the acquiring, by the DMS, the MPD corresponding to the media content from the first server or the second server of the wide area network specifically includes:
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or
The DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or
The DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
With reference to the first aspect and the fifth possible implementation manner, in a tenth possible implementation manner,
the DMS acquiring the MPD and the slice corresponding to the media content from the first server or the second server of the wide area network specifically includes:
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
With reference to the first aspect and the fourth possible implementation manner, in an eleventh possible implementation manner,
the DMS acquiring, from a first server or a second server of the wide area network, an MPD corresponding to the media content, including:
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
With reference to the first aspect and the fifth possible implementation manner, in a twelfth possible implementation manner,
the DMS acquiring an MPD and a slice corresponding to the media content from a first server or a second server of the wide area network, including:
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
With reference to the first aspect and the first possible implementation manner, in a thirteenth possible implementation manner, the method for playing media content further includes:
the DMS receives an MPD acquisition message sent by a media playing device DMR according to the information of the MPD corresponding to the media content;
the DMS sends MPDs corresponding to MPD information to the DMR according to the MPD acquisition messages, wherein the MPD information in the DMR is sent to the DMR by the DMC;
the DMS receives a section acquisition request sent by the DMR according to the MPD corresponding to the media content;
and the DMS sends the slices of the media contents to the DMR according to the slice acquisition request.
In a second aspect, a method for playing media content provided in an embodiment of the present invention includes:
when there is no Media Presentation Description (MPD) corresponding to media content in a media server (DMS), or there is no information of a slice of a first bitrate of the media content in the DMS, sending a first MPD acquisition request for acquiring the MPD of the media content to the DMS, where the first MPD acquisition request includes: the identification of the media content is used for enabling the DMS to determine the media content according to the identification, convert and slice the media content and generate the MPD of the media content, or enabling the DMS to acquire the MPD of the media content from a wide area network;
and receiving the information of the MPD of the media content sent by the DMS.
With reference to the second aspect, in a first possible implementation manner, if there is no MPD corresponding to the media content in the DMS, a first MPD acquisition request for acquiring an MPD of the media content is sent to the DMS, where the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD;
or,
if the DMS does not have information of a slice of the first bitrate of the media content, sending a first MPD acquisition request for acquiring an MPD of the media content to the DMS, where the MPD includes: and the information of the MPD is the URI of the MPD.
With reference to the second aspect and the first possible implementation manner, in a second possible implementation manner, the method for playing media content further includes:
and sending the information of the MPD to a media playing device DMR, so that the DMR acquires the MPD corresponding to the information of the MPD from the DMS according to the information of the MPD, and requests the DMS or a wide area network for a section of media content according to the MPD and plays the section.
In a third aspect, an embodiment of the present invention provides a media server, including:
a receiving unit, configured to receive a first Media Presentation Description (MPD) acquisition request sent by a control Device (DMC), where the first MPD acquisition request includes: the first MPD acquisition request is used for indicating the DMS to acquire an MPD corresponding to the media content;
an MPD obtaining unit, configured to determine the media content according to the identifier, convert and slice the media content, and generate an MPD corresponding to the media content, or obtain an MPD corresponding to the media content from a wide area network, or obtain an MPD and a slice corresponding to the media content from the wide area network;
a sending unit, configured to send, to the DMC, information of an MPD corresponding to the media content acquired by the DMS;
the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS, or the first MPD acquisition request is sent when there is no information of a slice of a first bitrate corresponding to the identifier on the DMS.
With reference to the third aspect, in a first possible implementation manner, if the first MPD acquisition request is sent on the DMS when there is no MPD corresponding to the media content, the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD;
or,
if the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS, the MPD includes: and the information of the MPD is the URI of the MPD.
With reference to the third aspect and the first possible implementation, in a second possible implementation, if the first MPD acquisition request is sent on the DMS without an MPD of the media content, the first MPD acquisition request further includes: at least one code rate and slice size;
or,
if the first MPD acquisition request is sent on the DMS when there is no MPD for the media content, the first MPD acquisition request further includes: at least one code rate.
With reference to the third aspect, the first possible implementation manner, and the second possible implementation manner, in a third possible implementation manner, if the first MPD acquisition request is sent on the DMS when there is no information of a slice with a first bitrate corresponding to the identifier of the media content, the first MPD acquisition request further includes: a first code rate and a size of a slice;
or,
if the first MPD acquisition request is sent when there is no information of a slice with a first bitrate corresponding to the identifier of the media content on the DMS, the first MPD acquisition request further includes: a first code rate.
With reference to the third aspect and the first and second possible implementation manners, in a fourth possible implementation manner, the media server further includes:
a determination unit configured to determine whether the DMS has a function of slicing and converting the media content;
if the determining unit determines that the function of slicing and converting the media content is available, the MPD acquiring unit is configured to determine the media content according to the identifier, and convert and slice the media content; otherwise, the MPD acquiring unit is configured to acquire an MPD corresponding to the media content from a wide area network, or the MPD acquiring unit is configured to acquire an MPD and a slice corresponding to the media content from the wide area network.
With reference to the third aspect and the first and second possible implementation manners, in a fifth possible implementation manner, the receiving unit is further configured to receive an MPD acquisition message sent by the media playback device DMR according to information of the MPD of the media content;
the sending unit is further configured to send, according to the MPD acquisition message, an MPD corresponding to information of an MPD to the DMR, where the information of the MPD in the DMR is sent to the DMR by the DMC;
the receiving unit is further configured to receive an MPD transmission slice acquisition request corresponding to the media content and sent by the DMR;
the sending unit is further configured to send the slice of the media content to the DMR according to the slice obtaining request.
In a fourth aspect, an embodiment of the present invention further provides an apparatus, including:
a sending unit, configured to send a first MPD acquisition request for acquiring a media presentation description MPD of media content to a media server DMS, where the first MPD acquisition request includes: the identification of the media content is used for enabling the DMS to determine the media content according to the identification, convert and slice the media content and generate the MPD of the media content, or enabling the DMS to acquire the MPD of the media content from a wide area network;
a receiving unit, configured to receive information of an MPD of the media content sent by the DMS;
wherein the first MPD acquisition request is transmitted by the transmitting unit when there is no MPD corresponding to the media content in the DMS,
or, the first MPD acquisition request is sent by the sending unit when there is no information on a slice with a first bitrate of the media content in the DMS.
With reference to the fourth aspect, in a first possible implementation manner, the sending unit is further configured to
And sending the information of the MPD to a media playing device DMR, so that the DMR acquires the MPD corresponding to the information of the MPD from the DMS according to the information of the MPD, and requests the DMS or a wide area network for a section of media content according to the MPD and plays the section.
As can be seen from the foregoing technical solutions, in the method, the media server, and the device for playing media content according to embodiments of the present invention, by receiving a first MPD acquisition request, which is sent by the DMC to the DMS and used for instructing the DMS to acquire an MPD corresponding to the media content, the DMS acquires the MPD corresponding to the media content according to the first MPD acquisition request, so as to send the MPD to the DMC, thereby solving a problem in the prior art that how media content without slices cannot be smoothly played in an unstable network.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings needed to be used in the examples, obviously: the following drawings are only drawings of some embodiments of the invention, and for those skilled in the art, other drawings capable of realizing the technical scheme of the invention can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for playing media content according to an embodiment of the present invention;
fig. 2A to fig. 2D are schematic flow charts illustrating a method for playing media content according to another embodiment of the present invention;
fig. 3A to fig. 3D are schematic flow charts illustrating a method for playing media content according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for playing media content according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a media player according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is clear that the various embodiments described below are only some of the embodiments of the invention. Based on the embodiments of the present invention described below, even if no creative work is done, a person skilled in the art can obtain other embodiments capable of solving the technical problems of the present invention and achieving the technical effects of the present invention by equivalent transformation of part or even all of the technical features, and it is obvious that the various embodiments transformed by the present invention do not depart from the scope of the present invention.
Generally, the DMS has slices corresponding to a plurality of code rates, and the slices in the DMS are arranged according to the time index, so that the home gateway can adaptively select different code rates for transmission according to the processing performance of the media playback device and the network state. For example, the DMC requests play from the DMR, and the DMC may issue a Uniform Resource Identifier (URI) of an appropriate content slice to the DMR according to the current network condition.
Further, the DMR requests a media resource from the server pointed to by the URI through an HTTP Get request. And the server responds to the HTTP Get request and transmits the media resource to the DMR so that the DMR plays the media resource.
In addition, in the prior art, when the DMR plays media content without MPD, buffering is likely to occur for a long time, so that it can be understood that the current DMR plays unsmoothly. Of course, if the media content played in the DMR is buffered for 5s in the prior art, the media content played in the DMR may not be smooth.
For example, the DMC sends the media content without MPD to the DMR, and the DMR has a very long buffering time and intermittent playing interruption according to the process of playing the media content, so that it can be understood that the playing of the media content in the DMR is not smooth.
Fig. 1 illustrates a method for playing media content according to an embodiment of the present invention, and as shown in fig. 1, the method for playing media content in this embodiment is as follows.
101. The DMS receives a first MPD acquisition request sent by a DMC, and the first MPD acquisition request comprises: the first MPD acquisition request is used for indicating the DMS to acquire an MPD corresponding to the media content; the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS, or the first MPD acquisition request is sent when there is no information of a slice of a first bitrate corresponding to the identifier on the DMS.
102. And the DMS determines the media content according to the identifier, converts and slices the media content, and generates an MPD corresponding to the media content, or acquires the MPD corresponding to the media content from a wide area network, or acquires the MPD and the slice corresponding to the media content from the wide area network.
For example, the DMS may obtain an MPD corresponding to the media content from a first server or a second server of a wide area network; or,
the DMS may obtain an MPD and a slice corresponding to the media content from a first server or a second server of a wide area network.
In this embodiment, the first server may be one of a server of a media content provider in the wide area network or a cloud server, and the second server may be the other of the server of the media content provider or the cloud server. In addition, the DMS may be a media server in a local area network.
103. And the DMS sends the MPD information corresponding to the media content acquired by the DMS to the DMC.
In practical applications, if the first MPD acquisition request in step 101 is sent when there is no MPD corresponding to the media content on the DMS, the MPD in step 102 may include: a URI list of a slice corresponding to at least one code rate, and the information of the MPD in step 103 is a URI of the MPD;
furthermore, if the first MPD acquisition request in step 101 is sent when there is no information on a slice of the first code rate corresponding to the identifier on the DMS, the MPD in step 102 may include: the URI list of the slice corresponding to the first bitrate and the information of the MPD in step 103 are the URIs of the MPD.
It is understood that current MPDs exist in file form.
For example, the at least one code rate may be determined according to a transmission rate of the current network, e.g., the at least one code rate may comprise 20KB/s, 30KB/s, 100KB/s, 500KB/s, 5M/s, etc. The present embodiment does not limit it.
Of course, the first code rate may also be determined according to the current network transmission rate, for example, the first code rate may be 10 KB/s.
In addition, the DMS in step 102 may perform conversion and slicing on the media content, where the conversion may include transcoding, and the transcoding may be understood as transcoding the high-definition media content into standard-definition media content or low-definition media content, and in particular, the bit rates of the slices of the standard-definition media content are both standard-definition and the bit rates of the slices of the low-definition media content are both low-definition.
Further, after step 103, the DMC may further send information of the MPD to the DMR, where the DMR acquires the MPD from the DMS according to the information of the M PD corresponding to the media content, and then the DMR sends a slice acquisition request according to the MPD corresponding to the media content, and the DMS may send a slice of the media content to the DMR according to the slice acquisition request and play the slice.
That is, after the step 103, the method for playing media content may further include the following steps 104 to 106, which are not shown in the figure:
104. the DMS receives an MPD acquisition message sent by the DMR according to the MPD information corresponding to the media content;
105. the DMS sends MPDs corresponding to MPD information to the DMR according to the MPD acquisition messages, wherein the MPD information in the DMR is sent to the DMR by the DMC;
106. the DMS receives a section acquisition request sent by the DMR according to the MPD corresponding to the media content; and the DMS sends the slices of the media contents to the DMR according to the slice acquisition request.
In addition, if the MPD corresponding to the media content is sent to the DMS by the first server of the wide area network, at this time, the first server of the wide area network receives a slice acquisition request sent by the DMR according to the MPD corresponding to the media content;
and a first server of a wide area network may send the slice of the media content to the DMR according to the slice acquisition request.
Further, if the MPD corresponding to the media content is sent to the DMS by the second server of the wide area network, at this time, the second server of the wide area network receives a request for acquiring a slice sent by the DMR according to the MPD corresponding to the media content;
and a second server of the wide area network may send the slice of the media content to the DMR according to the slice acquisition request.
It should be noted that, if the first server or the second server of the wide area network sends both the MPD and the slice corresponding to the media content to the DMS, at this time, the DMS is configured to receive a slice acquisition request sent by the DMR according to the MPD corresponding to the media content; and the DMS sends the slices of the media contents to the DMR according to the slice acquisition request.
As can be seen from the foregoing embodiments, in the method for playing media content according to the present embodiment, by receiving a first MPD acquisition request which is sent by a DMC to a DMS and used for instructing the DMS to acquire an MPD corresponding to the media content, the DMS acquires the MPD corresponding to the media content according to the first MPD acquisition request, and sends information of the MPD to the DMC, so as to solve a problem in the prior art that how media content without slices cannot be smoothly played in an unstable network.
Fig. 2A illustrates a method for playing media content according to an embodiment of the present invention, and as shown in fig. 2A, the method for playing media content in this embodiment is as follows.
201. The DMS receives a first MPD acquisition request sent by a DMC, and the first MPD acquisition request comprises: the identification of the media content, at least one code rate and the size of a slice are obtained, and the first MPD obtaining request is used for instructing the DMS to obtain an MPD corresponding to the media content; wherein the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS.
For example, the slices of the media content are generally sliced according to time, for example, a slice may be a 3s slice, i.e., a slice may play for 3s, or a 5s slice, i.e., a slice may play for 5 s.
In addition, the first MPD acquisition request may be: GetMPD () action, where the action carries parameters such as an Identity (ID) of the media content, at least one code rate, and a slice size. For example, carrying the parameters as listed in the following table.
IN the table represents the input of parameters (e.g., Resource ID, Size, etc.) IN an action.
Optionally, in another embodiment, if a default slice size is set in the DMS, the first MPD acquisition request may include: an identification of the media content and at least one bit rate.
In other embodiments, if a default bitrate and a default slice size are set in the DMS, the first MPD acquisition request may include an identifier of the media content.
202. And the DMS determines the media content according to the identifier, converts and slices the media content, and generates an MPD corresponding to the media content, or acquires the MPD corresponding to the media content from a wide area network, or acquires the MPD and the slices corresponding to the media content from the wide area network, wherein the MPD comprises a URI list of the slices corresponding to at least one code rate.
For example, the DMS may obtain an MPD corresponding to the media content from a first server or a second server of a wide area network; or,
the DMS may obtain an MPD and a slice corresponding to the media content from a first server or a second server of a wide area network.
Further, in this embodiment, the first server may be a server of a media content provider, and the second server may be a cloud server.
203. And the DMS sends the MPD information corresponding to the media content acquired by the DMS to the DMC, wherein the MPD information is the URI of the MPD.
As can be seen from the foregoing embodiments, in the method for playing media content according to the present embodiment, the DMS converts and slices the media content, so as to realize that the non-sliced media content has slices with various code rates, and further solve the problem in the prior art that how the non-sliced media content cannot be smoothly played in an unstable network.
Fig. 2B illustrates a method for playing media content according to an embodiment of the present invention, and as shown in fig. 2B, the method for playing media content in this embodiment is as follows.
211. The DMS receives a first MPD acquisition request sent by a DMC, and the first MPD acquisition request comprises: the identification of the media content, at least one code rate and the size of a slice are obtained, and the first MPD obtaining request is used for instructing the DMS to obtain an MPD corresponding to the media content; wherein the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS.
For example, in the present embodiment, the size of the slice is 4 s.
In this embodiment, the acquiring the first MPD request includes: the identifier of the media content, the at least one bitrate, and the size of the slice are described as examples, in other embodiments, the first MPD acquisition request includes: an identification of the media content; optionally, the first MPD acquisition request further includes: at least one code rate and/or slice size.
212. The DMS determines whether it has a function of slicing and converting the media contents, and if it is determined that there is, performs step 213a, otherwise, performs step 213.
213a, if the DMS in step 212 determines that the function of slicing and converting the media content is available, the DMS determines the media content according to the identifier, and converts and slices the media content according to the at least one code rate and the size of the slice to generate an MPD corresponding to the media content.
It should be noted that, if the default slice size is set in the DMS, in step 211, the first MPD acquisition request may include: identification of media content and at least one code rate, respectively, according to which the DMS transforms and slices the media content in step 213 a.
Of course, if the DMS sets a default slice size and a default code rate, in step 211, the first MPD acquisition request may include: identification of media content and, accordingly, in step 213a, the DMS may directly transform and slice the media content. Such as converting and slicing the media content according to a default slice size and a default bitrate.
214. And the DMS sends the MPD information corresponding to the media content acquired by the DMS to the DMC, wherein the MPD information is the URI of the MPD.
213. If the DMS determines that the media content does not have the functions of slicing and converting the media content in step 212, the DMS acquires the MPD corresponding to the media content from the wide area network, for example, the DMS may acquire the MPD corresponding to the media content from a first server or a second server of the wide area network.
For example, the first server may be a server of a media content provider in a wide area network, and the second server may be a cloud server in the wide area network.
Accordingly, step 214 is executed, and the DMS sends, to the DMC, information of an MPD corresponding to the media content acquired by the DMS.
Alternatively, on the basis of the above-described embodiment, as shown in fig. 2C, step 213 may include sub-steps 2131 to 2136 as follows.
2131. If the DMS determines that the function of slicing and converting the media content is not available, the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content.
2132. The first server determines whether the first server has an MPD corresponding to the media content according to the search request, if so, executes step 2133, otherwise, executes step 2134.
2133. If the first server in step 2132 has the MPD corresponding to the media content, the DMS receives the MPD corresponding to the media content sent by the first server. The MPD comprises: and the URI list of the slice corresponding to at least one code rate.
Optionally, the DMS may further receive an MPD and a slice corresponding to the media content sent by the first server.
It should be noted that, if the DMS receives the MPD and the slice sent by the first server, an Internet Protocol (IP) address in a URI included in the MPD points to a location of the slice in the DMS.
2134. If the first server in step 2132 does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the at least one slice size.
Optionally, if the size of the slice and at least one code rate are preset in the second server, in step 2134, the second MPD acquisition request sent by the DMS to the second server may include: media content;
accordingly, the second server may directly generate the MPD and the slice corresponding to the media content. For example, the second server may generate the MPD and the slice corresponding to the media content according to a preset slice size and at least one preset code rate.
Or,
if the size of the slice is preset in the second server, in step 2134, the second MPD acquisition request sent by the DMS to the second server may include: media content and at least one bit rate;
accordingly, the second server may generate the MPD and the slice corresponding to the media content according to at least one code rate.
Or
If at least one code rate is preset in the second server, in step 2134, the second MPD acquisition request sent by the DMS to the second server may include: the size of the media content and the slice;
accordingly, the second server may generate the MPD and the slice corresponding to the media content according to the size of the slice.
In another embodiment, if in the step 211, the first MPD acquisition request includes: the identification of the media content and the at least one code rate, in this case, in step 2134, the second MPD acquisition request sent by the DMS to the second server may include: media content, at least one bit rate; accordingly, the second server may generate an MPD and a slice corresponding to the media content according to the at least one code rate.
Or,
in step 2134, the sending, by the DMS, the second MPD acquisition request to the second server may include: media content; accordingly, the second server may generate an MPD and a slice corresponding to the media content.
Or
The first MPD acquisition request in step 211 includes: the identification of the media content, the at least one bitrate, and the size of the slice, in this case, in step 2134, the second MPD acquisition request that the DMS further sends to the second server may include: media content, at least one bit rate; accordingly, the second server may generate an MPD and a slice corresponding to the media content according to the at least one code rate;
alternatively, in step 2134, the second MPD acquisition request sent by the DMS further to the second server may include: media content; accordingly, the second server may generate an MPD and a slice corresponding to the media content.
2135. And the second server sends the MPD and the slice corresponding to the generated media content to the DMS, or the second server sends the MPD corresponding to the generated media content to the DMS.
Alternatively, on the basis of the above-described embodiment, as shown in fig. 2D, step 213 may include sub-steps 2131 'to 2132' as follows.
2131', and the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the at least one slice size.
Optionally, if the size of the slice and the preset code rate are preset in the second server, the second MPD acquisition request may include: at this time, the second server may directly generate the MPD and the slice corresponding to the media content, for example, the MPD and the slice corresponding to the media content are generated according to a preset slice size and a preset code rate.
In another optional application scenario, step 2131' may also be the following step 2131 ":
2131 ", the DMS sends a second MPD acquisition request to the second server, where, if the second server presets a slice size, the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate.
For example, the second server may generate an MPD and a slice corresponding to the media content according to at least one coding rate and a preset slice size.
2132', and receiving, by the DMS, an MPD corresponding to the media content sent by the second server, or receiving, by the DMS, the MPD and the slices corresponding to the media content sent by the second server, where the MPD includes a URI list of the slices corresponding to the at least one bitrate.
As can be seen from the foregoing embodiments, in the method for playing media content according to this embodiment, when the DMS does not have a function of converting and slicing media content, the MPD and/or the slice of the current media content is obtained from the wide area network, so that slicing of non-sliced media content with various bit rates is implemented, and further, a problem in the prior art that how non-sliced media content cannot be smoothly played in an unstable network is solved.
Fig. 3A illustrates a method for playing media content according to an embodiment of the present invention, and as shown in fig. 3A, the method for playing media content according to the embodiment is as follows.
301. The DMS receives a first MPD acquisition request sent by the DMC, and the first MPD acquisition request may include: the identification of the media content, the first code rate and the size of the slice are obtained, and the first MPD obtaining request is used for indicating the DMS to obtain an MPD corresponding to the media content; wherein the first MPD acquisition request is sent when there is no information of a slice of a first code rate corresponding to the identifier on the DMS.
That is, the first MPD acquisition request is sent without information for a first rate slice of media content on the DMS.
For example, the slice may be a 2s slice, that is, a slice may play for 2s, or an 8s slice, that is, a slice may play for 8s, and the size of the slice in this embodiment is merely an example, and is not limited thereto.
Optionally, in an embodiment, if a slice size is preset in the DMS, the first MPD acquisition request may include: an identification of the media content and a first bitrate.
302. The DMS determines the media content according to the identifier, converts and slices the media content, and generates an MPD corresponding to the media content, or the DMS acquires the MPD corresponding to the media content from a wide area network, or the DMS acquires the MPD and the slice corresponding to the media content from the wide area network, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
For example, the DMS may obtain an MPD corresponding to the media content from a first server or a second server of a wide area network; or,
the DMS may obtain an MPD and a slice corresponding to the media content from a first server or a second server of a wide area network.
303. And the DMS sends the MPD information corresponding to the media content acquired by the DMS to the DMC, wherein the MPD information is the URI of the MPD.
As can be seen from the foregoing embodiments, in the method for playing media content according to the present embodiment, the DMS converts and slices the media content, so as to realize that the non-sliced media content has a slice with the first code rate, and further solve the problem in the prior art that how the non-sliced media content cannot be smoothly played in an unstable network.
Fig. 3B illustrates a method for playing media content according to an embodiment of the present invention, and as shown in fig. 3B, the method for playing media content according to the embodiment is as follows.
311. The method includes that a DMS receives a first MPD acquisition request sent by a DMC and used for instructing the DMS to acquire an MPD corresponding to media content, and the first MPD acquisition request includes: an identity of the media content, a first bitrate, and a size of a slice; wherein the first MPD acquisition request is sent when there is no information of a slice of a first code rate corresponding to the identifier on the DMS.
For example, in the present embodiment, the size of the slice is 4 s.
In this embodiment, the acquiring the first MPD request includes: the identifier of the media content, the first bitrate, and the size of the slice are described as an example, in other embodiments, the first MPD acquisition request includes: an identification of the media content and a first bitrate.
312. The DMS determines whether there is a function of slicing and converting the media contents, and if so, performs step 313a, otherwise, performs step 313.
313a, if the DMS in step 212 determines that the function of slicing and converting the media content is available, the DMS determines the media content according to the identifier, and converts and slices the media content according to the first code rate and the size of the slice, so as to generate an MPD corresponding to the media content, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
It should be noted that, in step 311, if the first MPD acquisition request includes: the identification of the media content and the first bitrate, the DMS transforms and slices the media content according to the first bitrate in step 213 a.
314. And the DMS sends the MPD information corresponding to the media content acquired by the DMS to the DMC, wherein the MPD information is the URI of the MPD.
313. If the DMS determines that the media content does not have the functions of slicing and converting the media content in step 312, the DMS acquires the MPD corresponding to the media content from the wide area network, for example, the DMS may acquire the MPD corresponding to the media content from a first server or a second server of the wide area network.
For example, the first server may be a server of a media content provider in a wide area network, and the second server may be a cloud server in the wide area network.
Accordingly, step 314 is executed, and the DMS sends, to the DMC, information of the MPD corresponding to the media content acquired by the DMS.
Alternatively, on the basis of the above-described embodiment, as shown in fig. 3C, step 313 may include sub-steps 3131 to 3136 as follows.
3131. If the DMS determines that the function of slicing and converting the media content is not available, the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the MPD corresponding to the media content in the first server includes the information of the slice corresponding to the first code rate.
3132. The first server determines whether the MPD corresponding to the media content in the first server has information of a slice corresponding to the first bitrate according to the search request, and if so, performs step 3133, otherwise, performs step 3134.
3133. If the MPD corresponding to the media content in the first server in step 3132 has information of a slice corresponding to the first bitrate, the MPD receives the MPD corresponding to the media content sent by the first server, where the MPD includes a URI list of the slice corresponding to the first bitrate.
Optionally, the DMS may further receive an MPD and a slice corresponding to the media content sent by the first server.
3134. If the MPD corresponding to the media content in the first server in step 3132 does not have information of the slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the slice size.
Or, if there is no MPD corresponding to the media content in the first server in step 3132, in this case, the DMS may also send a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the slice size, wherein the MPD comprises a U RI list of the slices corresponding to the first code rate.
Optionally, if the size of the slice is preset in the second server, the second MPD acquisition request may include the media content and the first code rate, so that the second server generates the MPD and the slice corresponding to the media content according to the first code rate, where the MPD includes a URI list of the slice corresponding to the first code rate.
In another embodiment, if in step 311, the first MPD acquisition request includes: the identification of the media content and the first bitrate, at this time, in step 3134, the second MPD acquisition request sent by the DMS to the second server may include: media content, first bit rate; accordingly, the second server may generate an MPD and a slice corresponding to the media content according to the first code rate.
Or,
the first MPD acquisition request in step 311 includes: the identification of the media content, the first bitrate, and the size of the slice, in step 3134, the second MPD acquisition request that the DMS may further send to the second server may include: media content, first bit rate; accordingly, the second server may generate an MPD and a slice corresponding to the media content according to the first code rate.
3135. And the second server sends the MPD and the slice corresponding to the generated media content to the DMS, or the second server sends the MPD corresponding to the generated media content to the DMS.
Alternatively, on the basis of the above-described embodiment, as shown in fig. 3D, step 313 may include sub-steps 3131 'to 3132' as follows.
3131', the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the slice size.
In an alternative application scenario, step 3131' may also be the following step 3131 ":
3131 ″ the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate.
3132' and the DMS receives an MPD corresponding to the media content sent by the second server, or the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes a URI list of a slice corresponding to the first bitrate.
As can be seen from the foregoing embodiments, in the method for playing media content according to this embodiment, when the DMS does not have the function of converting and slicing the media content, slicing at the first bit rate of the non-sliced media content is implemented by using the first server or the second server of the wide area network, so as to solve the problem in the prior art that how the non-sliced media content cannot be smoothly played in an unstable network.
Fig. 4 illustrates a method for playing media content according to an embodiment of the present invention, and as shown in fig. 4, the method for playing media content in this embodiment is as follows.
401. When there is no MPD corresponding to media content in a DMS, or there is no information of a slice of a first bitrate of the media content on the DMS, sending a first MPD acquisition request for acquiring the MPD of the media content to the DMS, where the first MPD acquisition request includes: the identification of the media content is used for enabling the DMS to determine the media content according to the identification, convert and slice the media content and generate the MPD of the media content, or enabling the DMS to acquire the MPD of the media content from a wide area network;
402. and receiving the information of the MPD of the media content sent by the DMS.
It should be noted that, in step 401, if there is no MPD corresponding to the media content in the DMS, at this time, the MPD sends the first MPD acquisition request to the DMS, where the MPD includes: a URI list of a slice corresponding to at least one code rate, where the information of the MPD in step 402 is a URI of the MPD;
or, in step 401, if there is no information on the DMS about the slice of the media content at the first bitrate, and at this time, a first MPD acquisition request is sent to the DMS, where the MPD includes: and a list of slices corresponding to the first code rate, wherein the information of the MPD in step 402 is a URI of the MPD.
Preferably, in a specific application, the method for playing media content further includes the following step 403 not shown in fig. 4:
403. and sending the information of the MPD to a DMR (digital media recorder), so that the DMR acquires the MPD corresponding to the information of the MPD from the DMS according to the information of the MPD, and further requests the DMS or a wide area network for slicing and playing media content according to the MPD.
It is understood that, after receiving the information of the MPD, the DMR first acquires the MPD from the DMS or the wide area network, and then acquires a slice of the media content from the DMS or the wide area network according to the MPD and plays the slice.
It should be noted that the execution main body of the above steps 401 to 403 may be a DMC, or may be a device having a DMC function.
It is understood that, in practical applications, the DMC and the DMR may be integrated into one device, and thus, any device having the function of the DMC can implement the method for playing the media contents in fig. 1 to 4.
It can be seen from the foregoing embodiments that, the method for playing media content in this embodiment solves the problem in the prior art that how media content without slices cannot be smoothly played in an unstable network.
According to another aspect of the present invention, the present invention also provides a media server, as shown in fig. 5, the media server shown in fig. 5 including: a receiving unit 51, an MPD acquiring unit 52, and a transmitting unit 53;
the receiving unit 51 is configured to receive a first MPD acquisition request sent by a DMC, where the first MPD acquisition request includes: the first MPD acquisition request is used for indicating the DMS to acquire an MPD corresponding to the media content;
the MPD obtaining unit 52 is configured to determine the media content according to the identifier, convert and slice the media content, and generate an MPD corresponding to the media content, or obtain an MPD corresponding to the media content from a wide area network, or obtain an MPD and a slice corresponding to the media content from the wide area network;
the sending unit 53 is configured to send, to the DMC, information of an MPD corresponding to the media content acquired by the DMS;
the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS, or the first MPD acquisition request is sent when there is no information of a slice of a first bitrate corresponding to the identifier on the DMS.
For example, if the first MPD acquisition request is sent on the DMS without an MPD corresponding to the media content, the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD;
or,
if the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS, the MPD accordingly includes: and the information of the MPD is the URI of the MPD.
In an application scenario, if the first MPD acquisition request is sent when there is no MPD for media content on the DMS, the first MPD acquisition request may further include: at least one code rate and slice size;
or,
if the first MPD acquisition request is sent on the DMS without the MPD for the media content, the first MPD acquisition request may further include: at least one code rate.
In another application scenario, if the first MPD acquisition request is sent on the DMS without information of a slice with a first bitrate corresponding to the identifier of the media content, the first MPD acquisition request further includes: a first code rate and a size of a slice;
or,
if the first MPD acquisition request is sent when there is no information of a slice with a first bitrate corresponding to the identifier of the media content on the DMS, the first MPD acquisition request further includes: a first code rate.
Further, in a third application scenario, the above-mentioned media server may further include a determining unit 54, which is not shown in the figure, where the determining unit 54 is configured to determine whether the DMS has a function of slicing and converting the media content, and if the determining unit 54 determines that the DMS has a function of slicing and converting the media content, the MPD obtaining unit 52 is configured to determine the media content according to the identifier, and convert and slice the media content; otherwise, the MPD acquiring unit 52 is configured to acquire an MPD corresponding to the media content from a wide area network, or the MPD acquiring unit is configured to acquire an MPD and a slice corresponding to the media content from the wide area network.
Optionally, the receiving unit 51 is further configured to receive an MPD acquisition message sent by the DMR according to the MPD information of the media content;
correspondingly, the sending unit 53 is further configured to send an MPD corresponding to information of an MPD to the DMR according to the MPD acquisition message, where the information of the MPD in the DMR is sent to the DMR by the DMC;
the receiving unit 51 is further configured to receive an MPD transmission slice acquisition request corresponding to the media content and sent by the DMR;
the sending unit 53 is further configured to send the slice of the media content to the DMR.
The media server in this embodiment can solve the problem that media content without slices in the media server in the prior art cannot be smoothly played in the DMR.
In practical applications, the media server may include a processor and a memory, where the processor is configured to implement the functions implemented by the receiving unit 51, the MPD obtaining unit 52 and the sending unit 53, and further implement the function implemented by the determining unit 54; the memory is used for storing the MPD and the media content.
According to another aspect of the present invention, there is also provided an apparatus, as shown in fig. 6, which may include: a transmitting unit 61 and a receiving unit 62;
the sending unit 61 is configured to send a first MPD acquisition request for acquiring an MPD of the media content to the DMS, where the first MPD acquisition request includes: the identification of the media content is used for enabling the DMS to determine the media content according to the identification, convert and slice the media content and generate the MPD of the media content, or enabling the DMS to acquire the MPD of the media content from a wide area network;
the receiving unit 62 is configured to receive information of an MPD of the media content sent by the DMS;
the first MPD acquisition request is transmitted by the transmitting unit when there is no MPD corresponding to the media content in the DMS, or the first MPD acquisition request is transmitted by the transmitting unit when there is no information on a slice at a first bitrate of the content in the DMS.
Optionally, the sending unit 61 is further configured to send the information of the MPD to a media playing device DMR, so that the DMR acquires, according to the information of the MPD, the MPD corresponding to the information of the MPD from the DMS, and further requests, according to the MPD, the DMS or a wide area network for a slice of media content and plays the slice.
The above-mentioned device may be, for example, a device having DMC functionality.
The device in this embodiment can slice media content that is not streaming in the DMR in the DMS or in the wide area network, thereby achieving smooth playback of the media content in the DMR.
In practical applications, the above mentioned device with DMC function may include a processor and a memory, where the processor is configured to implement the functions implemented by the above mentioned sending unit 61 and receiving unit 62, and the memory is configured to store the MPD or store information of the MPD, and the like. The embodiment is merely an example, and does not limit the functional division form of the device having the DMC function.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (22)

1. A method for media content playback, comprising:
a media server (DMS) receives a first Media Presentation Description (MPD) acquisition request sent by a control Device (DMC), wherein the first MPD acquisition request comprises an identifier of the media content, and is used for indicating the DMS to acquire an MPD corresponding to the media content;
the DMS determines the media content according to the identifier, converts and slices the media content, and generates an MPD corresponding to the media content, or acquires the MPD corresponding to the media content from a wide area network, or acquires the MPD and the slice corresponding to the media content from the wide area network;
sending information of MPD corresponding to the media content acquired by the DMS to the DMC;
wherein the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS,
or the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS;
if the first MPD acquisition request is sent when the MPD corresponding to the media content is not available on the DMS, the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD; the at least one code rate is determined according to the transmission rate of the current network;
or,
if the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS, the MPD includes: and the first code rate is determined according to the transmission rate of the current network.
2. The method of claim 1,
if the first MPD acquisition request is sent on the DMS when there is no MPD for the media content, the first MPD acquisition request further includes: at least one code rate and slice size;
or,
if the first MPD acquisition request is sent on the DMS when there is no MPD for the media content, the first MPD acquisition request further includes: at least one code rate.
3. The method of claim 1,
if the first MPD acquisition request is sent when there is no information of a slice with a first code rate corresponding to the identifier on the DMS, the first MPD acquisition request further includes: a first code rate and a size of a slice;
or,
if the first MPD acquisition request is sent when there is no information of a slice with a first code rate corresponding to the identifier on the DMS, the first MPD acquisition request further includes: a first code rate.
4. The method according to claim 1, wherein the DMS acquiring an MPD corresponding to the media content from a wide area network specifically includes:
and the DMS acquires the MPD corresponding to the media content from a first server or a second server of the wide area network.
5. The method of claim 1, wherein the DMS acquires the MPD and the slice corresponding to the media content from a wide area network, and specifically comprises:
the DMS acquires MPD and slices corresponding to the media content from a first server or a second server of the wide area network.
6. The method according to claim 1, 4 or 5, wherein the DMS acquires an MPD corresponding to the media content from a wide area network, or acquires an MPD and a slice corresponding to the media content from a wide area network, specifically comprising:
and when the DMS determines that the function of slicing and converting the media content is not available, the DMS acquires the MPD corresponding to the media content from a wide area network, or acquires the MPD and the slice corresponding to the media content from the wide area network.
7. The method of claim 4, wherein the DMS obtains an MPD corresponding to the media content from a first server or a second server of the wide area network, and comprises:
if the first MPD acquisition request is sent when the first MPD acquisition request is sent on the DMS without the MPD corresponding to the media content, the DMS sends a lookup request to the first server, where the lookup request is used to enable the first server to determine whether the first server has the MPD corresponding to the media content;
if the first server has an MPD corresponding to the media content, receiving the MPD corresponding to the media content sent by the first server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
if the first MPD acquisition request is sent when no information of a slice with a first code rate corresponding to the identifier exists on the DMS, the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in the MPD corresponding to the media content in the first server;
if the MPD in the first server includes information of a slice corresponding to the first code rate, receiving the MPD corresponding to the media content sent by the first server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
8. The method of claim 5, wherein the DMS obtains the MPD and the slice corresponding to the media content from a first server or a second server of the wide area network, and comprises:
if the first MPD acquisition request is sent on the DMS without the MPD corresponding to the media content,
the DMS sends a lookup request to the first server, where the lookup request is used for the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server has an MPD corresponding to the media content, receiving the MPD and a slice corresponding to the media content sent by the first server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
if the first MPD acquisition request is sent when no information of a slice with a first code rate corresponding to the identifier exists on the DMS, the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in the MPD corresponding to the media content in the first server;
if the MPD in the first server includes information of a slice corresponding to the first code rate, receiving the MPD and the slice corresponding to the media content sent by the first server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
9. The method of claim 4, wherein the obtaining, by the DMS, the MPD corresponding to the media content from a first server or a second server of the wide area network specifically includes:
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or
The DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
10. The method of claim 5, wherein the obtaining, by the DMS, the MPD and the slice corresponding to the media content from a first server or a second server of the wide area network includes:
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether the first server has an MPD corresponding to the media content;
if the first server does not have the MPD corresponding to the media content, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a search request to the first server, wherein the search request is used for enabling the first server to determine whether information of a slice corresponding to the first code rate is included in an MPD (media description file) corresponding to the media content in the first server;
if the first server has an MPD corresponding to the media content, but the MPD does not have information of a slice corresponding to the first bitrate, the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
11. The method of claim 4, wherein the DMS obtains an MPD corresponding to the media content from a first server or a second server of the wide area network, and comprises:
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
12. The method of claim 5, wherein the DMS obtains the MPD and the slice corresponding to the media content from a first server or a second server of the wide area network, and comprises:
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the at least one code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates an MPD and a slice corresponding to the media content according to the at least one code rate and the size of the slice;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: URI lists of the slices corresponding to at least one code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: a URI list of a slice corresponding to the first code rate;
or,
the DMS sends a second MPD acquisition request to the second server, where the second MPD acquisition request includes: the second server generates MPD and slices corresponding to the media content according to the first code rate and the size of the slices;
the DMS receives an MPD and a slice corresponding to the media content sent by the second server, where the MPD includes: and the URI list of the slice corresponding to the first code rate.
13. The method of claim 1, further comprising:
the DMS receives an MPD acquisition message sent by a media playing device DMR according to the information of the MPD corresponding to the media content;
the DMS sends MPDs corresponding to MPD information to the DMR according to the MPD acquisition messages, wherein the MPD information in the DMR is sent to the DMR by the DMC;
the DMS receives a section acquisition request sent by the DMR according to the MPD corresponding to the media content;
and the DMS sends the slices of the media contents to the DMR according to the slice acquisition request.
14. A method for media content playback, comprising:
when there is no Media Presentation Description (MPD) corresponding to media content in a media server (DMS), or there is no information of a slice of a first bitrate of the media content in the DMS, sending a first MPD acquisition request for acquiring the MPD of the media content to the DMS, where the first MPD acquisition request includes: the identification of the media content is used for enabling the DMS to determine the media content according to the identification, and converting and slicing the media content to generate an MPD of the media content, or enabling the DMS to acquire the MPD of the media content from a wide area network, or enabling the DMS to acquire the MPD and the slice corresponding to the media content from the wide area network;
receiving information of an MPD of the media content sent by the DMS;
if the DMS does not have the MPD corresponding to the media content, sending a first MPD acquisition request for acquiring the MPD of the media content to the DMS, where the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD; the at least one code rate is determined according to the transmission rate of the current network;
or,
if the DMS does not have information of a slice of the first bitrate of the media content, sending a first MPD acquisition request for acquiring an MPD of the media content to the DMS, where the MPD includes: and the first code rate is determined according to the transmission rate of the current network.
15. The method of claim 14, further comprising:
and sending the information of the MPD to a media playing device DMR, so that the DMR acquires the MPD corresponding to the information of the MPD from the DMS according to the information of the MPD, and requests the DMS or a wide area network for a section of media content according to the MPD and plays the section.
16. A media server, comprising:
a receiving unit, configured to receive a first Media Presentation Description (MPD) acquisition request sent by a control Device (DMC), where the first MPD acquisition request includes: the first MPD acquisition request is used for indicating the DMS to acquire an MPD corresponding to the media content;
an MPD obtaining unit, configured to determine the media content according to the identifier, convert and slice the media content, and generate an MPD corresponding to the media content, or obtain an MPD corresponding to the media content from a wide area network, or obtain an MPD and a slice corresponding to the media content from the wide area network;
a sending unit, configured to send, to the DMC, information of an MPD corresponding to the media content acquired by the DMS;
wherein the first MPD acquisition request is sent when there is no MPD corresponding to the media content on the DMS,
or the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS;
if the first MPD acquisition request is sent when the MPD corresponding to the media content is not available on the DMS, the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD; the at least one code rate is determined according to the transmission rate of the current network;
or,
if the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS, the MPD includes: and the first code rate is determined according to the transmission rate of the current network.
17. The media server of claim 16, wherein if the first MPD acquisition request is sent without MPD of the media content on the DMS, the first MPD acquisition request further comprises: at least one code rate and slice size;
or,
if the first MPD acquisition request is sent on the DMS when there is no MPD for the media content, the first MPD acquisition request further includes: at least one code rate.
18. The media server according to claim 16 or 17, wherein if the first MPD acquisition request is sent on the DMS without information of a slice of a first bitrate corresponding to the identifier of the media content, the first MPD acquisition request further comprises: a first code rate and a size of a slice;
or,
if the first MPD acquisition request is sent when there is no information of a slice with a first bitrate corresponding to the identifier of the media content on the DMS, the first MPD acquisition request further includes: a first code rate.
19. The media server according to claim 16 or 17, further comprising:
a determination unit configured to determine whether the DMS has a function of slicing and converting the media content;
if the determining unit determines that the function of slicing and converting the media content is available, the MPD acquiring unit is configured to determine the media content according to the identifier, and convert and slice the media content; otherwise, the MPD acquiring unit is configured to acquire an MPD corresponding to the media content from a wide area network, or the MPD acquiring unit is configured to acquire an MPD and a slice corresponding to the media content from the wide area network.
20. The media server according to claim 16 or 17, wherein the receiving unit is further configured to receive an MPD acquisition message sent by a media playing device DMR according to information of an MPD of the media content;
the sending unit is further configured to send, according to the MPD acquisition message, an MPD corresponding to information of an MPD to the DMR, where the information of the MPD in the DMR is sent to the DMR by the DMC;
the receiving unit is further configured to receive an MPD transmission slice acquisition request corresponding to the media content and sent by the DMR;
the sending unit is further configured to send the slice of the media content to the DMR according to the slice obtaining request.
21. A control apparatus, characterized by comprising:
a sending unit, configured to send a first MPD acquisition request for acquiring a media presentation description MPD of media content to a media server DMS, where the first MPD acquisition request includes: the identification of the media content is used for enabling the DMS to determine the media content according to the identification, and converting and slicing the media content to generate an MPD of the media content, or enabling the DMS to acquire the MPD of the media content from a wide area network, or enabling the DMS to acquire the MPD and the slice corresponding to the media content from the wide area network;
a receiving unit, configured to receive information of an MPD of the media content sent by the DMS;
wherein the first MPD acquisition request is transmitted by the transmitting unit when there is no MPD corresponding to the media content in the DMS,
or the first MPD acquisition request is sent by the sending unit when there is no information on a slice with a first bitrate of the media content in the DMS;
if the first MPD acquisition request is sent when the MPD corresponding to the media content is not available on the DMS, the MPD includes: a URI list of a slice corresponding to at least one code rate, wherein the MPD information is a Uniform Resource Identifier (URI) of the MPD; the at least one code rate is determined according to the transmission rate of the current network;
or,
if the first MPD acquisition request is sent when there is no information of a slice of the first code rate corresponding to the identifier on the DMS, the MPD includes: and the first code rate is determined according to the transmission rate of the current network.
22. The device of claim 21, wherein the sending unit is further configured to send the message to the base station
And sending the information of the MPD to a media playing device DMR, so that the DMR acquires the MPD corresponding to the information of the MPD from the DMS according to the information of the MPD, and requests the DMS or a wide area network for a section of media content according to the MPD and plays the section.
CN201210403975.XA 2012-10-22 2012-10-22 The method and media server, equipment that media content plays Expired - Fee Related CN103780465B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210403975.XA CN103780465B (en) 2012-10-22 2012-10-22 The method and media server, equipment that media content plays
PCT/CN2013/085636 WO2014063604A1 (en) 2012-10-22 2013-10-22 Media content playing method and media server and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210403975.XA CN103780465B (en) 2012-10-22 2012-10-22 The method and media server, equipment that media content plays

Publications (2)

Publication Number Publication Date
CN103780465A CN103780465A (en) 2014-05-07
CN103780465B true CN103780465B (en) 2017-12-29

Family

ID=50544013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210403975.XA Expired - Fee Related CN103780465B (en) 2012-10-22 2012-10-22 The method and media server, equipment that media content plays

Country Status (2)

Country Link
CN (1) CN103780465B (en)
WO (1) WO2014063604A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528346B (en) * 2014-09-28 2019-03-08 阿里巴巴集团控股有限公司 The method and device of media content information is provided

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101099142A (en) * 2004-03-03 2008-01-02 分组视频网络技术方案有限公司 System and method for retrieving digital multimedia content from a network node
CN101409823A (en) * 2007-10-10 2009-04-15 华为技术有限公司 Method, apparatus and system for implementing network personal video recorder
US7650312B2 (en) * 2005-06-06 2010-01-19 Yume Networks, Inc. Method and system to enable continuous monitoring of integrity and validity of a digital content
CN101677325A (en) * 2008-09-16 2010-03-24 华为技术有限公司 Method, device and system for publishing media description information and acquiring media
CN102131114A (en) * 2010-11-17 2011-07-20 华为技术有限公司 Method and system for providing playlist
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333089A (en) * 2011-09-26 2012-01-25 南京邮电大学 Adaptive control method of multi-rate media stream based on hypertext transfer protocol (HTTP) streaming

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101099142A (en) * 2004-03-03 2008-01-02 分组视频网络技术方案有限公司 System and method for retrieving digital multimedia content from a network node
US7650312B2 (en) * 2005-06-06 2010-01-19 Yume Networks, Inc. Method and system to enable continuous monitoring of integrity and validity of a digital content
CN101409823A (en) * 2007-10-10 2009-04-15 华为技术有限公司 Method, apparatus and system for implementing network personal video recorder
CN101677325A (en) * 2008-09-16 2010-03-24 华为技术有限公司 Method, device and system for publishing media description information and acquiring media
CN102131114A (en) * 2010-11-17 2011-07-20 华为技术有限公司 Method and system for providing playlist
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)

Also Published As

Publication number Publication date
WO2014063604A1 (en) 2014-05-01
CN103780465A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
US9880806B2 (en) Media playback processing and control method, apparatus, and system
EP2664133B1 (en) Output of content from the internet on a media rendering device
JP6513402B2 (en) Device for acquiring content by selecting transport protocol according to available bandwidth
US20120226817A1 (en) Methods for Transferring Media Sessions Between Local Networks Using an External Network Connected ue and Related Devices
US20150181285A1 (en) Media Playback Method, Control Point, and Terminal
US9635336B2 (en) Content output system and codec information sharing method in same system
EP2822274A1 (en) Method for converting online media data or playing video and apparatus thereof
CN102577245B (en) Controlling external network-media on a local network-UE using an external network-connected UE
WO2013112476A1 (en) Packet streaming service capability exchange for enhanced peripheral device support
CN102577309A (en) System, method and apparatus for dynamic media file streaming
CN103858406A (en) Media data transmission method and equipment
WO2012109821A1 (en) Method, system for sharing steaming media resources, and device with digital living network alliance (dlna) function
CN103457966A (en) Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology
KR20130005873A (en) Method and apparatus for receiving contents in broadcast system
US8935362B2 (en) Multi-media file emulation device
JPWO2014207899A1 (en) Communication apparatus and communication method
CN103780465B (en) The method and media server, equipment that media content plays
EP2514200B1 (en) Time-shifting of a live media stream
MX2013001555A (en) Stream media channel switch method, switch agent, client and terminal.
US20130051390A1 (en) Method and apparatus for transmitting media resources
KR20140103377A (en) Content server and content providing method of the same
JP2009027660A (en) Network device and network setting method
KR20110015117A (en) System and method for adaptively transmitting contents on dlna home network
EP3029910A1 (en) Device and method for controlling rendering in a network
JP2011034509A (en) Content providing terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: HUAWEI DEVICE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171229