# Patent

## Title
Method and apparatus for selectively enabling a microprocessor-based system

## Abstract

A system for selectively enabling a microprocessor-based system is disclosed. State information that describes the operating conditions or circumstances under which a user intends to operate the system is obtained. In the preferred embodiment of the invention, a valid hash value is determined, preferably based on the state information and preferably by locating the valid hash value within a table of valid hash values indexed by the state information. Candidate authorization information is obtained from the user, and a candidate hash value is generated by applying a hashing algorithm to the candidate authorization information, the state information, or a combination of the candidate authorization information and state information. The candidate hash value and the valid hash value are then compared, and the microprocessor-based system is enabled if the candidate hash value matches the valid hash value. In this manner, the designer or distributor of the system can determine, at the time of manufacture or distribution, the conditions and circumstances under which the system may be operated.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is related to and/or claims the benefit of the earliest available effective filing date(s) from the following listed application(s) (the “Priority Applications”), if any, listed below (e.g., claims earliest available priority dates for other than provisional patent applications or claims benefits under 35 USC §119(e) for provisional patent applications, for any and all parent, grandparent, great-grandparent, etc. applications of the Priority Application(s)). In addition, the present application is related to the “Related Applications,” if any, listed below.
PRIORITY APPLICATIONS
For purposes of the USPTO extra-statutory requirements, the present application constitutes a continuation of U.S. patent application Ser. No. 13/135,118, entitled Method and Apparatus for Selectively Enabling a Microprocessor-Based System, naming W. Daniel Hillis and Bran Ferren as inventors, filed Jun. 24, 2011, now issued as U.S. Pat. No. 8,434,144, which is a continuation of U.S. patent application Ser. No. 12/455,673, entitled Method and Apparatus for Selectively Enabling a Microprocessor-Based System, naming W. Daniel Hillis and Bran Ferren as inventors, filed Jun. 4, 2009, now issued as U.S. Pat. No. 8,041,933 which is a continuation of U.S. patent Ser. No. 12/455,670, entitled Method and Apparatus for Selectively Enabling a Microprocessor-Based System, naming W. Daniel Hillis and Bran Ferren as inventors, filed Jun. 4, 2009, now issued as U.S. Pat. No. 7,962,760, and which is a continuation of U.S. patent application Ser. No. 10/327,015, entitled Method and Apparatus for Selectively Enabling a Microprocessor-Based System, naming W. Daniel Hillis and Bran Ferren as inventors, filed Dec. 20, 2002, now issued as U.S. Pat. No. 7,587,613.
RELATED APPLICATIONS
None.
The United States Patent Office (USPTO) has published a notice to the effect that the USPTO's computer programs require that patent applicants reference both a serial number and indicate whether an application is a continuation, continuation-in-part, or divisional of a parent application. Stephen G. Kunin, Benefit of Prior-Filed Application, USPTO Official Gazette Mar. 18, 2003. The USPTO further has provided forms for the Application Data Sheet which allow automatic loading of bibliographic data but which require identification of each application as a continuation, continuation-in-part, or divisional of a parent application. The present Applicant Entity (hereinafter “Applicant”) has provided above a specific reference to the application(s) from which priority is being claimed as recited by statute. Applicant understands that the statute is unambiguous in its specific reference language and does not require either a serial number or any characterization, such as “continuation” or “continuation-in-part,” for claiming priority to U.S. patent applications. Notwithstanding the foregoing, Applicant understands that the USPTO's computer programs have certain data entry requirements, and hence Applicant has provided designation(s) of a relationship between the present application and its parent application(s) as set forth above and in any ADS filed in this application, but expressly points out that such designation(s) are not to be construed in any way as any type of commentary and/or admission as to whether or not the present application contains any new matter in addition to the matter of its parent application(s).
If the listings of applications provided above are inconsistent with the listings provided via an ADS, it is the intent of the Applicant to claim priority to each application that appears in the Priority Applications section of the ADS and to each application that appears in the Priority Applications section of this application.
All subject matter of the Priority Applications and the Related Applications and of any and all parent, grandparent, great-grandparent, etc. applications of the Priority Applications and the Related Applications, including any priority claims, is incorporated herein by reference to the extent such subject matter is not inconsistent herewith.


