A kind of digital copyright management method and device
Technical field
The present invention relates to digital copyright management, relate to specifically in the digital copyright management media object control method and the device of service time.
Background technology
Digital copyright management DRM (Digital Right Management) is protection digital content a kind of method of avoiding using without permission, for the content provider protects their privately owned music or other data are avoided bootlegging and use provides a kind of means.Be subjected to the media content of DRM protection to be placed in the subscriber terminal equipment protected region of memory, could visit protected content through the drm agent proxy module.And media content is an encrypting storing, and password is deposited separately and used other softwares can not get, must interim decryption content during legal use.
In the prior art DRM system construction drawing as shown in Figure 1, DRM mainly is made up of 3 big functional entitys: content publisher CI (Content Issuer), copyright publisher RI (Right Issuer) and drm agent proxy module are the device (DRM agent) of terminal processes DRM relevant issues.
In this DRM system: CI is responsible for the distribution of content, to upload to network after the numerical information encryption, RI is responsible for the distribution of right objects RO, DRM agent resides on the terminal device as the executor of local DRM operating strategy, the user downloads to the numerical information of encrypting among the DRM Agent on the terminal, the user comprises the key of data decryption if the numerical information that use is downloaded will be asked the RO of this numerical information product by network to RI again among the RO.If the product of disposable paying, after DRM Agent utilized this secret key decryption numerical information, the user just can use; If desired user's operating right is controlled, also should be comprised the authorization administration information of this numerical information among the RO, DRM Agent is according to the concrete use of these restrictive condition leading subscribers to numerical information.
The DRM system prevents that the method that content is free to use from being when authorized user uses; define use-pattern to content; and to limiting service time or number of times; drm agent proxy module software must strictness be followed these ways to restrain and condition is managed protected content; its core concept is that media object MO (Media Object) separates with right objects RO (Right Object); MO is meant and adds overstocked digital content; RO has then comprised the key that MO is decrypted, and has also described the scope of authority that allows use simultaneously.The DRM standard of open mobile alliance OMA is generally followed in the digital copyright management of moving communicating field, and OMA DRM has defined four kinds of possible the way of restraint: metering, service time, start time/concluding time, perpetuity limit.
Said process is finished by DRM Agent, consults by DRM Agent and RI, realizes that RO goes up the service regeulations of describing.In existing DRM system, play and the RO of restriction service time limits with reproduction time totally having simultaneously, represented this RO of use, the time span that corresponding media object can also be play.Implementation is to have defined the accumulated attribute field on RO, has represented and has used this RO, the time span that corresponding MO can also play.As there is a following description:
<o-dd:accumulated>PT2H30M</o-dd:accumulated>
Then this RO of expression use can also reproduction time be 2 hours 30 minutes.In user's playing process, drm agent proxy module (DRM agent) can be monitored, in case time consumption finishes, stops the broadcast of this video file immediately, realizes the constrained of cumulative time by such monitoring.In the prior art, the RO specific implementation of constraint condition hereto is: when beginning to play, start timer, in a single day find that reproduction time has equaled to allow the words of reproduction time in the playing process, then stop to play, otherwise then wait until to play and finish the time that modification can also be play.
Yet, above-mentioned constraint condition is that playing process is realized under the normal condition always, if but occur abnormal conditions in the playing process, close as mobile phone electric weight deficiency, Ci Shi DRM agent does not have the accumulative total reproduction time property value in the chance modification RO so, cause in current watching be not calculated in, the user can utilize this leak, when being played to fast end, just make artificial unusual, like this, accumulative total reproduction time numerical value just can not change, and the user can utilize this method to watch repeatedly.
Summary of the invention
The purpose of this invention is to provide in a kind of digital copyright management to media object control method and the system of service time, to solve the problems of the prior art.
The objective of the invention is to be achieved through the following technical solutions:
A kind of digital copyright management method is provided with the permission reproduction time of media file, and first timer is set in right objects,
When the beginning playing media file, start first timer; Described first timer restarts after being timed to;
If described first timer is timed to, from allow reproduction time, deduct regularly length of first timer.
Described digital copyright management method also is provided with second timer, and described second timer regularly length equals to allow reproduction time,
When the beginning playing media file, start second timer;
If described second timer is timed to, will allow reproduction time to be made as zero.
Described digital copyright management method when media file stops to play, deducts the first timer cumulative time of this moment from allow reproduction time.
When media file suspends broadcast, first timer, second timer time out;
When media file recovered to play, first timer, second timer recovered timing.Perhaps,
When the beginning playing media file, record initial permission reproduction time at this moment;
When media file stops to play, the difference that initially allows reproduction time with the second timer cumulative time of this moment is made as the permission reproduction time.
Described digital copyright management method, when playback of media files finishes, or the user selects to stop to play, or when allowing reproduction time to be zero, media file stops to play.
Described digital copyright management method during the beginning playing media file, further comprises: if allow reproduction time is zero, then process ends.
Described digital copyright management method is characterized in that, if allow reproduction time to be modified, then will revise the result and be saved in the right objects.
A kind of system for numeral copyright management comprises:
Right objects is provided with the permission reproduction time of media file in right objects;
Copyright publisher is used for sending right objects to terminal;
Digital rights agent is used for the digital publishing rights of office terminal;
Time deduction device is used for from allowing the reproduction time deduction time;
Player is used for playing media file;
And, first timer is set in digital rights agent, described first timer starts when player begins playing media file, and restarts after being timed to, and the first timer timing length is arranged in the right objects by the copyright publisher;
Described time deduction device is further used for when first timer is timed to, and deducts first timer and be timed to duration from allow reproduction time.
Described system for numeral copyright management also is provided with second timer in digital rights agent, described second timer, and when player begins playing media file, start, it is timed to duration and equals to allow reproduction time;
Described time deduction device is further used for when second timer is timed to, and will allow reproduction time to be made as zero.
Described system for numeral copyright management, described time deduction device is further used for when media file stops to play, and deducts the first timer cumulative time of this moment from allow reproduction time.
Described system for numeral copyright management is characterized in that, the initial permission reproduction time when digital rights agent is further used for the start-of-record playing media file;
Described time deduction device is further used for when media file stops to play, and the difference that initially allows reproduction time with the second timer cumulative time of this moment is made as the permission reproduction time.
The invention has the beneficial effects as follows: by the cooperation of first timer and second timer, shorten and revise the time interval that allows reproduction time, effectively avoid in the prior art allowing reproduction time to revise coarse problem.
Description of drawings
Fig. 1 is a prior art DRM system construction drawing;
Fig. 2 is a timeslice Timing Processing process flow diagram in the embodiment of the invention;
Fig. 3 is accumulative total Timing Processing process flow diagram confinement time in the embodiment of the invention;
Fig. 4 is an embodiment of the invention structure drawing of device.
Embodiment
Core concept of the present invention is that the shortening media object allows the interval of reproduction time, makes when the permission reproduction time is less than the modification opportunity with more than one timer control permission reproduction time, also can make amendment to this time.Specific implementation is to increase the timeslice attribute field in existing DRM describes the service regeulations of right objects, in the media object use, the modification time of media object accumulative total confinement time is spaced apart timeslice on the right objects.
In the service regeulations of RO, increase a timeslice attribute field timeslice and be used for sheet size writing time, revise once revising to become repeatedly, such as a time slice 3 minutes, like this, from playing, DRM agent will revise the reproduction time of residue permission in per 3 minutes, even abnormal conditions occur, the time span that reduces record also can be controlled within 3 minutes.
The selection of described time slice size is most important, because varying in size of each media file, playing duration is also different, therefore the size of time slice neither fixed value, to determine that such as 2 hours film, timeslice just can be set to 5 minutes according to the time length of media file size or purchase, if 5 minutes short-movie, so the time be set to 1 minute just proper.The residue that is less than surely not of uniform size that it should be noted that the time segment allows reproduction time.
When issuing right objects, according to the size or the time buying length setting of media object, described right objects is the right objects with accumulative total reproduction time attribute to described timeslice size by the copyright publisher.
Fig. 2 and Fig. 3 are respectively timeslice timing and accumulative total Timing Processing process flow diagrams confinement time in the embodiment of the invention, referring to figs. 2 and 3:
When media object when beginning to play, by the drm agent proxy module timeslice timer (first timer) and accumulative total timer confinement time (second timer) are set, described timeslice timer is then just revised the time that accumulative total can also be play, specifically be the numerical value that the original time that allows to play deducts timeslice, revising the last corresponding attribute field of RO simultaneously preserves then, reset the timeslice timer again, when the timeslice timer of resetting then, revise the time that current accumulative total can also be play once more, the concrete modification mode is with aforementioned, so be circulated to accumulative total timer confinement time then, revise the time that can also totally play this moment is 0, preserves to play simultaneously to stop.
When media object suspend to be play, described timeslice timer and accumulative total timer confinement time all suspended; Described media object is when playing again, and described timeslice timer and accumulative total timer confinement time all start once more; When the user stops to play, timeslice timer and accumulative total timer confinement time all stop, and this moment accumulative total can also reproduction time be carried out following modification and preserved simultaneously: can also reproduction time numerical value deduct since the last time with current accumulative total and be modified to the time period at this moment.
A described timeslice timer duration regularly is the timeslice size, and described accumulative total timer confinement time duration regularly is the time that current accumulative total can also be play.
Below be an object lesson that adopts the inventive method:
Among the copyright description linguistic norm OMA-DRM-REL of digital copyright management in existing Open Mobile Alliance, the relevant DTD that describes the restriction of RO accumulative total reproduction time is such:
<!ELEMENT?o-dd:accumulated(#PCDATA)>
It below is instantiation
<o-ex:permission>
<o-dd:display>
<o-ex:constraint>
<o-dd:accumulated>PT2H30M</o-dd:accumulated>
</o-ex:constraint>
</o-dd:display>
</o-ex:permission>
Above example was represented to play 2 hours 30 minutes again, in this example, RO constraint condition hereto is achieved in that when beginning to play, start timer, when just stopping broadcast when having equaled 2 hours 30 minutes in case find reproduction time in the playing process, otherwise wait until then and play to finish that the time that modification can also be play, specific practice is with deducting the time that this has been play in 2 hours 30 minutes.
Adopting method of the present invention is such to the modification that relevant DTID among the OMA-DRM-REL is made:
<!ELEMENT?o-dd:accumulated(#PCDATA)>
<!ATTLIST?o-dd:accumulated
o-dd:timslice?CDATA#IMPLIED
>
Below be instantiation:
<o-ex:permission>
<o-dd:display>
<o-ex:constraint>
<o-dd:accumulated
timeslice=”PT5M”>PT2H30M</o-dd:accumulated>
</o-ex:constraint>
</o-dd:display>
</o-ex:permission>
Above example was represented to play 2 hours 30 minutes again, the timeslice size is 5 minutes, that is to say and play beginning afterwards every 5 minutes, DRM agent will revise the numerical value of an accumulated, and specific practice is that original numerical value deducts a timeslice size, just 5 minutes, in this process, if unusual shutdown, the time span that reduces record also was controlled within 5 minutes, more effective accuracy and the authenticity that has guaranteed that the cumulative time calculates.
Though be provided with timeslice timer and cumulative time timer, can dwindle the modification interval of time, when stopping to play, might last modification of distance allow reproduction time still have certain intervals, this spacer segment also needs consideration.Such as, when beginning to play, allowing reproduction time is 12 minutes, the cumulative time timer is made as be timed in 12 minutes, the timeslice timer is made as be timed in 5 minutes.If stop when being played to the 11st minute playing, the timing in the cumulative time timer is 11 minutes, does not regularly arrive; Timing in the timeslice timer is 1 minute, and timing is not arrived yet.Allow reproduction time will also have 2 minutes this moment, compares with reality, has 1 minute time can't record in the permission reproduction time.At this moment solution has two, and the one, will allow reproduction time to deduct timing in the timeslice timer; The 2nd, initial reproduction time 12 minutes that allow of record when beginning to play when stopping to play, deduct timing in the cumulative time timer with the initial reproduction time that allows, and it are saved as the permission reproduction time.
Fig. 4 is an embodiment of the invention structure drawing of device, with reference to figure 4: realize the device of accumulative total condition confinement time in the digital copyright management of the present invention, mainly comprise: player interface module, store interface module and cumulative time control module.
Described player interface module is in order to realize mutual with media player, operation information such as obtain player plays, suspend, stop;
Described store interface module is mutual in order to realization and right objects, read right objects mileage certificate and make and revise data persistence afterwards in the right objects, mainly be in the present invention read accumulative total can reproduction time and the numerical value of timeslice, and the time that the accumulative total after revising can be play preserves lastingly.
Described cumulative time control module is controlled in order to the implement device overall logic; the startup of major control timer, suspend, be timed to the processing of cumulative time and the operation of closing; described timer is timeslice timer and accumulative total timer confinement time; when described cumulative time control module was sensed user's operation signal of player interface module transmission, the cumulative time control module in time triggered timer and starts, suspends or stop timing.When described timeslice timer is timed to, described cumulative time control module is revised the time that current accumulative total can also be play, and makes amended data persistence by store interface module simultaneously, resets the timeslice timer then.When described accumulative total timer confinement time is timed to, it is 0 that described cumulative time control module is revised the time that current accumulative total can also play, and makes amended data persistence by store interface module simultaneously, stops then playing.
Described right objects is through encrypting, the user downloads to the numerical information of encrypting among the DRM Agent on the terminal, the user is if use the numerical information of downloading, to ask the right objects RO of this numerical information product by network to copyright publisher RI again, the key that comprises data decryption among the RO, if the product of disposable paying, after DRM Agent utilizes this secret key decryption numerical information, the user just can use, if desired user's operation is added up the restriction of reproduction time, the accumulative total reproduction time management information that just also should comprise this numerical information among the RO, described store interface module reads the relevant information of above-mentioned accumulative total reproduction time, is realized the operation of timer is controlled according to this accumulative total reproduction time management information by the cumulative time control module.
The device that increases such accumulative total condition confinement time in original DRM Agent system can more effectively be controlled accuracy and the authenticity that the RO reproduction time guarantees that the cumulative time calculates.
Though the present invention with preferred embodiment openly as above; so it is not in order to limit the present invention; do not deviating under spirit of the present invention and the real situation; those of ordinary skill in the art work as can make corresponding change or distortion according to the present invention, but these corresponding changes or distortion all should belong to the protection domain of claims of the present invention.