Media data processing method and apparatus
First Claim
1. A media data processing method for providing HTTP streaming media service, comprising:
- obtaining each media segment in a coding representation, wherein the coding representation consists of a plurality of media segments;
performing content protection processing on a first part of the media segments in the coding representation by adopting a first content protection manner;
performing content protection processing on a second part of the media segments in the coding representation by adopting a second content protection manner, wherein the first content protection manner is different with the second content protection manner; and
generating a media presentation description file, wherein the media presentation description file is used to describe the first content protection manner adopted by the first part of media segments in the coding representation and the second content protection manner adopted by the second part of media segments in the coding representation, wherein the step of generating the media presentation description file comprises;
assigning, in the media presentation description file, a coding representation module corresponding to the coding representation;
assigning, in the coding representation module, a first content protection unit for indicating the first content protection manner and a second content protection unit for indicating the second content protection manner;
assigning, in the first content protection unit, content protection manner information for indicating the first content protection manner adopted by the first part of media segments and assigning, in the second content protection unit content protection manner information for indicating the second content protection manner adopted b the second cart of media segments; and
assigning, in the first content protection unit, a first protection range element for indicating information of a range of the first part of media segments and assigning, in the second content protection unit, a second protection range element for indicating information of a range of the second part of media segments.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a media data processing method and apparatus. The media data processing method includes: obtaining each media segment in a coding representation; and performing content protection processing on at least a part of media segments in the coding representation. In the embodiments of the present invention, a media segment in a coding representation is used as a unit of content protection, and the content protection may be performed on at least a part of media segments in the coding representation, so that protection manners of media segments in the coding representation are differentiated, so as to improve reliability and flexibility of performing the content protection on an HTTP streaming media service.
-
Citations
10 Claims
-
1. A media data processing method for providing HTTP streaming media service, comprising:
-
obtaining each media segment in a coding representation, wherein the coding representation consists of a plurality of media segments; performing content protection processing on a first part of the media segments in the coding representation by adopting a first content protection manner; performing content protection processing on a second part of the media segments in the coding representation by adopting a second content protection manner, wherein the first content protection manner is different with the second content protection manner; and generating a media presentation description file, wherein the media presentation description file is used to describe the first content protection manner adopted by the first part of media segments in the coding representation and the second content protection manner adopted by the second part of media segments in the coding representation, wherein the step of generating the media presentation description file comprises; assigning, in the media presentation description file, a coding representation module corresponding to the coding representation; assigning, in the coding representation module, a first content protection unit for indicating the first content protection manner and a second content protection unit for indicating the second content protection manner; assigning, in the first content protection unit, content protection manner information for indicating the first content protection manner adopted by the first part of media segments and assigning, in the second content protection unit content protection manner information for indicating the second content protection manner adopted b the second cart of media segments; and assigning, in the first content protection unit, a first protection range element for indicating information of a range of the first part of media segments and assigning, in the second content protection unit, a second protection range element for indicating information of a range of the second part of media segments. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A media data processing method for providing HTTP streaming media service, comprising:
-
obtaining a media presentation description file, wherein the media presentation description file is used to describe a first content protection manner adopted by a first part of media segments in a coding representation and a second content protection manner adopted by a second part of media segments in the coding representation, wherein the first content protection manner is different with the second content protection manner, wherein the coding representation consists of a plurality of media segments, wherein the media presentation description file comprising a coding representation module corresponding to the coding representation, wherein the coding representation module comprising content protection manner information for indicating the first content protection manner adopted by the first part of media segments and content protection manner information for indicating the second content protection manner adopted by the second part of media segments, wherein the first content protection unit comprising a first protection range element for indicating information of a range of the first part of media segments, wherein the second content protection unit comprising a second protection range element for indicating information of a range of the second part of media segments; performing parsing processing on the media presentation description file, in order to obtain the first content protection manner adopted by each media segment in the first part of the coding representation, wherein the parsing processing comprising; identifying content protection manner information of the first content protection manner, and identifying range information of the first part of the media segments; selecting a media segment in the first part of the coding representation according to the first content protection manner; sending a media segment request message to a media server, wherein the media segment request message comprises identification information of a requested media segment; receiving a media segment which is sent by the media server according to the identification information; and determining whether location information of the received media segment is in the range of the first part of media segments, and when the location information is in the range of the first part of media segments, performing de-protection processing on the received media segment by adopting the first content protection manner.
-
-
8. A media data processing apparatus for providing HTTP streaming media service, comprising:
-
an obtaining module, configured to obtain each media segment in a coding representation, wherein the coding representation consists of a plurality of media segments; a content protection processing module, configured to perform content protection processing on a first part of media segments in the coding representation by adopting a first content protection manner, perform content protection processing on a second part of media segments in the coding representation by adopting a second content protection manner, wherein the first content protection manner is different with the second content protection manner; a generating module, configured to generate a media presentation description file, wherein the media presentation description file is used to describe the first content protection manner adopted by the first part of media segments in the coding representation and the second content protection manner adopted by the second part of media segments in the coding representation;
wherein the generating module is further configured to;assign, in the media presentation description file, a coding representation module corresponding to the coding representation; assign, in the coding representation module, a first content protection unit for indicating the first content protection manner and a second content protection unit for indicating the second content protection manner; assign, in the first content protection unit, content protection manner information for indicating the first content protection manner adopted by the first part of media segments and assign, in the second content protection unit, content protection manner information for indicating the second content protection manner adopted by the second part of media segments; and assign, in the first content protection unit, a first protection range element for indicating information of a range of the first part of media segments and assign, in the second content protection unit, a second protection range element for indicating information of a range of the second part of media segments; and a storage module, configured to store the coding representation on which the content protection processing is performed and the media presentation description file generated by the generating module. - View Dependent Claims (9)
-
-
10. A media data processing apparatus for providing HTTP streaming media service, comprising:
-
a preprocessing module, configured to; obtain a media presentation description file, wherein the media presentation description file is used to describe a first content protection manner adopted by a first part of media segments in a coding representation and a second content protection manner adopted by a second part of media segments in the coding representation, wherein the first content protection manner is different with the second content protection manner, wherein the coding representation consists of a plurality of media segments, wherein the media presentation description file comprising a coding representation module corresponding to the coding representation, wherein the coding representation module comprising content protection manner information for indicating the first content protection manner adopted by the first part of media segments and content protection manner information for indicating the second content protection manner adopted by the second part of media segments, wherein the first content protection unit comprising a first protection range element for indicating information of a range of the first part of media segments, wherein the second content protection unit comprising a second protection range element for indicating information of a range of the second part of media segments; perform parsing processing on the media presentation description file, in order to obtain the first content protection manner adopted by each media segment in the first part of the coding representation, identify content protection manner information of the first content protection manner and identify range information of the first part of media segments; and select a media segment in the first part of the coding representation according to the first content protection manner, a first sending module, configured to send a media segment request message to a media server, wherein the media segment request message comprises identification information of a to be requested media segment in the first part of the coding representation; a first receiving module, configured to receive a media segment which is sent by the media server according to the identification information; a determining unit, configured to determine whether location information of the received media segment is in the range of the first part of media segments; and a first processing unit, configured to perform de-protection processing on the received media segment by adopting the first content protection manner when the determining unit determines that the location information is in the range of the first part of media segments.
-
Specification