CN101329713B - Method and apparatus for processing digital content - Google Patents
Method and apparatus for processing digital content Download PDFInfo
- Publication number
- CN101329713B CN101329713B CN200710123343.7A CN200710123343A CN101329713B CN 101329713 B CN101329713 B CN 101329713B CN 200710123343 A CN200710123343 A CN 200710123343A CN 101329713 B CN101329713 B CN 101329713B
- Authority
- CN
- China
- Prior art keywords
- content
- information
- digital content
- condition
- indication information
- 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.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种数字内容的处理方法,该方法包括:获取数字内容;获取第一信息,所述第一信息包括第一指示信息和第一条件,其中,所述第一指示信息包括指示在对所述数字内容进行第一操作前需要进行第二操作,所述第一条件为需要进行第二操作的条件;确定满足所述第一条件,则执行第一指示信息的指示;确定不满足所述第一条件,则直接进行第一操作。本发明同时公开一种通信设备。采用本发明可以对数字内容的处理方式进行控制。
The invention discloses a digital content processing method, which includes: acquiring digital content; acquiring first information, the first information includes first indication information and a first condition, wherein the first indication information includes indication The second operation needs to be performed before the first operation is performed on the digital content, and the first condition is the condition that the second operation needs to be performed; if it is determined that the first condition is met, then execute the instruction of the first instruction information; if it is determined not to If the first condition is satisfied, the first operation is directly performed. The invention also discloses a communication device. By adopting the invention, the processing mode of digital content can be controlled.
Description
技术领域 technical field
本发明涉及数字版权管理技术领域,尤其涉及数字内容的处理方法及设备。The invention relates to the technical field of digital copyright management, in particular to a method and equipment for processing digital content.
背景技术 Background technique
数字版权管理(Digital Rights Management,DRM)主要通过权利限制和内容保护方案控制数字内容的使用,保护内容所有者的合法权益。用户从网络或其他设备处获取数字内容,该数字内容一般是加密的,并和其他一些信息(如内容的加密算法)共同构成一个内容数据包。许可服务器(Rights Issuer,RI)负责为内容数据包发放对应的许可(Rights Object,RO),许可中包括内容解密密钥及对应的权限。设备只有同时拥有内容数据包和许可,才能正常使用数字内容。DRM设备通过许可获取内容解密密钥,进而解密数字内容。许可中包含有权利、限制等信息,权利指示设备可以干什么,比如说允许设备打印、浏览等,而限制则指示设备在什么条件下可以干,比如说最多允许浏览几次等。DRM设备必须根据许可所要求的权限来执行相应的操作。Digital Rights Management (DRM) mainly controls the use of digital content through rights restrictions and content protection schemes to protect the legitimate rights and interests of content owners. A user obtains digital content from a network or other devices, and the digital content is generally encrypted, and forms a content data packet together with other information (such as an encryption algorithm of the content). The license server (Rights Issuer, RI) is responsible for issuing the corresponding license (Rights Object, RO) for the content data package, and the license includes the content decryption key and the corresponding authority. A device can use digital content normally only if it has both the content data package and the license. The DRM device obtains the content decryption key through the license, and then decrypts the digital content. The license contains information such as rights and restrictions. The rights indicate what the device can do, such as allowing the device to print, browse, etc., and the restrictions indicate the conditions under which the device can do it, such as allowing the device to browse at most. The DRM device must perform corresponding operations according to the permissions required by the license.
随着数字内容的广泛使用,通过数字内容承载广告成为一种可能的商业模式。商家可以通过广告来推销自己的商品,而消费者通过观看广告可以减免部分甚至全部购买数字内容的费用。With the widespread use of digital content, carrying advertisements through digital content has become a possible business model. Merchants can promote their products through advertisements, and consumers can reduce part or even all of the cost of purchasing digital content by watching advertisements.
现有技术一Existing technology one
提供一种在DRM系统内引入广告的方法。如图1所示,用户下载的内容数据包包含两个部分(DRM Container),第一部分是用户需要的数字内容,第二部分是广告。在内容数据包中包含相应的标识用来指示该内容数据包含有广告,该标识通常位于DRM内容格式(DRM Content Format,DCF)的头部内。A method of introducing advertisements within the DRM system is provided. As shown in Figure 1, the content data package downloaded by the user includes two parts (DRM Container), the first part is the digital content required by the user, and the second part is the advertisement. A corresponding identifier is included in the content data packet to indicate that the content data contains advertisements, and the identifier is usually located in the header of a DRM content format (DRM Content Format, DCF).
如图2所示,一种设备消费带有广告的数字内容的基本流程如下:As shown in Figure 2, the basic flow of a device consuming digital content with advertisements is as follows:
步骤201、用户通过设备获取需要的数字内容。Step 201, the user obtains the required digital content through the device.
步骤202、设备根据DCF中是否有相应的标识判断该DCF是否包含广告,若是,执行步骤204;否则执行步骤203。Step 202, the device judges whether the DCF contains advertisements according to whether there is a corresponding identifier in the DCF, and if so, executes step 204; otherwise, executes step 203.
步骤203、设备直接消费数字内容。Step 203, the device directly consumes the digital content.
步骤204、设备判断数字内容对应的许可是否处于可用状态,若是,执行步骤205;否则执行步骤206。(在DCF中携带有广告的情况下,初始时数字内容对应的许可应处于不可用状态)In step 204, the device judges whether the license corresponding to the digital content is available, and if so, executes step 205; otherwise, executes step 206. (In the case of advertisements carried in the DCF, the license corresponding to the digital content should be in an unavailable state initially)
步骤205、设备提示用户处理过程中有错误。Step 205, the device prompts the user that there is an error in the processing.
步骤206、设备判断数字内容对应的许可是否失效,若已经失效,执行步骤205;若未失效,执行步骤207。Step 206 , the device judges whether the license corresponding to the digital content is invalid, and if it has expired, execute step 205 ; if not, execute step 207 .
步骤207、设备在确定数字内容对应的许可处于不可用状态并且该许可未失效时,消费广告。Step 207, when the device determines that the license corresponding to the digital content is unavailable and the license is not invalid, consume the advertisement.
步骤208、设备根据DCF中的地址,向广告管理服务器发送相关信息,以判断广告服务器是否允许设备使用该许可。Step 208, the device sends relevant information to the advertisement management server according to the address in the DCF, so as to judge whether the advertisement server allows the device to use the license.
步骤209、设备接收广告管理服务器的响应。Step 209, the device receives a response from the advertisement management server.
步骤210、设备根据接收到的响应判断是否允许使用该许可,若不允许,执行步骤211;若允许,执行步骤212。Step 210, the device judges whether to allow the use of the license according to the received response, if not allowed, execute step 211; if allowed, execute step 212.
步骤211、设备将该许可置为不可用状态。Step 211, the device puts the license in an unavailable state.
步骤212、设备将该许可置为可用状态。Step 212, the device puts the license into an available state.
步骤213、设备消费数字内容,并在消费后将对应的许可置为不可用状态。Step 213, the device consumes the digital content, and sets the corresponding license to an unavailable state after consumption.
发明人在实现本发明的过程中发现存在如下技术需求:The inventor finds that there are following technical requirements in the process of realizing the present invention:
一、广告商需要控制用户消费广告的方式。1. Advertisers need to control how users consume advertisements.
例如,广告商允许用户在观看若干次广告后,不必再继续观看广告。而现有技术一中,用户每次消费数字内容都必须先观看广告,并未提供具体方案用于限制广告的观看次数,限制了其他商业模式的运作。For example, an advertiser allows a user to watch an ad several times without having to continue watching the ad. In prior art 1, users must watch advertisements every time they consume digital content, and no specific solution is provided for limiting the number of viewing times of advertisements, which limits the operation of other business models.
又如,对于广告商来说,他们希望用户能够完整的看完广告,例如用户不可以通过拖动、快进等方式跳过广告,而现有技术一中并没有说明如何控制设备消费广告。As another example, for advertisers, they hope that users can watch the advertisement completely, for example, users cannot skip the advertisement by dragging, fast-forwarding, etc., but the prior art 1 does not explain how to control the device to consume the advertisement.
二、由于在多种情况下,设备可能会处于不在线状态,而现有技术一中的广告管理服务器在运行时必须处于在线状态,因此,没有在线能力的设备无法采用上述现有技术。2. In many cases, the device may be offline, and the advertisement management server in the prior art 1 must be in the online state during operation. Therefore, the above-mentioned prior art cannot be adopted by the device without online capability.
现有技术二Prior art two
在开放数字版权语言(Open Digital Rights Language,ODRL)规范中,可以使用<sequence>元素来限制执行操作的顺序,例如:In the Open Digital Rights Language (ODRL) specification, you can use the <sequence> element to restrict the order in which operations are performed, for example:
<sequence order=”total”><sequence order="total">
<seq-item number=”1”><seq-item number="1">
<permission><permission>
<play/><play/>
<asset>广告</asset>//先执行播放广告的操作<asset>Advertising</asset>//First perform the operation of playing the advertisement
</permission></permission>
<seq-item><seq-item>
<seq-item number=”2”><seq-item number="2">
<permission><permission>
<play/><play/>
<asset>电影</asset>//再执行播放电影的操作<asset>Movie</asset>//Then perform the operation of playing the movie
</permission></permission>
<seq-item><seq-item>
</sequence></sequence>
在ODRL中,也可以采用<requirement>元素来表明在执行一个操作前必须首先满足的前提条件,例如:In ODRL, the <requirement> element can also be used to indicate the preconditions that must be met before performing an operation, for example:
<permission><permission>
<play/><play/>
<asset>电影</asset><asset>Movie</asset>
</permission></permission>
<requirement><requirement>
<sequence><sequence>
<seq-item number=”1”><seq-item number="1">
<permission><permission>
<play/><play/>
<asset>广告</asset>//在播放电影前必须先播放广告<asset>Advertising</asset>//The advertisement must be played before the movie is played
</permission></permission>
<seq-item><seq-item>
</sequence></sequence>
</requirement></requirement>
发明人在实现本发明的过程中发现存在如下技术需求:The inventor finds that there are following technical requirements in the process of realizing the present invention:
广告商需要控制用户消费广告的方式。Advertisers need to control how users consume advertisements.
例如,广告商可以允许用户在观看若干次广告后,不必再继续观看广告。而现有技术二中,<requirement>元素在每次消费数字内容时都必须执行,同样对于<sequence>元素,当模式为“total”时,也必须先执行完前一个操作后才能执行后一个操作,也就是说,用户每次消费数字内容都必须先观看广告,限制了其他商业模式的运作。For example, an advertiser may allow a user to watch an ad several times without continuing to watch the ad. In prior art 2, the <requirement> element must be executed every time the digital content is consumed. Similarly, for the <sequence> element, when the mode is "total", the previous operation must be executed before the next one can be executed. Operation, that is, every time a user consumes digital content, he must first watch an advertisement, which limits the operation of other business models.
又如,对于广告商来说,他们希望用户能够完整的看完广告,例如用户不可以通过拖动、快进等方式跳过广告,而现有技术二中也没有对如何控制设备消费广告提供具体方案。As another example, for advertisers, they hope that the user can completely watch the advertisement, for example, the user cannot skip the advertisement by dragging, fast-forwarding, etc., and the second prior art does not provide any information on how to control the device to consume the advertisement. specific plan.
发明内容 Contents of the invention
本发明实施例提供一种数字内容的处理方法及设备,用以对数字内容的处理方式进行控制。Embodiments of the present invention provide a method and device for processing digital content, which are used to control the processing mode of digital content.
本发明实施例提供一种数字内容的处理方法,该方法包括:An embodiment of the present invention provides a method for processing digital content, the method comprising:
获取数字内容;access to digital content;
获取第一信息,所述第一信息包括第一指示信息和第一条件,其中,所述第一指示信息包括指示在对所述数字内容进行第一操作前需要进行第二操作,所述第一条件为需要进行第二操作的条件;Acquire first information, where the first information includes first indication information and a first condition, wherein the first indication information includes an indication that a second operation needs to be performed before performing the first operation on the digital content, and the first A condition is a condition requiring the second operation;
确定满足所述第一条件,则执行第一指示信息的指示;Determining that the first condition is met, then execute the indication of the first indication information;
确定不满足所述第一条件,则直接进行第一操作。If it is determined that the first condition is not met, the first operation is directly performed.
本发明实施例还提供一种数字内容的处理方法,该方法包括:The embodiment of the present invention also provides a digital content processing method, the method comprising:
获取数字内容;access to digital content;
获取第二信息,所述第二信息包括第一指示信息和第二指示信息,其中,所述第一指示信息包括指示在对所述数字内容进行第一操作前需要进行第二操作,所述第二指示信息包括指示在第二操作无法完成时是否允许进行第一操作;Acquiring second information, where the second information includes first indication information and second indication information, wherein the first indication information includes an indication that a second operation needs to be performed before performing the first operation on the digital content, the The second indication information includes indicating whether to allow the first operation when the second operation cannot be completed;
执行第一指示信息的指示,并在所述第二操作无法完成时,进一步根据所述第二指示信息确定允许进行第一操作时,进行所述第一操作。Executing the indication of the first indication information, and performing the first operation when it is further determined according to the second indication information that the first operation is allowed when the second operation cannot be completed.
本发明实施例还提供一种数字内容的处理方法,该方法包括:The embodiment of the present invention also provides a digital content processing method, the method comprising:
获取数字内容;access to digital content;
获取第三信息,所述第三信息包括禁止对所述数字内容进行的操作的信息;acquiring third information, the third information including information prohibiting operations on the digital content;
根据所述第三信息确定对所述数字内容待进行的操作为未被禁止的操作时,对所述数字内容进行所述操作。When it is determined according to the third information that the operation to be performed on the digital content is not prohibited, perform the operation on the digital content.
本发明实施例还提供一种通信设备,包括:The embodiment of the present invention also provides a communication device, including:
第一获取模块,用于获取数字内容;a first acquiring module, configured to acquire digital content;
第二获取模块,用于获取第一信息,所述第一信息包括第一指示信息和第一条件,其中,所述第一指示信息包括指示在对所述数字内容进行第一操作前需要进行第二操作,所述第一条件为需要进行第二操作的条件;The second acquiring module is configured to acquire first information, where the first information includes first indication information and a first condition, wherein the first indication information includes an indication that a first operation needs to be performed on the digital content before performing the first operation. The second operation, the first condition is a condition that requires the second operation;
第一确定模块,用于确定是否满足所述第一条件;A first determining module, configured to determine whether the first condition is met;
第一操作模块,用于在满足所述第一条件时,执行第一指示信息的指示;在不满足所述第一条件时,直接进行第一操作。The first operation module is configured to execute the indication of the first indication information when the first condition is met; and directly perform the first operation when the first condition is not met.
本发明实施例还提供一种通信设备,包括:The embodiment of the present invention also provides a communication device, including:
第一获取模块,用于获取数字内容;a first acquiring module, configured to acquire digital content;
第三获取模块,用于获取第二信息,所述第二信息包括第一指示信息和第二指示信息,其中,所述第一指示信息包括指示在所述数字内容进行第一操作前需要进行第二操作,所述第二指示信息包括指示第二操作无法完成时是否允许进行第一操作;The third acquiring module is configured to acquire second information, the second information includes first indication information and second indication information, wherein the first indication information includes an indication that the digital content needs to be performed before the first operation is performed. The second operation, the second indication information includes indicating whether to allow the first operation when the second operation cannot be completed;
第二操作模块,用于执行第一指示信息的指示;以及,用于在确定允许进行第一操作时,进行第一操作;The second operation module is configured to execute the indication of the first indication information; and is configured to perform the first operation when it is determined that the first operation is allowed;
第二确定模块,用于在第二操作无法完成时,进一步根据第二指示信息确定是否允许进行第一操作。The second determining module is configured to further determine whether to allow the first operation according to the second indication information when the second operation cannot be completed.
本发明实施例还提供一种通信设备,包括:The embodiment of the present invention also provides a communication device, including:
第一获取模块,用于获取数字内容;a first acquiring module, configured to acquire digital content;
第四获取模块,用于获取第三信息,所述第三信息包括禁止对所述数字内容进行的操作的信息;A fourth obtaining module, configured to obtain third information, where the third information includes information prohibiting operations on the digital content;
第四确定模块,用于根据所述第三信息确定对所述数字内容待进行的操作是否为被禁止的操作;A fourth determination module, configured to determine whether the operation to be performed on the digital content is a prohibited operation according to the third information;
第三操作模块,用于在确定对所述数字内容待进行的操作为未被禁止的操作时,对所述数字内容进行所述操作。The third operating module is configured to perform the operation on the digital content when it is determined that the operation to be performed on the digital content is not prohibited.
本发明实施例中,满足所述第一条件时,在对数字内容进行第一操作前先进行第二操作,不满足所述第一条件时,可以直接对数字内容进行第一操作;在第二操作无法完成时,可以根据第二指示信息的指示,在允许进行第一操作时,进行第一操作;因此,并不要求在对数字内容进行第一操作之前必须进行第二操作,提高了对数字内容进行处理时的灵活性;另一方面,在对数字内容进行操作前,先根据第三信息判断对数字内容待进行的操作是否为被禁止的操作,在确定所述操作为未被禁止的操作时,对数字内容进行所述操作,由此引入了对数字内容进行操作的限制条件;综上所述,利用本发明实施例方法可以对数字内容的处理方式进行控制。In the embodiment of the present invention, when the first condition is satisfied, the second operation is performed on the digital content before the first operation; when the first condition is not satisfied, the first operation can be directly performed on the digital content; When the second operation cannot be completed, the first operation can be performed when the first operation is allowed according to the instruction of the second instruction information; therefore, it is not required to perform the second operation before performing the first operation on the digital content, which improves the Flexibility when processing digital content; on the other hand, before operating digital content, first judge whether the operation to be performed on digital content is a prohibited operation according to the third information, and determine that the operation is not prohibited For prohibited operations, the operations are performed on the digital content, thereby introducing restrictions on the operation of the digital content; in summary, the method of the embodiment of the present invention can be used to control the processing mode of the digital content.
附图说明 Description of drawings
图1为背景技术中内容数据包的结构示意图;FIG. 1 is a schematic structural diagram of a content data packet in the background technology;
图2为背景技术中一种设备消费带有广告的数字内容的基本流程图;Fig. 2 is a basic flowchart of a device consumption of digital content with advertisements in the background technology;
图3为本发明实施例中对数字内容进行处理的流程图;FIG. 3 is a flow chart of processing digital content in an embodiment of the present invention;
图4、图5为本发明实施例中引入第二条件和第二指示信息后,对数字内容进行处理的流程图;FIG. 4 and FIG. 5 are flowcharts of processing digital content after introducing the second condition and the second instruction information in the embodiment of the present invention;
图6为本发明实施例中根据第二指示信息处理数字内容的流程图;Fig. 6 is a flow chart of processing digital content according to the second indication information in an embodiment of the present invention;
图7、图8为本发明实施例中禁止对数字内容进行某些操作时,对数字内容进行处理的流程图;FIG. 7 and FIG. 8 are flowcharts of processing digital content when certain operations on digital content are prohibited in the embodiment of the present invention;
图9为本发明实施例中对数字内容进行处理的一个实例的流程图;FIG. 9 is a flowchart of an example of processing digital content in an embodiment of the present invention;
图10为本发明实施例中对DCF中的媒体内容进行消费的处理流程图;Fig. 10 is a processing flowchart of consuming media content in DCF in an embodiment of the present invention;
图11a、图11b、图11c、图11d、图12、图13为本发明实施例中通信设备的结构示意图。Fig. 11a, Fig. 11b, Fig. 11c, Fig. 11d, Fig. 12 and Fig. 13 are schematic structural diagrams of communication devices in the embodiments of the present invention.
具体实施方式 Detailed ways
本发明实施例中,若满足需要对数字内容进行第二操作的条件,则在对数字内容进行第一操作前先进行第二操作,若不满足则可以直接进行第一操作;若第二操作无法完成,则可以根据第二指示信息的指示,在允许进行第一操作时,进行第一操作,可以提高对数字内容进行处理时的灵活性;在确定对数字内容待进行的操作为未被禁止的操作时,对数字内容进行该操作,可以限制对数字内容进行的操作;以此实现对数字内容的处理方式进行控制。In the embodiment of the present invention, if the condition for performing the second operation on the digital content is satisfied, the second operation is performed before the first operation on the digital content, and if not, the first operation can be performed directly; if the second operation If it cannot be completed, then according to the indication of the second instruction information, when the first operation is allowed, the first operation can be performed, which can improve the flexibility when processing the digital content; when it is determined that the operation to be performed on the digital content is not For prohibited operations, performing this operation on the digital content can restrict the operation on the digital content; in this way, the processing method of the digital content can be controlled.
一个实施例中,对数字内容进行处理的流程如图3所示,包括:In one embodiment, the process for processing digital content is shown in Figure 3, including:
步骤301、获取数字内容。Step 301, acquire digital content.
步骤302、获取第一信息,该第一信息包括第一指示信息和第一条件,其中,第一指示信息包括指示在对数字内容进行第一操作前需要进行第二操作,第一条件为需要进行第二操作的条件。Step 302. Obtain first information, the first information includes first indication information and a first condition, wherein the first indication information includes an indication that a second operation needs to be performed before the first operation is performed on the digital content, and the first condition is required Conditions for performing the second operation.
步骤303、判断是否满足第一条件,若满足,执行步骤304,否则执行步骤305。Step 303 , judging whether the first condition is met, if yes, execute step 304 , otherwise execute step 305 .
步骤304、执行第一指示信息的指示,在对数字内容进行第一操作前先进行第二操作。Step 304: Execute the instruction of the first instruction information, and perform the second operation before performing the first operation on the digital content.
步骤305、直接对数字内容进行第一操作。Step 305, directly perform the first operation on the digital content.
一个具体实例为:数字内容为电影,第一指示信息指示在播放电影前需要先付费,第一条件为在第一次播放电影前需要付费。A specific example is: the digital content is a movie, the first indication information indicates that payment is required before playing the movie, and the first condition is that payment is required before playing the movie for the first time.
一个实施例中,在步骤301获取到的数字内容可以包括第一内容和第二内容,后续在处理时,对数字内容进行第一操作可以是对第一内容进行操作,对数字内容进行第二操作可以是对第二内容进行操作。其中,第一内容和第二内容可以包含在同一个数字内容包里,也可以包含在不同的数字内容包里。此时,第一信息可以携带于第一内容对应的许可中,即许可提供者可以在许可中指示在对第一内容进行操作前需要对第二内容进行操作,以及需要对第二内容进行操作的条件。以ODRL(Open Digital Rights Language,开放数字版权语言)为例,可以在<requirement>元素下增加<constraint>子元素,用于表示该第一条件,即在什么情况下需要进行第二操作,当然,所述第二操作可以是对第二内容的操作,具体描述如下:In one embodiment, the digital content obtained in step 301 may include the first content and the second content. During subsequent processing, performing the first operation on the digital content may be performing an operation on the first content, and performing a second operation on the digital content. The operation may be to operate on the second content. Wherein, the first content and the second content may be contained in the same digital content package, or may be contained in different digital content packages. At this time, the first information can be carried in the license corresponding to the first content, that is, the license provider can indicate in the license that the second content needs to be operated before the first content can be operated, and the second content needs to be operated conditions of. Taking ODRL (Open Digital Rights Language) as an example, you can add a <constraint> sub-element under the <requirement> element to indicate the first condition, that is, under what circumstances the second operation is required, of course , the second operation may be an operation on the second content, which is specifically described as follows:
<xsd:complexType name=”requirementType”><xsd:complexType name="requirementType">
<xsd:sequence minOccurs=”0”maxOccurs=”unbounded”><xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref=”o-ex:context”minOccurs=”0”maxOccurs=”unbounded”/><xsd:element ref="o-ex:context" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref=”o-ex:requirementElement”minOccurs=”0”<xsd:element ref="o-ex:requirementElement" minOccurs="0"
maxOccurs=”unbounded”/>maxOccurs="unbounded"/>
<xsd:element ref=”o-ex:container”minOccurs=”0”maxOccurs=”unbounded”/><xsd:element ref="o-ex:container" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref=”o-ex:sequence”minOccurs=”0”maxOccurs=”unbounded”/><xsd:element ref="o-ex:sequence" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref=”o-ex:constraint”minOccurs=”0”maxOccurs=”unbounded”/>//第一条件<xsd:element ref="o-ex:constraint" minOccurs="0" maxOccurs="unbounded"/>//first condition
</xsd:sequence></xsd:sequence>
<xsd:attributeGroup ref=”o-ex:IDGroup”/><xsd:attributeGroup ref="o-ex:IDGroup"/>
</xsd:complexType></xsd:complexType>
其中,<constraint>元素用于表示需要进行第二操作的条件,即第一条件,这里可以采用目前已经定义的一些条件,包括:次数、时间段、时长、系统限制、周期时间。也可以定义一些新的条件,比如可以定义一个周期次数的条件,该条件表示每隔若干次需要执行一次对应的操作,即周期以次数计算,例如,在ODRL中定义<countperiod>元素,该元素包含一个大于0的整数值,用来表示周期的次数。当然,第一条件也可以是次数、时间段、时长、周期等的任意组合。Among them, the <constraint> element is used to indicate the condition that requires the second operation, that is, the first condition. Some conditions that have been defined so far can be used here, including: number of times, time period, duration, system limit, and cycle time. You can also define some new conditions, for example, you can define a condition for the number of periods, which means that the corresponding operation needs to be performed every several times, that is, the period is calculated by the number of times, for example, define the <countperiod> element in ODRL, the element Contains an integer value greater than 0 representing the number of cycles. Of course, the first condition may also be any combination of the number of times, time period, duration, period, and the like.
在一种应用场景中,第一指示信息还可以指示第二内容的类型,如指示第二内容为广告。当然,第一指示信息还可以指示第一内容为用户想要操作的数字内容。一个具体实例为:第一内容为电影,第二内容为广告,第一指示信息指示在播放电影前需要播放广告,第一条件为在第一次播放电影前需要播放广告,则可以包含下列的许可证片段:In an application scenario, the first indication information may also indicate the type of the second content, such as indicating that the second content is an advertisement. Of course, the first indication information may also indicate that the first content is digital content that the user wants to operate. A specific example is: the first content is a movie, the second content is an advertisement, the first indication information indicates that an advertisement needs to be played before the movie is played, and the first condition is that an advertisement needs to be played before the movie is played for the first time, then the following may be included: License snippet:
<permission><permission>
<play/><play/>
<asset>电影</asset><asset>Movie</asset>
</permission></permission>
<requirement><requirement>
<sequence><sequence>
<seq-item number=”1”>//第一指示信息指示在播放电影前需要播放广告<seq-item number="1">//The first instruction indicates that an advertisement needs to be played before playing the movie
<permission><permission>
<play/><play/>
<asset>广告</asset><asset>Advertising</asset>
</permission></permission>
<seq-item><seq-item>
</sequence></sequence>
<constraint><constraint>
<count>1</count>//第一条件为在第一次播放电影前需要播放广告<count>1</count>//The first condition is that the advertisement needs to be played before the movie is played for the first time
</constraint></constraint>
</requirement></requirement>
上述实例中,在获取到电影和广告内容后,根据第一信息中的第一指示信息,可以确定在播放电影前需要播放广告,并且可以根据第一信息中的第一条件进一步确定需要在第一次播放电影前播放广告;若当前播放电影的操作为第一次播放电影时,需要在播放电影前先播放广告;若当前播放电影的操作不是第一次播放电影,即之前已播放过电影时,不需要在播放电影前先播放广告。In the above example, after the movie and advertisement content are obtained, according to the first indication information in the first information, it can be determined that the advertisement needs to be played before the movie is played, and it can be further determined according to the first condition in the first information that the advertisement needs to be played before the first information. Play an advertisement before playing a movie once; if the operation of playing a movie is the first time to play a movie, the advertisement needs to be played before playing the movie; if the operation of playing a movie is not the first time to play a movie, that is, the movie has been played before , the ad does not need to play before the movie.
在获取第二内容之前,可以先获取第二内容的地址信息,根据该地址信息获取第二内容。对第二内容的操作可以包括播放、显示、更新其中之一或任意组合。一个实施例中,需要定期更新广告,为此,可以定义新的权利<update>,用于更新某个内容,例如:Before obtaining the second content, the address information of the second content may be obtained first, and the second content may be obtained according to the address information. The operation on the second content may include one of playing, displaying, updating or any combination thereof. In an embodiment, the advertisement needs to be updated regularly, so a new right <update> can be defined to update a certain content, for example:
<!ELEMENT xxx:update(o-ex:constraint?,o-ex:requirement?)><! ELEMENT xxx:update(o-ex:constraint?, o-ex:requirement?)>
<!ATTLIST xxx:update xxx:updateurl CDATA#IMPLIED>//更新某个内容<! ATTLIST xxx:update xxx:updateurl CDATA#IMPLIED>//Update a certain content
其中,该<update>元素包含一个属性updateurl,用于定义更新的地址,更新时可以向该地址发送HTTP GET消息,从而获取新的内容,或获取原内容对应的更新信息。在获取了新的内容或根据更新信息将原内容更新为新的内容后,可以将新的内容插入DCF中,替换原内容。某些DRM系统会要求对DCF做完整性保护,在这种情况下,可以被更新的原内容不在完整性保护计算的范围内。Among them, the <update> element contains an attribute updateurl, which is used to define the address of the update. When updating, an HTTP GET message can be sent to the address to obtain new content or update information corresponding to the original content. After acquiring new content or updating the original content to new content according to the update information, the new content can be inserted into the DCF to replace the original content. Some DRM systems require integrity protection for the DCF. In this case, the original content that can be updated is not within the scope of integrity protection calculations.
一个实施例中,在<constraint>元素下,可以定义第一条件,用来描述何时需要更新内容,如:周期时间、周期次数等。一个具体实例如下:其中,第一内容为电影,第二内容为广告,许可证片段表示每三次播放电影需要执行一次更新并播放广告的操作,也就是说,在播放广告后,可以观看三次电影,随后需要重新去更新广告并且播放广告。In one embodiment, under the <constraint> element, a first condition can be defined, which is used to describe when content needs to be updated, such as cycle time, cycle times, and the like. A specific example is as follows: where the first content is a movie and the second content is an advertisement, the license fragment indicates that the operation of updating and playing the advertisement needs to be performed every three times when the movie is played, that is, after the advertisement is played, the movie can be watched three times , then you need to update the ad and play the ad again.
<permission><permission>
<play/><play/>
<asset>电影</asset><asset>Movie</asset>
</permission></permission>
<requirement><requirement>
<sequence><sequence>
<seq-item number=”1”>//第一指示信息指示播放电影前需要先更新广告<seq-item number="1">//The first instruction indicates that the advertisement needs to be updated before playing the movie
<permission><permission>
<update updateurl=”http://xxxxxxxxx”/>//广告更新地址<update updateurl="http://xxxxxxxxx"/>/advertisement update address
<asset>广告</asset><asset>Advertising</asset>
</permission></permission>
</seq-item></seq-item>
<seq-item number=”2”>//第一指示信息指示播放电影前,更新广告后,需要播放 <seq-item number="2">//The first instruction indicates that before playing the movie, after updating the advertisement, it needs to be played
广告advertise
<permission><permission>
<play/><play/>
<asset>广告</asset><asset>Advertising</asset>
</permission></permission>
</seq-item></seq-item>
</sequence></sequence>
<constraint><constraint>
<countperiod>3</countperiod>//第一条件为每三次播放电影需要更新一次并播 <countperiod>3</countperiod>//The first condition is that the movie needs to be updated and played every three times
放一次广告put an ad once
</constraint></constraint>
</requirement></requirement>
一个实施例中,第一信息还包括第二条件,该第二条件为能够对第二内容进行操作的条件;在确定满足第一条件后,还需要进一步判断是否满足第二条件,并在确定满足第二条件时,在对第一内容进行操作前先对第二内容进行操作。In one embodiment, the first information also includes a second condition, which is a condition for being able to operate on the second content; after it is determined that the first condition is met, it is necessary to further determine whether the second condition is met, and determine When the second condition is met, the operation is performed on the second content before the operation on the first content.
进一步的,一个实施例中,第一信息还包括第二指示信息,该第二指示信息包括指示在第二操作无法完成时,如不满足第二条件,或在满足第二条件的情况下第二操作仍然无法完成时,是否允许对第一内容进行操作;在进行第二操作时,若操作无法完成,则可以进一步根据第二指示信息判断是否允许进行第一操作,并在确定允许进行第一操作时,进行第一操作。Further, in one embodiment, the first information further includes second indication information, and the second indication information includes indication that when the second operation cannot be completed, if the second condition is not met, or if the second condition is met, the second operation When the second operation still cannot be completed, whether to allow the operation on the first content; when performing the second operation, if the operation cannot be completed, it can further judge whether to allow the first operation according to the second instruction information, and determine whether to allow the second operation In one operation, perform the first operation.
例如,第二指示信息可以通过在ODRL中的<sequence>元素下定义新的属性来实现,该新的属性用于指示当不满足能够进行操作列表中某个操作的条件,使该操作不能够进行时,是否可以跳过该操作执行后续操作,具体描述如下:For example, the second indication information can be implemented by defining a new attribute under the <sequence> element in ODRL, and the new attribute is used to indicate that when the conditions for an operation in the operation list are not met, the operation cannot be performed. When in progress, whether this operation can be skipped to perform subsequent operations, the specific description is as follows:
<xsd:complexType name=”sequenceType”><xsd:complexType name="sequenceType">
<xsd:sequence><xsd:sequence>
<xsd:element ref=”o-ex:seq-item”maxOccurs=”unbounded”/><xsd:element ref="o-ex:seq-item" maxOccurs="unbounded"/>
</xsd:sequence></xsd:sequence>
<xsd:attribute name=”order”default=”total”><xsd:attribute name="order" default="total">
……...
</xsd:attribute></xsd:attribute>
<xsd:attribute name=”skip”default=”no”>//是否允许跳过该操作,默认为不能跳过<xsd:attribute name="skip" default="no">//Whether this operation is allowed to be skipped, the default is that it cannot be skipped
<xsd:simpleType><xsd:simpleType>
<xsd:restriction base=”xsd:NMTOKEN”><xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value=”yes”/><xsd:enumeration value="yes"/>
<xsd:enumeration value=”no”/><xsd:enumeration value="no"/>
</xsd:restriction></xsd:restriction>
</xsd:simpleType></xsd:simpleType>
</xsd:attribute></xsd:attribute>
</xsd:complexType></xsd:complexType>
其中,当“skip”属性取值为“yes”时,表示如果对于序列中的某个操作而言,不满足能够进行该操作的条件而使该操作不能成功进行时,可以允许跳过该操作继续执行下面的操作;当取值为“no”时,表示该操作无法跳过,整个操作序列必须终止。如果不包含该属性,则默认为不能跳过该操作。Among them, when the value of the "skip" attribute is "yes", it means that if the conditions for the operation in the sequence are not satisfied and the operation cannot be performed successfully, the operation can be skipped Continue to perform the following operations; when the value is "no", it means that the operation cannot be skipped, and the entire operation sequence must be terminated. If this attribute is not included, the default is that the operation cannot be skipped.
一个实施例中,引入第二条件和第二指示信息后,数字内容的处理流程如图4所示,包括:In one embodiment, after introducing the second condition and the second indication information, the processing flow of the digital content is shown in Figure 4, including:
步骤401、获取第一内容、第二内容、第一信息,并根据第一信息确定满足第一条件;其中,第一信息包括第一指示信息和第一条件,第一指示信息指示在对第一内容进行操作前需要对第二内容进行操作,第一条件为需要对第二内容进行操作的条件。例如,检查到许可证中对第一内容的操作和对第二内容的操作被包含在<sequence>元素下,对第二内容的操作位于对第一内容的操作之前,并且当前满足第一条件。Step 401, acquire the first content, the second content, and the first information, and determine according to the first information that the first condition is satisfied; wherein, the first information includes the first indication information and the first condition, and the first indication information indicates that the The second content needs to be operated before the first content can be operated, and the first condition is the condition that the second content needs to be operated. For example, check that the operation on the first content and the operation on the second content in the license are included under the <sequence> element, the operation on the second content is located before the operation on the first content, and the first condition is currently satisfied .
步骤402、进一步判断是否满足第二条件,其中,第二条件被包含在第一信息中,为能够对第二内容进行操作的条件;若满足第二条件,执行步骤403;否则执行步骤405。Step 402 , further judging whether the second condition is met, wherein the second condition is included in the first information, and is a condition for being able to operate on the second content; if the second condition is met, perform step 403 ; otherwise, perform step 405 .
步骤403、对第二内容进行操作。Step 403, perform an operation on the second content.
步骤404、对第一内容进行操作。Step 404, perform an operation on the first content.
步骤405、进一步根据第二指示信息判断是否允许对第一内容进行操作,其中,第二指示信息被包含在第一信息中,指示在不满足第二条件时是否允许对第一内容进行操作,例如检查<sequence>中的<skip>属性值;若允许对第一内容进行操作,则执行步骤404;否则执行步骤406。Step 405, further judging whether to allow operation on the first content according to the second indication information, wherein the second indication information is included in the first information, indicating whether to allow operation on the first content when the second condition is not satisfied, For example, check the attribute value of <skip> in <sequence>; if the first content is allowed to be operated, go to step 404; otherwise go to step 406.
步骤406、拒绝对第一内容进行操作。Step 406, refuse to operate on the first content.
一个实施例中,引入第二条件和第二指示信息后,数字内容的处理流程如图5所示:In one embodiment, after introducing the second condition and the second indication information, the processing flow of the digital content is as shown in Figure 5:
步骤501、获取第一内容、第二内容、第一信息;其中,第一信息包括第一指示信息、第一条件、第二条件,第一指示信息指示在对第一内容进行操作前需要对第二内容进行操作,第一条件为需要对第二内容进行操作的条件,第二条件为能够对第二内容进行操作的条件。Step 501. Obtain first content, second content, and first information; wherein, the first information includes first instruction information, first conditions, and second conditions, and the first instruction information indicates that it is necessary to perform operations on the first content. The second content is operated, the first condition is the condition that the second content needs to be operated, and the second condition is the condition that the second content can be operated.
步骤502、根据第一信息判断是否满足第一条件,若满足,则执行步骤503,若不满足,则执行步骤507。Step 502 , judging whether the first condition is met according to the first information, if yes, execute step 503 , if not, execute step 507 .
步骤503、根据第二条件确定能够对第二内容进行操作时,对第二内容进行操作。Step 503: When it is determined according to the second condition that the second content can be operated, perform the operation on the second content.
步骤504、判断对第二内容进行的操作是否已完成,如果是,则执行步骤507,否则执行步骤505。Step 504 , judging whether the operation on the second content has been completed, if yes, go to step 507 , otherwise go to step 505 .
步骤505、根据第二指示信息判断是否允许对第一内容进行操作,即是否可以跳过对第二内容进行的操作,其中,第二指示信息被包含在第一信息中,指示在在满足第二条件的情况下对第二内容进行的操作仍然无法完成时是否允许对第一内容进行操作;如果不允许,执行步骤506;如果允许,执行步骤507。Step 505: Determine whether the operation on the first content is allowed according to the second indication information, that is, whether the operation on the second content can be skipped, wherein the second indication information is included in the first information, In the case of the second condition, whether to allow the operation on the first content when the operation on the second content still cannot be completed; if not allowed, go to step 506; if allowed, go to step 507.
步骤506、拒绝对第一内容进行操作,结束流程。Step 506, refuse to operate on the first content, and end the process.
步骤507、对第一内容进行操作,结束流程。Step 507, operate on the first content, and end the process.
上述实施例中,在满足第一条件时,在对数字内容进行第一操作前先进行第二操作,在第二操作无法完成时,可以根据第二指示信息的指示,在允许时进行第一操作,即将第二指示信息和第一条件结合使用,而在另外的实施例中,第二指示信息可以单独使用,此时不设置第一条件,即根据第一指示信息的指示,就可以在进行第一操作前先进行第二操作。In the above embodiment, when the first condition is met, the second operation is performed before the first operation on the digital content, and when the second operation cannot be completed, the first operation can be performed when permitted according to the second indication information. The operation is to use the second indication information in combination with the first condition. In another embodiment, the second indication information can be used alone. At this time, the first condition is not set, that is, according to the indication of the first indication information, it can be used in Perform the second operation before the first operation.
一个实施例中,根据第二指示信息处理数字内容的流程如图6所示,包括:In one embodiment, the process of processing digital content according to the second instruction information is shown in Figure 6, including:
步骤601、获取数字内容。Step 601, acquire digital content.
步骤602、获取第二信息,该第二信息包括第一指示信息和第二指示信息,其中,第一指示信息包括指示在对数字内容进行第一操作前需要进行第二操作,第二指示信息包括指示在第二操作无法完成时是否允许进行第一操作。Step 602: Acquire second information, the second information includes first indication information and second indication information, wherein the first indication information includes indicating that the second operation needs to be performed before performing the first operation on the digital content, and the second indication information Include indicates whether to allow the first operation if the second operation cannot be completed.
步骤603、执行第一指示信息的指示,在对数字内容进行第一操作前先进行第二操作。Step 603: Execute the instruction of the first instruction information, and perform the second operation before performing the first operation on the digital content.
步骤604、判断第二操作是否已完成,如果是,则执行步骤606,否则执行步骤605。Step 604 , judging whether the second operation has been completed, if yes, go to step 606 , otherwise go to step 605 .
步骤605、根据第二指示信息判断是否允许进行第一操作,若允许,执行步骤606,否则执行步骤607。Step 605 , judging whether the first operation is allowed according to the second indication information, if allowed, go to step 606 , otherwise go to step 607 .
步骤606、进行第一操作。Step 606, perform the first operation.
步骤607、拒绝进行第一操作。Step 607, refuse to perform the first operation.
一个实施例中,在步骤601获取到的数字内容可以包括第一内容和第二内容,后续在处理时,对数字内容进行第一操作可以包括对第一内容进行操作,对数字内容进行第二操作可以包括对第二内容进行操作。此时,第一指示信息还可以指示第一内容为用户想要操作的数字内容,第二内容为广告。在获取所述第二内容之前,可以先获取第二内容的地址信息,根据该地址信息获取第二内容。第二信息可以携带于第一内容和第二内容对应的许可中。对第二内容进行的操作包括播放、显示、更新其中之一或任意组合。In one embodiment, the digital content obtained in step 601 may include first content and second content, and during subsequent processing, performing the first operation on the digital content may include performing an operation on the first content, and performing a second operation on the digital content. Operating may include operating on the second content. At this time, the first indication information may also indicate that the first content is digital content that the user wants to operate, and the second content is an advertisement. Before obtaining the second content, the address information of the second content may be obtained first, and the second content may be obtained according to the address information. The second information may be carried in licenses corresponding to the first content and the second content. The operations performed on the second content include one of playing, displaying and updating or any combination thereof.
本发明另一实施例中,可以禁止对某些数字内容进行某些操作,此时对数字内容的处理流程如图7所示,包括:In another embodiment of the present invention, it is possible to prohibit certain operations on certain digital content. At this time, the processing flow of digital content is shown in Figure 7, including:
步骤701、获取数字内容。Step 701, acquire digital content.
步骤702、获取第三信息,该第三信息包括禁止对数字内容进行的操作的信息。例如当数字内容为广告时,限制用户对广告的拖动、快进等操作,从而使广告内容可以被完整地播放。Step 702. Acquire third information, where the third information includes information prohibiting operations on digital content. For example, when the digital content is an advertisement, operations such as dragging and fast forwarding of the advertisement by the user are restricted, so that the advertisement content can be played completely.
步骤703、根据第三信息确定对数字内容待进行的操作是否为被禁止的操作。Step 703. Determine whether the operation to be performed on the digital content is a prohibited operation according to the third information.
步骤704、在确定对数字内容待进行的操作为未被禁止的操作时,对数字内容进行该操作。Step 704, when it is determined that the operation to be performed on the digital content is not prohibited, perform the operation on the digital content.
第三信息可以携带于数字内容对应的许可中,例如,可以在许可定义哪些操作是被禁止的,这些操作可以是一个大的操作下的一些子操作,例如目前大多数许可描述语言都支持“play”权利,表示设备可以进行“播放”操作(例如播放电影,播放音乐等),而快进、快退等属于播放的一些子操作,为了限制这些子操作,可以在播放权利下添加一个被禁止的子操作列表,当用户需要进行某些操作时,需要先检查待进行的操作是否在该列表内,如果在,则拒绝用户的这些操作。以ODRL为例,对许可描述语言的修改如下:The third information can be carried in the license corresponding to the digital content. For example, it can define which operations are prohibited in the license. These operations can be some sub-operations under a large operation. For example, most license description languages currently support " "play" right, which means that the device can perform "play" operations (such as playing movies, playing music, etc.), and fast forward, rewind, etc. are some sub-operations of playback. Prohibited sub-operation list, when the user needs to perform certain operations, it is necessary to check whether the operation to be performed is in the list, and if so, reject the user's operations. Taking ODRL as an example, the modifications to the license description language are as follows:
<!ELEMENT o-dd:play(o-ex:constraint?,o-ex:requirement?,xxx:forbidden?)><! ELEMENT o-dd:play(o-ex:constraint?, o-ex:requirement?, xxx:forbidden?)>
<!ELEMENT xxx:forbidden(xxx:fastForward?xxx:fastRewind?xxx:stop?xxx:previous?xxx:next?xxx:randomPlay?)>//禁止的子操作列表<! ELEMENT xxx:forbidden(xxx:fastForward?xxx:fastRewind?xxx:stop?xxx:previous?xxx:next?xxx:randomPlay?)>//Forbidden sub-operation list
其中,<forbidden>元素中定义了被禁止的操作,包括快进(fastForward)、快退(fastRewind)、停止(stop)、跳到上一个片断(previous,即事先定义了多个片断的次序,跳到上一个片断开始播放)、跳到下一个片断(next,跳到下一个片断开始播放)、自由定位(randomPlay,即拖动或点击进度条使得跳到指定的位置播放)。当然,被禁止的操作可以包括上述操作的其中之一或任意组合。Among them, the prohibited operations are defined in the <forbidden> element, including fast forward (fastForward), fast rewind (fastRewind), stop (stop), jump to the previous fragment (previous, that is, the order of multiple fragments is defined in advance, Skip to the previous segment to start playing), skip to the next segment (next, jump to the next segment to start playing), free positioning (randomPlay, that is, drag or click the progress bar to jump to the specified position to play). Of course, the prohibited operations may include one or any combination of the above operations.
一个实施例中,对数字内容的处理流程如图8所示,包括:In one embodiment, the processing flow of digital content is shown in Figure 8, including:
步骤801、指定对数字内容进行某种操作,例如数字内容为电影,指定进行如下操作:打开该电影,按快进按钮。Step 801, designate a certain operation on the digital content, for example, the digital content is a movie, designate the following operations: open the movie, press the fast forward button.
步骤802、检测数字内容对应的许可中的所有权利。Step 802: Detect all rights in the license corresponding to the digital content.
步骤803、判断该指定的操作是否有对应的权利,例如对应快进,其权利为“play”,如果不包含对应权利,则执行步骤804;如果包含,执行步骤805。Step 803. Determine whether the specified operation has a corresponding right, for example, corresponding to fast forward, and its right is "play". If the corresponding right is not included, go to step 804; if yes, go to step 805.
步骤804、拒绝该指定的操作。Step 804, deny the specified operation.
步骤805、检测该权利下对应的禁止操作列表,当然,如果该权利下不包含禁止操作列表,则执行步骤807。Step 805: Detect the prohibited operation list corresponding to the right, of course, if the right does not contain a forbidden operation list, then execute step 807.
步骤806、检测该指定的操作是否在禁止操作列表中,例如检测快进是否在禁止操作列表中,如果是,执行步骤804;否则执行步骤807。Step 806 , check whether the specified operation is in the forbidden operation list, for example, check whether the fast forward is in the forbidden operation list, if yes, go to step 804 ; otherwise, go to step 807 .
步骤807、进行该指定的操作。Step 807, perform the specified operation.
图3所示流程中,当获取的数字内容包括第一内容和第二内容时,也可以应用上述禁止对内容进行某些操作的方法,例如,禁止对第二内容进行某些操作,其中,禁止的操作可以包括快进、快退、停止、跳到上一个片断、跳到下一个片断、自由定位其中之一或任意组合。此时,第一信息还包括禁止对第二内容进行的操作的信息;在确定满足第一条件后,进一步根据第一信息判断对第二内容待进行的操作是否为被禁止的操作,在确定为未被禁止的操作时,在对第一内容进行操作前先对第二内容进行该操作。In the process shown in Figure 3, when the obtained digital content includes the first content and the second content, the above-mentioned method of prohibiting certain operations on the content can also be applied, for example, prohibiting certain operations on the second content, wherein, Prohibited operations may include fast forward, rewind, stop, skip to previous segment, skip to next segment, free positioning one of them or any combination. At this time, the first information also includes information prohibiting operations on the second content; after it is determined that the first condition is satisfied, it is further judged according to the first information whether the operation to be performed on the second content is a prohibited operation, and after determining When the operation is not prohibited, perform the operation on the second content before performing the operation on the first content.
本发明实施例中,一个处理数字内容的具体实例如图9所示,其中,第一内容为电影,第二内容为广告:In the embodiment of the present invention, a specific example of processing digital content is shown in Figure 9, wherein the first content is a movie, and the second content is an advertisement:
步骤901、用户通过终端设备登录内容供应商/许可供应商的网站,找到自己喜爱的电影并购买该电影,其中,网页上可以提示用户是否选择携带有广告的电影版本,例如,提示用户可以选择的电影版本有:(1)不带广告的电影,10元(2)带广告的电影,第一次播放电影时需要播放广告,3元(2)带广告的电影,每次播放电影时都需要播放广告,1元。Step 901, the user logs in to the website of the content provider/license provider through the terminal device, finds his favorite movie and purchases the movie, wherein the webpage may prompt the user whether to choose a movie version that carries an advertisement, for example, prompting the user to choose The movie versions are: (1) movie without advertisement, 10 yuan (2) movie with advertisement, the advertisement needs to be played when the movie is played for the first time, 3 yuan (2) movie with advertisement, every time the movie is played Advertisements need to be played, 1 yuan.
步骤902、用户选择下载携带有广告的电影,该电影在第一次播放时需要播放广告,用户通过终端设备下载数字内容和对应的许可,该数字内容中包含了电影和广告。Step 902. The user chooses to download a movie with advertisements. The movie needs to play advertisements when it is played for the first time. The user downloads digital content and corresponding licenses through the terminal device. The digital content includes movies and advertisements.
步骤903、用户想要观看电影,终端设备检查对应的许可证,发现必须首先播放广告,则终端设备首先播放广告。Step 903, when the user wants to watch a movie, the terminal device checks the corresponding license and finds that the advertisement must be played first, then the terminal device first plays the advertisement.
步骤904、播放完广告后,终端设备开始播放电影。用户以后想要重新观看该电影时,不需要再看广告。Step 904, after the advertisement is played, the terminal device starts to play the movie. When the user wants to watch the movie again in the future, they don't need to see the ad again.
上述实施例中,第一信息、第二信息和第三信息携带于数字内容对应的许可中,另一实施例中,第一信息、第二信息和第三信息可以携带于数字内容中,例如,携带于对应的DCF头信息中。In the above embodiments, the first information, the second information and the third information are carried in the license corresponding to the digital content. In another embodiment, the first information, the second information and the third information may be carried in the digital content, for example , carried in the corresponding DCF header information.
一个具体实例中,在DCF中包含一个信息DRMADHeader,该信息可以指示对应的内容是一个广告,并且可以包含一些相关的参数,即第一信息、第二信息或第三信息:In a specific example, an information DRMADHeader is included in the DCF, which can indicate that the corresponding content is an advertisement, and can include some related parameters, namely the first information, the second information or the third information:
aligned(8)class DRMADHeader extends FullBox(‘adhr’,version,0){aligned(8) class DRMADHeader extends FullBox('adhr', version, 0) {
bit(1)datetimeflag;bit(1) datetimeflag;
bit(1)countflag;bit(1)countflag;
bit(1)adurlflag;bit(1)adurlflag;
bit(1)forbiddenflag;bit(1)forbiddenflag;
bit(4)reserved;bit(4)reserved;
if(datetimeflag){if(datetimeflag){
bit(40)start;bit(40)start;
bit(40)end;bit(40)end;
}}
if(countflag){if(countflag){
unsigned int(8)count;unsigned int(8) count;
}}
if(adurlflag){if(adurlflag){
unsigned int(8)adurllength;unsigned int(8)adurllength;
char adurl[];char adurl[];
}}
if(forbiddenflag){if(forbiddenflag){
unsigned int(8)number;unsigned int(8)number;
tor (i=0;i<number;i++){ tor (i=0; i<number; i++){
unsigned int(8)forbiddenOperation;unsigned int(8) forbiddenOperation;
}}
}}
}}
DRMADHeader可以包含在DCF头信息中,该头指示对应的内容可以是一个广告。如果设备检测到DCF包含该头信息,则设备在消费该DCF中的数字内容时需要首先播放广告。The DRMADHeader can be included in the DCF header information, and the header indicates that the corresponding content can be an advertisement. If the device detects that the DCF contains the header information, the device needs to play the advertisement first when consuming the digital content in the DCF.
其中,DRMADHeader中的adurl参数指示获取广告的地址,操作时首先向该地址发送一个HTTP GET请求,该请求对应的响应消息可以是一个(X)HTML页面(例如商家的主页或产品介绍网页),或者是一个SDP(SessionDescription Protocol,会话描述协议)(例如该SDP中包含一个在线广告的地址,设备链接到该地址收看在线广告),或者是一个广告内容(例如一段广告视频,设备收到后需要首先播放该广告),或者是一个广告下载的描述信息(例如下载描述(Download Descriptor,DD),设备根据该DD下载实际的广告并播放等。当然,adurl下也可以定义在何时需要发送HTTP GET请求,例如定义下次获取的时间、按时间的周期性获取、按次数的周期性获取等。Wherein, the adurl parameter in the DRMADHeader indicates the address for obtaining the advertisement, and an HTTP GET request is first sent to the address during operation, and the response message corresponding to the request can be an (X)HTML page (such as a merchant's homepage or a product introduction webpage), Either an SDP (SessionDescription Protocol, Session Description Protocol) (for example, the SDP contains an online advertisement address, and the device links to this address to watch online advertisements), or an advertisement content (for example, an advertisement video, which the device needs to Play the advertisement first), or the description information of an advertisement download (such as download description (Download Descriptor, DD), the device downloads the actual advertisement according to the DD and plays it, etc. Of course, adurl can also define when it needs to send HTTP GET request, such as defining the time of next acquisition, periodic acquisition by time, periodic acquisition by number of times, etc.
该DRMADHeader中也可以包含一些参数用来描述在何种条件下需要播放广告。如果datetimeflag为真,则表示在规定的时间段内,如果要消费其他数字内容,必须播放广告。其中,start参数用来表示时间段的起始时间,end参数用来表示时间段的终止时间,这两个参数可以用40比特的mjd(ModifiedJulian Day,简化儒略日)+utc(Universal Time Coordinated,协调世界时)表示法来表示。如果countflag为真,则表示在最初几次消费其他数字内容时需要播放广告,其中,count参数用来表示次数。The DRMADHeader may also contain some parameters to describe the conditions under which the advertisement needs to be played. If datetimeflag is true, it means that during the specified time period, if other digital content is to be consumed, an advertisement must be played. Among them, the start parameter is used to indicate the start time of the time period, and the end parameter is used to indicate the end time of the time period. These two parameters can use 40 bits of mjd (Modified Julian Day, simplified Julian day) + utc (Universal Time Coordinated , Coordinated Universal Time) notation. If countflag is true, it means that advertisements need to be played when other digital content is consumed for the first few times, where the count parameter is used to indicate the number of times.
在DRMADHeader中还可以包含其他的条件,这类似于许可中的<constraint>元素,包括:时间长度、周期时间、周期次数、系统限制等。Other conditions can also be included in the DRMADHeader, which is similar to the <constraint> element in the license, including: time length, cycle time, cycle times, system restrictions, etc.
DRMADHeader中的forbiddenflag指示是否有禁止的操作列表,如果该参数为真,则forbiddenOperation用来定义被禁止的操作。Forbiddenflag in DRMADHeader indicates whether there is a forbidden operation list. If this parameter is true, forbiddenOperation is used to define the forbidden operation.
一个实施例中,对DCF中的媒体内容进行消费的处理流程如图10所示,包括:In one embodiment, the processing flow for consuming media content in the DCF is shown in Figure 10, including:
步骤1001、用户操作设备消费DCF中的媒体内容,例如播放电影。Step 1001, the user operates the device to consume media content in the DCF, such as playing a movie.
步骤1002、设备检测DCF,判断是否包含有信息,指示DCF中含有广告内容,例如检测是否包含DRMADHeader,如果包含广告,执行步骤1003;如果不包含,执行步骤1007。Step 1002, the device detects the DCF, determines whether it contains information, and indicates that the DCF contains advertisement content, for example, detects whether DRMADHeader is included, and if it contains advertisements, execute step 1003; if not, execute step 1007.
步骤1003、设备检测DCF中的相关信息,判断是否需要对广告进行操作,例如如果DRMADHeader中的datetimeflag指示为真,则设备检测当前时间是否在规定的时间段内,如果在,则需要对广告进行操作。如果需要对广告进行操作,则执行步骤1004;如果不需要对广告进行操作,则执行步骤1007。Step 1003, the device detects relevant information in the DCF, and judges whether the advertisement needs to be operated. For example, if the datetimeflag indication in the DRMADHeader is true, the device detects whether the current time is within the specified time period. If yes, the advertisement needs to be operated. operate. If the advertisement needs to be operated, execute step 1004; if the advertisement does not need to be operated, execute step 1007.
步骤1004、设备对广告进行操作。Step 1004, the device operates on the advertisement.
步骤1005、判断对广告的操作是否成功,例如如果在DRMADHeader中包含有adurl,则设备需要向该地址获取广告内容,如果获取失败,则判断对广告的操作失败。如果对广告的操作失败,执行步骤1006;如果操作成功,执行步骤1007。Step 1005, determine whether the operation on the advertisement is successful, for example, if the DRMADHeader contains adurl, the device needs to obtain the advertisement content from this address, and if the acquisition fails, determine that the operation on the advertisement has failed. If the operation on the advertisement fails, execute step 1006; if the operation succeeds, execute step 1007.
步骤1006、设备拒绝用户对媒体内容的操作,结束流程。Step 1006, the device rejects the user's operation on the media content, and ends the process.
步骤1007、设备执行对媒体内容的操作。Step 1007, the device executes operations on the media content.
基于同一发明构思,本发明实施例中还提供一种通信设备,该通信设备的结构如图11a所示,包括第一获取模块1101、第二获取模块1102、第一确定单元1103、第一操作模块1104;第一获取模块1101,用于获取数字内容;第二获取模块1102,用于获取第一信息,该第一信息包括第一指示信息和第一条件,其中,第一指示信息包括指示在对数字内容进行第一操作前需要进行第二操作,第一条件为需要进行第二操作的条件;第一确定模块1103,用于确定是否满足第一条件;第一操作模块1104,用于在满足第一条件时,执行第一指示信息的指示;在不满足第一条件时,直接进行第一操作。Based on the same inventive concept, an embodiment of the present invention also provides a communication device. The structure of the communication device is shown in FIG. Module 1104; a first acquiring module 1101, configured to acquire digital content; a second acquiring module 1102, configured to acquire first information, where the first information includes first indication information and a first condition, wherein the first indication information includes indication The second operation needs to be performed before the first operation on the digital content, and the first condition is the condition that the second operation needs to be performed; the first determination module 1103 is used to determine whether the first condition is satisfied; the first operation module 1104 is used to When the first condition is met, the indication of the first indication information is executed; when the first condition is not met, the first operation is directly performed.
参阅图11b所示,图11a所示的通信设备还可以包括第二确定模块1105,用于在第二操作无法完成时,进一步根据第二指示信息确定是否允许进行第一操作,其中,第二指示信息被包括在第一信息中,包括指示在第二操作无法完成时是否允许进行第一操作;此时,第一操作模块1104进一步用于在确定允许进行第一操作时,进行第一操作。Referring to FIG. 11b, the communication device shown in FIG. 11a may further include a second determining module 1105, configured to further determine whether to allow the first operation according to the second indication information when the second operation cannot be completed, wherein the second Instruction information is included in the first information, including indicating whether to allow the first operation when the second operation cannot be completed; at this time, the first operation module 1104 is further configured to perform the first operation when it is determined that the first operation is allowed .
参阅图11c所示,图11a所示的通信设备中,第一获取模块1101可以包括第一获取单元1106和第二获取单元1107;第一获取单元1106,用于获取第一内容;第二获取单元1107,用于获取第二内容;此时,第一操作模块1104可以包括第一操作单元1108和第二操作单元1109;第一操作单元1108,用于在满足第一条件时,对第一内容进行操作前先对第二内容进行操作;第二操作单元1109,用于在不满足第一条件时,直接对第二内容进行操作。Referring to Figure 11c, in the communication device shown in Figure 11a, the first acquisition module 1101 may include a first acquisition unit 1106 and a second acquisition unit 1107; the first acquisition unit 1106 is used to acquire the first content; The unit 1107 is used to obtain the second content; at this time, the first operation module 1104 may include a first operation unit 1108 and a second operation unit 1109; the first operation unit 1108 is used to perform the first operation when the first condition is met Operate the second content before operating the content; the second operation unit 1109 is configured to directly operate the second content when the first condition is not satisfied.
参阅图11d所示,图11c所示的通信设备还可以包括第三确定模块1110,用于在确定满足第一条件后,进一步根据第一信息确定对第二内容待进行的操作为未被禁止的操作,其中,第一信息还包括禁止对第二内容进行的操作的信息。Referring to FIG. 11d, the communication device shown in FIG. 11c may further include a third determination module 1110, configured to further determine, according to the first information, that the operation to be performed on the second content is not prohibited after determining that the first condition is met. operations, wherein the first information further includes information prohibiting operations on the second content.
基于同一发明构思,本发明实施例中还提供一种通信设备,该通信设备的结构如图12所示,包括第一获取模块1101、第三获取模块1201、第二操作模块1202、第二确定模块1203;第一获取模块1101,用于获取数字内容;第三获取模块1201,用于获取第二信息,该第二信息包括第一指示信息和第二指示信息,其中,第一指示信息包括指示在数字内容进行第一操作前需要进行第二操作,第二指示信息包括指示在第二操作无法完成时是否允许进行第一操作;第二操作模块1202,用于执行第一指示信息的指示;以及,用于在确定允许进行第一操作时,进行第一操作;第二确定模块1203,用于在第二操作无法完成时,进一步根据第二指示信息确定是否允许进行第一操作。Based on the same inventive concept, an embodiment of the present invention also provides a communication device, the structure of which is shown in Figure 12, including a first acquisition module 1101, a third acquisition module 1201, a second operation module 1202, Module 1203; a first obtaining module 1101, configured to obtain digital content; a third obtaining module 1201, configured to obtain second information, where the second information includes first indication information and second indication information, wherein the first indication information includes Indicate that the second operation needs to be performed before the first operation on the digital content, and the second indication information includes indicating whether to allow the first operation when the second operation cannot be completed; the second operation module 1202 is used to execute the indication of the first indication information and, for performing the first operation when it is determined that the first operation is allowed; the second determining module 1203 is for further determining whether to allow the first operation according to the second indication information when the second operation cannot be completed.
基于同一发明构思,本发明实施例中还提供一种通信设备,该通信设备的结构如图13所示,包括第一获取模块1101、第四获取模块1301、第四确定模块1302、第三操作模块1303;其中,第一获取模块1101,用于获取数字内容;第四获取模块1301,用于获取第三信息,该第三信息包括禁止对数字内容进行的操作的信息;第四确定模块1302,用于根据第三信息确定对数字内容待进行的操作是否为被禁止的操作;第三操作模块1303,用于在确定对数字内容待进行的操作为未被禁止的操作时,对数字内容进行该操作。Based on the same inventive concept, an embodiment of the present invention also provides a communication device. The structure of the communication device is shown in FIG. Module 1303; wherein, the first obtaining module 1101 is used to obtain digital content; the fourth obtaining module 1301 is used to obtain third information, and the third information includes information prohibiting operations on digital content; the fourth determination module 1302 , used to determine whether the operation to be performed on the digital content is a prohibited operation according to the third information; the third operation module 1303 is used to determine whether the operation to be performed on the digital content is an operation that is not prohibited. Do this.
本领域普通技术人员可以理解上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: ROM, RAM, Disk or CD, etc.
本发明实施例中,满足第一条件时,在对数字内容进行第一操作前先进行第二操作,不满足第一条件时,可以直接对数字内容进行第一操作;在第二操作无法完成时,可以根据第二指示信息的指示,在允许进行第一操作时,进行第一操作;因此,并不要求在对数字内容进行第一操作之前必须进行第二操作,提高了对数字内容进行处理时的灵活性,例如,广告商可以灵活的定义在何种情况下需要播放广告,以及在广告无法播放完成时可以允许用户跳过,从而支持多种广告发布的商业模式;另一方面,在对数字内容进行操作前,先根据第三信息判断对数字内容待进行的操作是否为被禁止的操作,在确定该操作为未被禁止的操作时,对数字内容进行该操作,由此引入了对数字内容进行操作的限制条件,例如,广告商可以限制用户对广告内容的处理方式,从而保证投放广告的商家的利益;综上所述,利用本发明实施例方法可以实现对数字内容的处理方式进行控制。In the embodiment of the present invention, when the first condition is met, the second operation is performed on the digital content before the first operation; when the first condition is not met, the first operation can be directly performed on the digital content; when the second operation cannot be completed , the first operation can be performed when the first operation is allowed according to the indication of the second indication information; therefore, it is not required to perform the second operation before performing the first operation on the digital content, which improves the digital content. Flexibility in processing, for example, advertisers can flexibly define when an advertisement needs to be played, and allow users to skip the advertisement when the advertisement cannot be played, thus supporting a variety of business models for advertising; on the other hand, Before operating the digital content, judge whether the operation to be performed on the digital content is a prohibited operation according to the third information, and when it is determined that the operation is not prohibited, perform the operation on the digital content, thereby introducing Restrictions on the operation of digital content, for example, advertisers can limit the user's processing of advertising content, thereby ensuring the interests of merchants who place advertisements; in summary, using the method of the embodiment of the present invention can realize the The processing method is controlled.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若对本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710123343.7A CN101329713B (en) | 2007-06-20 | 2007-06-20 | Method and apparatus for processing digital content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710123343.7A CN101329713B (en) | 2007-06-20 | 2007-06-20 | Method and apparatus for processing digital content |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101329713A CN101329713A (en) | 2008-12-24 |
CN101329713B true CN101329713B (en) | 2015-07-08 |
Family
ID=40205517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710123343.7A Active CN101329713B (en) | 2007-06-20 | 2007-06-20 | Method and apparatus for processing digital content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101329713B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116418474A (en) * | 2021-12-31 | 2023-07-11 | 维沃移动通信有限公司 | Communication method, device, communication device and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1858762A (en) * | 2005-12-07 | 2006-11-08 | 华为技术有限公司 | Digital copyright managing method |
CN1878111A (en) * | 2006-07-17 | 2006-12-13 | 华为技术有限公司 | Content playing system, client and content playing method |
-
2007
- 2007-06-20 CN CN200710123343.7A patent/CN101329713B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1858762A (en) * | 2005-12-07 | 2006-11-08 | 华为技术有限公司 | Digital copyright managing method |
CN1878111A (en) * | 2006-07-17 | 2006-12-13 | 华为技术有限公司 | Content playing system, client and content playing method |
Also Published As
Publication number | Publication date |
---|---|
CN101329713A (en) | 2008-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4861331B2 (en) | Content right management apparatus and content right management method | |
US9124650B2 (en) | Digital rights management in a mobile environment | |
US8671452B2 (en) | Apparatus and method for moving rights object from one device to another device via server | |
US8112361B2 (en) | Method and system for dynamic, real-time addition of advertisement to downloaded static content | |
KR100930303B1 (en) | Digital Media Content Protection System and Method | |
US20060036488A1 (en) | Method and system for dynamic, real-time addition of advertisements to downloaded static content | |
US20080320533A1 (en) | Content Download System and Method, Content Providing Apparatus and Method, Content Receiving Apparatus and Method, and Program Therefor | |
CA2777102A1 (en) | Digital rights management in a mobile environment | |
EP2091254A1 (en) | Apparatus and methods for content protection and distribution using alternate contents to provide access to protected primary content | |
US20070143219A1 (en) | Method for delivering content and content server which delivers content | |
KR20110058880A (en) | How users can keep their preferred media files permanently | |
JP5712283B2 (en) | Apparatus and method for forcibly watching advertisements | |
CN101329713B (en) | Method and apparatus for processing digital content | |
JP2006129095A (en) | Content distribution system | |
CN103069448B (en) | Apparatus and method for forcing to watch advertisement | |
US9158899B2 (en) | Terminal apparatus with DRM decoding function and DRM decoding method in terminal apparatus | |
KR101742217B1 (en) | Digital contents providing system for preventing illegal dissemination and illegal copy, method thereof | |
JP2005235170A (en) | Order type multimedia content providing system and its method | |
US20250094542A1 (en) | Media Management and Distribution Systems and Methods | |
EP2728825B1 (en) | Terminal apparatus with DRM decoding function and DRM decoding method in terminal apparatus | |
KR20080082021A (en) | Ebook | |
JP2007011633A (en) | Data reproduction program, program for creating the same, and information recording medium | |
JP2005141727A (en) | Content distribution method and content server | |
KR20100010262A (en) | A method, system for preventing from illegal copy and computer-readable media storing program for realizing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |