Secure control of locks connected to wireless networks using identity credentials as keys

Through the password key authentication of wireless networks and contactless cards, door lock control without physical keys is realized, solving the problems of easy loss, easy theft and insufficient security of traditional keys, and improving security and management efficiency.

CN118901090APending Publication Date: 2024-11-05CAPITAL ONE SERVICES LLC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202380027906.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-16
Filing Date
2023-02-16
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

Traditional metal keys and plastic programmable keys are easily lost and stolen, with security risks, high replacement costs and insufficient security, making it difficult to effectively control access rights to the room.

Method used

Receive password payloads through wireless networks, use the password key of the contactless card for authentication, determine whether the user is authorized to unlock the door lock, realize door lock control without physical keys, and reduce the risk of loss and theft.

Benefits of technology

No physical keys are required, which reduces the risk of loss and theft, improves security, reduces replacement costs, and simplifies access control management in hotels and other places.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118901090A_ABST
    Figure CN118901090A_ABST
Patent Text Reader

Abstract

The lock may be unlocked and / or locked, such as a door lock, depending on the identity credentials as a key. The identity credentials may be digital credentials that preserve evidence of knowledge of identity information and secret information, such as a password or a private cryptographic key. A door lock in an exemplary embodiment may be connected to an access control system via a wireless network, such as a low-power, low-frequency Wi-Fi network, such as a HaLow network. A wireless network enables the door lock to communicate with an access control system, such as a server of an accommodation location. The access control system can receive the identity credential and forward the identity credential to the authentication service for authentication. The access control system can also transmit the identity of the guest to an authorization service to determine whether the guest is authorized to unlock the door lock.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related Applications

[0002] This application claims priority to U.S. Patent Application Serial No. 17 / 696,034, filed on March 16, 2022, entitled “USING IDENTITY CREDENTIALS AS A KEY FOR SECURELY CONTROLLING A LOCK CONNECTED TO A WIRELESS NETWORK”. The contents of the above application are incorporated herein by reference in their entirety. Background Art

[0003] Accommodation establishments such as hotels and motels used to provide guests with metal keys. Unfortunately, such metal keys can easily be lost, stolen or not returned to the accommodation establishment. Lost, stolen or not returned metal keys must be replaced at the accommodation establishment's expense. In addition, lost, stolen and not returned keys present a security risk as these metal keys can still be used to gain access to the guest room. Some accommodation establishments replace their locks at great expense on a regular basis to reduce the risk of misuse of such lost, stolen and not returned metal keys.

[0004] Due to these shortcomings of metal keys, plastic programmable keys have been widely adopted by accommodation places. Plastic programmable keys have a magnetic stripe or radio frequency identification (RFID) tag that encodes information that can be read by the door lock to unlock the door. The encoded information usually includes the room number and the start and end times when the key is valid. In some cases, the encoded information also includes the guest number.

[0005] Programmable plastic keys also have disadvantages. Such plastic programmable keys are often lost and need to be replaced. Over time, the cost of replacing such plastic programmable keys can be considerable for accommodation facilities. In addition, plastic programmable keys can present a security risk. Any party in possession of the plastic programmable key, who knows which room is associated with the plastic programmable key, can use the key to gain access to the room. Therefore, stolen, lost, and unreturned keys can pose a problem if they fall into the wrong hands. Summary of the invention

[0006] According to a first aspect, a method may be performed by a processor of a computing device. The method may include receiving a security package including a cryptographic payload from a door lock and through a wireless network, the cryptographic payload being generated by a contactless card at least in part based on a cryptographic key of the contactless card. The method may also include transmitting the cryptographic payload to an authentication service to authenticate at least in part based on an instance of the cryptographic key of the contactless card maintained by the authentication service. The method may also include receiving a response from the authentication service, the response indicating that the cryptographic payload has been authenticated at least in part based on an instance of the cryptographic key of the contactless card maintained by the authentication service. The method may also include determining that a user associated with the contactless card is authorized to unlock the door based on access control information, and sending a communication to the door lock through the wireless network to unlock the door lock.

[0007] The password payload may be encrypted. The door lock may be used for a door of a guest room in a lodging establishment. The authentication service may be remotely located at a different street address than the door lock. The authentication service may be a cloud service. The wireless network may be network.

[0008] According to another aspect, a method may be performed by a processor of a mobile computing device. In the method, the processor may be wirelessly connected to a door lock. A message including a password payload may be generated for a user who wishes to unlock the door lock, and the generated message may be wirelessly sent to the door lock to unlock the door.

[0009] The wireless connection with the door lock may include wirelessly communicating with the door lock using near field communication (NFC). The mobile computing device may be one of a smartphone, a smartwatch, a tablet, or another type of wearable computing device. The cryptographic payload may be encrypted. The cryptographic payload may include a one-time password. The cryptographic payload may be received from a contactless card.

[0010] According to another aspect, the method can be performed by processing logic of a door lock connected to a wireless network. The method may include receiving a security package including a cryptographic payload from a contactless card, the cryptographic payload being generated at least in part based on a cryptographic key of the contactless card. The method may also include transmitting the cryptographic payload to an authentication service via the wireless network to authenticate at least in part based on an instance of the cryptographic key of the contactless card maintained by the authentication service. The method may also include receiving a response from the authentication service, the response indicating that the cryptographic payload has been authenticated at least in part based on an instance of the cryptographic key of the contactless card maintained by the authentication service. The method may also include sending a communication to an authorization service to determine whether a user associated with the contactless card is authorized to unlock the door lock, and receiving an indication from the authorization service that the user associated with the contactless card is authorized to unlock the door lock. The method may also include unlocking the door lock based on responses received from the authentication service and the authorization service. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A computing environment suitable for use with the exemplary embodiments is depicted.

