Techniques and systems for performing authentication and payment operations using contactless cards to provide goods and services - Patents.com

The use of contactless cards for one-tap authentication and payment simplifies the rental process by eliminating the need for multiple steps, addressing the complexity of existing rental systems and enhancing user convenience.

JP2024534797APending Publication Date: 2024-09-26CAPITAL ONE SERVICES LLC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024509473
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-18
Filing Date
2022-08-12
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing rental systems for goods, such as scooters, require multiple steps and interactions, including downloading applications, setting up accounts, and performing complex authentication and payment processes, which can be tedious and difficult, especially for first-time users.

Method used

A system utilizing contactless cards that enable one-tap authentication and payment by communicating with a computing device associated with the rental item, which processes encrypted data to authenticate the card and user, and communicates with servers to facilitate rental transactions.

Benefits of technology

Simplifies the rental process by allowing users to rent items with a single tap of a contactless card, reducing the number of steps required and enhancing user convenience through streamlined authentication and payment operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024534797000001
    Figure 2024534797000001
Patent Text Reader

Abstract

SUMMARY OF THE DISCLOSURE The embodiments described in this disclosure relate generally to systems, devices, methods and techniques for performing authentication and payment operations on contactless cards to provide goods and services.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] More and more of today's activities are being automated, including performing tasks such as renting goods like scooters, vehicles, and other equipment. For example, many cities have a fleet of scooters deployed throughout the city. These scooters can be rented without human interaction. However, this process can be very cumbersome and resistant, especially for the first rental. The user may be required to perform several tasks, including downloading a specific application related to the scooter to a mobile device. The user may then need to set up an account with the scooter company in order to use the application for renting the scooter. During the actual rental process, the user may further need to identify the scooter for rental, log in / access their account, verify payment, and go through several additional steps to rent the scooter. The embodiments described herein aim to ensure that this process is simplified. Summary of the Invention

[0002] SUMMARY OF THE DISCLOSURE The embodiments described herein generally relate to systems, devices, methods, and techniques for performing authentication and payment operations with contactless cards to provide goods and services. For example, embodiments may include a system configured to perform authentication and payment operations based on data stored on a contactless card. The system may include one or more servers with one or more processors and memory, the memory coupled to the one or more processors and configured to store instructions. The instructions, when executed by the one or more processors, cause the one or more processors to receive from a rental system encrypted data generated by a contactless card corresponding to a rental of an item, extract authentication information from the encrypted data, perform an authentication operation on the authentication information to authenticate the contactless card, transmit a result of the authentication operation to the rental system indicating that the contactless card is authentic, receive from the rental system a payment request to pay for the rental of the item in response to the contactless card being authentic, process the payment request based on the information in the encrypted data, and transmit to the rental system a second result of the processing of the payment request indicating successful payment for the rental of the item.

[0003] In another example, an embodiment may include a server configured to enable a rental of an item based on an authentication operation performed using data stored on a contactless card. The server may include one or more processors and a memory coupled to the one or more processors, the memory storing instructions. The instructions, when executed by the one or more processors, cause the one or more processors to receive and process encrypted data stored on the contactless card and rental data corresponding to a rental of the item from the computing device, transmit the encrypted data to one or more servers for performing an authentication operation using the encrypted data, receive results of the authentication operation from the one or more servers indicating that the contactless card is authentic, and perform one or more operations to enable a rental of the item in response to authenticating the contactless card, the user, or a combination thereof.

[0004] In another example, an embodiment may include a computing device comprising a processing circuit and a memory coupled to the processing circuit, the memory storing instructions that, when executed by the processing circuit, cause the processing circuit to detect a contactless card within near field communication (NFC) range, receive encrypted data from the contactless card via one or more NFC exchanges, the encrypted data including authentication information for authenticating a user, transmit the encrypted data and rental data to one or more servers, the rental data corresponding to a rental of an item, receive instructions from the one or more servers to enable rental of the item, and perform an action to allow rental of the item based on the instructions. [Brief description of the drawings]

[0005] To easily identify the description of any particular element or act, the most significant digit(s) of a reference number refers to the figure number in which that element is first introduced.

[0006] [Figure 1] 1 illustrates an example of a system 100 according to embodiments described herein. [Figure 2A] FIG. 2 illustrates an exemplary display on a computing device according to embodiments described herein. [Figure 2B] 1 illustrates an exemplary display on a computing device according to embodiments described herein. [Figure 3A] 3 illustrates a first exemplary configuration of a system 300a according to embodiments described herein. [Figure 3B] 3 illustrates a second exemplary configuration of a system 300a according to embodiments described herein. [Figure 4] 4 illustrates a routine 400 according to an embodiment. [Diagram 5] 5 illustrates a routine 500 according to an embodiment. [Figure 6] 6 illustrates a routine 600 according to an embodiment. [Figure 7] 7 illustrates an example of a system 700 according to an embodiment. [Figure 8] 8 illustrates an example of a system 800 according to an embodiment. [Figure 9] 1 illustrates a contactless card 102 according to one embodiment. [Figure 10] 1 illustrates a transaction card component 1000 according to one embodiment. [Figure 11] 11 illustrates a sequence flow 1100 according to one embodiment. [Figure 12] 12 illustrates a data structure 1200 according to one embodiment. [Figure 13] FIG. 1 is a diagram of a key system in accordance with an exemplary embodiment. [Figure 14] 1 is a flowchart of a method for generating a ciphertext according to an example embodiment. [Figure 15] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 16] 1 illustrates an aspect of the subject matter according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] The embodiments may be generally directed to a system configured to improve one-tap rental services for items using a token such as a contactless card. For example, the described embodiments may be configured to enable a user to rent an item such as a scooter, bicycle, chair, car, kayak, paddle board, or any other type of equipment by tapping a contactless card on a computing device associated with the item. The computing device may be configured to process information on the card and communicate with one or more servers to provide authentication and payment services for the rental of the item. The embodiments described herein may also enable a user to purchase services such as rental time on a computer, access to a streaming service or item, processing time on a cloud computing device, etc. The embodiments are not limited in such manner.

[0008] The systems described herein include computing devices, such as mobile devices, computers, servers, networking equipment, etc., configured to enable token and user validation and rent goods. The solutions described herein provide advantages over previous solutions for renting goods. Previous systems generally required a user to go through several steps or actions to rent goods. The user may be required to download and / or configure an application on the mobile device, set up an account for the goods, including providing payment information, and interact with the application to rent the goods. The embodiments described herein provide an improvement over previous techniques by allowing a user to perform a single action to rent goods by presenting a contactless card to a computing device that may be used to validate the user and provide payment for the rental. As described in more detail, the contactless card and computing device are configured to perform the exchange. The information may be further communicated to one or more servers to authenticate the card and user and provide payment for the rental. The action may also be used as a signature for the user to sign or accept the terms and conditions of the rental of the goods. These actions may be performed without requiring the user to set up an account and provide secure information to the application and a third party provider of the application.

[0009] In one example, a computing device associated with a rental item may be configured to provide information to a server in an encrypted format generated by a contactless card. The server may be configured to receive and process the encrypted data generated by the contactless card and rental data corresponding to the rental of the item. For example, the system may be configured to extract authentication information from the encrypted data that may be used to authenticate or verify the contactless card and the user. Specifically, the system may perform an authentication routine on the authentication information to authenticate the user. The authentication routine may include successfully decrypting the encrypted data with the correct key to ensure that the encrypted data, e.g., a shared secret, matches an authentic shared secret stored in the system. In response to authenticating the card and the user, the system may also perform one or more actions to validate the rental of the item, such as providing payment for the item and accepting any terms of the transaction.

[0010] In an embodiment, a computing device configured to communicate with the contactless card and the server may be affixed to and / or associated with the rental item. The computing device may be configured to wirelessly communicate according to one or more wireless technologies. For example, the computing device may exchange data with the contactless card when the card is within wireless near-field communication range. Specifically, the computing device may be configured to periodically emit a signal according to a near-field communication (NFC) protocol to energize and detect the contactless card. The device may receive encrypted data via one or more communication exchanges that may include authentication information for authenticating the card and the user, and information for paying for the item. The device may be configured to transmit the encrypted data and data related to the rental of the item to the system to one or more servers according to different wireless technologies, e.g., cellular or WiFi communication. The computing device may also be configured to receive instructions from one or more servers to enable the rental of the item and process the instructions. For example, the device may receive instructions based on the user being authenticated and successful payment for the item. In some cases, the computing device may receive instructions to deny the current rental, for example, when the user is not authenticated and / or when payment is not received. If the user is authenticated and payment is received, the device may also be configured to trigger an action to authorize the rental of an item based on the instructions. Further details are provided in the description below.

[0011] 1 illustrates an example of a system 100 according to embodiments described herein. The system 100 may be configured to provide one-tap authentication and payment services to allow users to rent or purchase items. The illustrated system 100 includes a limited number of systems, devices, components, etc., for purposes of simplicity. In one implementation, the system 100 may include any number of systems, devices, components, etc., to provide the functionality described herein.

[0012] In an embodiment, the system 100 is configured to allow a user to rent or purchase an item, such as the item 104. In the illustrated example, the item 104 is a scooter. However, the embodiments are not limited in this manner. The item 104 may be any type of product or service that a user can rent or purchase. For example, the item 104 may be any type of vehicle, including a scooter, bicycle, car, etc. The item may be outdoor equipment, such as beach chairs, umbrellas, kayaks, tents, paddle boards, etc. In some cases, the item 104 may be a service, such as computer rental time, processing time, cloud-based storage, etc. The embodiments are not limited to these examples.

[0013] In an embodiment, the item 104 may include or have a computing device 106 that a user can utilize to rent the item 104. In some cases, the computing device 106 may be a dedicated computer configured only to provide rental services to a user. The computing device 106 may include one or more processing components, such as a central processing unit, a processor, a graphics processing unit, a controller, and the like. The computing device also includes volatile memory, non-volatile memory, input / output (I / O) devices, wired and wireless communication interfaces, a display (touch screen), and the like, through which a user can interact with the computing device 106. In one example, the computing device 106 may be a single-board computer, including a circuit board having a processor, memory, I / O devices, and other functionality configured to provide the functionality described herein. In an embodiment, the item 104 and / or the computing device 106 may include one or more positioning devices, such as a global positioning system (GPS) device, a position positioning system (LPS) using cellular or WiFi stations and signals, a system using triangulation, and the like. The positioning devices may be utilized to determine the location of the computing device 106 and the item 104. In some cases, the computing device 106 can determine the time based on a signal received from a position determining device, for example, based on a clock or time signal.

[0014] In an embodiment, the computing device 106 is in a housing that is fixed or integrated into the body of the item 104. The computing device 106 may be attached to the item 104 utilizing any type of attachment mechanism or fastener. In some cases, the computing device 106 may be integrated into the item 104, for example, located on a molded portion of the handlebar or stem of a scooter, such that it cannot be removed from the item 104. In other examples, the computing device 106 may be integrated into or fixed to a locking mechanism of the item 104. For example, the computing device 106 may be for a locked storage system (locker) that enables access to the item 104 once a user is authenticated. As will be described in more detail, the computing device 106 may be configured to control (lock / unlock) the locking mechanism based on the card and user being authenticated.

[0015] In an embodiment, computing device 106 includes one or more wireless interfaces configured to communicate with other devices of system 100. For example, computing device 106 may include a short-range wireless communication interface configured to communicate according to a short-range communication protocol, such as NFC, Bluetooth, any other short-range RF protocol, or an infrared (IF) protocol. In an embodiment, computing device 106 may utilize the short-range wireless communication interface to communicate with devices including contactless card 102.