TECHNICAL FIELD
The invention relates to microprocessor-based systems. More particularly, the invention relates to enablement of microprocessor-based systems under conditions and circumstances determined by the designer or distributor of the system.
DESCRIPTION OF THE PRIOR ART
In many instances, the designer or distributor of a microprocessor-based system or device may wish to restrict the conditions or circumstances under which the system or device may be operated. For example, a government may provide a microprocessor-based weapons system to a foreign state and wish to control the duration for, or the locations in which, the system may be operated.
One approach to addressing this problem is to restrict the operation of the microprocessor controlling the system or device. Several prior art systems have been suggested to provide such restrictions. For example, U.S. Pat. No. 5,388,156 discloses a system that includes a “a normally closed enclosure, at least one erasable memory element . . . for receiving and storing a privileged access password, . . . a tamper detection switch operatively connected with the erasable memory element, for detecting opening of the enclosure and for invalidating any privileged access password stored in the erasable memory element, . . . and a system processor . . . for controlling access to . . . data stored within the system.” The system is operable only when the privileged password is provided. The tamper detection system ensures that attempts to access the privileged password results in destruction of the password.
A different approach is presented in U.S. Pat. No. 5,406,261, where “unauthorized access to a computer system is prevented by controlling power distribution to components within the computer system by a remotely controllable switch. An authorized computer user utilizes a radio frequency, infrared, ultrasonic or other type of wireless coded signal transmitter to send coded signals to a matching wireless receiver within the computer system that controls the power distribution switch.” The system also provides a mechanism to thwart attempts to disable or circumvent the activation process.
However, in prior art systems such as these, operation of the system is contingent only upon the presentation of proper authorization information, such as a suitable password or correctly coded signal. What is needed is a method for selectively enabling a microprocessor-based system under conditions or circumstances determined by the designer or distributor of the system at the time of design or distribution.
SUMMARY
The invention selectively enables a microprocessor-based system.
State information describing the operating conditions or circumstances under which a user intends to operate the system is obtained. In the preferred embodiment of the invention, a valid hash value is determined, preferably based on the state information and preferably by locating the valid hash value within a table of valid hash values indexed by the state information. Candidate authorization information is obtained from the user, and a candidate hash value is generated by applying a hashing algorithm to the candidate authorization information, the state information, or a combination of the candidate authorization information and state information. The candidate hash value and the valid hash value are then compared, and the microprocessor-based system is enabled if the candidate hash value matches the valid hash value. In this manner, the designer or distributor of the system can determine, at the time of manufacture or distribution, the conditions and circumstances under which the system may be operated.
The preferred embodiment of the invention further incorporates a power-up sequence that is executed before obtaining the state information and candidate authorization information. In addition, if the candidate authorization information is successfully verified and the system is enabled, operation continues in an uninterrupted manner, with the system periodically checking for a reset condition. If a reset condition is detected, a power-down sequence is executed, and the system awaits a power-up condition. Additional state information may be obtained and stored before the power-down sequence is executed.
The hashing algorithm is preferably a one-way hashing algorithm, and is applied to only the candidate authentication information. In an alternative embodiment, the hashing algorithm is applied to a catenation of the candidate authorization information and the state information. In another alternative embodiment of the invention, several valid hash values are determined, independent of the state information, by referencing a list of valid hash values.
The state information obtained may describe any number of operating conditions or circumstances, such as geographic location, geographic region, date, time, and a prior usage history of the system.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a flow chart that shows a method of selectively enabling a microprocessor-based system according to the invention;
FIG. 2 is a flow chart that shows a verification operation according to the invention;
FIG. 3 is a flow chart that shows a method of determining a valid hash value according to the invention;
FIG. 4 is a flow chart that shows a verification operation according to an alternative embodiment of the invention;
FIG. 5 is a flow chart that shows a verification operation according to another alternative embodiment of the invention.