[0012] Figure 2A Components of a mobile computing device in an exemplary embodiment are depicted.

[0013] Figure 2B Depicted are several different mobile computing devices that may be used with the illustrative embodiments.

[0014] Figure 3 An illustrative door lock suitable for use with an exemplary embodiment is depicted.

[0015] Figure 4 Illustrative components of a door access control system suitable for use with an exemplary embodiment are depicted.

[0016] Figure 5 A flow chart depicts illustrative steps that may be performed to unlock a door lock in an exemplary embodiment.

[0017] Fig. 6A A flow chart depicts illustrative steps performed in an exemplary embodiment for a user to enter identity credentials using a contactless card.

[0018] Figure 6B Depicted are illustrative interactions that may be performed between a contactless card and a mobile computing device to forward a secure packet in an exemplary embodiment.

[0019] Fig. 7A Illustrative hashing operations are depicted that may be performed in an exemplary embodiment to generate a hash value that may be used to generate an identity credential.

[0020] Figure 7B Describes examples of inputs that can be fed into a hash function as part of a hash operation.

[0021] Fig. 8A Depicted is the front side of an illustrative contactless card that may be suitable for use with exemplary embodiments.

[0022] Figure 8B Depicted are the hardware components of an illustrative contactless card.

[0023] Figure 8C A flow chart depicts illustrative steps that may be performed in an exemplary embodiment when authenticating identity credentials derived from a contactless card.

[0024] Fig. 9 A flow diagram depicts illustrative steps that may be performed in an exemplary embodiment in which a user provides identity credentials using a cryptographic key.

[0025] Fig.10 A flow chart is depicted of illustrative steps that may be performed in an exemplary embodiment to authenticate identity credentials when using a cryptographic challenge.

[0026] Fig.11A A flow diagram depicts illustrative steps that may be performed in an exemplary embodiment by an authorization service in response to an authorization request.

[0027] Fig. 11B A flow chart depicts illustrative steps that may be performed in an exemplary embodiment to determine whether a user is authorized to unlock a door lock of a guest room at a particular date and time. DETAILED DESCRIPTION

[0028] Exemplary embodiments may provide door locks and / or other locks that rely on identity credentials as keys to unlock and / or lock the lock. An identity credential may be a digital credential, such as a password or private cryptographic key, that holds evidence of knowledge of identity information and secret information. The use of an identity credential may enhance security by requiring possession of a contactless card, private cryptographic key, or other confidential information that is believed to be known only to a party associated with a given identity. Parties other than the identified party may not possess such identity credentials and therefore may not be able to use the key. This approach reduces the risks associated with traditional keys at lodging establishments, where an unauthorized party may use the key to gain access to a guest's room.

[0029] Exemplary embodiments may not require a physical key. Thus, there are no physical keys that could be lost or stolen. Thus, accommodations may not need to continually replace physical keys at great expense. The identity credential may be stored in a mobile computing device or may be generated using a mobile computing device, such as a smartphone, smartwatch, tablet, laptop, or similar device. Additionally, such a mobile computing device may require a user to enter a username and password to access software installed thereon. Thus, the identity credential may be more secure than a conventional plastic programmable key.

[0030] A lock, such as a door lock, in an exemplary embodiment may be connected to an access control system via a wireless network, such as a low-power, low-frequency Wi-Fi network, such as Network. Wireless networks can enable door locks to communicate with access control systems, such as servers at lodging establishments. HaLow networks can facilitate direct connections between door locks and access control systems. HaLow networks can directly connect door locks and access control systems that are more than 1 kilometer apart. Using a HaLow network can eliminate the need for traditional Wi-Fi networks to route signals. Therefore, one can place a door control system a kilometer away or in a basement where there may not be any additional network components needed. Using a HaLow network can be particularly beneficial for hotels. HaLow networks can enable access control systems to be placed in stockrooms or other buildings that do not have an existing Wi-Fi infrastructure.

[0031] Thus, hotel staff can unlock the door from their computer terminal without using a key at the door. The access control system can receive the identity credentials and forward the identity credentials to the authentication service for authentication. The access control system can also pass the guest's identity to the authorization service to determine whether the guest is authorized to unlock the door. More generally, the authorization service can store access control information for the guest, where the access control information determines which areas the guest can access, such as the guest room, spa, fitness center, etc.

[0032] Figure 1 An illustrative computing environment 100 that may be suitable for use in an exemplary embodiment is depicted. The computing environment 100 may include a mobile computing device 102 that may interact with a door lock 104. As will be discussed in more detail below, the mobile computing device 102 and the door lock 104 may communicate with each other wirelessly, as indicated by the dashed line interconnecting the mobile computing device 102 and the door lock 104. The door lock 104 may be connected to a wireless network 106, such as a HaLow network (e.g., an Institute of Electrical and Electronics Engineers (IEEE) 802.11ah network). The HaLow network may require low power and may operate at a low frequency, which may achieve good penetration of walls and other structures relative to other wireless networks. In addition, the HaLow network may have a good range relative to other wireless networks. Therefore, the HaLow network may be a good candidate for use in the embodiments described herein. In addition, the HaLow network may have the benefit that the door access system may be placed in a place without Wi-Fi infrastructure and may be remotely located at a location one kilometer away from the hotel room.