[0016] In an embodiment, the contactless card 102 and the computing device 106 are configured to communicate when they are within a short-range wireless communication range of each other, such as, for example, 10 centimeters for NFC. For example, the computing device 106, which includes a short-range wireless communication interface, periodically energizes to emit one or more signals to further energize and communicate circuitry in the contactless card 102. The contactless card 102 and the computing device 106 may be configured to initiate a communication exchange, such as, for example, an NFC communication exchange, to establish a connection and communicate data with each other. In some cases, a user may tap or touch the contactless card 102 against the computing device 106 to ensure that the contactless card 102 is within communication range with the computing device 106 to exchange data. The data may include a shared secret, a customer identifier, one or more account numbers, one or more counter values, etc., that may be used to authenticate the card and / or the user. FIGS. 9 and 10 illustrate and describe in more detail with respect to the contactless card 102. In some cases, the contactless card 102 may be configured to encrypt data for communication with the computing device 106. FIG. 11 illustrates a possible sequence 1100 that may be performed between the contactless card 102 and the computing device 106 to exchange data for an authentication operation, while FIGS. 12 through 16 illustrate and explain additional details for communicating data in a secure manner utilizing diversified keys.

[0017] In an embodiment, the contactless card 102 may generate encrypted data and communicate the data to the computing device 106. The computing device 106 may then communicate the encrypted data to one or more other systems, devices, servers, etc. to authenticate the user and provide payment information. For example, the computing device 106 may utilize one or more wired and wireless networks, such as the network 108, to communicate with the system 110.

[0018] The network 108 may be one or more of a wireless network, a wired network, or any combination of wireless and wired networks, and may be configured to connect the computing device 106 to the system 110. For example, the network 108 may include one or more of an optical fiber network, a passive optical network, a cable network, an Internet network, a satellite network, a wireless local area network (LAN), a global mobile communications system, a personal communication service, a personal area network, a wireless application protocol, a multimedia messaging service, an enhanced messaging service, a short message service, a time division multiplexing based system, a code division multiple access based system, a D-AMPS, Wi-Fi, fixed wireless data, the IEEE 802.11 family of standards, IEEE 902.15.x (wireless PAN family), Bluetooth, NFC, radio frequency identification (RFID), Wi-Fi, and / or the like. Additionally, the network 108 may include hardware and infrastructure that may include, but is not limited to, telephone lines, optical fiber, IEEE Ethernet 802.3, a wide area network, a wireless personal area network, a LAN, or a global network such as the Internet. Further, network 108 may support an Internet Protocol (IP) network, a wireless communication network, a cellular network, etc., or any combination thereof. Although network 108 is shown as a single network, it should be understood that according to one or more examples, network 108 may include multiple interconnected networks.

[0019] In an embodiment, the computing device 106 may communicate data over the network 108 to the system 110 to authenticate the user, provide payment information, and enable the user to rent the product 104. In an embodiment, the system 110 may be operated by an owner or provider of the product 104 and / or a bank to provide authentication and payment services. For example, the system 110 may be incorporated into a scooter rental system for renting scooters in a market such as a city street. The system 110 may include a physical server on a location operated and maintained by the product provider, or may be a cloud-based computing server system 110 that provides services to the product provider upon request.

[0020] In some cases, one or more of the systems 110 may include a server maintained and operated by a banking system to provide authentication and payment services for renting the goods 104. Additionally, the systems 110 controlled by the banking system may be associated with the contactless card 102. As described in further detail in FIG. 2A and FIG. 2B, the systems 110 may include a rental server, an authentication server, and a payment server. The rental server may be controlled and operated by a rental company, and the authentication server and payment server may be controlled and operated by a bank. The rental server may provide rental services, and the authentication server and payment server may provide authentication and payment services for the rental of the goods 104.

[0021] FIG. 2A illustrates an example display that may be displayed by the computing device 106 including instructions for a user to perform a single tap action with a token, such as the contactless card 102, to rent an item.

[0022] In an embodiment, the computing device 106 may include a display device, such as a touch screen display capable of displaying text and images. In the illustrated example of FIG. 2A, the computing device 106 is configured to display instructions, such as "Tap your card to rent an item," and an image of the contactless card on the display device. As described herein, the instructions and images presented on the display device ensure that the user brings the contactless card 102 sufficiently close to the computing device 106 to effect a communication exchange.

[0023] In some embodiments, the computing device 106 is configured with any type of display device, including a liquid crystal display (LCD), a light emitting diode (LED) display, a plasma display, or any other type of flat panel system. In some cases, to conserve battery power, the display device may be an electronic ink (e-ink) display configured to display instructions. The e-ink display may retain a state and display instructions even when no power is applied to the display device, for example, to conserve power and battery usage. In some cases, the computing device 106 may keep the display device off or in a standby state and may be configured to detect objects, such as a person, in the vicinity of the computing device 106, for example, via one or more sensors. For example, the computing device 106 may include a proximity sensor configured to detect a person, and the computing device 106 may be configured to light up the display device and display instructions based on the detection.

[0024] In an embodiment, the computing device 106 can detect and exchange information with the contactless card 102 when brought within communication range of the interface and the computing device 106 as described herein.

[0025] 2B shows another exemplary display that may be presented to a user on a display device for renting an item. In the illustrated example, the display may present instructions for reviewing terms and conditions for renting an item, such as, for example, text and a button that reads "Click here for terms and conditions." A computing device 106 including the display device may be configured to detect a user selection of a button on the display device and display the terms and conditions for the user to review. The terms and conditions may be stored in memory or retrieved by the computing device 106 via an Internet server.

[0026] In an embodiment, the computing device 106 may include instructions for the user to accept the terms of the transaction and begin renting the item with a single tap of the contactless card 102. For example, the display device of FIG. 2B may also be configured to present text such as "Tap your card here to accept the terms of the transaction and rent the item" and an image of a contactless card. As also described in FIG. 2A, the computing device 106 may detect the contactless card 102 and perform an exchange of data with the contactless card as described herein.

[0027] 3A illustrates a first exemplary configuration of a system 300a for performing operations described herein, including enabling a user to rent an item 104 with a single tap of a contactless card. In the illustrated example, a computing device 106 is coupled to the item 104 and configured to communicate with a rental system 310 that includes a rental server 304. In the illustrated example, the rental server 304 is configured to provide a number of services, including card authentication, payment verification, and providing rental management services, such as monitoring and tracking one or more items, communicating with the items, processing payments for rentals of the items, etc.

[0028] In an embodiment, a user may wish to rent an item 104, which may be any type of rental item, as previously described. The item 104 may be coupled with a computing device 106, which may be physically affixed to the item 104, molded into the item 104, or located within another housing associated with the item 104. In some embodiments, the computing device 106 may be implemented in a storage facility (e.g., a locker) associated with the item 104 and / or control a locking mechanism for the item 104.

[0029] In some embodiments, the computing device 106 is configured to allow a user to rent an item 104 with a single tap of a token, such as a contactless card 102. For example, the computing device 106 may be configured to periodically attempt to scan or detect the token or contactless card 102, e.g., by energizing a short-range wireless communication interface, to probe for the contactless card and detect when the contactless card 102 is within communication range of the computing device 106. The computing device 106 and / or the item 104 may be affixed with a sticker or placard having instructions for the user to bring the contactless card 102 near the computing device 106 and ensure that the contactless card is within communication range. In some embodiments, the instructions may instruct the user to tap the contactless card 102 on the computing device 106. The computing device 106 may also include a display device, such as a flat panel display, a light emitting diode (LED) display, a liquid crystal display (LCD), etc., configured to display the instructions. In one example, the display may display instructions for tapping the card on the display and a graphical representation of the card indicating where to tap the card.

[0030] In other examples, the computing device 106 may include one or more interfaces, such as a touchscreen display, and the user may interface with the computing device 106 via the touchscreen display to initiate the rental of the item 104. For example, the computing device 106 may present one or more GUIs for the user to make selections, such as instructions for renting the item 104, the length of time to rent the item 104, a payment method for renting the item 104, accepting the rental terms and conditions, etc. In these cases, the computing device 106 may receive and process the user selections corresponding to the parameters of the rental of the item 104 and prompt the user to bring the contactless card 102 near or on the computing device 106 to initiate the exchange for the contactless card 102. In some cases, the computing device 106 may not include a display. In these examples, the user may accept the terms and conditions via universal terms and conditions agreed upon upon activation of the contactless card 102 or may have previously activated the card's tap-to-rent feature via a banking system.

[0031] The computing device 106 is configured to initiate a communication exchange with the contactless card 102 when the contactless card 102 is within wireless communication of the computing device 106 based on the communication protocol being used for the communication. For example, the computing device 106 may be configured to communicate according to an NFC protocol and may initiate an NFC exchange with the contactless card 102 when the contactless card 102 is within an NFC communication range of, for example, about 10 centimeters (cms). In an embodiment, the computing device 106 initiates the exchange with the contactless card 102, and the contactless card 102 transmits data to the computing device 106. The data may include authentication information, such as a shared secret, a customer identifier, or other unique identifier. The data may also include information enabling payment for a rental, such as an account number or information associated with the customer's account that may be used to identify the account. In some cases, the contactless card 102 may transmit encrypted data.

[0032] For example, the contactless card 102 may generate a message authentication code (MAC) cryptogram to transmit data to the computing device 106. In some examples, this may occur when the contactless card 102 is read by the computing device 106. In particular, this may occur upon reading, such as an NFC read of a Near Field Enabling and Distributed Data Exchange (NDEF) tag, which may be created according to an NFC data exchange format. For example, the computing device 106 may include a reader application configured to perform a read operation to read data from the contactless card 102. The contactless card 102 may generate a message including a cryptogram, which may include a header and a shared secret, a customer identifier or other identification information, account information, or a combination thereof. The contactless card 102 may generate a MAC cryptogram (encrypted data) from the message, which may be further encrypted with random data utilizing, for example, a diversified key or a session key, as further described in FIG. 11. Contactless card 102 may communicate the MAC cryptogram in the NDEF message format in response to a “read NDEF file” message received from computing device 106 .

[0033] In some cases, the computing device 106 and the contactless card 102 may exchange data according to different protocols, for example, communication may occur via Bluetooth, Wi-Fi, or other means of wireless data communication, although embodiments are not limited in this manner.

[0034] In an embodiment, the computing device 106 may receive data from the contactless card 102 and store the data in memory. In some cases, the computing device 106 may provide an indication to the user that the data was successfully or not received from the contactless card 102. For example, the computing device 106 may present an indication on a display of a GUI. In other examples, the computing device 106 may provide an indication by illuminating one or more light emitting diodes (LEDs) corresponding to whether data was received.

[0035] The computing device 106 may further initiate communication with one or more systems to process the rental of the item 104. In the illustrated example, the computing device 106 may send one or more messages to a rental system 310 including a rental server 304. The computing device 106 may send the one or more messages over a network, such as the network 108. In an embodiment, the computing device 106 is configured to communicate according to one or more cellular communication protocols, including, but not limited to, Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), cdmaOne, CDMA2000, Evolution Data Optimized (EV-DO), Enhanced Data Rates for GSM Evolution (EDGE), Universal Mobile Telecommunications System (UMTS), Digital Enhanced Cordless Communications (DECT), Digital AMPS (IS-136 / TDMA), Long Term Evolution (LTE), Fifth Generation (5G), and Integrated Digital Enhanced Network (iDEN).

[0036] In some cases, the computing device 106 may be configured to operate on a battery. In an embodiment, the battery may be dedicated to the computing device 106 or may be a battery also configured to power the item 104. The computing device 106 may be configured to reduce power consumption to extend battery life. As an example, the computing device 106 may be configured to communicate with the network 108 using low power cellular technology. For example, the computing device 106 may be configured to communicate using a low power wide area network (LPWAN) protocol, a low power wide area (LPWA) network protocol, or a low power network (LPN) protocol, or any other type of wireless telecommunications wide area network designed to enable long distance communication at low bit rates.

[0037] In an embodiment, the computing device 106 is configured to communicate messages according to a messaging communication protocol. For example, the computing device 106 may be configured to communicate with the rental server 304 according to a publish-subscribe protocol, such as the Message Queuing and Telemetry Transport (MQTT) protocol, configured to operate over Transmission Control Protocol (TCP) / Internet Protocol (IP), or any other network protocol that provides an ordered, lossless, bidirectional connection. MQTT may be utilized in implementations that require a small code footprint (reduced memory availability) and / or low bandwidth implementations. In one example, the computing device 106 may be configured to publish data, and the rental server 304 may subscribe to the data according to the MQTT protocol. The data may include rental data or information. The rental data may include an item identifier, date / time of rental, location of rental, and other parameters of the rental. The data may also include encrypted data from the contactless card 102. For example, the computing device 106 may publish a cryptogram to communicate the cryptogram to the rental server 304. In an embodiment, communications between the computing device 106 and the rental server 304 may be protected using one or more secure / encrypted technologies.

