This invention relates to a secure clock for digital rights management, and specifically, to a time-keeping mechanism and method which cannot be altered by a user.
Some semi-autonomous processes on mobile phones require a time source which cannot be arbitrarily manipulated by the user. Such time sources provide what is referred to herein as “secure time”. In the case of digital rights management (DRM) on a handset operating under global system for mobile communications (GSM) protocols, secure time is needed to determine if time constraints placed upon DRM controlled content remains in force, e.g., how much usage time has been used. This is applied to situations where a user or subscriber is allowed a specific amount of time, or a time window, in which to use an item, such as a video presentation. A DRM protocol may be applied, e.g., to the rights to view a motion picture which is downloaded from a server. Typically, the motion picture is encapsulated within a DRM protocol, which incorporates a security protocol, e.g., a public key infrastructure (PKI), which allows use of the downloaded information for a set period of time. In order to insure that the downloaded information is only used during its valid time period, a mechanism must be provided to prevent a user from arbitrarily changing the system clock of the device containing the downloaded information, which, if allowed, would enable unlimited usage of the downloaded information.
One time source for the DRM is the clock provided in a mobile communication device user interface, however, the user interface clock can be arbitrarily set by the user, making it unreliable for DRM purposes.
Although GSM protocols define a means of transmitting a secure time source packet from the GSM network, which is referred to as a network identity and time zone (NITZ) signal, service providers are not required to transmit this time signal. Presently, only a few service providers are providing NITZ, e.g., Cingular, ATT, while others, e.g., Vodafone, are still investigating how to employ it. Furthermore, service providers which do supply NITZ do not guaranteeing system wide coverage, making their NITZ implementation sporadic.
Another source of secure time is to construct an Internet server which provides correct time to any client upon request. However, this protocol has several drawbacks: First, any Internet connection made by the handset incurs air time charges, which are billed to the user; second, users may find it unacceptable that their handset autonomously and periodically connects to a remote server, i.e., the Big Brother Syndrome; and third, such a server requires adequate bandwidth/computing resources to serve potentially millions of hits-per-month, and needs to provide a protocol to insure that a server outage does not cause any handset to cease operation.
The power density of current backup batteries, consumer demand for ever smaller handsets, and the corresponding high power consumption of integrated real time clock (RTC) hardware, limit the capabilities of a battery backed-up secure time source to one to two weeks. Such a short battery life precludes provision of a factory-set, secure-time source which operates independently of the main battery over the device's lifetime. Some GSM handsets, such as the Sharp GX30 handset, include a separate, internal, user-inaccessible, rechargeable battery, which provides power for the RTC hardware for up to two weeks, in the event that the handset's main battery is discharged or disconnected.
U.S. Pat. No. 6,023,690 to Chrosny et al., granted Feb. 8, 2000, for Method and apparatus for securely resetting a real time clock in a postage meter describes the setting of a single secure clock and the subsequent usage of that clock to enable/disable the printing of postage.
U.S. Pat. No. 5,999,921 to Arsenault et al., granted Dec. 7, 1999, for Electronic postage meter system having plural clock system providing enhanced security describes the maintenance of a non-secure time clock in one format and a secure time clock in a second time format.
U.S. Pat. No. 5,946,672, to Chrosny et al, granted Aug. 31, 1999, for Electronic postage meter system having enhanced clock security describes insertion of an external smart card containing information that identifies the inserted external smart card as a real time clock security card, and only upon receipt of the information is the inserted external smart card determined to be a real time clock security card.
U.S. Patent Publication No. 2003/0115469 A1, of Shippy et al., published Jun. 19, 2003, for Systems and methods for detecting and deterring rollback attacks describes a log which tracks access to protected content, which requires forced periodic updates.
U.S. Patent Publication No. 2002/0077985 A1, of Kobata et al., published Jun. 20, 2002, for Controlling and managing digital assets Distinguishing describes a method for managing digital rights of software on a computer system.
WO2003/005145 A2, for Digital rights management in a mobile communications environment, of Kontio et al., published Jan. 16, 2003, describes a method for control the access, copying, and/or transfer of a digital asset by mobile, wireless devices.
A method of providing a secure clock in a communication device in contact with a communication system includes providing, in the communication device, real-time clock hardware, including a real time clock count register, programmable memory and non-volatile memory, and a back-up battery; detecting a clock event whenever a clock event occurs; wherein a clock event is taken from a group of clock events consisting of user clock events and system clock events; initializing a secure clock base, setting a secure clock flag to TRUE, and determining a secure clock offset; and setting the secure clock to a secure clock time.
A secure clock mechanism for use in a communication device which is in contact with a communication system includes real-time clock hardware, including a battery fail register which provides a Boolean true/false value for indicating whether the supply current to the real time clock has failed, and a clock count register; programmable memory and non-volatile memory, including a user interface clock base for holding a time and date value which is set by the user, a secure clock base for holding a time and date value set by either the communication system or the user, a secure clock offset, and a secure clock initializer for indicating whether the time and date value in the secure clock variable has been initialized to a time and date other then a default time and date; a back-up battery for powering the secure clock mechanism; a clock event detection mechanism for detecting clock events, which are taken from a group of clock events consisting of user clock events and system clock events; a secure clock initializing mechanism for setting the secure clock and for setting a secure clock flag to TRUE; and a secure clock setting mechanism for setting the secure clock to a secure clock time.
It is an object of the invention to provide a secure clock which cannot be arbitrarily altered by a user.
It is another object of the invention to provide a secure clock which may be set to the proper time and date by a variety of methods, none of which allow user adjustment.
This summary and objectives of the invention are provided to enable quick comprehension of the nature of the invention. A more thorough understanding of the invention may be obtained by reference to the following detailed description of the preferred embodiment of the invention in connection with the drawings.
The invention provides a secure time source in a device, such as a global system for mobile communications (GSM) communication device, e.g., a cellular phone, which is normally provided with only a user interface clock. A feature of this invention is that it uses the initial setting of the user interface clock, the state of a real-time clock (RTC) Battery Failure detection circuitry and other external time sources, i.e., network identity and time zone (NITZ) or Time Server, to provide digital rights management (DRM) or other processes with a secure time source that cannot be altered by the user. The following communication device components are used in the invention:
Real Time Clock Hardware: The real time clock hardware is a battery backed-up counter with control and status registers. The hardware allows the handset to read the current value of the counter, reset the counter to zero upon the occurrence of a specific event, and detect whether the backup power source has failed.
Referring now to
Referring to
If the handset detects that the user has not changed the UI clock (NO to 32), but if a NITZ packet has been received (YES to 52), a system clock event, the value of secure clock base is set to the NITZ value, 54, the value of secure clock NITZ initialized is set to TRUE, 56, and the value of RTC clock count register is written to secure clock offset, 58. To correctly associate the new value of secure clock base, e.g., from NITZ, with the value of RTC clock count register, which was not reset to zero at NITZ reception, a variable called “secure clock offset” is defined. Its function is to hold the value of RTC Clock Count Register at the time of each NITZ reception. When current time from the secure clock base is calculated, the offset is applied to the current value of RTC clock count register before it is added to secure clock base. Blocks 32 and 52 comprise what is referred to herein as a clock event detection mechanism. Blocks 44, 48, 56 and 58 comprise what is referred to herein as a secure clock initializing mechanism. Blocks 44–48 and 58 comprise what is referred to herein as a secure clock setting mechanism. As previously noted, (secure_time_date)=(Secure_Clock_Base)+(RTC_Clock_Count_Register−Secure_Clock_Offset).
When an external time source, e.g., NITZ, Time Server, etc., is used to update the secure clock base, an update of flash memory to reflect the new values is postponed until power-down, or to when the user changes the value of user interface clock base. If flash memory is updated with a new secure clock base value upon reception of every NITZ packet, the maximum number of flash memory write cycles will likely be exceeded over the lifetime of the handset. Also, the non-volatile write process will stop all other processes and incur a latency which is not acceptable to the user. If a power-down request is received by the hand set (YES to 59), the handset begins its power-down sequence, depicted in
Referring now to
Alternately, the new NITZ time may be compared with the old secure clock time, and, if the absolute value of the new NITZ time less the secure clock time is greater than a predetermined number of seconds, the secure clock time may be updated with the new NITZ time. The run time data may or may not be updated with the new NITZ time when the flash memory is not updated. If this alternative technique is used, the update to flash memory for both the UI clock base and the secure clock base may not need to occur at power-down.
Thus, a method and apparatus for a semi-secure clock for use in a mobile phone has been disclosed. It will be appreciated that further variations and modifications thereof may be made within the scope of the invention as defined in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5483276 | Brooks et al. | Jan 1996 | A |
5825876 | Peterson, Jr. | Oct 1998 | A |
5946672 | Chrosny et al. | Aug 1999 | A |
5999921 | Arsenault et al. | Dec 1999 | A |
6023690 | Chrosny et al. | Feb 2000 | A |
6990359 | Wager | Jan 2006 | B1 |
20020077985 | Kobata et al. | Jun 2002 | A1 |
20030061165 | Okamoto et al. | Mar 2003 | A1 |
20030069854 | Hsu et al. | Apr 2003 | A1 |
20030115469 | Shippy et al. | Jun 2003 | A1 |
20030167392 | Fransdonk | Sep 2003 | A1 |
20030233553 | Parks et al. | Dec 2003 | A1 |
Number | Date | Country |
---|---|---|
WO 2003005145 | Jan 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20050181761 A1 | Aug 2005 | US |