[0033] The access control system 110 can be connected to the wireless network 106 and can communicate with the door lock 104 and other door locks 105 via the wireless network. The access control system can be implemented as a computing device, such as a server computer, which manages access to the guest room via the door locks 104 and 105. Software for controlling the door locks can be stored and run on the access control system 110. The access control system 110 can be connected to one or more authentication services 112 and 114. Authentication services 112 and 114 can be run on a server computer system, a local computing device, or a cloud service infrastructure. The access control system 110 can be connected to the authentication service via a network connection (such as via the Internet). Authentication services 112 and 114 can authenticate the user's identity credentials to authenticate the user's identity, and can be implemented in software, hardware, or a combination thereof. In some exemplary embodiments, authentication services 112 and 114 can authenticate identity credentials derived at least in part from a contactless (or contactless) card, such as a Presto card from Capital One Financial Corporation. In some exemplary embodiments, authentication services 112 and 114 may authenticate users via Quick Identity Online. The identity credentials provided by the Alliance FIDO2 authentication protocol or from any other cryptographic authentication protocol.

[0034] The access control system 110 may have a connection for accessing the authorization service 116. The connection may be a network connection, such as via a local area network (LAN), a wide area network (WAN), or a combination thereof. The authorization service 116 may be implemented in software running on a computing device. The authorization service 116 may receive a request regarding whether a party is authorized to interact with the door lock 104, such as whether the party is allowed to unlock the door lock 104. The authorization service 116 may look up information in a database to determine whether the party is authorized. For each guest, the database may store information such as which room the guest is in, the date and time the guest can access the room, and / or the guest's access control permissions. The authorization service 116 may return information from the database 118 to the access control system 110, or may return an answer as to whether the guest is allowed to unlock the door lock. Based on the information provided by the authentication services 112 and 114 and / or the authorization service 116, the access control system 110 may decide whether to allow the user to unlock the door lock. As described below, the access control system 110 may send a message, command, or signal to the door lock 104 to unlock the door lock 104.

[0035] Although the discussion herein includes unlocking the door lock, since most door locks at lodging places are locked by default when closed, it should be understood that the authorization may also be to lock the door lock or to lock and unlock the door lock at the same time. The door lock may be used in guest rooms or in other parts of the lodging place, such as a fitness center, business center, swimming pool, or the like. The lock may also be located in an elevator to restrict access to a specific floor, such as a portion of a concierge floor.

[0036] Furthermore, the lock need not be a door lock of a lodging establishment, but may be a door lock in other environments, such as office buildings, offices, storage facilities, military bases, hospitals, prisons, etc. Furthermore, the lock may not be a door lock, but rather a lock that more generally restricts access to a space, fence, item, etc.

[0037] Figure 2A An example mobile computing device 200 is depicted, which a user (such as a guest of a lodging establishment) can use to unlock a door lock of a guest room (or other door, item, or area of ​​a lodging establishment). The mobile computing device 200 includes a processor 202. The processor 202 can be, for example, a microprocessor such as a central processing unit (CPU) or a graphics processing unit (GPU), a logic circuit, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a microcontroller. The processor 202 can access a memory 204. The memory 204 can include both a main memory and an auxiliary memory. The memory 204 can include a random access memory (RAM), a read-only memory (ROM), an optical memory, a magnetic memory, a removable storage medium, a solid-state memory, or the like. The memory 204 can include a non-transitory computer-readable storage medium. The memory 204 can include computer programming instructions, such as a card application 206. The card application 206 supports the use of a contactless card, such as a smart card, such as the Presto card of Capital One Financial Corporation. The memory 204 can also include a web browser 207 for browsing the World Wide Web. The memory 204 may also include the user's identity credentials 208. The memory 204 may store a key application 210 containing instructions for enabling the mobile computing device 200 to function as a key that can wirelessly present a digital key to the door lock 104.

[0038] The mobile computing device 200 may include NFC circuitry for enabling the mobile computing device 200 to have NFC capabilities. The NFC circuitry 212 may include, for example, an antenna, a wireless adapter, and a wireless transceiver. The mobile computing device 200 may include a display 214, such as a touch screen display, a light emitting diode (LED) display, or a liquid crystal display (LCD), for displaying text, graphical content, or video content. The mobile computing device 200 may include an input device 216, such as a touch screen, a depressible button, a thumb wheel, a key, a thumb pad, a mouse, etc. The mobile computing device 200 may include a network adapter 218 for interfacing with a network. The mobile computing device 200 may include a modem 220, such as a cellular modem.

[0039] The mobile computing device 200 may take many different forms, such as Figure 2B Mobile computing device 200 may be a smartphone 230 or a smartwatch 232. Mobile computing device 200 may be a laptop computing device 238 or a tablet computer 234. Mobile computing device 200 may be a wearable device 236. The examples of the types of mobile computing devices depicted are intended to be illustrative and not limiting.