[0038] In embodiments, the computing device 106 and the rental server 304 may utilize other message protocols to communicate data. In some implementations, at least a portion of the data may be communicated according to a Representational State Transfer (RESTful) JavaScript Object Notation (JSON) communication protocol. For example, the computing device 106 may be configured to utilize a PUT command to send data to a location or address of the rental server 304, e.g., https: / / rentalserver.com / parameters, where the parameters may include rental data (item identifier), date / time, location, etc. In some cases, the computing device 106 may be configured to send information from the contactless card 102 to the rental server 304 as one or more parameters, e.g., a cryptogram, a token, an account number, a customer name, a CVV, etc. In some implementations, the rental server 304 may be configured to retrieve data from the computing device 106. For example, the rental server 304 may be configured to execute a GET command to retrieve at least a portion of the data from the computing device 106. The embodiments are not limited to these examples. In some implementations, the computing device 106 and the rental server 304 may communicate data between each other using a combination of MQTT and RESTful JSON messaging protocols and / or additional / different protocols, such as Extensible Markup Language (XML) and / or Hypertext Transfer Protocol (HTTP) or Secure HTTP (HTTPs).

[0039] The rental server 304 is configured to receive and process data to enable rental of the item 104. For example, the rental server 304 can store rental data in a database or data store to track rental of the item 104. Specifically, the rental server 304 can store an identifier for the item with a start date and time for renting the item. In the case of time-based rentals, the rental server 304 may also receive an end date and time from the computing device 106 and calculate the cost of the rental for charging an account associated with the contactless card 102. Specifically, the rental server 304 can use the start date and time and the end date and time to calculate the rental time and determine the cost of renting the item 104.

[0040] The rental server 304 can also process data from the contactless card 102 to validate the card and process payment for the rental of the item 104. In some cases, the rental server 304 can utilize a banking system 308 that includes an authentication server 302 to authenticate the contactless card 102. For example, the rental server 304 can communicate a cryptogram from the contactless card 102 to the authentication server 302 to authenticate the contactless card. In some embodiments, the rental server 304 can be configured to communicate with the authentication server 302 using a RESTful JSON messaging protocol API. For example, the rental server 304 can execute a command at the location or address of the authentication server 302, e.g., https: / / authenticationserver.com / authenticatemethod / parameters, that includes invoking an authentication method with the cryptogram as a parameter (or information from the cryptogram as a parameter). The authentication server 302 can authenticate the card and / or the user and return a result. The embodiments are not limited to this exemplary implementation and other message protocols / formats can be used to communicate data from the contactless card 102 to the authentication server 302 .

[0041] In an embodiment, the authentication server 302 may be part of a banking system 308, for example owned and operated by a bank, and is configured to perform authentication operations to authenticate the card and the user. Specifically, the authentication server 302 ensures that the data from the contactless card 102 is valid and that the user is authentic. In an embodiment, the authentication server 302 may be configured to receive the data and perform one or more authentication operations, such as ensuring that the encrypted data is encrypted with the correct key and that the data from the contactless card 102 matches stored / authenticated data.

[0042] For example, as described in more detail in FIG. 15, the authentication server 302 may determine when successful authentication is determined when the following conditions are met: First, the ability to verify the MAC indicates that the derived session key was appropriate for the contactless card 102. The MAC can only be correct if the decryption by the authentication server 302 is successful, resulting in the appropriate MAC value. Successful decryption may indicate that a correctly derived encryption key was used to decrypt the encrypted MAC. Because the derived session key is created using a master key known only to the sender (e.g., contactless card 102) and the recipient (e.g., authentication server 302), it can be trusted that the contactless card that originally created the MAC and encrypted the MAC is in fact genuine. Additionally, the counter values ​​used to derive the first and second session keys may be indicated as valid and may be used to perform the authentication operation. Similarly, other information in the data from contactless card 102 may be used by authentication server 302 to authenticate contactless card 102, for example, by comparing a shared secret, a customer identifier, or other information stored on contactless card 102 with authentication information stored in authentication server 302. For example, authentication server 302 may retrieve the authenticated shared secret from a memory or database and compare the authenticated shared secret with the shared secret from contactless card 102 to verify that contactless card 102 can be authenticated.

[0043] In an embodiment, the authentication server 302 authenticates the card and provides instructions to the rental server 304. Specifically, the authentication server 302 can communicate one or more messages to the rental server 304 including an instruction as to whether the card is authentic based on the data from the contactless card 102. If the card is not authentic, the computing device 106 and / or the rental server 304 prevent the item 104 from being rented, for example, by maintaining a lock on the item 104, providing instructions to the user via an interface, etc. If the card is authentic, the system 300a including the computing device 106 and the rental server 304 may continue to process data to allow the user to rent the item 104.

[0044] In some cases, the system 300a may request the user to perform two-factor or multi-factor authentication so that the user associated with the contactless card 102 may also be authenticated. Any number of additional authentications may be performed by the authentication server 302. For example, the system 300a may request the user to provide additional information, such as entering a PIN, password, address, phone number, etc., into one or more interfaces 106 that may be provided to the authentication server 302. The authentication server 302 may verify that the additional information is authenticated and associated with the contactless card 102. In another example, the authentication server 302 may request and / or determine that the user is in possession of another device, such as a mobile device, by sending a one-time passcode to the device and having the user respond to the code and / or enter the code into the computing device 106, enter the code into a banking app, respond to a message, etc. Additional authentication methods, such as an authentication application, may be used to authenticate the user.

[0045] In an embodiment, the authentication server 302 may return the results of the performed authentication operations to the rental server 304 as one or more messages according to a message protocol. The rental server 304 is configured to process the results and determine whether to proceed with the rental of the item 104. For example, if the rental server 304 receives an indication that the card and / or user have been authenticated, the rental server 304 may send one or more messages to the computing device 106 to enable the rental of the item 104. The messages may include an indication that the rental is permitted. If the card and / or user cannot be authenticated, the rental server 304 may not permit the rental of the item 104 by sending one or more messages to the computing device 106 indicating that the rental has been denied.

[0046] In an embodiment, the computing device 106 may receive an indication indicating whether rental is permitted and process the indication accordingly. For example, the computing device 106 may send one or more signals to a locking mechanism to cause it to unlock if rental is permitted. Other examples may include sending one or more signals to a motor to enable the item 104. If rental of the item 104 is denied, the computing device 106 may prevent the item 104 from being rented and provide instructions to the user, for example, presenting instructions on a display. Examples may include sending signals to maintain or release the brake of the item, enable or disable the motor of the item, maintain or release the locking mechanism of the item, etc.

[0047] In an embodiment, the rental server 304 is configured to process payments for rental of the item 104. For example, the rental server 304 can utilize the payment server 306 to collect payments for rentals based on data collected from the contactless card 102 and rental data. In an embodiment, the rental server 304 can determine the amount of the rental either at the time of rental or upon completion of the rental (e.g., based on start and end dates and times) and communicate with the payment server 306 to collect payment from an account associated with the contactless card 102 and the user. In one example, the rental server 304 is configured to interface with the payment server 306 via an API to collect payment, e.g., to send a payment request. The API may also be a RESTful JSON API and may include a payment method that may be invoked by the rental server 304, e.g., using a GET command. The rental server 304 may invoke a GET command on the address of the payment server 306 to invoke on the payment method and include one or more parameters that the payment server 306 can process the payment, e.g., https: / / paymentserver.com / payment method / parameters. The parameters may include data from the computing device 106, such as a cryptogram containing an account number. The payment server 306 can process the payment by transferring funds from the user's account to an account associated with the rental system 310 and provide instructions to the rental server 304. The instructions may indicate that the payment was successful or unsuccessful.

[0048] Although shown as two separate servers, the authentication server 302 and the payment server 306 may be implemented on the same server or cloud-based computing system. Each of the servers may include components such as one or more processors, memory, interfaces, displays, I / O devices, etc., as previously described.

[0049] 3B illustrates a second example of a system 300b configured to perform the operations described herein. In the illustrated example, the computing device 106 may be configured to communicate directly with a banking system 308 to enable a user to rent an item 104.

[0050] In an embodiment, the computing device 106 is configured to detect an attempt to rent the item 104 and process communications with the contactless card 102, as described above in FIG. 3A. For example, the computing device 106 may perform one or more NFC exchanges to receive encrypted data from the contactless card 102. The encrypted data may be a ciphertext or a MAC ciphertext and may include data that may be used to authenticate the card and possibly the user. The data may be received from the contactless card 102 and stored in memory of the computing device 106 for communication to the banking system 308.

[0051] In an embodiment, the computing device 106 is also configured to determine rental data in the system 300b in the same manner as described in FIG. 3A. For example, the computing device 106 can determine rental data such as the date and time of rental based on a location device such as a GPS. The computing device 106 is also configured to determine the status of the item 104 based on one or more sensors of the item 104, such as a battery sensor. In some cases, the computing device 106 can determine the length of time of the rental based on user input entered via a touch screen interface or another input device. The embodiments are not limited to such methods.

[0052] In an embodiment, the computing device 106 is configured to communicate with the banking system 308 to enable rental of the item 104. For example, the computing device 106 may communicate over a network, such as the network 108, to transmit encrypted data, rental data, a payment request, or a combination thereof to the banking system 308. In an embodiment, the computing device 106 may be configured to communicate directly with the banking system 308 using one or more APIs, such as an MQTT configuration and / or a RESTful JSON API, in a similar or the same manner as the rental system 310 communicates with the banking system 308, for example, by issuing one or more API commands based on the location or address of the banking system 308. For example, to authenticate a card / user, the computing device 106 may call the authentication server 302 at an address via a command, for example, https: / / authenticationserver.com / authenticatemethod / parameters, where the parameters include the cryptogram. Similarly, to obtain payment for a rental, the computing device 106 may call the payment server 306 at an address via a command such as https: / / paymentserver.com / payment method / parameters, where the parameters include the rental data.

[0053] In an embodiment, the banking system 308 including the authentication server 302 may perform authentication operations to authenticate the card, for example based on whether the encrypted data is successfully decrypted and whether the information about the card matches the stored authentic information. In this configuration, the banking system 308 may also be configured to perform two-factor or multi-factor authentication to authenticate the user.

[0054] The bank system 308 is configured to return a result of the authentication operation to the computing device 106, for example as a reply to the API call. The result may indicate whether the card and / or user are authentic. If the card and / or user are not authentic, the computing device 106 prevents the item 104 from being rented, for example, by keeping 104 locked. If the card, and possibly the user, are authenticated, the computing device 106 allows the user to use the item 104, for example, by sending one or more signals to a locking mechanism to unlock the item 104.

[0055] In some cases, the computing device 106 knows or determines the rental time and can calculate the rental price. The computing device 106 can communicate the payment request to a banking system 308, which includes a payment server 306 for processing the payment. The banking system 308 can return a result indicating success or failure. If the payment is not successful, the computing device 106 is configured to prevent the rental of the item 104. If the payment is successful, the computing device 106 is configured to enable the rental of the item 104.

[0056] In some cases, the computing device 106 can determine an amount to charge the user based on the time the user utilizes the item 104. For example, the computing device 106 including a positioning device can determine a rental start time and a rental end time, and the computing device 106 can calculate the amount of the rental time and the total rental time. The computing device 106 can send a payment request to the banking system 308 for payment processing.

[0057] In these examples, the computing device 106 may determine the end time based on expiration or instructions entered by the user. If payment is not received until the rental is complete, the computing device 106 may send one or more test payments to the banking system 308 to ensure that the rental payment is processed successfully. The test payments may include any nominal amount depending on the total amount to be charged at the end of the rental. The embodiments are not limited in this manner.