DESCRIPTION
The invention selectively enables the use of a microprocessor-based system by matching candidate authorization information provided by a user to valid authorization information specific to a set of operating conditions or circumstances.
FIG. 1 is a flow chart that shows a method of selectively enabling a microprocessor-based system according to the invention. Operation begins when the microprocessor-based system executes a power-up sequence 100. The power-up sequence may be, for example, an initiation of power provided to the system, such as effected by a user toggling a power switch, or may correspond to the system waking up from a lower activity sleep state to a higher activity state.
The microprocessor-based system obtains state information 200. The state information reflects the operating conditions or circumstances under which the user intends to operate the system. The state information may reflect the geographic location, date, or time of intended operation. The state information may also include a history of previously stored state information retrieved from a memory. For example, the state information may indicate the usage history of the system prior to the time of attempted authorization.
To prevent circumvention of the authorization mechanism, the state information is obtained in a manner not subject to tampering by, or interference from, the user. In the case of state information that describes environmental information, such as temperature or location, the state information may be obtained by sensors physically inaccessible to the user. Date and time information may be obtained from a remote time server controlled by the designer or distributor of the system, as is well known in the art. Information detailing the usage history of the system may be retrieved from a tamper resistant, non-volatile memory. Several such memories are described in the prior art and include, for example, EEPROM or battery backed CMOS RAM devices.
The microprocessor-based system obtains candidate authorization information 300 from the user wishing to operate the system. In the preferred embodiment of the invention, the candidate authorization information is a password or passphrase. Other embodiments of the invention may incorporate electronic identification cards or biometric information, for example. The candidate authorization information obtained from the user is specific to the conditions or circumstances under which the user wishes to operate the system. For example, the user may be prompted for a password or passphrase specific to operation of the system within a particular geographic region or within a particular range of dates.
Once the state information and candidate authorization information have been obtained, the system verifies the candidate authorization information 400. The verification operation determines if the candidate authorization information matches valid authorization information that is specific to the obtained state information.
In the preferred embodiment of the invention, if the verification operation is unsuccessful, the system waits 462 for a predetermined period of time and increments a counter 464 indicating the number of attempted authorizations. The system then checks the counter 466 to determine if the incremented counter value is equal to or less than a predetermined number of maximum allowable attempted authorizations. If the check is successful, the system again obtains candidate authorization information 300 from the user. If the check of the counter fails because the incremented counter value exceeds the maximum allowable number of attempted authorizations, the system enters a terminal shut down state 468. The system remains in the terminal shut down state until it is serviced by the designer or distributor of the system.
If the verification operation is successful, the system allows user operation 500. Continued operation of the system is allowed while the system periodically checks for a reset condition 600. Generally, the reset condition corresponds to an expiration of or change in the state for which operation was selectively enabled. Checking for a reset condition may therefore require that the system obtain state information similar to that obtained following execution of the power-up sequence. For example, the reset condition may correspond to the system being transported outside the geographic region for which operation was enabled, for example as detected by an interval GPS receiver. Alternatively, the reset condition may correspond to the operator exceeding a maximum allowable single-session or cumulative operating time. The reset condition may also be triggered by a power-down of the system, effected either by the user or an unexpected loss of power. The reset condition may also be triggered, for example, if the system detects efforts to circumvent or disable the verification mechanism.
If no reset condition is detected, user operation of the system continues in an uninterrupted manner. If a reset condition is detected, if necessary, the system obtains additional state information 700. Obtaining state information at this point in the operation of the invention provides an accurate record of information, such as usage statistics. The system then stores the additional state information 800 in a tamper resistant, non-volatile memory. Storage of the state information allows retrieval of the information when state information is obtained following the execution of the power-up sequence.
Once any necessary additional state information has been recorded, the system executes a power-down sequence 900. The power-down sequence may result in a stoppage of power provided to the system, or may correspond to the system entering into a lower activity sleep state.
FIG. 2 is a flow chart that shows a verification operation according to the invention. The state information 250 obtained following execution of the power-up sequence is used to determine 420 a valid hash value 425. The candidate authorization information obtained from the user 350 is used to generate 430 a candidate hash value 435 using a hashing algorithm. The hashing algorithm is preferably a one-way hashing algorithm, such as the MD5 algorithm or other similar algorithm, as is well known in the art. The candidate hash value and the valid hash value are then compared 450. If the candidate hash value and valid hash value match one another, the verification operation is successful. If the candidate hash value and the valid hash value do not match one another, the verification operation is unsuccessful.
It is important to note that while in the preferred embodiment the state information is obtained before the candidate authorization information, in alternative embodiments of the invention the candidate authorization information is obtained before the state information, or the state information and candidate authorization information are obtained simultaneously. It is only essential that both are obtained before verifying the candidate authorization information.
FIG. 3 is a flow chart that shows a method of determining a valid hash value according to the invention. The state information 250 is used to locate 422 the valid hash value 425 within a table of valid hash values 423 that is indexed by the state information. For example, the table may provide a particular valid hash value for a specific date of operation or range of dates of operation. Alternatively, the table may provide a certain valid hash value for a geographic location or geographic region of operation. The table may specify valid hash values with any desired degree of granularity. For example, the table may specify few valid hash values, each corresponding to an expansive geographic region, or the table may specify many valid hash values, each corresponding to a more limited geographic region.
In this manner, the designer or distributor of the system determines, at the time of manufacture or distribution, the conditions or circumstances under which the system may be operated. Moreover, the designer or distributor determines the granularity with which potential conditions or circumstances of operation are distinguished from one another.
In an alternative embodiment of the invention, the table of hash values is unique to a single unit within a production run of similar systems, and effectively incorporates the identity of the unit within the state information. In this embodiment, the valid authorization information allows a particular unit to be run under particular conditions or circumstances.
The table of hash values is preferably stored in a tamper resistant, non-volatile memory. A further measure of security is offered by the one-way nature of the hashing algorithm, which ensures that the valid candidate authorization information that yields the valid hash value cannot be determined from entries in the table of valid hash values. Thus, were a user to gain access to the table of valid hash values, he could not circumvent the verification process.
FIG. 4 is a flow chart that shows a verification operation according to an alternative embodiment of the invention. The state information 250 is used to determine 420 a valid hash value 425. The candidate authorization information 350 and the state information 250 are used to generate 430 a candidate hash value 435 by means of a one-way hashing algorithm. For example, the candidate authorization information may be catenated with the state information prior to being operated on by the hashing algorithm. As in the preferred embodiment of the invention, the candidate hash value and the valid hash value are then compared 450. If the candidate hash value and valid hash value match one another, the verification operation is successful. If the candidate hash value and the valid hash value do not match one another, the verification operation is unsuccessful.
In this embodiment of the invention, because the state information is operated on by the hashing algorithm, the state information is discretized so that a successful comparison of the candidate hash value with the valid hash value is possible. For example, the state information may be thresholded, truncated, or rounded to a desired degree of precision before being operated on by the hashing algorithm.
Alternatively, the state information passed to the hashing algorithm may be replaced by a state information entry located within a table of state information.
FIG. 5 is a flow chart that shows a verification operation according to another alternative embodiment of the invention. The candidate authorization information 350 and the state information 250 are used to generate 430 a candidate hash value 435 using a one-way hashing algorithm. However, in this embodiment, the state information is not used to determine a single valid hash value. Rather, to determine valid hash values 420, a list of valid hash values is referenced. The list of valid hash values contains hash values generated by applying the hashing algorithm to state information and candidate authorization information pairings determined by the designer or distributor of the device. As in the preferred embodiment of the invention, the candidate hash value and the valid hash values are then compared 450. If the candidate hash value matches one of the valid hash values in the list of valid hash values, the verification operation is successful. Otherwise, the verification operation is unsuccessful.
Although the invention is described herein with reference to several embodiments, including the preferred embodiment, one skilled in the art will readily appreciate that other applications may be substituted for those set forth herein without departing from the spirit and scope of the invention.
Accordingly, the invention should only be limited by the following claims.