[0040] Figure 3 Components of an illustrative door lock 300 that may be suitable for use with an exemplary embodiment are depicted. The door lock 300 may include processing logic 302. The processing logic 302 may include a microprocessor, FPGA, ASIC, circuit, or similar component for controlling the operation of the door lock 300. The door lock may include a memory 304, such as a non-transitory computer-readable storage medium, for example, a random access memory (RAM), a read-only memory (ROM), a solid-state memory, an optical storage medium, a magnetic storage medium, or the like. The memory 304 may include a main memory and / or an auxiliary memory and a cache. The memory 304 may store computer programming code that may be executed by the processing logic 302 to control the operation of the door lock 300. The door lock 300 may include a wireless network adapter 308 that enables the door lock 300 to connect to a wireless network 106. The door lock 300 may include an internal calendar 311 and a clock 310 for maintaining a current date and time. The door lock 300 may include a locking mechanism 312, such as a bolt that may be moved between a locked and unlocked position, and an actuator 314 for actuating the locking mechanism 312. The actuator 314 may be a motor or other electrically driven actuator. The door lock 300 may include a housing 313 for encapsulating the internal components of the door lock 300. The housing 313 may be designed to be integrated with the door, and the locking mechanism 312 may be designed to interact with a feature, such as a strike plate for the door on a door casing of a door frame. The door lock 300 may include an NFC circuit 316 for enabling the door lock 300 to communicate with other entities via an NFC wireless protocol.

[0041] Figure 4 Depicted are illustrative components of an access control system 400 suitable for an exemplary embodiment. Access control system 400 may include a processor 402, such as a microprocessor, such as a CPU or GPU, FPGA, ASIC, or other various processors. Access control system 400 may include a memory 404. Memory 404 may include a main memory and / or an auxiliary memory, and may include a non-transient computer-readable medium, such as a RAM, ROM, solid-state memory, magnetic storage medium, optical storage medium, or similar memory. Memory 404 may store computer programming code 406, which may be executed by processor 402 to perform the operations of access control system 400 as described herein, such as obtaining authentication from authentication services 112 and 114, obtaining authorization from authorization service 116, receiving communications from door locks 104 and 105, sending communications to door locks 104 and 105, and generally controlling door locks 104 and 105. Access control system 400 may include a display, such as a touch screen, LED display, LCD display, or similar display. The access control system 400 may include an input device 410, such as a touch screen, a mouse, a keyboard, a thumb pad, a microphone, etc. The access control system 400 may include a wireless adapter 412 for connecting to the wireless network 106 and a network adapter 414 for connecting to a wired network (such as a LAN, such as an Ethernet or similar network). The access control system 400 may have Internet access via its wired network connection.

[0042] Figure 5Flowchart 500 depicts illustrative steps that may be performed in an exemplary embodiment to unlock a lock, such as a door lock. In alternative embodiments, these same operations may be more generally applied to unlock all types of locks. Initially, at 502, a user may enter an identity credential into a mobile computing device 102, such as by receiving the credential from a contactless card or typing the credential. Different ways of entering the identity credential are described in detail below. At 504, a user may interact with a lock, such as a door lock 104, using a mobile computing device 102. This may require approaching the door lock 104 and initiating a wireless NFC session between the mobile computing device 102 and the door lock 104. The mobile computing device 102 and the door lock 104 may communicate to transfer the identity credential from the mobile computing device 102 to the door lock 104. At 505, the identity credential may be forwarded to the access control system 110 via the wireless network 106. At 506, the access control system 110 may send the identity credential to one of the authentication services 112 and 114 to authenticate the identity credential as authentic. At 508, the authentication service 112 or 114 may return a response to the access control system 110 indicating whether the identity credentials are deemed authentic. If the credentials are not authentic, then at 510, the door lock may remain locked. No further action may be taken, or the user may be notified that the attempt to unlock the door lock 104 has failed by receiving feedback from the access control system 110 via the mobile computing device 102 or by receiving feedback from the door lock 104 (such as a red light on the door lock turning on). In other embodiments, such a notification may not be sent.

[0043] At 514, when the authentication indicates that the identity credential is authenticated, it may be checked whether the user is authorized to unlock the door lock 104. This may require the access control system 110 to send identity information to the authorization service 116 and receive a response. At 514, a check may be performed to determine whether the user is authorized. If the user is not authorized, then at 510, the door may remain locked. In some embodiments, a notification may be sent to the user from the access control system 110 via the mobile computing device 102 or the door lock 104, indicating that the user is not authorized. In other embodiments, the notification may not be sent. In the case where the user is authorized, at 516, the door lock 104 may be unlocked by sending a message, command, or signal to the door lock 104 by the access control system 110, which causes the actuator 314 to actuate the locking mechanism 312 to the unlocked position under the control of the processing logic 302.

[0044] As described above, identity credentials may be entered into the mobile computing device 102 in different ways. Fig. 6A A flowchart 600 is depicted that may depict steps that may be performed when entering identity credentials via a contactless card. The flowchart will refer to Figure 6B6. Initially, at 602, the key application 210 may be executed on the processor 202 of the mobile computing device 200. At 604, the key application 210 may prompt the user to tap the contactless card 632 to the mobile computing device 636 (or otherwise bring the card 632 into the communication range of the device 636) to initiate an NFC session between the contactless card 632 and the mobile computing device 636. Doing so may cause the contactless card 632 to transmit the identity credentials in the security package 634 to the mobile computing device 636. The key application 210 may call the card application 206 to interact with the contactless card 632. When the contactless card 632 is placed in close enough proximity to the mobile computing device 636, the NFC session is established.