[0058] 4 illustrates an example routine 400 that may be executed by the system described herein to authenticate and process contactless cards. In an embodiment, the routine 400 may be executed by one or more servers of a banking system, such as the banking system 308 illustrated in FIG. 2A / 2B.

[0059] At block 402, the routine 400 includes receiving encrypted data generated by a contactless card corresponding to a rental of an item. For example, the banking system may receive cryptograms from the rental system or the computing device over one or more wired or wireless networks. The cryptograms may be encrypted by the contactless card with a diversified key generated with a master key as described herein. The encrypted data may include a shared secret, a unique identifier, an account number, a CVV, etc. In one example, the banking system may be configured with one or more APIs for the rental system and / or the computing device to utilize to call the banking system including an authentication server to communicate the encrypted data.

[0060] At block 404, the routine 400 includes extracting authentication information from the encrypted data. For example, the banking system may generate a diversified key using a master key associated with the customer and / or the contactless card and stored in a data store. The banking system may verify that the authentication information was successfully extracted and may indicate that the contactless card utilized the correct diversified key to generate the encrypted data. In some cases, the system may apply additional decryption algorithms to extract the data. For example, the encrypted data may be a MAC ciphertext and the system may apply a message authentication code decryption operation.

[0061] At block 406, the routine 400 includes performing an authentication operation on the authentication information to authenticate the contactless card. In addition to determining that the correct diversified key has been used to encrypt the data, the system may also compare one or more portions of the data to stored verified data. For example, the system may determine that a shared secret, a unique identifier, an account number, or a combination thereof matches a stored and verified shared secret, unique identifier, and / or account number, etc.

[0062] At block 408, the routine 400 includes transmitting a result of the authentication operation indicating that the contactless card is authentic (or not authentic). In an embodiment, the system may transmit the result to a computing device associated with the rental system and / or the item based on the requesting device. In some cases, when the authentication operation fails, the result indicates that the contactless card cannot be successfully authenticated.

[0063] At block 410, the routine 400 includes receiving a payment request for payment for the rental of the item. For example, a banking system including a payment server may receive the payment request in response to a card being successfully authenticated from the rental system or a computing device associated with the item. The payment request may include a payment amount. In some cases, the payment request may include or communicate encrypted data from the contactless card that the banking system uses to identify an account to use to pay for the rental of the item. In some cases, the payment request may include an indication that the request corresponds to the encrypted data communicated at block 402. In some embodiments, the payment request may be communicated with the encrypted data at block 402, for example, in one or more messages communicated before the card is authenticated. Embodiments are not limited in such manner. The request may include additional information for processing the payment, including an identifier identifying an account for receiving the payment, a bank name, a routing number, an account number, a date / time of the transaction, a location, a description, etc. In an embodiment, the banking system including a payment server may be configured with one or more APIs that may be used by the rental system and / or the computing device to communicate the payment, as previously described.

[0064] At block 412, the routine 400 includes processing the payment request based on the information in the encrypted data. In an embodiment, the banking system initiates an electronic transfer of funds from the user's account to an account associated with the product based on the information in the payment request, although embodiments are not limited in this manner.

[0065] At block 414, the routine 400 includes sending a second result of the processing of the payment request indicating successful payment for the rental of the item. For example, the banking system may return an indication to the rental system or computing device indicating whether the payment was successfully processed.

[0066] 5 illustrates an example of a routine 500 that may be performed by a system described herein. In some embodiments, the routine 500 may be performed by a rental system that includes a rental server, as shown in FIG.

[0067] At block 502, the routine 500 includes receiving the encrypted data stored on the contactless card and rental data corresponding to the rental of the item from a computing device. For example, the rental system may receive the encrypted data and the rental data from a computing device affixed to and / or associated with the item for rental. In an embodiment, the encrypted data may be a ciphertext / MAC ciphertext and the rental data may include data corresponding to the rental of the item, as described herein.

[0068] At block 504, the routine 500 includes sending the encrypted data to one or more servers to perform an authentication routine with the encrypted data. For example, the rental system may send the encrypted data to a banking system to perform one or more operations to authenticate the card and user. In an exemplary embodiment, the rental system may utilize one or more APIs hosted by the banking system to invoke and perform authentication methods / operations on the encrypted data and pass the encrypted data to the banking system.

[0069] At block 506, the routine 500 includes receiving a result of the authentication routine indicating that the contactless card is authentic (or not authentic). For example, the rental system may receive a result from a banking system. In some cases, the result may indicate that authentication of the card and / or the user was not successful, indicating that one or both have not been authenticated.

[0070] At block 508, the routine 500 includes performing one or more operations to enable rental of the item in response to authenticating the user. For example, the rental system may send instructions to a computing device associated with the item to allow rental of the item. In some cases, the rental system may request payment for rental of the item from a banking system. In some embodiments, if the card and / or user are not authenticated, the rental system may prevent rental of the item, for example, by sending instructions to the computing device. The embodiments are not limited in this manner.

[0071] 6 illustrates an example of a routine 600 that may be performed according to described embodiments. In some cases, the routine 600 may be performed by a computing device, such as computing device 106, affixed to and / or coupled to an item for rental. The computing device may be configured to provide a rental function, as described herein, a one-tap rental function, to a user, such that the user can simply tap their contactless card on or near the computing device to proceed with using the item, reducing the amount of time and steps required to rent an item, enhancing user convenience.

[0072] At block 602, the routine 600 includes detecting a contactless card within near field communication (NFC) range. For example, a computing device configured to provide a rental service for an item may periodically scan for a radio frequency identification tag or device, such as a contactless card, in accordance with the ISO / IEC 14443 standard. As described, the computing device may be configured with a display that allows a desired user to instruct the presentation of their contactless card to the computing device within a prescribed distance, e.g., 10 cm. In some cases, the instructions may instruct the user to tap the card on the computing device, e.g., on a display or other portion of the body or housing of the device. In some cases, the instructions may instruct the user to tap a portion of the item itself, e.g., the body or housing of the item that houses the computing device. It should be noted that embodiments are not limited to utilizing NFC to provide rental services, and other wireless technologies may be utilized, such as, for example, Bluetooth, 802.11 standards, ZigBee, etc.

[0073] In some cases, a single tap may be used to rent an item. In other examples, the computing device may present information and data to the user on a display device. For example, the computing device may be configured to present options for the user to select to rent the item, such as the length of time for the rental, in a GUI displayed on the display. The display may also present other legal obligations for the rental of the item. For example, the rental of the item may require that the terms and conditions of the rental and / or instructions for use for the rental be presented to the user in a GUI on the display of the computing device. The computing device including the display may allow the user to read these terms and conditions as well as instructions on the display device. After the user reads them, the computing device may prompt the user to tap or bring a contactless card on or near the computing device, and a one-tap operation may be used to initiate the authentication and payment operations described herein as well as accept the terms and conditions.

[0074] At block 604, the routine 600 includes receiving encrypted data from the contactless card, the encrypted data including authentication information for authenticating a user. The computing device is configured to initiate an exchange with the contactless card in response to the contactless card coming into communication range. The contactless card can be configured to communicate data to the computing device that is used to authenticate the card and provide payment. As described herein, the contactless card is configured to generate a cryptogram or MAC cryptogram that includes the data for authentication and / or payment. In an embodiment, the data includes one or more of a shared secret, a unique identifier, a customer identifier, a counter value, or a combination thereof. In some cases, the data may include an account number or other token that may be used for payment. The computing device may request the data as part of an NFC read operation and receive the cryptogram from the contactless card in one or more NFC messages.

[0075] In an embodiment, the computing device can receive data from the card and store the data in memory. In an embodiment, the computing device is configured to temporarily store the data in memory to prevent the sensitive data from being permanently stored on the computing device. The memory may be volatile or non-volatile memory and may be configured to store the data until the data is communicated to one or other devices or systems and deleted by the computing device.

[0076] At block 606, the routine 600 includes transmitting the encrypted data and / or rental data to a system, the rental data corresponding to a rental of the item. In some embodiments, as described in FIG. 3A, the computing device is configured to transmit the encrypted data and the rental data to a rental system that can process the data to enable the user to rent the item. The computing device can transmit the data in one or more secure messages over a network, such as network 108, as described herein. The encrypted data may include the unaltered MAC ciphertext received from the contactless card, and the rental data may include data corresponding to the rental, e.g., date / time of rental, location of rental, item identifier, item condition, etc.

[0077] In some cases, the rental data may include a desired duration of the rental, e.g., 2 hours, and the rental system can calculate the cost of renting the item for the desired duration and withdrawing payment from a bank system in advance, as described herein. Once the duration has ended, the computing device can void the rental of the item or determine that the item is still in use and charge the user additional fees. In other examples, a system including a computing device and a rental system can be configured to not charge the user until the user has finished using the item. In these cases, the computing device is configured to determine when the rental of the item has ended. For example, the computing device can receive a user selection via a GUI on a touch screen display. In another example, the computing device can detect a timeout or that the item has not been used for a specific or set time. Once the rental is completed, the computing device is configured to send an end date / time to the rental system to determine the rental cost and request payment.

[0078] In some embodiments, as described in FIG. 3B, the computing device may be configured to communicate directly with the banking system to authenticate the contactless card and possibly the user. In these cases, the computing device may transmit the encrypted data and the rental data to one or more servers of the banking system. In this configuration, the computing device may determine the amount of the item rental based on one or more calculations and may transmit a payment request to the banking system. In these examples, the computing device does not need to transmit the rental data to the banking system, but only needs to transmit the encrypted data to the banking system to perform the authentication operation and payment request.

[0079] At block 608, the routine 600 includes receiving instructions to enable rental of the item. For example, the computing device can receive from the rental system that rental of the item is authorized. The computing device can receive the instructions from the rental system in response to successful authentication of the contactless card and, in some cases, payment for the rental. It should be noted that, in some cases, the computing device can receive instructions from the rental system to deny rental of the item.

[0080] In some cases, the computing device may receive an indication from the banking system. The indication from the banking system may indicate that the card was successfully (or not) authenticated, indicating whether the user was authenticated. If payment is collected prior to renting the item, the computing device may also receive an indication from the banking system of whether payment for the rental was successful or not.

[0081] At block 610, the routine 600 includes causing an action to be performed to allow rental of the item based on the instructions. For example, the computing device can send a signal to a locking mechanism to unlock the item. Other examples may include sending one or more signals to apply power to the item, enable a motor on the item, provide instructions to the user on a display, etc. In embodiments, if the card and / or user is not authenticated or payment cannot be collected, the computing device can prevent the user from renting the item. For example, the computing device can keep the item locked, prevent power from being applied, etc. Embodiments are not limited to these examples.

[0082] 7 illustrates a data transmission system 700 according to an exemplary embodiment. As described further below, the system 700 may include a contactless card 102, a computing device 106, a network 702, and a server 704. Although FIG. 7 illustrates a single instance of the components, the system 700 may include any number of components.

[0083] The system 700 may include one or more contactless cards 102, which are described further below. In some embodiments, the contactless card 102 can wirelessly communicate with the computing device 106, in one example utilizing NFC.

[0084] The system 700 may include a computing device 106, which may be a network-enabled computer. As referred to herein, a network-enabled computer may include a computing device or a communication device, including, for example, but not limited to, a server, a network appliance, a personal computer, a workstation, a telephone, a handheld PC, a personal digital assistant, a thin client, a fat client, an Internet browser, or other device. The client device 106 may also be a mobile device. For example, the mobile device may include an Apple® iPhone®, iPod®, iPad®, or other mobile device running Apple's iOS® operating system, a device running Microsoft's Windows® Mobile operating system, a device running Google's Android® operating system, and / or other smartphones, tablets, or similar wearable mobile devices.

[0085] It is understood that the computing device 106 device may include a processor and memory, and the processing circuitry may include additional components including processors, memory, error and parity / CRC checkers, data encoders, anti-collision algorithms, controllers, command decoders, security primitives and anti-tamper hardware as necessary to perform the functions described herein. The client device 104 may further include a display and input devices. The display may be any type of device for presenting visual information such as a computer monitor, a flat panel display, and a mobile device screen including liquid crystal displays, light emitting diode displays, plasma panels, and cathode ray tube displays. The input devices may include any device for inputting information into a user's device that is available and supported by the user's device, such as a touch screen, a keyboard, a mouse, a cursor control device, a touch screen, a microphone, a digital camera, a video recorder or camcorder, etc. These devices can be used to input information and interact with the software and other devices described herein.