## Claims

1. A system for selectively enabling a microprocessor-based system, comprising:
circuitry for obtaining state information describing at least one microprocessor-based system operating condition;
circuitry for determining one or more valid converted values, the one or more valid converted values determined based on the state information;
circuitry for obtaining candidate authorization information from a user of said at least one microprocessor-based system;
circuitry for generating a candidate converted value by applying a data converting algorithm to at least one of:
(a) said candidate authorization information, or
(b) said state information;

circuitry for comparing said candidate converted value and the at least one of the one or more valid converted values; and
circuitry for causing at least a portion of said at least one microprocessor-based system to enter a first state if comparing a candidate converted value and at least one of the one or more valid converted value fail to match and for maintaining at least a portion of said at least one microprocessor-based system in second state if comparing said candidate converted value and at least one of the one or more valid converted values match.

2. The system of claim 1, wherein said circuitry for determining at least one valid converted value comprises:
circuitry for determining said at least one valid converted value based on state information under which the user may operate the at least one microprocessor-based system.

3. The system of claim 1, wherein said circuitry for determining at least one valid converted value comprises:
circuitry for referencing a list of valid converted values.

4. The system of claim 1, wherein said circuitry for comparing is further operable to, if said candidate converted value matches said at least one valid converted value, obtain additional state information and store said additional state information in a memory.