[0045] As part of the NFC session, at 606, contactless card 632 can generate a secure package 634, which can store identity credentials. Fig. 7A Depicted is one example of how to generate security package 634. The generation of security package 634 may employ a cryptographic hash function, such as MD5 or SHA-1. Fig. 7A A block diagram 700 is shown that illustrates how a cryptographic hash function may be used in an exemplary embodiment. Fig. 7A In the example shown, three inputs 702, 704, and 706 can be passed together through a hash function 710. The choice to describe three inputs is for illustration and not limitation. In some cases, other numbers of inputs can be used. The hash function 710 can produce an output hash value 712. Due to the nature of the hash function 710, it is computationally difficult to derive the inputs 702, 704, and 706 from the hash value 712 without knowing the key 708 used by the hash function 608. Therefore, the key 708 can only be stored or otherwise accessed by the contactless card 632 and the authentication service 112.

[0046] Key 708 may be dynamically generated for each session and may be specific to contactless card 632. In some embodiments, key 708 is generated based on an encryption key (e.g., key 814) stored by the contactless card, where a copy of the key is maintained by authentication service 112. In some embodiments, dynamic key 708 is generated by encrypting a key maintained by the card and a counter value maintained by the contactless card, so that key 708 is dynamically generated for each session. Dynamic key 708 may then be used in hash function 608. Thus, hash function 710 may provide a layer of security for content (e.g., inputs 702, 704, and 706) that may be included in secure package 634.

[0047] In an exemplary embodiment, inputs 702, 704, and 706 may vary depending on the information the parties agree to exchange and / or the negotiated protocol for authenticating the initiator. Figure 7B A diagram 720 of possible types of inputs 722 that may be hashed in an example embodiment is shown. The input 722 may be agreed upon by the contactless card 632 and the authentication service 112. In these exemplary embodiments, a one-time password 724 generated by the contactless card 632 may be included as an input. An account identifier 726 of the originator may be provided as an input. This may be an account number or other identifier that uniquely identifies the originator's account. As described above, the account identifier 726 may be the originator's phone number. The input 722 may include a counter value 728 maintained by the contactless card 632. In some embodiments, the counter value 728 is synchronized with the authorization service 116 and / or the authentication service 112, 114. The input 722 may include the name 730 of the originator. As an added layer of security, in some embodiments, the hash value 712 may be encrypted.

[0048] Referring again to FIG. 6 , at 608, the contactless card 632 may send a security packet 634 to a mobile computing device 636. The mobile computing device 636 may receive the security packet at 610. Figure 6B As shown, the security package 634 may ultimately be included in a message 638, which may be sent from the mobile computing device 636 to the access control system via a wireless network (see Figure 5 6). The access control system may then provide a message 638 to the authentication service 112 for authentication. To verify the authentication of the hash value 712 generated by the contactless card, the authentication service 112 may recreate the hash value 712 using the agreed-upon input 722. The authentication service 112 may then compare the recreated hash value 712 with the hash value in the security package 634 (which may be decrypted if encrypted). If the comparison matches, the authentication service 112 authenticates the security package 634 and sends an indication of the authentication to the access control system 110 and / or the authorization service 116. If the comparison does not match, the authentication service 112 does not authenticate the security package 634 and transmits an indication of the authentication failure to the access control system 110 and / or the authorization service 116. Doing so may result in the access control system 110 and / or the authorization service 116 denying the requested unlocking of the door lock or any other lock.

[0049] Fig. 8AAn exemplary contactless card 800 that can be used for an exemplary embodiment is shown. The contactless card 800 can be a payment card, such as a credit card, a debit card, or a gift card, issued by a service provider 805 displayed on the front or back of the card 800. In some exemplary embodiments, the contactless card 800 is unrelated to the payment card and can include, but is not limited to, an identification card. In some cases, the payment card can include a dual-interface contactless payment card. The contactless card 800 can include a substrate 820, which can include a single layer or a laminated layer composed of plastic, metal, and other materials. Typical substrate materials include polyvinyl chloride, polyvinyl chloride acetate, acrylonitrile butadiene styrene, polycarbonate, polyester, anodized titanium, palladium, gold, carbon, paper, and biodegradable materials. In some examples, the contactless card 800 can have physical properties that conform to the ID-1 format of the ISO / IEC 7810 standard, and the contactless card 800 can conform to the ISO / IEC 14443 standard. However, it should be understood that a contactless card 800 according to the present disclosure may have different characteristics, and the present disclosure does not require the contactless card to be implemented as a payment card.

[0050] The contactless card 800 may also include identification information 815 and a contact pad 810 displayed on the front and / or back of the card. The contact pad 810 may be configured to establish communication with another communication device (such as a user device, a smartphone, a laptop, a desktop, or a tablet). The contactless card 800 may also include a processing circuit, an antenna, and a Fig. 8A Other components not shown in the figure. These components can be located behind the contact pad 810 or elsewhere on the substrate 820. The contactless card 800 can also include a magnetic stripe or magnetic tape, which can be located on the back of the card ( Fig. 8A not shown).

[0051] like Figure 8B As shown, Fig. 8A The contact pads 810 may include processing circuitry 825 for storing and processing information, including a microprocessor 830 and a memory 835. It should be understood that the processing circuitry 825 may include additional components, including processors, memories, error and parity (e.g., cyclic redundancy check (CRC)) checkers, data encoders, anti-collision algorithms, controllers, command decoders, security primitives, and anti-tampering hardware, as may be necessary to perform the functions described herein.