[0086] In some examples, the computing device 106 of the system 700 can execute one or more applications, such as software applications, that enable network communication with one or more components of the system 700, for example, to transmit and / or receive data.

[0087] The computing device 106 can communicate with one or more servers 704 via one or more networks 702 and can operate as a respective front-end to back-end pair with the servers 704. The computing device 106 can send one or more requests to the server 704, for example from a mobile device application executing on the computing device 106. The one or more requests can be associated with retrieval of data from the server 704. The server 704 can receive one or more requests from the computing device 106. Based on the one or more requests from the computing device 106, the server 704 can be configured to retrieve the requested data from one or more databases (not shown). Based on receipt of the requested data from the one or more databases, the server 704 can be configured to transmit the received data to the computing device 106, the received data being responsive to the one or more requests.

[0088] The system 700 may include one or more networks 702. In some examples, the network 702 may be one or more of a wireless network, a wired network, or any combination of wireless and wired networks and may be configured to connect the computing devices 106 to the server 704. For example, the network 702 may include one or more of a fiber optic network, a passive optical network, a cable network, an Internet network, a satellite network, a wireless local area network (LAN), a global system for mobile communications, a personal communication service, a personal area network, a wireless application protocol, a multimedia messaging service, an enhanced messaging service, a short message service, a time division multiplex based system, a code division multiple access based system, D-AMPS, Wi-Fi, fixed wireless data, the IEEE 802.11 family, the 802.15 family, or other IEEE 802 communication protocols, Bluetooth, NFC, radio frequency identification (RFID), Wi-Fi, etc.

[0089] Further, the network 702 may include, but is not limited to, a telephone line, optical fiber, IEEE Ethernet 802.3, a wide area network, a wireless personal area network, a LAN, or a global network such as the Internet. Further, the network 702 may support an Internet network, a wireless communication network, a cellular network, or the like, or any combination thereof. The network 702 may further include one network, or any number of the exemplary types of networks listed above, operating as a standalone network or in cooperation with one another. The network 702 may utilize one or more protocols of one or more network elements to which they are communicatively coupled. The network 702 may convert to and from one or more protocols of the network devices. Although the network 702 is shown as a single network, it should be understood that, according to one or more examples, the network 702 may include multiple interconnected networks, such as, for example, the Internet, a service provider's network, a cable television network, an enterprise network such as a credit card association network, and a home network.

[0090] The system 700 may include one or more servers 704. In some examples, the server 704 may include one or more processors coupled to a memory. The server 704 may be configured as a central system, server, or platform for controlling and calling various data at different times to perform multiple workflow actions. The server 704 may be configured to connect to one or more databases. The server 704 may be connected to at least one computing device 106.

[0091] FIG. 8 illustrates a data transmission system according to an exemplary embodiment. The system 800 may include a transmitting or sending device 804 and a receiving or receiving device 808 that communicate with one or more servers 802, for example, via a network 806. The transmitting or sending device 804 may be the same as or similar to the client device 106 discussed above with reference to FIG. 1A. The receiving or receiving device 808 may be the same as or similar to the client device 110 discussed above with reference to FIG. 1A. The network 806 may be similar to the network 115 discussed above with reference to FIG. 1A. The server 802 may be similar to the server 120 discussed above with reference to FIG. 1A. Although FIG. 8 illustrates a single instance of the components of the system 800, the system 800 may include any number of the illustrated components.

[0092] When using symmetric encryption algorithms, such as the Encryption Algorithm, the Hash-based Message Authentication Code (HMAC) algorithm, or the Cipher-based Message Authentication Code (CMAC) algorithm, it is important to keep the key secret between the party that first processes data protected with the symmetric algorithm and key, and the party that receives and processes the data using the same encryption algorithm and the same key.

[0093] It is also important not to use the same key multiple times. If a key is used or reused frequently, it may be compromised. Each time a key is used, it provides an attacker with an additional sample of data that has been processed by the encryption algorithm using the same key. The more data that has been processed with the same key that an attacker has, the more likely it is that the attacker will discover the value of the key. Frequently used keys may be included in a variety of attacks.

[0094] Additionally, each time a symmetric encryption algorithm is run, it may reveal information, such as side channel data, about the key used during the symmetric encryption operation. Side channel data may include slight power fluctuations that occur when the encryption algorithm is run while the key is in use. Enough of the side channel data can be measured to reveal enough information about the key to allow an attacker to recover the key. Exchanging data using the same key will repeatedly reveal data processed with the same key.

[0095] However, limiting the number of times a particular key is used limits the amount of side channel data an attacker can collect, thereby reducing exposure to this and other types of attacks. As described further herein, the parties involved in the exchange of cryptographic information (e.g., sender and receiver) should generate keys independently from an initial shared master symmetric key in combination with a counter value, thereby periodically replacing the shared symmetric keys in use and resorting to some form of key exchange to keep the parties synchronized. Periodically changing the shared secret symmetric keys used by the sender and receiver makes the above attack infeasible.

[0096] Returning to FIG. 8, the system 800 may be configured to implement key diversification. For example, a sender and a receiver may wish to exchange data (e.g., original confidential data) via their respective devices 804 and 808. As noted above, a single instance of a transmitting device 804 and a receiving device 808 may be included, but it is understood that one or more transmitting devices 804 and one or more receiving devices 808 may be involved, so long as each party shares the same shared secret symmetric key. In some examples, the transmitting device 804 and the receiving device 808 may be provisioned with the same master symmetric key. Furthermore, it is understood that any party or device that holds the same secret symmetric key can perform the functions of the transmitting device 804, and similarly, any party that holds the same secret symmetric key can perform the functions of the receiving device 808. In some examples, the symmetric key may comprise a shared secret symmetric key that is kept secret from all parties other than the transmitting device 804 and the receiving device 808 involved in the exchange of secure data. It is further understood that both the transmitting device 804 and the receiving device 808 can be provided with the same master symmetric key, and further that a portion of the data exchanged between the transmitting device 804 and the receiving device 808 can include at least a portion of data that can be referred to as a counter value. The counter value can comprise a number that changes each time data is exchanged between the transmitting device 804 and the receiving device 808.

[0097] The system 800 may include one or more networks 806. In some examples, the network 806 may be one or more of a wireless network, a wired network, or any combination of wireless and wired networks and may be configured to connect the one or more transmitting devices 804 and the one or more receiving devices 808 to the server 802. For example, the network 806 may include one or more of a fiber optic network, a passive optical network, a cable network, an Internet network, a satellite network, a wireless LAN, a global system for mobile communications, a personal communications service, a personal area network, a wireless application protocol, a multimedia messaging service, an enhanced messaging service, a short message service, a time division multiplex based system, a code division multiple access based system, a D-AMPS, Wi-Fi, fixed wireless data, the IEEE 802.11 family, the 802.15 family, Bluetooth, NFC, RFID, Wi-Fi, and the like.

[0098] Additionally, network 806 may include a global network, such as, but not limited to, telephone lines, optical fiber, IEEE Ethernet 802.3, wide area networks, wireless personal area networks, LANs, or the Internet. Additionally, network 806 may support an Internet network, a wireless communication network, a cellular network, or the like, or any combination thereof. Network 806 may further include one network, or any number of the exemplary types of networks listed above, operating as a standalone network or in cooperation with one another. Network 806 may utilize one or more protocols of one or more network elements to which they are communicatively coupled. Network 806 may translate to and from one or more protocols of a network device. Although network 806 is shown as a single network, it should be understood that, according to one or more examples, network 806 may comprise multiple interconnected networks, such as, for example, the Internet, a service provider's network, a cable television network, an enterprise network such as a credit card association network, and a home network.

[0099] In some examples, the one or more transmitting devices 804 and the one or more receiving devices 808 may be configured to communicate with each other and transmit and receive data without going through the network 806. For example, communication between the one or more transmitting devices 804 and the one or more receiving devices 808 may occur via at least one of NFC, Bluetooth, RFID, Wi-Fi, etc.

[0100] At block 810, when the sending device 804 prepares to process the sensitive data in a symmetric encryption operation, the sender may update a counter. Additionally, the sending device 804 may select an appropriate symmetric cryptography algorithm, which may include at least one of a symmetric encryption algorithm, an HMAC algorithm, and a CMAC algorithm. In some examples, the symmetric algorithm used to process the diversification value may comprise any symmetric encryption algorithm used as needed to generate a diversified symmetric key of a desired length. Non-limiting examples of symmetric algorithms may include symmetric encryption algorithms such as 3DES or AES128, symmetric HMAC algorithms such as HMAC-SHA-256, symmetric CMAC algorithms such as AES-CMAC. It should be appreciated that if the output of the selected symmetric algorithm does not generate a sufficiently long key, techniques such as processing multiple iterations of the symmetric algorithm with different input data and the same master key may generate multiple outputs that can be combined as needed to generate a key of sufficient length.

[0101] At block 812, the sending device 804 can employ the selected encryption algorithm and process the counter value using a master symmetric key. For example, the sender can select a symmetric encryption algorithm and use a counter that updates with every conversation between the sending device 804 and the receiving device 808. The sending device 804 can then encrypt the counter value with the selected symmetric encryption algorithm using the master symmetric key to create a diversified symmetric key.

[0102] In some examples, the counter value may not be encrypted. In these examples, the counter value may be transmitted between the transmitting device 804 and the receiving device 808 at block 812 without encryption.

[0103] At block 814, the diversified symmetric key may be used to process the sensitive data before transmitting the results to the receiving device 808. For example, the transmitting device 804 may encrypt the sensitive data using a symmetric encryption algorithm using the diversified symmetric key, with the output comprising the protected encrypted data. The transmitting device 804 may then transmit the protected encrypted data, along with the counter value, to the receiving device 808 for processing.

[0104] In block 816, the receiving device 808 can first obtain the counter value and then perform the same symmetric encryption using the counter value as an input to the encryption and the master symmetric key as the key for the encryption. The output of the encryption can be the same diverse symmetric key value as that created by the sender.

[0105] Next, at block 818, the receiving device 808 may obtain the protected encrypted data and decrypt the protected encrypted data using a symmetric decryption algorithm along with the diversified symmetric key.

[0106] At block 820, the original sensitive data may be revealed as a result of decrypting the protected encrypted data.

[0107] Next, when sensitive data needs to be transmitted from the sender to the receiver via the respective sending device 804 and receiving device 808, a different counter value can be selected to generate a different diverse symmetric key. By processing the counter value using the same symmetric cryptography algorithm as the master symmetric key, both the sending device 804 and the receiving device 808 can independently generate the same diverse symmetric key. This diverse symmetric key, rather than the master symmetric key, is used to protect the sensitive data.

[0108] As explained above, both the transmitting device 804 and the receiving device 808 initially each possess a shared master symmetric key. The shared master symmetric key is not used to encrypt the original secret data. The diversified symmetric keys are never transmitted between the transmitting device 804 and the receiving device 808 because they are created independently by both. Thus, an attacker cannot intercept the diversified symmetric keys, and the attacker never sees the data processed with the master symmetric key. Only the counter value, not the secret data, is processed with the master symmetric key. As a result, the reduction of side channel data with respect to the master symmetric key is revealed. Furthermore, the operation of the transmitting device 804 and the receiving device 808 may be governed by symmetric requirements regarding the frequency of creating new diversification values, and therefore new diversified symmetric keys. In one embodiment, a new diversification value, and therefore a new diversified symmetric key, may be created for every exchange between the transmitting device 804 and the receiving device 808.