5. The system of claim 1, further comprising:
circuitry for, after said enabling step, periodically checking for a reset condition; and
circuitry for, if said reset condition is detected:
executing a power-down sequence;
waiting for a power-up condition; and
upon detecting said power-up condition, executing a power-up sequence.

6. The system of claim 5, further comprising:
circuitry for obtaining additional state information; and
circuitry for storing said additional state information in a memory.

7. The system of claim 1, wherein said circuitry for obtaining state information comprises:
circuitry for retrieving at least a portion of said state information from a memory.

8. The system of claim 1, wherein said converting algorithm is a one-way hashing algorithm.

9. The system of claim 1, wherein the first state is a shutdown state and wherein the second state is an operating state.

10. A system for selectively enabling a microprocessor-based system, comprising:
circuitry for obtaining state information describing one or more operating conditions;
circuitry for locating a valid converted value within a table of valid converted values indexed by said state information;
circuitry for obtaining candidate authorization information from a user of said microprocessor-based system;
circuitry for generating a candidate converted value by applying a one-way converting algorithm to said candidate authorization information;
circuitry for comparing said candidate converted value and said valid converted value; and
circuitry for causing at least a portion of said microprocessor-based system to enter a first state if said circuitry for comparing said candidate converted value and said valid converted value fail to match.

11. The system of claim 10, wherein said converting algorithm is a hashing algorithm.

12. The system of claim 10, further comprising circuitry for maintaining at least a portion of said microprocessor-based system in a second state if said circuitry for comparing said candidate converted value and said valid converted value match.

13. The system of claim 10, wherein the first state is a shutdown state and wherein the second state is an operating state.

14. One or more non-transitory computer-readable media bearing one or more instructions that, when executed by one or more processing components, perform a process comprising:
obtaining state information based on at least one microprocessor-based system operating condition;
determining at least one valid converted value based on state information under which the microprocessor-based system can be operated;
obtaining candidate authorization information from a user of said microprocessor based system;
generating a candidate converted value by applying a converting algorithm to at least one of:
(a) said candidate authorization information, or
(b) said state information;

comparing said candidate converted value and said at least one valid converted value; and
providing a signal to the microprocessor-based system that results in at least a portion of said microprocessor-based system entering a first state if the comparing of said candidate converted value and said at least one valid converted value fail to match.

15. The one or more non-transitory computer-readable media of claim 14, wherein said converting algorithm is a hashing algorithm.

16. The one or more non-transitory computer-readable media of claim 14, wherein the process further includes:
providing a signal to the at least one microprocessor-based system that results in at least a portion of said at least one microprocessor-based system maintaining a second state if the comparing of said candidate converted value and said at least one valid converted value match.

17. The one or more non-transitory computer-readable media of claim 16, wherein the first state is a powerdown state and wherein the second state is an operating state.

18. An apparatus for selectively enabling a microprocessor-based system, the apparatus comprising:
a memory storing instructions to:
(a) obtain state information describing one or more operating conditions;
(b) locate a valid converted value within a table of valid converted values indexed by said state information;
(c) obtain candidate authorization information from a user of said microprocessor based system;
(d) generate a candidate converted value by applying a converting algorithm to said candidate authorization information;
(e) compare said candidate converted value and said valid converted value and indicate that said candidate converted value and said valid converted value fail to match; and
(f) cause at least a portion of said microprocessor-based system to enter a first state in response to the indication that said candidate converted value and said valid converted value fail to match.

19. The apparatus of claim 18, wherein said converting algorithm is a hashing algorithm.

20. The apparatus of claim 18, further wherein the memory further stores instructions to:
(g) cause at least a portion of said microprocessor-based system to maintain a second state in response to the indication that said candidate converted value and said valid converted value match.

21. The apparatus of claim 20, wherein the first state is a low activity sleep state and wherein the second state is an operating state.