[0052] The memory 835 can be a read-only memory, a write-once read-many memory or a read / write memory, for example, a RAM, a ROM and an EEPROM, and the contactless card 800 may include one or more of such memories. The read-only memory can be programmed to be read-only or one-time programmable at the factory. One-time programmability provides the opportunity to write once and then read multiple times. The one-time write / multiple read memory can be programmed at a certain point in time after the memory chip leaves the factory. Once the memory is programmed, it cannot be rewritten, but it can be read multiple times. The read / write memory can be programmed and reprogrammed many times after leaving the factory. It can also be read multiple times.

[0053] The memory 835 can be configured to store one or more applets 840, a master key 814, a diversified key 826, one or more counters 845, and a client identifier 850. Typically, a server (such as an authentication service 112) and a contactless card 800 can be equipped with the same master key 814 (also referred to as a master symmetric key). More specifically, each contactless card 800 is programmed with a different master key 814 that has a corresponding pair maintained by the server. For example, when the contactless card 800 is manufactured, a unique master key 814 can be programmed into the memory 838 of the contactless card 800. Similarly, the unique master key 814 can be stored by the server (e.g., in a hardware security module).

[0054] In addition, when a given card 800 is manufactured, the diversified key 826 can be diversified from the master key 814 via a function that takes the diversification factor and the master key 814 as input. In some embodiments, the diversification factor can be a counter 845 of the contactless card 800. The diversified key 826 can be stored in the contactless card 800 and the server. The master key 814 and the diversified key 826 can be kept secret from all parties other than the contactless card 800 and the server, thereby enhancing security. In addition, as described below, the value of the counter 845 can change over time. Therefore, the diversified key 826 can also change.

[0055] The one or more applets 840 may include one or more software applications configured to execute on one or more contactless cards, such as Java Card applets. However, it should be understood that the applets 840 are not limited to Java Card applets, but may be any software application that can operate on a contactless card or other device with limited memory. The one or more counters 845 may include a digital counter sufficient to store an integer. The counter 845 may correspond to Figure 7B728 of the counter. Counter 845 can be synchronized with a server (such as authorization service 116 and / or authentication services 112, 114). Counter 845 can be configured to increment each time a read operation occurs. In some examples, each time data is read from a contactless card (e.g., by a mobile device), counter 845 is transmitted to the server for verification and a determination is made as to whether counter 845 is equal to an instance of counter 845 maintained by the server (and / or within a threshold amount). Thus, when data is received from the card, the server can increment an instance of counter 845 maintained by the server. As another example, when a mobile device reads data from a contactless card, the mobile device can notify the server of the read, which can cause the server to increment an instance of counter 845 maintained by the server.

[0056] In some embodiments, counter 845 may be included in the cryptographic payload generated by contactless card 800 and included in the plaintext of the cryptographic package. The cryptographic payload may include a one-time password (OTP). In such an embodiment, the server may recreate the diversified key 826 based on an instance of the master key 814 and an instance of the counter 845 maintained by the server. The server may then decrypt the cryptographic payload using the diversified key 826, which may generate a counter value. The server may then compare the decrypted counter value 845 with the unencrypted counter 845 to verify or authenticate the cryptographic payload.

[0057] The customer identifier 850 may include a unique alphanumeric identifier assigned to the user of the contactless card 800, and the identifier may distinguish the user of the contactless card from other contactless card users. In some examples, the customer identifier 850 may identify both the customer and the account assigned to the customer, and may further identify the contactless card associated with the customer account.

[0058] The processor and memory elements of the above exemplary embodiments are described with reference to the contact pads, but the present disclosure is not limited thereto. It should be understood that these elements can be implemented outside the contact pads 810, or completely separated therefrom, or as other elements outside the processor 830 and memory 835 elements located within the contact pads 810.

[0059] In some examples, the contactless card 800 may include one or more antennas 855. The one or more antennas 855 may be placed within the contactless card 800 and around the processing circuit 825 of the contact pad 810. For example, the one or more antennas 855 may be integrated with the processing circuit 825, and the one or more antennas 855 may be used with an external booster coil. As another example, the one or more antennas 855 may be located outside the contact pad 810 and the processing circuit 825.

[0060] In one embodiment, the coil of the contactless card 800 can be used as the secondary of an air-core transformer. The terminal can communicate with the contactless card 800 by cutting off power or modulating amplitude. The contactless card 800 can infer data transmitted from the terminal by using gaps in the contactless card power connection, which can be functionally maintained by one or more capacitors. The contactless card 800 can communicate in reverse by switching a load or load modulation on the coil of the contactless card. Load modulation can be detected in the terminal coil by interference.

[0061] As described above, the contactless card 800 can be built on a software platform that can operate on a smart card or other device with limited memory (such as a JavaCard), and one or more applications or applets can be securely executed. The applet can be added to the contactless card to provide an OTP for multi-factor authentication (MFA) in various mobile application-based use cases. The applet can be configured to respond to one or more requests (such as a near field data exchange request) from a reader (such as a mobile NFC reader) and generate an NFC data exchange format (NDEF) message including an encrypted secure OTP encoded as an NDEF text tag. An example of an NDEF OTP is an NDEF short record layout (SR=1). In such an example, one or more applets 840 can be configured to encode the OTP as a well-known type text tag of NDEF type 4. In some examples, the NDEF message may include one or more records.