[0109] In some examples, the key diversification value may constitute a counter value. Other non-limiting examples of key diversification values ​​include a random nonce generated each time a new diversified key is needed, a random nonce transmitted from the transmitting device 804 to the receiving device 808, the complete value of the counter value transmitted from the transmitting device 804 and the receiving device 808, a portion of the counter value transmitted from the transmitting device 804 and the receiving device 808, a counter maintained independently by the transmitting device 804 and the receiving device 808 but not transmitted between the two devices, a one-time passcode exchanged between the transmitting device 804 and the receiving device 808, a cryptographic hash of the secret data. In some examples, one or more portions of the key diversification value may be used by the parties to create multiple diversified keys. For example, a counter may be used as the key diversification value. Additionally, a combination of one or more of the above example key diversification values ​​may be used.

[0110] In other examples, a portion of the counter can be used as the key diversification value. When multiple master key values ​​are shared between the parties, multiple diversified key values ​​can be obtained by the systems and processes described herein. New diversification values, and therefore new diversified symmetric keys, can be created as many times as necessary. In the most secure case, a new diversification value can be created for each exchange of sensitive data between the sending device 804 and the receiving device 808. In effect, this can create a one-time use key, such as a single-use session key.

[0111] FIG. 9 illustrates an exemplary configuration of a contactless card 102, which may include a payment card, such as a contactless card, credit card, debit card, or gift card, issued by a service provider displayed as a service provider display 902 on the front or back of the contactless card 102. In some examples, the contactless card 102 may be unrelated to a payment card and may include, but is not limited to, an identification card. In some examples, transaction cards may include dual interface contactless payment cards, loyalty cards, and the like. The contactless card 102 may include a substrate 908, which may include a single layer or one or more laminate layers composed of plastic, metal, and other materials. Exemplary 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 102 may have physical characteristics that conform to the ID-1 format of the ISO / IEC 7816 standard, while the transaction card may otherwise conform to the ISO / IEC 14443 standard. However, it is understood that a contactless card 102 according to the present disclosure may have different characteristics, and the present disclosure does not require that the transaction card be embodied in a payment card.

[0112] The contactless card 102 may also include identification information 906 displayed on the front and / or back of the card, and a contact pad 904. The contact pad 904 may include one or more pads and may be configured to establish contact with other client devices, such as ATMs, user devices, smartphones, laptops, desktops, or tablet computers, via the transaction card. The contact pad may be designed according to one or more standards, such as the ISO / IEC 7816 standard, and may enable communication compliant with EMV protocols. The contactless card 102 may also include processing circuitry, an antenna, and other components, which are further described in FIG. 10. These components may be located behind the contact pad 904 or elsewhere on the substrate 908, such as in another layer of the substrate 908, and may be electrically and physically coupled to the contact pad 904. The contactless card 102 may also include a magnetic strip or tape, which may be located on the back of the card (not shown in FIG. 9). The contactless card 102 may also include a Near-Field Communication (NFC) device coupled with an antenna capable of communicating via an NFC protocol, although embodiments are not limited in this manner.

[0113] 2, the contact pad 904 of the contactless card 102 may include processing circuitry 1016 for storing, processing and communicating information, including a processor 1002, memory 1004 and one or more interfaces 1006. It will be understood that the processing circuitry 1016 may include additional components including processors, memory, error and parity / CRC checkers, data encoders, anti-collision algorithms, controllers, command decoders, security primitives and anti-tamper hardware as necessary to perform the functions described herein.

[0114] The memory 1004 may be a read-only memory, a write-once read multiple memory, or a read / write memory, e.g., RAM, ROM, and EEPROM, and the contactless card 102 may include one or more of these memories. Read-only memory is programmable at the factory as read-only or one-time programmable. One-time programmability offers the opportunity to write once and then read many times. Write-once / read multiple memory can be programmed at some point after the memory chip leaves the factory. Once the memory is programmed, it cannot be rewritten, but it can be read many times. Read / write memory can be programmed and reprogrammed many times after leaving the factory. Read / write memory can also be read many times after leaving the factory. In some examples, the memory 1004 may be an encrypted memory that utilizes an encryption algorithm executed by the processor 1002 on the encrypted data.

[0115] The memory 1004 may be configured to store one or more applets 1008, one or more counters 1010, a customer identifier 1014, and an account number 1012, which may be a virtual account number. The one or more applets 1008 may comprise one or more software applications configured to run on one or more contactless cards, such as a JavaCard applet. However, it is understood that the applet 1008 is not limited to a JavaCard applet, but may instead be any software application operable on a contactless card or other device having limited memory. The one or more counters 1010 may comprise a numeric counter sufficient to store an integer number. The customer identifier 1014 may comprise a unique alphanumeric identifier assigned to a user of the contactless card 102, the identifier may distinguish the user of the contactless card from other contactless card users. In some examples, the customer identifier 1014 may identify both the customer and the account assigned to the customer, and may further identify the contactless card 102 associated with the customer's account. As described, the account numbers 1012 may include thousands of one-time use virtual account numbers associated with the contactless card 102. The applet 1008 of the contactless card 102 may be configured to manage the account numbers 1012 (e.g., by selecting an account number 1012, marking the selected account number 1012 as used, and sending the account number 1012 to a mobile device for auto-fill by an auto-fill service).

[0116] Although the processor 1002 and memory elements of the foregoing exemplary embodiments are described with reference to the contact pad 904, the disclosure is not limited thereto. It is understood that these elements may be implemented outside of the non-contact pad 904, completely separate from the non-contact pad 904, or as additional elements in addition to the processor 1002 and memory 1004 elements disposed within the contact pad 904.

[0117] In some examples, the contactless card 102 may include one or more antennas 1018. The one or more antennas 1018 may be disposed within the contactless card 102 around the processing circuit 1016 of the contact pad 904. For example, the one or more antennas 1018 may be integral with the processing circuit 1016, or the one or more antennas 1018 may be used with an external booster coil. As another example, the one or more antennas 1018 may be external to the contact pad 904 and the processing circuit 1016.

[0118] In one embodiment, the coil of the contactless card 102 can function as the secondary of an air core transformer. The terminal can communicate with the contactless card 102 by interrupting the power or amplitude modulation. The contactless card 101 can infer data transmitted from the terminal using a gap in the power connection of the contactless card, which can be functionally maintained via one or more capacitors. The contactless card 102 can communicate back by switching or load modulating the load of the coil of the contactless card. Load modulation can be detected at the coil of the terminal by interference. More generally, using the antenna 1018, the processor 1002, and / or the memory 1004, the contactless card 101 provides a communication interface for communicating via NFC, Bluetooth, and / or Wi-Fi communications.

[0119] As described above, the contactless card 102 may be built on a software platform operable on a smart card or other device with limited memory, such as a JavaCard, on which one or more applications or applets may be securely executed. An applet 1008 may be added to the contactless card to provide a one-time password (OTP) for multi-factor authentication (MFA) in various mobile application-based use cases. The applet 1008 may 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 (e.g., on a mobile device or a point-of-sale (POS) terminal), and generate an NDEF message comprising the cryptographically secure OTP encoded as an NDEF text tag.

[0120] One example of an NDEF OTP is the NDEF Short Record Layout (SR=1). In such an example, one or more applets 1008 can be configured to encode the OTP as a well-known type text tag of NDEF Type 4. In some examples, an NDEF message may comprise one or more records. The applet 1008 can be configured to add one or more static tag records in addition to the OTP record.

[0121] In some examples, the one or more applets 1008 may be configured to emulate an RFID tag. The RFID tag may include one or more polymorphic tags. In some examples, each time the tag is read, various encrypted data is presented that may indicate the authenticity of the contactless card. Based on the one or more applets 1008, an NFC read of the tag may be processed, the data may be transmitted to a server, such as a server of a banking system, and the data may be verified at the server.

[0122] In some examples, the contactless card 102 and the server may include specific data so that the card may be properly identified. The contactless card 102 may include one or more unique identifiers (not shown). Each time a read operation is performed, the counter 1010 is configured to increment. In some examples, each time data is read from the contactless card 102 (e.g., by a mobile device), the counter 1010 is sent to the server for validation, and (as part of the validation) it is determined whether the counter 1010 is equal to the server's counter.

[0123] The counter or counters 1010 may be configured to prevent replay attacks. For example, if a ciphertext is obtained and replayed, it will be immediately rejected if the counter 1010 is read, used, or otherwise passed on. If the counter 1010 is not in use, it may be replayed. In some instances, the counter incremented on the card is different than the counter incremented for the transaction. Because there is no communication between the applet 1008 and the contactless card 102, the contactless card 101 cannot determine the application transaction counter 1010.

[0124] In some examples, the counter 1010 may become out of sync. In some examples, due to an accidental read that initiates a transaction, such as an oblique read, the counter 1010 may increment but the application does not process the counter 1010. In some examples, when the mobile device 10 wakes up, NFC is enabled and the device 110 may be configured to read an available tag but perform no action on the read.

[0125] To keep the counter 1010 synchronized, an application, such as a background application, may be executed that is configured to detect when the mobile device 110 wakes up, synchronize with the bank system's server, with the detection indicating that a read has occurred, and advance the counter 1010. In another example, a window of mis-synchronization may be accommodated by utilizing a hashed one-time password. For example, if within a threshold of 10, the counter 1010 may be configured to advance. However, if within another threshold, such as 10 or 1400, a request to perform a re-synchronization may be processed via one or more applications, requiring the user to tap, gesture, or otherwise indicate one or more times via the user's device. The user may know that they have done so when the counter 1010 increments in the appropriate sequence.

[0126] The key diversification techniques described herein with reference to the counter 1010, the master key, and the diversification key are one example of an encryption and / or decryption key diversification technique, and should not be considered as limiting of this disclosure, as this disclosure may apply to other types of key diversification techniques as well.

[0127] During the contactless card 102 creation process, two encryption keys may be uniquely assigned to each card. The encryption keys may comprise symmetric keys that can be used to both encrypt and decrypt data. The Triple DES (3DES) algorithm may be used in EMV and is implemented by the contactless card 102 hardware. A key diversification process may be used to derive one or more keys from a master key based on uniquely identifiable information for each entity that requires a key.

[0128] In some examples, to overcome the shortcomings of the 3DES algorithm, which is susceptible to vulnerabilities, a session key (such as a unique key per session) can be obtained, but instead of using a master key, a card-derived unique key and counter can be used as diversification data. For example, each time the contactless card 102 is used in operation, a different key can be used to create the Message Authentication Code (MAC) and perform the encryption. This results in three layers of encryption. The session key is generated by one or more applets and is derived using the application transaction counter with one or more algorithms (as defined in EMV 4.3 Book 2 A1.3.1 Common Session Key Derivation).

[0129] Additionally, the increments for each card are unique, assigned by personalization or algorithmically assigned by some identifying information. For example, odd-numbered cards can increment by 2, and even-numbered cards can increment by 5. In some instances, the increments may also differ in sequential reads, where one card may increment by 1, 3, 5, 2, 2, ... repeatedly. The specific sequence or algorithmic sequence may be defined at the time of personalization or from one or more processes derived from a unique identifier. This may make it difficult for a replay attacker to generalize from a small number of card instances.

[0130] The authentication message may be delivered as the contents of a textual NDEF record in hexadecimal ASCII format. In another example, the NDEF record may be encoded in hexadecimal format.

[0131] 11 is a timing diagram illustrating an example sequence for providing authenticated access according to one or more embodiments of the present disclosure. A sequence flow 1100 may include a contactless card 102 and a computing device 106, which may include an application 1102 and a processor 1104.

[0132] At line 1108, the application 1102 communicates with the contactless card 102 (e.g., after being brought into proximity with the contactless card 102). The communication between the application 1102 and the contactless card 102 may involve the contactless card 102 being sufficiently close to a card reader (not shown) of the computing device 106 to enable NFC data transfer between the application 1102 and the contactless card 102.

