The present invention relates generally to wireless electronic and electromechanical locks, and more particularly to methods for registering stand-alone locks by associating stand-alone lock IDs with end user accounts.
Many wireless locks operate by validating a digital credential provided by a user. In some cases this credential may be provided with the lock. More complex systems and systems with improved security, however, typically do not use static credentials, and may associate a single credential with multiple locks. In such systems, digital credentials are commonly assigned to users by an authentication system (usually operated by a lock vendor or large institution). Such systems may associate locks with individual users or with user groups, or may collectively associate groups of locks with users. Users are typically authenticated to a particular account by means of some unique identifier, such as an incoming phone number, an account ID, an account password, or some combination of such information. Authentication systems provide credentials only to users authorized to access the wireless lock.
Locks are typically programmed with user information and associated with a user account in a factory or at a trusted facility, prior to shipping to a known end user. This practice is not practical where the end user is not known when a lock is manufactured and packaged. To handle such situations, some conventional systems require users to submit a serial number via a portal, so as to associate themselves or their organization with the lock. A few such systems further utilize one-time passwords unique to each lock as means of proving ownership. Conventional methods neither prove nor require that a user have actual possession of the lock. Serial numbers can be copied, and passwords can be communicated; a lock registration method is needed which proves actual possession, and rightful purchase and ownership of the lock.
The present invention is directed toward an authentication server for a wireless lock system comprising a wireless lock and a key device. The authentication server is configured to receive and authenticate a validation message. The validation message is created at the wireless lock from a certificate of ownership provided by a user, and a secret key contained in the wireless lock. The authentication server receives the validation message from the key device, and authenticates the validation message using copies of the certificate of ownership and the secret key stored in a database of the authentication server. The authentication server is configured to associate the user or user's organization with the lock ID upon successfully authenticating the validation message, thereby enabling the authorization server to provide the user with digital credentials to open the lock.
Lock 12 is a lock responsive to digital credentials from key device 14, and may, by way of example, be a door lock, a replaceable lock core, a reader coupled to a door lock, or the lock of a lockbox. Lock 12 includes both lock actuator 18 and lock controller 20. Lock actuator 18 may be an electronic or electromechanical actuator which either unlocks or permits to be unlocked a physical locking structure. Lock controller 20 commands lock actuator 18 in response to instructions received from key device 14. Lock controller 20 and lock actuator 18 may be parts of a single electronic or electromechanical lock unit, or may be components sold or installed separately. Lock memory 28 is a conventional semipermanent data storage medium. Lock 12 is issued a lock ID and a secret key at manufacture, both of which are stored in lock memory 28. The lock ID uniquely identifies lock 12 to server 16, as discussed in further detail below.
Lock transceiver 24 is a conventional transceiver capable of transmitting and receiving data to and from antenna 32 of key device 14. Lock transceiver 24 may, for instance, be a near field communication (NFC) or Bluetooth, WiFi, or other conventional wireless transceiver. In some embodiments, lock transceiver may operate in a passive “tag” mode, receiving power inductively from key device 14. Lock antenna 22 is an antenna appropriate to lock transceiver 24. Lock processor 26 is a conventional data processing device such as a microprocessor. Lock power supply 30 is a power source which powers other elements of lock controller 20, and in some embodiments also powers lock actuator 18. In other embodiments, lock power supply 30 may only power lock controller 20, leaving lock actuator 18 to be powered primarily or entirely by another source, such as user work (e.g. turning a bolt). By way of example, lock power supply 30 may be a line power connection, a power scavenging system, or a battery. Alternatively, as noted above, lock power supply 30 may be a NFC power induction means incorporated into transceiver 24 and antenna 22, which receives power from key device 14 when in use.
Key device 14 is a wireless capable handheld device such as a smartphone, as explained above with respect to
Server 16 is an access management server containing at least one database 46 associating lock IDs with corresponding secret keys, and with user accounts. Database 46 further associates each lock ID with a certificate of ownership used to register a user account and an unassigned lock, as explained in further detail below with respect to
To obtain access to a region protected by lock 12, a user must provide lock controller 20 with a valid digital credential indicating that such access is permitted. This digital credential is retrieved from server 16, and is validated by lock processor 26. The digital credential may be time sensitive (i.e. valid only during certain times, or set to expire after a certain time), necessitating the eventual or periodic retrieval of updated credentials from server 16. Digital credentials may be associated with individual users, or with classes or shared accounts of users. Server 16 provides digital credentials to key device 14 only for locks 12 having lock IDs associated with a user account of the user of key device 14, in database 46. Users must therefore register a user account, and associate the lock ID of lock 12 with that account, before lock 12 is usable. In some embodiments, users registered as “owners” of a lock may subsequently be entitled to grant lock access to other users (who will not be registered as “owners”), such as other members of a common user organization.
Conventional distribution methods for wireless locks associate locks with the accounts of purchasing end-users at a factory or trusted facility. The present invention provides a method and system for quickly and securely associating lock 12 with a user account after the sale of lock 12, thereby enabling stand-alone locks to be sold without prior knowledge of the lock's eventual end-user.
Each lock is sold with a certificate of ownership. This certificate of ownership takes the form of a packet of information such as a string of numbers or letters, and serves as a one time password which allows the user to associate his or her user account with the lock ID of lock 12. The certificate of ownership is not stored in lock memory 28, but is provided to the user together with lock 12. The certificate of ownership may, for instance, be included in packaging materials of lock 12, or may be printed in a user manual accompanying lock 12. In other exemplary embodiments, the certificate of ownership may be included on a purchase receipt, on a removable piece attached to the lock during manufacturing, or on a label affixed to the lock. The certificate of ownership may be made available to the user in a human-enterable form, such as a printed serial number, UPC code, password, or random number. Alternatively, the certificate of ownership may be provided in a machine-readable form, such as a barcode, QR code, or image decipherable by a camera with appropriate reading software, or an embedded RFID or NFC tag readable by key device 14. The certificate of ownership may further include a checksum to allow key device 14 to verify that the certificate of ownership has been entered or read correctly.
After registering an account, the user retrieves the certificate of ownership, and submits it via input device 40 of key device 14. (Step S3). Key device 14 transmits the certificate of ownership to lock controller 20 of lock 12. (Step S4). Lock processor 26 produces a validation message from the received certificate of ownership and the secret key stored in lock memory 28 (described above with respect to
As discussed above with respect to step S1, database 46 associates each lock ID with the corresponding certificate of ownership and secret key. Server 16 retrieves the secret key and certificate of ownership from database 46 using the lock ID, and tests the validation message using the certificate of ownership and the secret key. (Step S7). In some cases the validation message produced by lock 12 may include, or be accompanied by, a timestamp or expiration time, thereby allowing server 16 to reject validation messages which are not sufficiently recent. Where the validation message is a hash, for instance, server 16 may recreate a test hash from the secret key and certificate of ownership stored in database 46, and compare this test hash with the validation message. Where the validation message is a reversibly encrypted block, server 16 decrypts this block using the secret key, and verifies that the decrypted certificate of ownership matches its counterpart in database 46. In either case, this test will fail if either the secret key used by lock 12 or the certificate of ownership provided by the user fail to match the corresponding secret key and certificate of ownership stored in database 46. If the test fails, server 16 rejects the validation attempt, and declines to associate a user account with the lock ID. (Step S8). If the test succeeds, server 16 associates the lock ID with the user account in database 46, enabling that user account to request and receive digital certificates for lock 12 in the future. (Step S9). In some embodiments, server 16 may replace or remove the certificate of ownership from database 46 once the lock ID of lock 12 has been associated with a user, thereby preventing subsequent registration of another user once lock 12 is registered to the initial user. (Step S10). Equivalently, server 16 may simply refuse to accept validation messages for lock IDs with which a user is already associated. Server 16 may notify subsequent would-be users when lock association fails because lock 12 is already registered to prior user. In this way, the present system alerts users to the possibility that their lock certification may have been stolen, or that ownership may need to be transferred from a prior user. In particular, notification allows users to distinguish this situation from association failure due, for instance, to a secret key or certificate of ownership mismatch. In some embodiments, server 16 may facilitate a registered owner relinquishing ownership of lock 12 and generating a new certificate of ownership to facilitate transferring ownership to an unknown subsequent resale purchaser. This new certificate of ownership may be used to associate the subsequent resale purchaser with lock 12 in the same fashion described above with respect to the original owner.
In some cases a user such as an owner or manager may prefer to delegate installation and registration of lock 12 to a proxy such as an employee, locksmith, or subcontractor. Such a user may register the proxy with server 16 and provide the certificate of ownership of lock 12 to the proxy, thereby enabling the proxy to register the lock to the user's account by following the method described above with respect to
The use of both a secret key held by lock 12 and a certificate of ownership provided to the user at the time of purchase provides two security checks. The certificate of ownership provides proof of ownership, and ensures that an illegitimate possessor of lock 12 cannot register lock 12 by associating their user account with the lock ID of lock 12 at server 16. The secret key ensures that a party with illegitimate access to the certificate of ownership will not be able to register lock 12 without being in physical possession of lock 12. The user association system and method presently disclosed thus require both ownership and actual possession of lock 12. Additionally, the present invention enables stand-alone locks to be registered entirely through key device 14, without requiring that lock 12 ever communicate directly with server 16 or with any other non-local device. As a result, the presently disclosed method can be used even where lock transceiver 24 operates on extremely low power, such as when operating as a NFC tag. Furthermore, the present invention functions even when lock 12 is not capable of connecting to any device other than key device 14, and has no means of connection to server 16 (such as a wired or wireless connection to a general router).
While the invention has been described with reference to an exemplary embodiment(s), it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment(s) disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
6098056 | Rusnak et al. | Aug 2000 | A |
6130621 | Weiss | Oct 2000 | A |
6430690 | Vanstone et al. | Aug 2002 | B1 |
6718467 | Trostle | Apr 2004 | B1 |
6822552 | Liden et al. | Nov 2004 | B2 |
7012503 | Nielsen | Mar 2006 | B2 |
7196610 | Straumann et al. | Mar 2007 | B2 |
7321288 | Nishimura | Jan 2008 | B2 |
7389530 | Raghunath et al. | Jun 2008 | B2 |
7506054 | Fuh et al. | Mar 2009 | B1 |
7822989 | Libin et al. | Oct 2010 | B2 |
20030151493 | Straumann et al. | Aug 2003 | A1 |
20040025039 | Kuenzi et al. | Feb 2004 | A1 |
20040250076 | Kung | Dec 2004 | A1 |
20060072755 | Oskari | Apr 2006 | A1 |
20060170533 | Chioiu et al. | Aug 2006 | A1 |
20060255910 | Fukushima et al. | Nov 2006 | A1 |
20070168674 | Nonaka et al. | Jul 2007 | A1 |
20070200665 | Studerus | Aug 2007 | A1 |
20070222555 | Tengler et al. | Sep 2007 | A1 |
20080211624 | Micali et al. | Sep 2008 | A1 |
20080301776 | Weatherford | Dec 2008 | A1 |
20090169013 | Fascenda et al. | Jul 2009 | A1 |
20100031714 | Brown et al. | Feb 2010 | A1 |
20100073129 | Pukari | Mar 2010 | A1 |
20100237989 | Ikegami et al. | Sep 2010 | A1 |
20110035604 | Habraken | Feb 2011 | A1 |
20130043973 | Greisen et al. | Feb 2013 | A1 |
Number | Date | Country |
---|---|---|
2009042763 | Apr 2009 | WO |
2010039598 | Apr 2010 | WO |
2010125309 | Nov 2010 | WO |
Entry |
---|
European Patent office Communication, Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or the Declaration from International Application No. PCT/US2012/063184 dated Feb. 5, 2013, 12 Pages. |
Number | Date | Country | |
---|---|---|---|
20130127593 A1 | May 2013 | US |