[0062] Figure 8CFlowchart 860 depicts steps that authentication service 112 may perform when contactless card 800 is used. Initially, at 862, authentication service 112 may use a decryption key to decrypt secure package 634. As described above, authentication service 112 may generate a diversified key 826, for example, by encrypting master key 814 and counter value 845, thereby recreating a decryption key to decrypt the secure package. In addition, the decryption key may be used to decrypt hash value 712 to extract the inputs hashed together by hash function 710. In some embodiments, authentication service 112 recreates the hash value using the same inputs used by the contactless card and compares the recreated hash value with the decrypted hash value to verify the hash value. At 864, the extracted password 724 and counter value 728 may be compared to a valid password and a valid counter value (e.g., a valid password and counter value stored in a database by authentication service 112). At 866, it may be determined whether the passwords match and whether the counter values ​​match, or whether the extracted counter value otherwise indicates that the password has not expired. For example, if the extracted counter value is not equal to (or is not within a threshold value) the valid counter value, the authentication service 112 can determine that the password has expired. At 868, if the passwords match and the password extracted based on the extracted counter value has not expired, other extracted information can be compared. At 872, if the other information is valid based on the comparison, then at 874, the identity of the user can be authenticated and a success message can be returned to the access control system 110. If not, then at 870, the identity of the user is not authenticated and a failure message can be sent to the access control system 110. Similarly, at 870, if the passwords do not match or the password has expired as indicated by the extracted counter value, the initiator is not authenticated and a failure message can be sent.

[0063] You can also use cryptographic keys to provide identity credentials. Fig. 9A flowchart 900 is depicted, which depicts illustrative steps that may be performed in an exemplary embodiment when using this method of providing identity credentials. Initially, at 901, a user may register with an authentication service 112 or 114 (such as a FIDO2 authentication service). This may include providing a name, an email address, and selecting a password. Other personal information may also be provided. Once registered, the user may be provided with a private cryptographic key from the authentication service 112 or 114. This registration may be completed as a separate transaction before the user attempts to open the door lock 104. When the user wishes to unlock the door lock, at 902, the user may access a web page using a web browser 207 or invoke a key application 210 on a mobile computing device, where the user is prompted to enter an email address and password. If the correct email address and password are provided, a password challenge seeking a response may be presented at 904. The correct response may require access to the private cryptographic key. At 906, the user may generate a response using the private key and send the response to the authentication service 112 or 114.

[0064] Fig.10 A flowchart 1000 is depicted, which shows illustrative steps that may be performed when an authentication service 112 or 114 authenticates a user through a password challenge. At 1002, the authentication service 112 or 114 may receive an email address and a password from a user as described above. At 1004, the authentication service 112 or 114 may determine whether the email address is an email address for a registered user, and may determine that the received password matches the user's registered password. If the email address is not for a registered user, or the password does not match the registered password, then at 1006, a message may be sent to the user's mobile computing device 102 indicating that at least one of an incorrect email address or password was provided, and authentication may be stopped. If the correct email address and password are provided, then at 1008, the authentication service 112 or 114 may issue a password challenge requiring the user to possess a private key that was issued for use when registering. Many different password challenge methods may be employed, such as those used with the FIDO2 authentication protocol. At 1010, a response may be received from the user's mobile computing device 102 at the authentication service 112 or 114. At 1012, the authentication service determines whether the response is correct. At 1014, if the response is correct, a success message may be sent. If the response is incorrect, a failure message may be sent at 1016.

[0065] Fig.11AA flowchart 1100 is depicted, which shows illustrative steps that the authorization service 116 may perform when processing a user request to unlock a lock (such as a door lock). At 1102, the authorization service 116 may receive an identity (e.g., name) of a user and a room number of a guest room. At 1104, the database 118 may be accessed to determine information about the guest. The database 118 may store a list of all current guests, the room numbers they can access, and the dates and times they can access one or more rooms. In addition, the database 118 may store the guest's access rights, which may be used to determine which locks the guest may unlock. Based on the contents in the database 118, at 1106, the authorization service 116 may generate a response and send it to the access control system 110. In some embodiments, the response may contain the guest's information retrieved from the database 118, or may indicate the absence of the guest's information in the database. Alternatively, the authorization service 116 may process the data to determine whether the user is authorized to unlock a lock, such as the door lock 104 of a specified guest room. In some embodiments, the access control system 110 processes the data to determine whether the user can unlock the door.

[0066] Fig. 11B A flow chart 1120 is depicted, which shows illustrative steps that may be performed by the access control system 110 or the authorization service 116 to determine whether a user is authorized to unlock a lock (such as the door lock 104) based on information retrieved from the database 118. At 1122, it may be determined whether the user is a registered guest. If the user is not a registered guest, then at 1128, the user may be considered unauthorized. If the user is registered as a guest, then at 1124, it may be determined whether the user has access rights to unlock a specified lock. If the user does not have access rights, then at 1128, the user may be considered unauthorized. If the user has access rights, then at 1126, a date / time check may be performed to determine whether the user is currently authorized to unlock the lock. If the user is currently authorized, then the user may be deemed authorized to unlock the lock, and an unlock instruction may be sent to the lock. If the user is not authorized, then at 1128, an unlock instruction may not be sent to the lock.