[0133] At line 1106, after communication is established between the computing device 106 and the contactless card 102, the contactless card 102 generates a message authentication code (MAC) cryptogram. In some examples, this may occur when the contactless card 102 is read by the application 1102. In particular, this may occur upon a read, such as an NFC read of a Near Field Wireless Data Exchange (NDEF) tag, which may be created according to the NFC data exchange format. For example, a reader application, such as the application 1102, may send a message, such as an applet selection message, with the applet ID of the NDEF generation applet. Once the selection is confirmed, a series of select file messages followed by read file messages may be sent. For example, the sequence may include "select feature file", "read feature file", and "select NDEF file". At this point, a counter value maintained by the contactless card 102 may be updated or incremented, followed by "read NDEF file". At this point, a message may be generated that includes a header and a shared secret. A session key may then be generated. A MAC cryptogram may be created from the message. The message may include a header and a shared secret. The MAC ciphertext may then be concatenated with one or more blocks of random data, and the MAC ciphertext and the random number (RND) may be encrypted with a session key. The ciphertext and the header may then be concatenated, encoded as ASCII hex, and returned in the NDEF message format (in response to a "read NDEF file" message).

[0134] In some examples, the MAC cryptogram may be transmitted as an NDEF tag, and in other examples, the MAC cryptogram may be included with the uniform resource indicator (e.g., as a formatted string.) In some examples, the application 1102 may be configured to send a request to the contactless card 102, the request comprising instructions to generate the MAC cryptogram.

[0135] At line 1110, the contactless card 102 transmits the MAC cryptogram to the application 1102. In some examples, the transmission of the MAC cryptogram occurs via NFC, although the disclosure is not limited thereto. In other examples, this communication may occur via Bluetooth, Wi-Fi, or other wireless data communication means. At line 1112, the application 1102 communicates the MAC cryptogram to the processor 1104.

[0136] At line 1114, the processor 1104 verifies the MAC ciphertext according to instructions from the application 122. For example, the MAC ciphertext may be verified as described below. In some examples, the verification of the MAC ciphertext may be performed by a device other than the computing device 106, such as a server of a banking system in data communication with the computing device 106. For example, the processor 1104 may output the MAC ciphertext for transmission to a server of the banking system that can verify the MAC ciphertext. In some examples, the MAC ciphertext may serve as a digital signature for purposes of verification. To perform this verification, a public key asymmetric algorithm, for example, a digital signature algorithm and an RSA algorithm, or other digital signature algorithms, such as zero-knowledge protocols, may be used.

[0137] FIG. 12 illustrates an NDEF short record layout (SR=1) data structure 1200, according to an exemplary embodiment. One or more applets can be configured to encode the OTP as an NDEF type 4 well-known type text tag. In some examples, the NDEF message can comprise one or more records. The applet can be configured to add one or more static tag records in addition to the OTP record. Exemplary tags include, but are not limited to: tag type: well-known type, text, English encoding (en); applet ID: D2760000850101; function: read-only access; encoding: authentication message can be encoded as ASCII hex; type-length-value (TLV) data can be provided as personalization parameters that can be used to generate the NDEF message. In one embodiment, the authentication template can comprise a first record with a known index to provide the actual dynamic authentication data.

[0138] FIG. 13 illustrates a diagram of a system 1300 configured to implement one or more embodiments of the present disclosure. As described below, during the contactless card creation process, two encryption keys may be uniquely assigned to each card. The encryption keys may comprise symmetric keys that can be used to both encrypt and decrypt data. The Triple DES (3DES) algorithm may be used in EMV and is implemented by the contactless card's hardware. A key diversification process may be used to derive one or more keys from a master key based on uniquely identifiable information for each entity that requires a key.

[0139] With regard to master key management, two issuer master keys 1302, 1326 may be required for each portion of a portfolio in which one or more applets are issued. For example, the first master key 1302 may comprise an issuer cryptogram generation / authentication key (Iss-Key-Auth) and the second master key 1326 may comprise an issuer data encryption key (Iss-Key-DEK). As described further herein, the two issuer master keys 1302, 1326 are diversified into card master keys 1308, 1320 that are unique per card. In some examples, the network profile record ID (pNPR) 522 and derived key index (pDKI) 1324 as back office data may be used to identify the issuer master key 1302, 1326 to use in the encryption process for authentication. The system performing the authentication may be configured to look up the values ​​of pNPR 1322 and pDKI 1324 of the contactless card during authentication.

[0140] In some examples, to enhance the security of the solution, a session key (such as a unique key per session) can be obtained, but instead of using a master key, as explained above, a unique key and counter derived from the card can be used as diversification data. For example, a different key can be used to create a message authentication code (MAC) and perform encryption each time the card is used in operation. With regard to generating a session key, the key used to generate the ciphertext and encrypt data in one or more applets can comprise a session key based on the card's unique key (Card-Key-Auth 1308 and Card-Key-Dek 1320). The session keys (Aut-Session-Key 1332 and DEK-Session-Key 1310) are generated by one or more applets and are derived using an Application Transaction Counter (pATC) 1304 in one or more algorithms. Only the lowest two bytes of the four-byte pATC 1304 are used to fit the data into one or more algorithms. In some examples, a 4-byte session key derivation method may comprise: F1:=PATC(lowest 2 bytes)||'F0'||'00'||PATC(4 bytes) F1:=PATC(lowest 2 bytes)||'0F'||'00'||PATC(4 bytes) SK:={(ALG(MK)[F1])||ALG(MK)[F2]}, where ALG may include 3DES ECB and MK may include a card unique derived master key.

[0141] As described herein, one or more MAC session keys can be derived using the lower two bytes of the pATC 1304 counter. After each tap of the contactless card, the pATC 1304 is configured to be updated and the card master keys Card-Key-AUTH 908 and Card-Key-DEK 1320 are further diversified into session keys Aut-Session-Key 1332 and DEK-Session-Key 1310. The pATC 1304 can be initialized to zero upon personalization or upon applet initialization. In some examples, the pATC counter 1304 can be initialized upon or before personalization and configured to increment by one with each NDEF read.

[0142] Additionally, updates for each card are unique, assigned by personalization or algorithmically assigned by the pUID or other identifying information. For example, odd-numbered cards can increment or decrement by 2, and even-numbered cards can increment or decrement by 5. In some examples, updates may also differ in sequential reads, where one card may increment by 1, 3, 5, 2, 2, ... repeatedly. The specific sequence or algorithmic sequence may be defined at the time of personalization or from one or more processes derived from a unique identifier. This may make it difficult for a replay attacker to generalize from a small number of card instances.

[0143] The authentication message may be delivered as the contents of a text NDEF record in hex ASCII format. In some examples, it may include only the authentication data and an 8-byte random number followed by a MAC of the authentication data. In some examples, the random number precedes the ciphertext A and may be one block long. In other examples, there may be no limit to the length of the random number. In further examples, the total data (i.e., the random number and the ciphertext) may be a multiple of the block size. In these examples, an additional 8-byte block may be added to match the block produced by the MAC algorithm. As another example, if the algorithm employed used 16-byte blocks, a multiple of that block size may be used, or the output may be padded automatically or manually to a multiple of that block size.

[0144] The MAC may be performed by a function key (AUT-Session-Key) 1332. The data specified in the ciphertext may be processed with the javacard.signature method:ALG_DES_MAC8_ISO9797_1_M2_ALG3 to associate with the EMV ARQC verification method. The key used for this calculation may comprise a session key AUT-Session-Key 1332, as described above. As described above, the lower two bytes of the counter may be used to diversify one or more MAC session keys. As described below, the AUT-Session-Key 1332 may be used to MAC data 1306, and the resulting data or ciphertext A 1314 and random number RND may be encrypted using the DEK-Session-Key 1310 to create the ciphertext B or output 1318 that is sent in the message.

[0145] In some examples, one or more HSM commands may be processed for decryption such that the last 16 (binary, 32 hex) bytes comprise a 3DES symmetric encryption using CBC mode with a random zero IV followed by a MAC authentication data. The key used for this encryption may comprise a session key DEK-Session-Key 1310 derived from Card-Key-DEK 1320. In this case, the ATC value for the session key derivation is the least significant byte of counter pATC 1304.

[0146] The following format represents an example embodiment of the binary version: Additionally, in some examples, the first byte may be set to an ASCII "A." [Table 1]

[0147] Another exemplary format is shown below: In this example, the tag can be encoded in hexadecimal format. [Table 2]

[0148] The UID field of the received message can be extracted to derive the Card Master Keys (Card-Key-Auth 1308 and Card-Key-DEK 1320) for that particular card from the master keys Iss-Key-AUTH 902 and Iss-Key-DEK 1326. The Card Master Keys (Card-Key-Auth 908 and Card-Key-DEK 1320) can be used to derive the Session Keys (Aut-Session-Key 1332 and DEK-Session-Key 1310) for that particular card using the Counter (pATC) field of the received message. Ciphertext B 1318 can be decrypted using the DEK-Session-KEY. This produces ciphertext A 1314 and RND, which can be discarded. The UID field can be used to look up the shared secret for the contactless card. This, along with the Ver, UID, and pATC fields of the message, can be processed through an encryption MAC using the recreated Aut-Session-Key to produce a MAC output such as MAC'. If the MAC' is the same as the ciphertext A1314, this indicates that the message decryption and MAC checks all passed. Next, read the pATC to determine if it is valid.

[0149] During the authentication session, one or more ciphertexts may be generated by one or more applications. For example, the one or more ciphertexts may be generated as a 3DES MAC using ISO 9797-1 algorithm 3 and method 2 padding over one or more session keys, such as Aut-Session-Key 1332. The input data 1306 may take the following format: version (2), pUID (8), pATC (4), shared secret (4). In some examples, the numbers in parentheses may comprise the length in bytes. In some examples, the shared secret may be generated by one or more random number generators, which may be configured to ensure that the random numbers are unpredictable through one or more secure processes. In some examples, the shared secret may comprise a random 4-byte binary number injected into the card at personalization, known by the authentication service. The shared secret may not be provided to the mobile application from one or more applets during the authentication session. The method 2 padding may include adding a mandatory 0x'80' byte to the end of the input data and adding an optional 0x'00' byte to the end of the result data up to an 8-byte boundary. The resulting ciphertext may be 8 bytes long.

[0150] In some instances, one advantage of using a MAC ciphertext to encrypt an unshared random number as the first block is that it acts as an initialization vector while using the CBC (blockchain) mode of a symmetric encryption algorithm, allowing for "scrambling" between blocks without the need to pre-establish a fixed or dynamic IV.

[0151] By including an application transaction counter (pATC) as part of the data included in the MAC ciphertext, the authentication service can be configured to determine whether values ​​communicated in the clear data have been tampered with. Additionally, by including the version in one or more ciphertexts, it is difficult for an attacker to intentionally misrepresent the version of an application in an attempt to reduce the strength of the encryption solution. In some examples, the pATC may start at zero and be updated by one each time one or more applications generate authentication data. The authentication service can be configured to track the pATC used during an authentication session. In some examples, if the authentication data uses a pATC that is less than or equal to a previous value received by the authentication service, this may be interpreted as an attempt to replay an old message and the authenticated one may be rejected. In some examples, if the pATC is greater than a previously received value, this may be evaluated to determine if it is within an acceptable range or threshold, and if it is above or outside the range or threshold, the verification may be deemed to have failed or unreliable. In a MAC operation 1312, the data 1306 is processed through a MAC using the Aut-Session-Key 1332 to produce an encrypted MAC output (ciphertext A) 1314.

[0152] It is desirable for the MAC ciphertext A 1314 to be encrypted to provide additional protection against brute force attacks that expose the key on the card. In some examples, the data or ciphertext A 1314 included in the ciphertext may comprise a random number (8), ciphertext(8). In some examples, the number in parentheses may comprise the length in bytes. In some examples, the random number may be generated by one or more random number generators, which may be configured to ensure that the random number is unpredictable through one or more secure processes. The key used to encrypt this data may comprise a session key. For example, the session key may comprise the DEK-Session-Key 1310. In an encryption operation 1316, the data or ciphertext A 1314 and the RND are processed using the DEK-Session-Key 610 to generate the encrypted data, ciphertext B 1318. The data 1314 is encrypted using 3DES in cipher block chaining mode to ensure that an attacker needs to perform an attack on all ciphertexts. Other algorithms, such as the Advanced Encryption Standard (AES), as a non-limiting example, may be used. In some examples, an initialization vector of 0x'00000000000000000' can be used: correctly decrypted data will be indistinguishable from incorrectly decrypted data because it will appear random, and an attacker attempting to brute force the key used to encrypt this data will be unable to determine when the correct key was used.