[0067] Although the present disclosure has been described with reference to exemplary embodiments herein, it will be understood that various changes in scope and details may be made without departing from the intended scope defined in the following claims.

Claims

1. A method executed by a processor of a computing device, the method comprising: receiving, from the door lock and over the wireless network, a secure packet including a cryptographic payload generated by a contactless card based at least in part on a cryptographic key of the contactless card; transmitting the cryptographic payload to an authentication service for authentication based at least in part on an instance of a cryptographic key of the contactless card maintained by the authentication service; receiving a response from the authentication service, the response indicating that the cryptographic payload has been authenticated based at least in part on an instance of a cryptographic key of the contactless card maintained by the authentication service; Based on the access control information, determining that the user associated with the contactless card is authorized to unlock the door; and A communication is sent to the door lock via the wireless network to cause the door lock to unlock.

2. The method according to claim 1, wherein: The cryptographic key comprises a diversified key, wherein the diversified key is generated by the contactless card and the authentication service based on a master key of the contactless card and a counter value.

3. The method according to claim 2, wherein: The counter value is synchronized between the contactless card and the authentication service.

4. The method according to claim 1, wherein: The cryptographic payload includes a hash value, wherein the hash value is generated based at least in part on a hash function and the cryptographic key.

5. The method according to claim 4, wherein: The hash value is also generated based at least in part on a one-time password (OTP) generated by the contactless card, a counter value maintained by the contactless card, and an account identifier stored by the contactless card.

6. The method according to claim 5, wherein: The authentication service authenticates the cryptographic payload based at least in part on: generating an instance of the hash value based on the OTP, the counter value, and the account identifier; as well as An instance of the hash value is determined to match a hash value of the cryptographic payload based on the comparison.

7. The method according to claim 1, wherein: The wireless network is an Institute of Electrical and Electronics Engineers (IEEE) 802.11ah network.

8. A method performed by a processor of a computing device, the method comprising: receiving, from the door lock and over the wireless network, a secure packet including a cryptographic payload generated by a contactless card based at least in part on a cryptographic key of the contactless card; transmitting the cryptographic payload to an authentication service for authentication based at least in part on an instance of a cryptographic key of the contactless card maintained by the authentication service; receiving a response from the authentication service indicating that the cryptographic payload has not been authenticated based at least in part on an instance of a cryptographic key for the contactless card maintained by the authentication service; determining, based on the response from the authentication service, that the user associated with the contactless card is not authorized to unlock the door lock; and An indication is sent to a mobile device associated with the user that the user is not authorized to unlock the door lock.

9. The method according to claim 8, wherein: The cryptographic key comprises a diversified key, wherein the diversified key is generated by the contactless card and the authentication service based on a master key of the contactless card and a counter value.

10. The method according to claim 8, wherein: The counter value is synchronized between the contactless card and the authentication service.

11. The method according to claim 8, wherein: The cryptographic payload includes a hash value, wherein the hash value is generated based at least in part on a hash function and the cryptographic key.

12. The method according to claim 11, wherein: The hash value is also generated based at least in part on a one-time password (OTP) generated by the contactless card, a counter value maintained by the contactless card, and an account identifier stored by the contactless card.

13. The method according to claim 12, wherein: The authentication service authenticates the cryptographic payload based at least in part on: generating an instance of the hash value based on the OTP, the counter value, and the account identifier; as well as An instance of the hash value is determined based on the comparison to not match the hash value of the cryptographic payload.

14. The method according to claim 8, wherein: The wireless network is an Institute of Electrical and Electronics Engineers (IEEE) 802.11ah network.

15. A method performed by processing logic of a door lock, the method comprising: receiving, from a contactless card, a secure packet including a cryptographic payload generated based at least in part on a cryptographic key of the contactless card; transmitting the cryptographic payload to an authentication service via a wireless network for authentication based at least in part on an instance of a cryptographic key of the contactless card maintained by the authentication service; receiving a response from the authentication service, the response indicating that the cryptographic payload has been authenticated based at least in part on an instance of a cryptographic key of the contactless card maintained by the authentication service; sending a communication to an authorization service to determine whether a user associated with the contactless card is authorized to unlock the door lock; receiving an indication from the authorization service that a user associated with the contactless card is authorized to unlock the door lock; as well as The door lock is unlocked based on responses received from the authentication service and the authorization service.

16. The method according to claim 15, wherein: The cryptographic key includes a diversified key, wherein the diversified key is generated by the contactless card based on a master key of the contactless card and a counter value.

17. The method according to claim 16, wherein: The counter value is synchronized between the contactless card and the authentication service.

18. The method according to claim 15, wherein: The cryptographic payload includes a hash value, wherein the hash value is generated based at least in part on a hash function and the cryptographic key.

19. The method according to claim 18, wherein: The hash value is also generated based at least in part on a one-time password (OTP) generated by the contactless card, a counter value maintained by the contactless card, and an account identifier stored by the contactless card.

20. The method according to claim 15, wherein: The wireless network is an Institute of Electrical and Electronics Engineers (IEEE) 802.11ah network.

Citation Information

Cited By

  • Door opening method based on intelligent lock platform and door opening method based on door lock end side

    CN119851382A

  • Door opening method based on intelligent lock platform, door opening method based on door lock side

    CN119851382B