[0153] In order for the authentication service to verify one or more cryptograms provided by one or more applets, the following data must be communicated in plaintext from the one or more applets to the mobile device during an authentication session: a version number to determine the cryptographic approach used and a message format for validation of the cryptography, so that the approach can be changed in the future; a pUID to look up the cryptographic asset and derive the card key; and a pATC to derive the session key used for the cryptograms.

[0154] 14 illustrates a method 1400 for generating a ciphertext. For example, at block 1402, a network profile record ID (pNPR) and a derived key index (pDKI) may be used to identify an issuer master key to use in an encryption process for authentication. In some examples, the method may include performing authentication and looking up the values ​​of pNPR and pDKI of a contactless card upon authentication.

[0155] At block 1404, the issuer master keys may be diversified by combining them with the card's unique ID number (pUID) and the PAN sequence number (PSN) of one or more applets, for example a payment applet.

[0156] At block 1406, the Card-Key-Auth and Card-Key-DEK (Unique Card Key) may be created by diversifying the Issuer Master Key to generate a session key that may be used to generate a MAC ciphertext.

[0157] The keys used to generate the ciphertext and encrypt the data in one or more applets in block 1408 may comprise the session keys of block 1030 that are based on the card-unique keys (Card-Key-Auth and Card-Key-DEK). In some examples, these session keys are generated by one or more applets and derived using the pATC, resulting in the session keys Aut-Session-Key and DEK-Session-Key.

[0158] FIG. 15 illustrates an example process 1500 illustrating key diversification according to an example. Initially, the sender and the recipient may be provisioned with two different master keys. For example, the first master key may comprise a data encryption master key and the second master key may comprise a data integrity master key. The sender has other data, such as a counter value that may be updated in block 1502, and data to be protected that it may ensure is shared with the recipient.

[0159] At block 1504, the counter value may be encrypted by the sender using a data encryption master key to generate a data encryption derived session key, and the counter value may also be encrypted by the sender using a data integrity master key to generate a data integrity derived session key. In some examples, the entire counter value or a portion of the counter value may be used during both encryptions.

[0160] In some examples, the counter value may not be encrypted. In these examples, the counter may be transmitted between the sender and receiver in the clear, i.e., without encryption.

[0161] In block 1506, the data to be protected is processed in a cryptographic MAC operation by the sender using the data integrity session key and a cryptographic MAC algorithm. The protected data, including the plaintext and the shared secret, can be used to generate a MAC using one of the session keys (AUT-Session-Key).

[0162] At block 1508, the data to be protected may be encrypted by the sender using the Data Encryption Derived Session Key in combination with a symmetric encryption algorithm. In some examples, the MAC is combined with an equal amount of random data, e.g., each 8 bytes in length, and encrypted using a second session key (DEK-Session-Key).

[0163] At block 1510, the encrypted MAC is transmitted from the sender to the receiver along with sufficient information to identify additional secret information (eg, a shared secret, a master key, etc.) for verification of the ciphertext.

[0164] At block 1512, the recipient uses the received counter value to independently derive two derived session keys from the two master keys, as described above.

[0165] In block 1514, the data encryption derived session key is used in combination with a symmetric decryption operation to decrypt the protected data. Additional processing is then performed on the exchanged data. In some instances, after the MAC is extracted, it may be desirable to recreate and match the MAC. For example, when verifying the ciphertext, it may be decrypted using a properly generated session key. The protected data may be reconstructed for verification. A MAC operation may be performed using a properly generated session key to determine if it matches the decrypted MAC. Since the MAC operation is an irreversible process, the only way to verify is to attempt to recreate it from the source data.

[0166] At block 1516, the data integrity derived session key is used in combination with a cryptographic MAC operation to verify that the protected data has not been altered.

[0167] Some examples of the methods described herein can advantageously ascertain when successful authentication is determined when the following conditions are met: First, the ability to verify the MAC indicates that the derived session key is proper. The MAC can only be correct if decryption is successful, resulting in a proper MAC value. Successful decryption can indicate that a correctly derived encryption key was used to decrypt the encrypted MAC. Because the derived session key is created using a master key known only to the sender (e.g., the sending device) and the receiver (e.g., the receiving device), the contactless card that originally created and encrypted the MAC can be trusted to be in fact genuine. Additionally, the counter values ​​used to derive the first and second session keys can be shown to be valid and can be used to perform the authentication operation.

[0168] The two derived session keys may then be discarded, the next iteration of the data exchange may update the counter value (returning to block 1502), and a new set of session keys may be created (at block 1510). In some examples, the combined random data may be discarded.

[0169] 16 illustrates a method 1600 for card activation according to an exemplary embodiment. For example, card activation can be completed by a system including a card, a device, and one or more servers. The contactless card, the device, and the one or more servers can refer to the same or similar components as previously described, such as the contactless card 102, the computing device 106, the server, etc.

[0170] At block 1602, the card may be configured to dynamically generate data. In some examples, this data may include information such as an account number, a card identifier, a card verification value, or a phone number, which may be transmitted from the card to the device. In some examples, one or more portions of the data may be encrypted via the systems and methods disclosed herein.

[0171] At block 1604, one or more portions of the dynamically generated data may be communicated to an application on the device via NFC or other wireless communication. For example, tapping the card in proximity to the device may enable an application on the device to read one or more portions of data associated with the contactless card. In some examples, if the device does not include an application to assist with card activation, tapping the card may prompt the customer to a software application store to download an associated application to activate the card, or to direct the device. In some examples, the user may be prompted to sufficiently gesture, position, or orient the card, such as to point the card at an angle or flat, close to, or in close proximity to the surface of the device, toward the surface of the device. In response to sufficient gesture, position, and / or orientation of the card, the device may begin transmitting one or more encrypted portions of the data received from the card to one or more servers.

[0172] At block 1606, the one or more portions of the data may be communicated to one or more servers, such as a card issuer server. For example, the one or more encrypted portions of the data may be transmitted from the device to a card issuer server for card activation.

[0173] At block 1608, the one or more servers may decrypt the one or more encrypted portions of the data via the systems and methods disclosed herein. For example, the one or more servers may receive the encrypted data from the device and decrypt it to compare the received data to record data accessible to the one or more servers. If the comparison of the one or more decrypted portions of the data by the one or more servers results in a successful match, the card may be activated. If the comparison of the one or more decrypted portions of the data by the one or more servers results in an unsuccessful match, one or more processes may be performed. For example, in response to a determination that the match is unsuccessful, the user may be prompted to tap, swipe, or wave the card again. In this case, there may be a predetermined threshold comprising the number of attempts that the user is allowed to activate the card. Alternatively, the user may receive a notification on the device, such as a message indicating that the card verification attempt has failed, and send a call, email, or text message to an associated service for assistance in activating the card, or receive other notification on the device, such as a call indicating that the card verification attempt has failed, and send a call, email, or text message to an associated service for assistance in activating the card, or receive other notification, such as an email indicating that the card verification attempt has failed, and send a call, email, or text message to an associated service for assistance in activating the card.

[0174] At block 1610, the one or more servers may send a return message based on successful activation of the card. For example, the device may be configured to receive an output from the one or more servers indicating successful activation of the card by the one or more servers. The device may be configured to display a message indicating successful activation of the card. Once the card is activated, the card may be configured to cease dynamic generation of data to avoid fraudulent use. In this manner, the card may not be subsequently activated and the one or more servers are notified that the card has already been activated.

Claims

1. 1. A system configured to perform authentication and payment operations based on data stored on a contactless card, comprising: one or more servers each having one or more processors and a memory; The memory is coupled to the one or more processors and, when executed by the one or more processors, receiving, from a rental system, a payment request and encrypted data generated by the contactless card corresponding to the rental of the item; performing one or more authentication operations on the encrypted data to authenticate the contactless card; processing the payment request based on information in the encrypted data; sending an indication to the rental system that the contactless card has been authenticated and payment for the rental of the item has been successful; configured to store instructions that cause the one or more processors to system.

2. 2. The system of claim 1, wherein the encrypted data includes authentication information further including a unique identifier for identifying the contactless card, and the authentication information is encrypted by the contactless card with a diversified key and one or more encryption algorithms to generate the encrypted data.

3. 3. The system of claim 2, wherein the authentication information further comprises a counter value, and wherein the one or more processors perform the one or more authentication operations to verify the counter value based on a stored counter value.

4. The system of claim 2 , wherein the authentication information comprises a shared secret, and the one or more processors perform the one or more authentication operations to verify the shared secret against a stored shared secret.

5. the encrypted data is encrypted with a diversified key generated by the contactless card from a master key, and the one or more processors generating a second diversified key using the stored master key; decrypting the encrypted data using the second diversified key; verifying that the encrypted data is successfully decrypted with the second diversified key; The system of claim 1 , further comprising:

6. The system of claim 1 , wherein transmitting the indication of the one or more authentication actions indicates acceptance of terms and conditions for the rental of the item.

7. The system of claim 1 , wherein the one or more processors receive the encrypted data based on an application programming interface (API) command invoked by a rental server of the rental system that invokes an authentication method.

8. The system of claim 1 , wherein the one or more processors receive the payment request based on an application programming interface (API) command invoked by a rental server on the rental system that invokes a payment method.

9. a server configured to validate a rental of a product based on an authentication operation performed using data stored on a contactless card, one or more processors; a memory coupled to the one or more processors; Equipped with The memory, when executed by the one or more processors, receiving, from the computing device, the encrypted data stored on the contactless card and rental data corresponding to the rental of the item; transmitting the encrypted data to one or more servers for performing authentication operations using the encrypted data; receiving a result of the authentication operation from the one or more servers indicating that the contactless card is authentic; In response to authenticating the contactless card, the user, or a combination thereof, performing one or more actions to enable rental of the item; storing instructions for causing the one or more processors to server.

10. 10. The server of claim 9, wherein the encrypted data includes a shared secret, a unique identifier, or a combination thereof, and the encrypted data is encrypted with a diversified key and one or more encryption algorithms.

11. The server of claim 9 , wherein the rental data includes one or more of an identifier for identifying the item, a price associated with the rental of the item, terms and conditions associated with the rental of the item, or a combination thereof.

12. The one or more processors: transmitting at least a portion of the encrypted data, the rental data, or a combination thereof to the one or more servers; 10. The server of claim 9, further comprising: a server configured to receive payment for the rental of the item in response to transmitting the portion of the rental data.

13. The one or more processors: Transmitting at least a portion of the encrypted data, rental data, or a combination thereof to the one or more servers; 10. The server of claim 9, further comprising: in response to transmitting said portion of the rental data, receiving an indication of acceptance of terms and conditions for the rental of said item.

14. The server of claim 9 , wherein the one or more processors transmit to a computing device associated with the item an indication that the item has been approved for rental.

15. The server of claim 9 , wherein the one or more processors transmit to the computing device an indication that the rental of the item is not approved.

16. 1. A computing device comprising: A processing circuit; a memory coupled to the processing circuit; The memory, when executed by the processing circuitry, Detecting a contactless card within Near Field Communication (NFC) range; receiving encrypted data from the contactless card via one or more NFC exchanges, the encrypted data including authentication information for authenticating a user; transmitting the encrypted data and rental data to one or more servers, the rental data corresponding to a rental of an item; receiving instructions from the one or more servers to enable rental of the product; performing an action to permit rental of the product based on the instruction; storing instructions to cause the processing circuitry to Computing device.

17. The computing device of claim 16 , wherein the computing device is affixed to the item.

18. 20. The computing device of claim 16, wherein the item is a vehicle and the action is to send a signal to release the brakes of the vehicle.

19. The computing device of claim 16 , wherein the item is a vehicle and the action is to send a signal to enable a motor of the vehicle.

20. The computing device of claim 16 , wherein the item is a chair and the action is to send a signal to unlock a lock associated with the chair.

Citation Information

Patent Citations

  • Apparatus for locking a rental chair

    EP3795788A1

  • Smart handlebar of rental bicycle

    US20190071143A1

  • One-tap payment using a contactless card

    US20200250660A1