Automatic data entry based on account authentication using contactless cards
The use of contactless card authentication for automatic data entry securely fills payment information in web pages, addressing entry errors and security risks, and overcoming browser limitations.
Patent Information
- Application Number
- JP2024529481
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-11-19
- Filing Date
- 2022-04-19
- Publication Date
- 2024-10-31
AI Technical Summary
Users face difficulties in accurately entering account identifiers for payment cards due to long strings of numbers and characters, and existing methods pose security risks through manual entry and camera capture.
A method using a contactless card to authenticate accounts, generate cryptograms, and automatically fill payment information in web pages through a web browser or local server, leveraging a contactless card's cryptograms for secure verification.
Ensures secure and accurate autofill of payment information, minimizing unauthorized access and bypassing browser limitations, allowing autofill on various websites without integration.
Smart Images

Figure 2024540510000001_ABST
Abstract
Description
[Technical field]
[0001] Related Applications This application claims priority to U.S. Patent Application Serial No. 17 / 530,837, filed November 19, 2021, and entitled “AUTOFILLING DATA BASED ON ACCOUNT AUTHENTICATION USING A CONTACTLESS CARD,” the entire contents of which are incorporated herein by reference.
[0002] FIELD OF THE DISCLOSURE This disclosure relates to automatic data entry based on account authentication using contactless cards. [Background technology]
[0003] Account identifiers for payment cards can include long strings of numbers and / or characters. As such, it can be difficult for a user to manually enter an account identifier correctly. In fact, users often make mistakes and enter incorrect account numbers into a payment interface on a computing device. Furthermore, processes have been developed that allow a camera or other malicious entity to capture and identify account identifiers that are entered into a device, thereby creating a security risk. Summary of the Invention [Problem to be solved by the invention]
[0004] The present disclosure provides for automatic data entry based on account authentication using a contactless card. [Means for solving the problem]
[0005] In one embodiment, the method comprises: identifying, by a web browser executing on a processor of the device, a payment field in a web page; determining, by the web browser, that an application associated with the issuer of the contactless card is to be installed on the device; generating, by the web browser, a uniform resource identifier (URI) directed to the application, the URI including a merchant identifier parameter, a session identifier parameter, and an action identifier parameter; launching an application based on the URI by a mobile operating system (OS) executing on a processor; authenticating, by the application, an account associated with the contactless card based on a cryptogram generated by the contactless card based on an action identifier parameter of the URI; receiving, by the application, payment information associated with the contactless card based on the authentication; accessing a web page via a WebView component of the application; auto-filling payment information into a payment field in a web page via a WebView component of the application; and processing the transaction based on payment information auto-populated into payment fields on the web page by a WebView component of the application. Other embodiments are described and claimed. [Brief description of the drawings]
[0006] [Figure 1A] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 1B] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 1C] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 1D] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 1E] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 2A]1 illustrates an aspect of the subject matter according to one embodiment. [Figure 2B] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 2C] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 2D] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 2E] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 3A] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 3B] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 3C] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 3D] 1 illustrates an aspect of the subject matter according to one embodiment. [Figure 4] 4 illustrates a routine 400 according to one embodiment. [Diagram 5] 5 illustrates a routine 500 according to one embodiment. [Figure 6A] 1 illustrates a contactless card according to an embodiment. [Figure 6B] 1 shows a contactless card 104 according to one embodiment. [Figure 7] 7 illustrates a data structure 700 according to one embodiment. [Figure 8] 8 illustrates a computer architecture 800 according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] To easily identify the description of any particular component or operation, the leading digit(s) in the reference number indicates the figure number in which that component is first introduced.
[0008] The disclosed embodiments provide techniques for securely auto-filling data into a web browser using a contactless card. Generally, a web browser may load a web page that includes one or more payment form fields. The browser may detect the payment form fields and determine whether an application associated with the issuer of the contactless card (e.g., an account management application provided by a financial institution associated with the contactless card) is installed on the device. If the browser determines that the application is installed, the browser may generate a uniform resource identifier (URI) directed to the application. The browser may include as parameters in the URI a merchant identifier (ID) parameter, a session ID parameter, and an action ID parameter.
[0009] An operating system on the device may process the URI and launch an account application. The application may process the parameters of the URI and determine, based on the action identifier, to output the application's account authentication page. The authentication page may include one or more functions to authenticate the account, for example, via login / password, biometrics, or one-tap authentication based on a cryptogram generated by a contactless card upon tapping the card to the device.
[0010] In at least one embodiment, once the account is authenticated, the application may reload the web page in the WebView component of the application. Using the merchant ID and session ID in the URI, the WebView component receives and restores the user's browsing session initiated in the web browser. The account application may receive (e.g., from a server and / or the contactless card) or otherwise store payment information associated with the contactless card (e.g., account number, expiration date, and card verification value (CVV)). The payment information may be auto-filled into a payment form in the WebView component. Once auto-filled, the purchase may be completed by submitting the form in the WebView component.
[0011] In at least one embodiment, once the account is authenticated, the application may start a local server on the device, where the local server is accessible only to applications running on the same device as the local server. A connection may be established between the local server and a web browser. The web browser may receive payment information from the local server and auto-fill form fields in the web browser with the payment information. Once auto-filled, the purchase may be completed by submitting the form in the web browser.
[0012] Advantageously, the disclosed embodiments provide secure autofill of data in a web browser. By leveraging the cryptogram generated by the contactless card, the disclosed embodiments may securely verify the identity of a user while minimizing the risk of fraudulent activity. Furthermore, doing so ensures that the autofill operation is only performed if the user has access to the contactless card, which facilitates cryptogram verification against the server. Furthermore, by leveraging the WebView component or a local server, certain limitations imposed on the web browser may be circumvented. For example, some operating systems and / or web browsers may not allow the web browser to communicate directly with an account application. Thus, by using the WebView component and / or a local server, these limitations may be overcome, allowing users to securely autofill payment information for purchases. Furthermore, by providing the disclosed autofill functionality to a web browser, many different websites may be able to leverage autofill without having to integrate it into every website or application.
[0013] To generally refer to the notation and nomenclature used herein, one or more portions of the detailed description set forth hereinafter may be presented in terms of program procedures executed on a computer or computer network. These procedure descriptions and representations are used by those skilled in the art to most effectively convey the substance of their work to others skilled in the art. In this application, and generally, a procedure is conceived to be a self-consistent sequence of operations leading to a desired result. These operations require physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic, or optical signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It proves convenient at times, primarily for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. It should be noted, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities.
[0014] Further, these operations are often expressed in terms, such as adding or comparing, that are commonly associated with mental activities performed by a human operator. However, no such capability of a human operator is necessary, or desirable in most cases, in any of the operations described herein that form part of one or more of the embodiments. Rather, these operations are machine operations. Useful machines for performing the operations of the various embodiments include digital computers as selectively activated or configured by a computer program written in accordance with the disclosure herein and stored therein, and / or include apparatus or digital computers specially constructed for the required purposes. Various embodiments also relate to apparatus or systems for performing these operations. These apparatus may be specially constructed for the required purposes. The required structure for a variety of these machines will be apparent from the description provided.
[0015] Referring now to the drawings, like reference numerals are used throughout the drawings to denote like components. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding thereof. However, it may be apparent that novel embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate description thereof. It is intended to cover all modifications, equivalents, and alternatives within the scope of the claims.
[0016] 1A illustrates an exemplary computing architecture 100, also referred to as a system, consistent with disclosed embodiments. Although computing architecture 100 illustrated in FIGS. 1A-1E has a limited number of components in a given topology, it can be appreciated that computing architecture 100 may include more or fewer components in alternative topologies as desired in a given implementation.
[0017] The computing architecture 100 includes one or more computing devices 102, one or more authentication servers 106, one or more contactless cards 104, and one or more merchant servers 108. The contactless cards 104 represent any type of card, such as a credit card, a debit card, an ATM card, a gift card, a payment card, a smart card, etc. The contactless cards 104 may include one or more communication interfaces 126, such as a radio frequency identification (RFID) chip, configured to communicate with a communication interface 126 (also referred to herein as a "card reader," a "wireless card reader," and / or a "wireless communication interface") of the computing device 102 via NFC, the EMV standard, or other short-range protocols for wireless communication. Although NFC is used herein as an exemplary communication protocol, the present disclosure is equally applicable to other types of wireless communication, such as the EMV standard, Bluetooth, and / or Wi-Fi.
[0018] Computing device 102 represents any number and type of computing device, such as a smartphone, a tablet computer, a wearable device, a laptop, a portable gaming device, a virtualized computing system, a merchant terminal, a POS system, a server, a desktop computer, etc. A mobile device may be used as an example of computing device 102, but should not be considered as limiting the present disclosure. Authentication server 106 and merchant server 108 represent any type of computing device, such as a server, a workstation, a computing cluster, a cloud computing platform, a virtualized computing system, etc. Although not shown for clarity, computing device 102, contactless card 104, authentication server 106, and merchant server 108 each include one or more processor circuitry, for example, to execute programs, codes, and / or instructions.
[0019] As shown, the memory 110 of the contactless card 104 includes an applet 112, a counter 114, a master key 116, a diversified key 118, and a unique customer identifier (ID) 120. The applet 112 is executable code configured to perform the operations described herein. The counter 114, the master key 116, the diversified key 118, and the customer ID 120 are used to provide security in the system 100, as will be described in more detail below.
[0020] As shown, the memory 128 of the authentication server 106 includes an authentication application 130 and an account database 132. The account database 132 generally includes information related to an account holder (e.g., one or more users), the account holder's one or more accounts, and the account's one or more contactless cards 104. For each contactless card associated with a financial institution associated with the authentication server 106, the authentication server 106 may store a corresponding instance of a master key 116 and a counter 114.
[0021] As illustrated, memory 136 of computing device 102 includes an instance of operating system 138. Exemplary operating systems include Android® OS, iOS®, macOS®, Linux®, and Windows® operating systems. As illustrated, operating system 138 includes account application 140 and web browser 142. Account application 140 allows a user to perform various account-related operations, such as activating a payment card, viewing account balances, purchasing items, processing payments, etc. In some embodiments, a user may authenticate with authentication credentials to access certain features of account application 140. For example, authentication credentials may include a username (or login) and password, biometric credentials (e.g., fingerprint, face ID, etc.), etc. Web browser 142 is an application that allows computing device 102 to access information over network 148 (e.g., over the Internet). For example, using a web browser 142, a user may access one or more resources of the merchant server 108, such as a web page 146 stored in memory 144 of the merchant server 108, which may be one of multiple web pages hosted by the merchant server 108 (or other hosting entity).
[0022] When accessing a web page or other content provided by the merchant server 108, a user may select, via a web browser 142, one or more products, services, or other items for purchase. For example, a user may wish to purchase a basketball and a soccer ball and may add these items to his / her shopping cart. To complete the purchase, the web page 146 may include a form with one or more payment fields. The payment fields may include fields for an account number, an expiration date, a CVV, a customer name, and a customer billing address. However, there may be certain restrictions that prevent data from being auto-filled into these payment fields. For example, the OS and / or the web browser 142 may restrict the account application 140 from auto-filling payment data into forms. Advantageously, however, the disclosed embodiments provide a solution for auto-filling form fields of a form with payment information.
[0023] To initiate the autofill process, the web browser 142 may identify one or more payment fields in a form on the web page 146 based on, for example, metadata of the form fields, a received selection of one of the form fields, etc. The web browser 142 and / or the web page 146 may then determine whether the account application 140 is installed on the computing device 102. The web browser 142 and / or the web page 146 may use any feasible technique to determine whether the account application 140 is installed. For example, in iOS, the web browser 142 and / or the web page 146 may use a canOpenURL() method to determine whether it is possible to open a URI directed to the account application 140. The method may generally return information indicative of whether it is possible to open the URI. Doing so allows the web browser 142 and / or the web page 146 to determine that the account application 140 is installed on the computing device 102.
[0024] In some operating systems, such as the Android OS, the web browser 142 and / or web page 146 may use a content provider service to determine whether the account application 140 is installed on the device 102. For example, the web browser 142 and / or web page 146 may provide a URI directed to the account application 140 to the content provider service, which may return information indicating whether the URI can be opened, allowing the web browser 142 and / or web page 146 to determine that the account application 140 is installed on the computing device 102.
[0025] In some embodiments, additional and / or alternative techniques may be used to determine whether the account application 140 is installed on the device 102 for any type of operating system. For example, some operating systems may require native code of a native application to call a predefined function, such as the canOpenURL() method in iOS or the content provider service in Android. In such an embodiment, the web browser 142 and / or web page 146 may execute code (e.g., JavaScript) that starts a timer having a timeout threshold (100 milliseconds, 1 second, etc.) with a callback that redirects to a web page that handles the case where the account application 140 is not installed (e.g., a page that generally indicates that the account application 140 is not installed). The web browser 142 and / or web page 146 may then attempt to launch the account application 140. If the account application 140 is successfully launched before the timer expires, the timer is canceled and the autofill process proceeds as described herein. However, if the account application 140 is not launched before the timer expires, the web browser 142 is redirected to a timeout page and the autofill process ends.
[0026] Once the web browser 142 and / or web page 146 determines that the account application 140 is installed, the web browser 142 and / or web page 146 may generate a URI 152 directed to the account application 140. The URI 152 may be directed to the account application 140 based at least in part on the account application 140 being registered with the OS. Examples may include "example: / / auth" or "www.example.com / auth". Additionally, the URI 152 may include one or more parameters. The parameters may include a merchant ID parameter, a session ID parameter, and an action ID parameter. The merchant ID parameter may be associated with a particular merchant, such as a merchant associated with the merchant server 108. Thus, the account application 140 may uniquely identify each of the multiple merchants using each of the multiple merchant ID parameters. Doing so allows the account application 140 to identify the address of the merchant server 108 associated with the merchant ID and / or the address of any web page 146 associated with the merchant ID. The session ID parameter may identify a browsing session in the web browser 142 with respect to the merchant server 108. For example, the session ID parameter may be used to identify a shopping cart, items in the cart, previously visited pages, the current page (e.g., web page 146) displayed in the web browser 142, etc. The action ID may generally specify an action or operation to be performed by the account application 140. For example, in some embodiments, the action ID may instruct the account application 140 to open an authentication page. Thus, the URI 152 may be a deep link to one or more pages of the account application 140.Examples of URI 152 may include "example: / / auth?merchID=123&sessID=ABC&actID=456" or "www.example.com / ?merchID=123&sessID=ABC&actID=456".
[0027] Once generated, the OS may process the URI 152, causing the OS to open, access, or otherwise display the account application 140, thereby providing the URI 152, which further includes parameters, to the account application 140. Based on the action ID parameter in the URI 152, the account application 140 may open an account authentication page to facilitate the autofill techniques described herein.
[0028] However, in some embodiments, the web browser 142 and / or web page 146 generates and accesses the URI 152 without determining that the account application 140 is installed. If the URI 152, when accessed, successfully launches the account application 140, the autofill process proceeds as described herein (with or without an explicit determination by the web browser 142 and / or web page 146 that the account application 140 is installed). Otherwise, the account application 140 is not installed and the web browser 142 is redirected to a timeout page indicating that the account application 140 is not installed.
[0029] 1B illustrates an embodiment where the OS accesses URI 152 and an account application 140 loads an account authentication page. Generally, the account authentication page allows a user to authenticate their account via one-tap authentication based on, for example, a login and password, biometrics, or a cryptogram 122 generated by a contactless card 104.
[0030] 1B, a user may tap contactless card 104 to computing device 102 (or otherwise move contactless card 104 within range of communication interface 126 of device 102). Applet 112 on contactless card 104 may then generate cryptogram 122.
[0031] The ciphertext 122 may be based on the customer ID 120 of the contactless card 104. The ciphertext 122 may be generated based on any suitable cryptographic technique. In some embodiments, the applet 112 may include an unencrypted identifier (e.g., the customer ID 120, the identifier of the contactless card 104, and / or any other unique identifier) as part of a data package that includes the ciphertext 122. In at least one embodiment, the data package is an NDEF file.
[0032] As mentioned above, the computing architecture 100 is configured to implement key diversification to ensure data security. This may also be referred to herein as a key diversification technique. In general, the authentication server 106 (or another computing device) and the contactless card 104 may be provided with the same master key 116 (also referred to as a master symmetric key). More specifically, each contactless card 104 is programmed with a separate master key 116 that has a corresponding pair in the authentication server 106. For example, when the contactless card 104 is manufactured, a unique master key 116 may be programmed into the memory 110 of the contactless card 104. Similarly, the unique master key 116 may be stored in the customer record associated with the contactless card 104 in the account database 132 of the authentication server 106 (and / or may be stored in a different secure location, such as a hardware security module (HSM) 134). The master key 116 is kept secret from all parties other than the contactless card 104 and the authentication server 106, thereby increasing the security of the system 100. In some embodiments, the applet 112 of the contactless card 104 may encrypt and / or decrypt data (e.g., the customer ID 120) using the master key 116 and the data as inputs to a cryptographic algorithm. For example, encrypting the customer ID 120 with the master key 116 may result in the ciphertext 122. Similarly, the authentication server 106 may encrypt and / or decrypt data associated with the contactless card 104 using the corresponding master key 116.
[0033] In some embodiments, the master key 116 of the contactless card 104 and the authentication server 106 may be used in conjunction with the counter 114 to improve security using key diversification. The counter 114 includes a value that is synchronized between the contactless card 104 and the authentication server 106. For example, the counter 114 may include a number that changes each time data is exchanged between the contactless card 104 and the authentication server 106 (and / or between the contactless card 104 and the computing device 102). In general, the applet 112 may provide the master key 116, the unique customer ID 120, and a diversification factor as inputs to a cryptographic algorithm, thereby generating a diversification key 118. In some embodiments, the diversification factor is the counter 114. The diversification key 118 may then be used to encrypt some data, such as the diversification factor (e.g., the counter 114) or other sensitive data. Applet 112 and authentication server 106 may be configured to encrypt the same types of data to facilitate the decryption and / or verification process of ciphertext 122.
[0034] More generally, when preparing to transmit data (e.g., to the authentication server 106 and / or the computing device 102), the applet 112 of the contactless card 104 may increment the counter 114. The applet 112 of the contactless card 104 may then provide the master key 116, the customer ID 120, and the counter 114 as inputs to a cryptographic algorithm, which generates the diversified key 118 as an output. The cryptographic algorithm may include an encryption algorithm, a hash-based message authentication code (HMAC) algorithm, a cipher-based message authentication code (CMAC) algorithm, etc. Non-limiting examples of cryptographic algorithms may include a symmetric encryption algorithm such as 3DES or AES 107, a symmetric HMAC algorithm such as HMAC-SHA-256, and a symmetric CMAC algorithm such as AES-CMAC. Examples of key diversification techniques are described in more detail in U.S. Patent Application No. 16 / 205,119, filed November 29, 2018. The entirety of the aforementioned patent application is incorporated herein by reference.
[0035] The applet 112 may then encrypt some data (e.g., the unique customer ID 120, the counter 114, commands, and / or any other data) using the diversified key 118 and the data as inputs to a cryptographic algorithm. For example, encrypting the unique customer ID 120, the diversified key 118 may result in an encrypted unique customer ID 120 (e.g., ciphertext 122).
[0036] In some embodiments, for example, two diversified keys 118 may be generated based on one or more portions of the inputs to the cryptographic function. In some embodiments, the two diversified keys 118 are generated based on two separate master keys 116, the unique customer ID 120, and the counter 114. In such embodiments, a message authentication code (MAC) may be generated using one of the diversified keys 118, and the MAC may be encrypted using the other of the diversified keys 118. The MAC may be generated based on any suitable data input to the MAC algorithm, such as confidentiality data, the unique customer ID 120, the counter 114, etc. More generally, the applet 112 and the authentication server 106 may be configured to generate a MAC based on the same data. In some embodiments, the ciphertext 122 is included in a data package, such as an NDEF file. The account application 140 may then read the data package including the ciphertext 122 via the communication interface 126 of the computing device 102.
[0037] 1C illustrates an embodiment where the account application 140 sends a data package including the ciphertext 122 to the authentication server 106. The authentication server 106 may provide the ciphertext 122 to the authentication application 130 and / or the HSM 134 for validation based at least in part on an instance of the master key 116 stored by the authentication server 106. In some embodiments, the authentication application 130 and / or the HSM 134 may identify the master key 116 and the counter 114 using the unencrypted customer ID 120 provided to the server 106 along with the ciphertext 122. In some examples, the authentication application 130 may provide the master key 116, the unique customer ID 120, and the counter 114 as inputs to a cryptographic algorithm, which generates one or more diversified keys 118 as outputs. The resulting diversified key 118 may correspond to the diversified key 118 of the contactless card 104, which may be used to decrypt the ciphertext 122 and / or verify the MAC once decrypted. For example, the authentication server 106 may generate a MAC based on the same data as the applet 112, such as the confidentiality data, the unique customer ID 120, and / or the counter 116. If the MAC generated by the authentication server 106 matches the decrypted MAC in the ciphertext 122, then the authentication server 106 may verify or otherwise authenticate the ciphertext 122.
[0038] Regardless of the verification technique used, authentication application 130 and / or HSM 134 may successfully decrypt ciphertext 122 and verify the MAC, thereby verifying or authenticating ciphertext 122 .
[0039] If the decryption is successful, the authentication application 130 may send the decryption result 150 to the account application 140. In some embodiments, the decryption result 150 may include data to be auto-filled into a payment form to pay for the purchase with the merchant server 108. However, if the authentication application 130 is unable to decrypt the ciphertext 122 to obtain the expected result (e.g., the customer ID 120 for the account associated with the contactless card 104), the authentication application 130 does not verify the ciphertext 122. In such an embodiment, the authentication application 130 may decide to terminate the auto-fill process. The authentication application 130 may send information to the computing device 102 indicating that the decryption was unsuccessful.
[0040] 1D illustrates an embodiment in which authentication application 130 sends decryption result 150 to account application 140. Decryption result 150 generally reflects whether ciphertext 122 was decrypted. In the example illustrated in FIG. 1D, decryption result 150 may indicate that authentication server 106 decrypted ciphertext 122. Doing so allows account application 140 to determine that ciphertext 122 was successfully decrypted before continuing with the autofill process, thereby improving security.
[0041] As shown, the authentication server 106 may also transmit the autofill data 124 to the account application 140. Although shown as being transmitted together with the decryption result 150, the autofill data 124 may be transmitted separately from the decryption result 150. Additionally, in some embodiments, the autofill data 124 may be received from the server 106 in response to another tap of the contactless card 104 against the computing device 102, which generates another cryptogram, which is verified by the authentication server 106. In other embodiments, the autofill data 124 is received directly from the contactless card 104 (e.g., via a direct read via the communications interface 126). In other embodiments, the account application 140 searches for the autofill data 124 in a local database stored on the computing device 102. The autofill data 124 may generally include the account number of the contactless card 104, the expiration date of the contactless card 104, the CVV of the contactless card 104, the customer name associated with the contactless card 104, and the customer billing address associated with the contactless card 104. In some embodiments, the account number may be a one-time use virtual account number associated with the contactless card 104 .
[0042] In some embodiments, the authentication server 106 may generate the payment token as autofill data 124. In such embodiments, the authentication server 106 may provide the payment token to the merchant server 108 and / or the computing device 102.
[0043] As shown, in response to receiving the decryption result 150, the account application 140 may launch a WebView component 154. The WebView component 154 is generally configured to access and display web content, such as the web page 146, but lacks some of the functionality of the web browser 142. In other words, the WebView component 154 is an in-app web browser for the account application 140 that is distinct from the web browser 142. Generally, the account application 140 may load web-based content within the account application 140 by launching the WebView component 154 within the account application 140.
[0044] The account application 140 may receive and restore the user's browsing session from the web browser 142 to the merchant server 108 via the WebView component 154. For example, the account application 140 may generate a URL (and / or URI) directed to the web page 146 using the merchant ID and session ID from the URI 152. The URL directed to the web page 146 may include parameters to enable the web page 146 to be loaded in the WebView component 154 while maintaining the browsing session from the web browser 142. For example, the merchant ID may be associated with a base URL (e.g., www.example.com) and the session ID may be included as a parameter of the base URL to generate a URL directed to the web page 146 and / or the merchant server 108. An example may include "www.example.com / page.html?sessID=ABC". Once the URL generated by the account application 140 is accessed by the WebView component 154, the WebView component 154 may load the web page 146 to replicate the user's browsing session from the web browser 142. For example, the web page 146 including a payment form may be rendered in the WebView component 154 to allow the user to purchase one or more items that were previously added to his / her shopping cart in the web browser 142. Continuing with reference to the previous example, the WebView component 154 may load the web page 146 that reflects the user's shopping cart, which includes a basketball and a soccer ball.
[0045] Advantageously, the WebView component 154 may autofill one or more payment fields of the web page 146 with the autofill data 124. In some embodiments, the WebView component 154 uses an autofill service provided by the account application 140. In some embodiments, the WebView component 154 uses an autofill service provided by the operating system 138. Regardless of the autofill technology used, the user may submit the form including the autofilled data to complete the purchase.
[0046] In embodiments in which the authentication server 106 generates the payment token, the web page 146 loaded by the WebView component 154 may include the payment token. The payment token may be provided to the WebView component 154 by the merchant server 108 or may be provided to the WebView component 154 by the account application 140. The payment token may be used to process the purchase.
[0047] 1E illustrates an embodiment where the WebView component 154 generates a transaction package 156 for processing a payment using the autofill data 124 filled into form fields of the web page 146. Generally, the transaction package 156 may be transmitted according to the HyperText Transfer Protocol (HTTP). Once received, the merchant server 108 may process the payment for the transaction using the autofill data 124. The merchant server 108 may then generate a transaction record 160 for the transaction in the transaction database 158. However, as previously discussed, in some embodiments, a payment token is used instead of the autofill data 124 to pay for the transaction.
[0048] 2A illustrates an exemplary schematic diagram 200 for auto-populating a web browser 142 using a local server, according to various embodiments. Although the computing architecture 200 illustrated in FIGS. 2A-2E has a limited number of components in a given topology, it can be appreciated that the computing architecture 200 may include more or fewer components in alternative topologies as desired in a given implementation.
[0049] As shown in FIG. 2A, a user may select one or more items to purchase via merchant server 108 by using web browser 142. For example, a user may wish to purchase oranges and apples and have these items in his / her shopping cart. To complete the purchase, web page 146 may include a form with one or more payment fields. The payment fields may include fields for an account number, expiration date, CVV, customer name, and customer billing address. However, as previously mentioned, there may be certain restrictions that prevent data from being auto-filled into these payment fields. For example, the OS and / or web browser 142 may restrict account application 140 from auto-filling payment data into forms. However, as an advantage, account application 140 may use a local server to auto-fill the form fields of the form on web page 146 with payment information.
[0050] To initiate the autofill process, the web browser 142 may identify one or more payment fields in a form on the web page 146. The web browser 142 and / or the web page 146 may then determine whether the account application 140 is installed on the computing device 102. The web browser 142 and / or the web page 146 may use any feasible technique to determine whether the account application 140 is installed. For example, in some operating systems, such as iOS, the web browser 142 and / or the web page 146 may use a canOpenURL() method to determine whether it is possible to open a URI directed to the account application 140. The method may generally return information indicative of whether it is possible to open the URI. Doing so allows the web browser 142 and / or the web page 146 to determine that the account application 140 is installed on the computing device 102.
[0051] Additionally, in some operating systems, such as the Android OS, the web browser 142 and / or web page 146 may use a content provider service to determine whether the account application 140 is installed on the device 102. For example, the web browser 142 and / or web page 146 may provide a URI directed to the account application 140 to the content provider service, which may return information indicating whether the URI can be opened, thereby allowing the web browser 142 and / or web page 146 to determine that the account application 140 is installed on the computing device 102.
[0052] Once the web browser 142 and / or web page 146 determines that the account application 140 is installed, the web browser 142 and / or web page 146 may generate a URI 202 directed to the account application 140. The URI 202 may be generated based on the same techniques as for generating the URI 152. The URI 202 may be directed to the account application 140 based at least in part on the account application 140 being registered with the OS. Additionally, the URI 202 may include one or more parameters. The parameters may include a merchant ID parameter, a session ID parameter, and an action ID parameter. As previously described, the merchant ID parameter may be associated with a particular merchant, such as a merchant associated with a merchant server 108. Thus, as previously described, each of the multiple merchants may be uniquely identified by a respective merchant ID parameter. Doing so allows the account application 140 to identify the merchant server 108 associated with the merchant ID and / or any web pages 146 associated with the merchant ID. The session ID parameter may identify a browsing session in the web browser 142 with respect to the merchant server 108. For example, the session ID parameter may be used to identify a shopping cart, an item in the shopping cart, a previously visited page, the current page (e.g., web page 146) displayed in the web browser 142, etc. The action ID may generally specify an action or operation to be performed to the account application 140. For example, in some embodiments, the action ID may instruct the account application 140 to open an authentication page. Thus, the URI 202 may be a deep link to one or more pages of the account application 140.
[0053] Once generated, the OS may process the URI 202, causing the OS to open, access, or otherwise display the account application 140. In doing so, it may further provide the URI 202, including the parameters, to the account application 140. Based on the action ID parameter in the URI 202, the account application 140 may open an account authentication page to facilitate the autofill techniques described herein.
[0054] As previously mentioned, in some embodiments, the web browser 142 and / or web page 146 may use a timer to attempt to launch the URI 202 without previously determining that the account application 140 is installed. In such embodiments, if the launch of the account application 140 based on the URI 202 is successful, the autofill process proceeds as described herein. However, if the time expires without the account application 140 launching on the device, the autofill process ends.
[0055] 2B illustrates an embodiment where the OS accesses the URI 202 and the account application 140 loads an account authentication page. Generally, the account authentication page allows a user to authenticate their account via one-tap authentication based on, for example, a login and password, biometrics, or a cryptogram 122 generated by a contactless card 104.
[0056] 2B, the user may tap the contactless card 104 to the computing device 102 (or otherwise move the contactless card 104 within range of the communication interface 126 of the device 102). The applet 112 of the contactless card 104 may then generate the other cryptogram 122 as described above. The account application 140 may then retrieve the other cryptogram 122 via the communication interface 126.
[0057] 2C illustrates an embodiment in which an account application 140 sends a data package including another cryptogram 122 to an authentication server 106. The authentication server 106 may verify or otherwise authenticate the cryptogram 122, as previously described.
[0058] Based on the success of the decryption, the authentication application 130 may send further decryption results to the account application 140. As previously mentioned, the decryption results may include data that is pre-filled into a payment form to pay for the purchase with the merchant server 108.
[0059] Figure 2D illustrates an embodiment in which the authentication application 130 sends a decryption result 204 to the account application 140. In the example illustrated in Figure 2D, the decryption result 204 may indicate that the authentication server 106 has decrypted the other ciphertext 122 of Figures 2B-2C, thereby allowing the account application 140 to determine that the other ciphertext 122 has been successfully decrypted before continuing with the autofill process, thereby improving security.
[0060] As shown, the authentication server 106 may also transmit the autofill data 124 to the account application 140. Although shown as being transmitted together with the decryption result 204, the autofill data 124 may be transmitted separately from the decryption result 204. Additionally, in some embodiments, the autofill data 124 may be transmitted in response to another tap of the contactless card 104 against the computing device 102, which causes another cryptogram to be generated and verified by the authentication server 106. In other embodiments, the autofill data 124 is received directly from the contactless card 104. In other embodiments, the account application 140 searches for the autofill data 124 in a local database stored on the computing device 102. The autofill data 124 may generally include the account number of the contactless card 104, the expiration date of the contactless card 104, the CVV of the contactless card 104, the customer name associated with the contactless card 104, and the customer billing address associated with the contactless card 104. In some embodiments, the account number may be a one-time use virtual account number associated with the contactless card 104 .
[0061] As shown, in response to receiving the decryption result 204, the account application 140 may launch a local server 210. The local server 210 may be any type of server, such as a TCP / IP server, an HTTP server, a Hypertext Transfer Protocol Secure (HTTPS) server, a streaming server, etc. However, only local applications (e.g., applications running on the computing device 102) may access the local server 210. The OS may restrict attempts to access the local server 210 from an external source (e.g., via the network 148). The account application 140 may start the local server 210 at a specific port number. The account application 140 may select the port according to any feasible selection scheme, such as randomly generating a port number, using a predetermined port number, etc. Exchanging data using a local server is described in detail in U.S. Patent Application No. 16 / 876,473, filed May 18, 2020, and Application No. 16 / 876,549, filed May 18, 2020. The entirety of the aforementioned patent application is incorporated herein by reference.
[0062] The account application 140 may cause the web browser 142 to establish a connection with the local server 210. In some embodiments, the account application 140 may generate a URI directed to the web browser 142 and include relevant parameters (e.g., IP address, username, password, port, etc.) needed to establish a connection with the local server 210. The OS may access the URI, which launches the web browser 142 and provides the parameters to the web browser 142. The web browser 142, still maintaining a browsing session to the merchant server 108, may then connect to the local server 210 and receive the autofill data 124 from the local server 210.
[0063] Advantageously, once received from local server 210, web browser 142 may autofill one or more payment fields of web page 146 with autofill data 124, e.g., to pay for oranges and apples. In some embodiments, web browser 142 uses JavaScript, e.g., an autofill service provided by web browser 142, to autofill form fields with autofill data 124. In some embodiments, web browser 142 uses an autofill service provided by operating system 138 to autofill form fields with autofill data 124. Regardless of the autofill service used, the user may submit the form including the autofilled data via web browser 142 to complete the purchase.
[0064] In some embodiments, the authentication server 106 may generate the payment token as the autofill data 124. In such embodiments, the authentication server 106 may provide the payment token to the merchant server 108 and / or the computing device 102. In such embodiments, the account application 140 may receive the payment token from the authentication server 106 or the merchant server 108. The payment token may be provided by the account application 140 to the local server 210, which provides the token to the web browser 142. The payment token may be used to process a purchase via the web browser 142.
[0065] In some embodiments, the account application 140 may provide the autofill data 124 to a content provider service of the operating system 138 rather than initiating the local server 210. In such embodiments, the web browser 142 and / or the web page 146 may receive the autofill data 124 from the content provider service. The web browser 142 may then use an autofill service of the web browser 142 and / or an autofill service of the operating system 138 to autofill form fields with the autofill data 124.
[0066] 2E illustrates an embodiment where a web browser 142154 generates a transaction package 206 for processing a payment for apples and oranges using the autofill data 124 filled into form fields of a web page 146. Generally, the transaction package 206 may be transmitted according to the HyperText Transfer Protocol (HTTP). Once received, the merchant server 108 may process the payment for the transaction using the autofill data 124. The merchant server 108 may then generate a transaction record 208 for the transaction in the transaction database 158. However, as previously discussed, in some embodiments, a payment token is used in place of the autofill data 124 to pay for the transaction.
[0067] FIG. 3A is a schematic diagram 300 illustrating an example embodiment of autofilling data into a web browser using a contactless card. As shown, FIG. 3A includes a mobile computing device 102 executing a web browser 142. The web browser 142 may display a web page, such as web page 146. For example, the web page 146 may be a web page 146 that allows a user to place an order and provide payment information for the order. As shown, the web page 146 includes a payment form having fields 301-305, where field 301 is a name field, field 302 is an account number field, field 303 is an expiration date field, field 304 is a CVV field, and field 305 is an address field.
[0068] Web page 146 further includes a selectable component 308 that enables a user to initiate an autofill process to autofill payment information into form fields 301-305. Although described with reference to a WebView implementation, Figures 3A-3D are equally applicable to a local server implementation, and the embodiments are not limited in this context.
[0069] 3B is a schematic diagram 310 illustrating an embodiment where a user selects component 308 to initiate the autofill process. In general, doing so may cause the web browser 142 to generate a URI directed to the account application 140, which causes the computing device 102 to display the account application 140. Based on the parameters of the URI, the account application 140 outputs an authentication page, as indicated by notification 306, requesting that the user tap his / her contactless card 104 to the computing device 102. Doing so causes the contactless card 104 to generate a cryptogram, which is verified by the authentication server 106. As shown in FIG. 3B, the authentication server 106 verifies the cryptogram. Doing so may cause the authentication server 106 to send payment information (e.g., account number, expiration date, CVV) to the account application 140. If the account application 140 does not locally store the account holder's name and address values, the authentication server 106 may also provide the account holder's name and address.
[0070] 3C is a schematic diagram 320 illustrating an embodiment in which the account application 140 receives information from the authentication server 106 indicating that the server verified the cryptogram generated by the contactless card 104. As previously described, the authentication server 106 may include payment information for populating the form fields 301-306. In response, the account application 140 launches the WebView component 154. The WebView component 154 uses the URL generated by the account application 140 to replicate the browsing session of FIG. 3A in the WebView component 154, e.g., based on the merchant ID and session ID of the URI generated in FIG. 3A.
[0071] As shown, the WebView component 154 may auto-fill the form fields with payment information and any personally identifiable information. More specifically, the WebView component 154 may auto-fill the user's name in name field 301, account number in account number field 302, expiration date in expiration date field 303, CVV in CVV field 304, and address in address field 305. The user may then complete the purchase using button 311, which causes the merchant server 108 to process the payment using the auto-filled data.
[0072] 3D is a diagram 330 illustrating a confirmation page in the WebView component 154. The confirmation page generally reflects that the purchase has been completed with the data pre-filled into the form fields 301-305. Embodiments are not limited in this context.
[0073] The operations related to the disclosed embodiments may be further described with reference to the following drawings. Some of the drawings may include logic flows. Although such drawings presented in this application may include specific logic flows, it may be recognized that the logic flows merely provide examples of how the overall functionality described in this application may be implemented. Furthermore, a given logic flow does not necessarily have to be performed in the order presented, unless otherwise indicated. Also, in some embodiments, not all operations described in the logic flow may be required. Furthermore, a given logic flow may be implemented by hardware components, software components executed by a processor, or any combination thereof. The embodiments are not limited in this context.
[0074] 4 illustrates an embodiment of a logic flow 400. The logic flow 400 may represent some or all of the operations performed by one or more embodiments described herein. For example, the logic flow 400 may include some or all of the operations of autofilling data using the WebView component 154. The embodiments are not limited in this context.
[0075] At block 402, the routine 400 identifies, by a web browser executing on a processor of the computing device 102, a payment field in the web page 146. The payment field may be one of a number of payment fields of a form. At block 404, the routine 400 determines, by the web browser 142, that an account application 140 associated with the issuer of the contactless card 104 is installed on the computing device 102. The web browser 142 may use one or more functions provided by the operating system 138 to determine that the account application 140 is installed. At block 406, the routine 400 generates, by the web browser 142, a uniform resource identifier (URI) directed to the account application 140, the URI including a merchant identifier parameter, a session identifier parameter, and an action identifier parameter.
[0076] At block 408, the routine 400, via an OS executing on the processor, launches the account application 140 based on the URI. At block 410, the routine 400, via the account application 140, authenticates an account associated with the contactless card based on a cryptogram generated by the contactless card 104 based on the action identifier parameter of the URI. At block 412, the routine 400, via the account application 140, receives payment information associated with the contactless card 104 based on the authentication. The payment information may include an account number, an expiration date, and a CVV for the contactless card 104. The payment information may further include an account holder name and / or address. At block 414, the routine 400 accesses the web page 146 via the WebView component 154 of the account application 140. The merchant server 108 may then transmit the user's browsing session and all data associated with the web page 146 to the WebView component 154. In doing so, the WebView component 154 replicates or otherwise restores the user's browsing session from the web browser 142. At block 416, the WebView component 154 auto-fills the payment information into the payment fields in the web page 146. If multiple fields are present, the WebView component 154 may auto-fill the information into the appropriate fields. At block 418, the routine 400 processes the transaction based on the payment information auto-filled by the WebView component 154 into the payment fields of the web page.
[0077] 5 illustrates an embodiment of a logic flow 500. The logic flow 500 may represent some or all of the operations performed by one or more embodiments described herein. For example, the logic flow 500 may include some or all of the operations of auto-filling data using the local server 210. The embodiments are not limited in this context.
[0078] At block 502, the routine 500 identifies, by a web browser executing on a processor of the device, a payment field in the web page 146. The payment field may be one of a number of payment fields of a form. At block 504, the routine 500 determines, by the web browser 142, that an account application 140 associated with the issuer of the contactless card 104 is installed on the device. The web browser 142 may use one or more functions provided by the operating system 138 to determine that the account application 140 is installed. At block 506, the routine 500 generates, by the web browser 142, a uniform resource identifier (URI) directed to the account application 140, the URI including a merchant identifier parameter, a session identifier parameter, and an action identifier parameter.
[0079] At block 508, the routine 500 launches, by a mobile operating system (OS) executing on the processor, the account application 140 based on the URI. At block 510, the routine 500 authenticates, by the account application 140, the account associated with the contactless card 104 based on a cryptogram generated by the contactless card based on an action identifier parameter of the URI. At block 512, the routine 500 receives, by the account application 140, payment information associated with the contactless card 104 based on the authentication. At block 514, the routine 500 starts, by the account application 140, a local server 210 that is accessible only to applications executing on the computing device 102.
[0080] At block 516, the routine 500 establishes a connection between the local server 210 and the web browser 142. At block 518, the routine 500 receives payment information from the local server 210 via the web browser 142. At block 520, the routine 500 terminates the connection with the local server by issuing an end command to the local server 210 via the web browser 142. At block 522, the routine 500 populates a payment field with the payment information via the web browser 142. If multiple fields are present, the web browser 142 may populate the information into the appropriate field. At block 524, the routine 500 processes the transaction based on the payment information populated by the web browser 142 into the payment field of the web page.
[0081] FIG. 6A is a schematic diagram 600 illustrating an exemplary configuration of a contactless card 104, which may include a payment card, such as a credit card, a debit card, or a gift card issued by a service provider, as displayed as a service provider mark 602 on the front or back of the contactless card 104. In some embodiments, the contactless card 104 may include an identification card, not limited to, related to a payment card. In some embodiments, the transaction card may include a dual interface contactless payment card, a rewards card, and the like. The contactless card 104 may include a substrate 604, which may include a single layer or one or more laminated layers of plastic, metal, and other materials. Exemplary substrate materials include polyvinyl chloride, polyvinyl acetate chloride, acrylonitrile butadiene styrene, polycarbonate, polyester, anodized titanium, palladium, gold, carbon, paper, and biodegradable materials. In some embodiments, the contactless card 104 may have physical characteristics that conform to the ID-1 format of the ISO / IEC 7816 standard, or the transaction card may conform to the ISO / IEC 14443 standard. However, it is understood that a contactless card 104 according to the present disclosure may have different characteristics, and the present disclosure does not require that a transaction card be implemented as a payment card.
[0082] The contactless card 104 may include identification information 606 displayed on the front and / or back of the card, and contact pads 608. The contact pads 608 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 pads may be designed according to one or more standards, such as the ISO / IEC 7816 standard, and may enable communication according to the EMV protocol. The contactless card 104 may include processing circuitry, an antenna, and other components, which are further described in FIG. 6B. These components may be provided behind the contact pads 608 or elsewhere on the substrate 604, for example, in different layers of the substrate 604, and may be electrically and physically connected to the contact pads 608. The contactless card 104 may include a magnetic strip or tape, which may be provided on the back of the card (not shown in FIG. 6A). Contactless card 104 may also include a near field communication (NFC) device connected to an antenna capable of communicating via an NFC protocol, although embodiments are not so limited.
[0083] 6B, the contact pads 608 of the contactless card 104 may include processing circuitry 610 for storing, processing, and communicating information, including a processor 612, memory 110, and one or more communication interfaces 126. It is understood that the processing circuitry 610 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, required to perform the functions described herein.
[0084] The memory 110 may be a read-only memory, a write-once-read-many memory, or a read / write memory, such as RAM, ROM, and EEPROM, and the contactless card 104 may include one or more of these memories. The read-only memory is factory programmable to be read-only or one-time programmable. One-time programmability provides the opportunity to be written once and then read multiple times. The write-once / read-many memory may be programmed at a time after the memory chip leaves the factory. Once the memory is programmed, it is not rewritten, but is read multiple times. The read / write memory may be programmed and reprogrammed multiple times after leaving the factory. The read / write memory may also be read multiple times after leaving the factory. In some examples, the memory 110 may be an encrypted memory that utilizes a cryptographic algorithm executed by the processor 612 to encrypt data.
[0085] The memory 110 may be configured to store one or more applets 112, one or more counters 114, a customer ID 120, one or more master keys 116, and one or more diversified keys 118. The one or more applets 112 may include one or more software applications configured to run on one or more contactless cards 104, such as a Java Card applet. However, it is understood that the applet 112 is not limited to a Java Card applet, but may instead be any software application operable on a contactless card or other device having limited memory. The one or more counters 114 may comprise a numeric counter sufficient to store an integer number. The customer ID 120 may include a unique alphanumeric identifier assigned to a user of the contactless card 104, which may distinguish the user of the contactless card 104 from other users of the contactless cards 104. In some embodiments, the customer ID 120 may identify both the customer and the account assigned to that customer, and may also identify the contactless card 104 associated with the customer's account.
[0086] Although the processor 612 and memory components of the illustrative embodiments discussed above are described with reference to the contact pads 608, the disclosure is not so limited. These components may be implemented outside of or completely separate from the contact pads 608, or may be implemented as additional components in addition to the processor 612 and memory 110 components provided within the contact pads 608.
[0087] In some embodiments, the contactless card 104 may include one or more antennas 614. The one or more antennas 614 may be disposed within the contactless card 104 around the processing circuitry 610 on the contact pads 608. For example, the one or more antennas 614 may be integrated into the processing circuitry 610, or the one or more antennas 614 may be used with an external booster coil. In other embodiments, the one or more antennas 614 may be external to the contact pads 608 and the processing circuitry 610.
[0088] In one embodiment, the coil of the contactless card 104 may act as a secondary winding of an air core transformer. The terminal may communicate with the contactless card 104 by interrupting power or amplitude modulation. The contactless card 104 may use a gap in the power connection of the contactless card 104 to infer data transmitted from the terminal. The power connection may be kept functional through one or more capacitors. The contactless card 104 may communicate in the reverse direction by switching a load or load modulation on the coil of the contactless card 104. The load modulation may be detected on the coil of the terminal through interference. More generally, using one or more antennas 614, processing circuitry 612, and / or memory 110, the contactless card 104 provides a communication interface for communicating via NFC, Bluetooth, and / or Wi-Fi communications.
[0089] As described above, the contactless card 104 may be configured in a software platform that is operable in other smart cards or devices with limited memory, such as JavaCard, and one or more applications or applets may be securely executed. An applet 112 may be added to the contactless card to provide one-time passwords (OTPs) for multifactor authentication (MFA) in various mobile application-based use cases. The applet 112 may be configured to respond to one or more requests, such as near-field data exchange requests, from a reader, such as a mobile NFC reader (e.g., in a mobile device at a point-of-sale terminal), and generate an NDEF message comprising the cryptographically secure OTP encoded as an NDEF text tag. The NDEF message may include a cryptogram 122 and any other data.
[0090] An example of an NDEF OTP is the NDEF Short Record Layout (SR=1). In such an embodiment, one or more applets 112 may be configured to encode the OTP as a text tag of the NDEF Type 4 well-known type. In some embodiments, an NDEF message may include one or more records. Applet 112 may be configured to add one or more static tag records in addition to the OTP record.
[0091] In some embodiments, the one or more applets 112 may be configured to emulate an RFID tag. The RFID tag may include one or more multiple forms of tags. In some embodiments, each time the tag is read, different cryptographic data is presented that may indicate the authenticity of the contactless card. Based on the one or more applets 112, the NFC reading of the tag may be processed and the data may be sent to a server, such as a banking system server, where the data may be verified.
[0092] In some embodiments, the contactless card 104 and the server may contain predefined data so that the card may be properly identified. The contactless card 104 may include one or more unique identifiers (not shown). Each time a read operation is performed, the counter 114 may be configured to increment. In some embodiments, each time data is read from the contactless card 104 (e.g., by a mobile device), the counter 114 is sent to the server for validation to determine (as part of the validation) whether the counter 114 is equal to the server's counter.
[0093] The one or more counters 114 may be configured to prevent replay attacks. For example, if a cryptogram is obtained and repeated, the cryptogram is immediately rejected when the counter 114 is read or used or otherwise ignored. If the counter 114 is not used, it may be repeated. In some embodiments, the counter incremented in the contactless card 104 is different from the counter incremented for the transaction. Since there is no communication between the applets 112 in the contactless card 104, the contactless card 104 cannot determine the application transaction counter 114. In some embodiments, the contactless card 104 may include a first applet 440-1 and a second applet 440-2, and the first applet 440-1 may be a transaction applet. Each applet 440-1 and 440-2 may include a respective counter 114.
[0094] In some embodiments, the counter 114 may get out of sync. In some embodiments, the counter 114 may increment to account for an accidental read that initiates a transaction, such as a read at an angle, but the application does not process the counter 114. In some embodiments, when the mobile device 10 wakes from sleep, NFC may be enabled and the computing device 102 may be configured to read an available tag, but no action is taken in response to the read.
[0095] To keep the counter 114 synchronized, an application may be run, such as a background application, which may be configured to detect when the computing device 102 wakes up from sleep and synchronize with the banking system's server, indicating that any readings made due to the detection will then advance the counter 114 forward. In other embodiments, a hashed one-time password may be utilized, such that a window of out-of-sync may be accommodated. For example, if within a threshold of 10, the counter 114 may be configured to advance forward. However, if within a different threshold number, for example, within 10 or 1000, a request to perform a re-synchronization may be processed, which requests, via one or more applications, that the user tap, gesture, or otherwise indicate one or more times via the user's device. The counter 114 increments in the appropriate sequence, and it may then know that the user has done so.
[0096] The key diversification technique described herein with reference to the counter 114, the master key, and the diversification key is one example of an encryption and / or decryption key diversification technique. This exemplary key diversification technique should not be considered as limiting of this disclosure, as this disclosure is applicable to other types of key diversification techniques as well.
[0097] During the contactless card 104 creation process, two cryptographic keys may be uniquely assigned to each card. The cryptographic keys may include symmetric keys that may be used to both encrypt and decrypt data. The Triple DES (3DES) algorithm may be used by EMV and is implemented by hardware in the contactless card 104. Using a key diversification process, one or more keys may be derived from the master key based on uniquely identifiable information for each entity that requires a key.
[0098] In some embodiments, to overcome the inadequacy of the 3DES algorithm that it may be susceptible to vulnerabilities, a session key (such as a unique key per session) may be derived, but rather than using a master key, a unique key and counter derived by the card may be used as diversification data. For example, each time the contactless card 104 is used during operation, a different key may be used to generate a Message Authentication Code (MAC) and perform encryption, resulting in three layers of encryption. The session key may be generated by one or more applets and derived using an application transaction counter with one or more algorithms (as defined in "EMV 4.3 Book 2 A1.3.1 Common Session Key Derivation").
[0099] Furthermore, the increments for each card may be unique, assigned by personalization, or algorithmically assigned by some identifying information. For example, cards with odd numbers may be incremented by 2, and cards with even numbers may be incremented by 5. In some embodiments, the increments may vary on successive reads, such that a card may be incremented in a repeating sequence of 1, 3, 5, 2, 2, .... A particular 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 more difficult for a replay attacker to generalize from the small numbers of card instances.
[0100] The authentication message may be sent as the content of a textual NDEF record having a hexadecimal ASCII format. In another embodiment, the NDEF record may be encoded in hexadecimal format.
[0101] FIG. 7 illustrates an NDEF short record layout (SR=1) data structure 700 according to an example embodiment. One or more applets may be configured to encode the OTP as a text tag of known type in NDEF type 4. In some examples, the NDEF message may include one or more records. The applet may be configured to add one or more static tag records in addition to the OTP record. Example tags include, without limitation: tag type: known type, text, encoding English (en); applet ID: D2760000850101; capabilities: read-only access; encoding: authentication message may be encoded as ASCII hex; type-length-value (TLV) data may be provided as personalization parameters that may be used to generate the NDEF message. In one embodiment, the authentication template may include a first record with a known index to provide the actual dynamic authentication data. The data structure 700 may include the ciphertext 122 and any other data provided by the applet 112.
[0102] 8 illustrates an embodiment of an exemplary computer architecture 800 suitable for implementing various embodiments as described above. In one embodiment, computer architecture 800 may include or be implemented as part of computing architecture 100.
[0103] As used herein, the terms "system" and "component" are intended to denote any computer-related entity, hardware, a combination of hardware and software, software, or software in execution, examples of which are provided by the exemplary computational computer architecture 800. For example, a component may be, but is not limited to, a process running on a processor, a processor, a hard disk drive, multiple storage drives (optical and / or magnetic storage media), an object, an executable file, a thread of execution, a program, and / or a computer. By way of example, both an application running on a server and a server may be a component. One or more components may reside within a process / thread of execution, and a component may be localized in one computer and / or distributed among two or more computers. Furthermore, multiple components may be communicatively coupled to each other by various types of communication media to coordinate operations. The coordinated operations may involve unidirectional or bidirectional exchange of information. For example, the components may transmit information in the form of signals transmitted over the communication media. The information may be implemented as signals assigned to various signal lines. In such an assignment, each message is a signal. However, other embodiments may alternatively use data messages. Such data messages may be transmitted over a variety of connections. Exemplary connections include parallel interfaces, serial interfaces, and bus interfaces.
[0104] Computer architecture 800 may include various common computing elements, such as one or more processors, multi-core processors, co-processors, memory units, chipsets, controllers, peripherals, interfaces, oscillators, timing units, video cards, audio cards, multimedia input / output (I / O) components, power supplies, etc. However, embodiments are not limited to implementation with computing architecture 800.
[0105] 8, computer architecture 800 includes a computer 812 with a processor 802, a system memory 804, and a system bus 806. Processor 802 may be any of various commercially available processors. Computer 812 may represent computing device 102 and / or authentication server 106.
[0106] The system bus 806 provides an interface for system components including, but not limited to, the processor 802 from the system memory 804. The system bus 806 may be any of several types of bus structures that may further interconnect to a memory bus (with or without a memory controller), a peripheral bus, and a local bus using any of a variety of commercially available bus architectures. Interface adapters may be connected to the system bus 806 via a slot architecture. Exemplary slot architectures may include, but are not limited to, Accelerated Graphics Port (AGP), CardBus, (Extended) Industry Standard Architecture (E)ISA), Micro Channel Architecture (MCA), NuBus, Peripheral Component Interconnect (Extended) (PCI(X)), PCI Express, Personal Computer Memory Card International Association (PCMCIA), and the like.
[0107] Computer architecture 800 may include or be implemented in a variety of articles of manufacture. The articles of manufacture may include a computer-readable storage medium for storing logic. Examples of computer-readable storage media may include any tangible medium capable of storing electronic data, including volatile or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or re-writable memory, and the like. Examples of logic may include executable computer program instructions implemented using any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, object-oriented code, visual code, and the like. Embodiments may also be implemented, at least in part, as instructions contained in or on a non-transitory computer-readable medium, which may be read and executed by one or more processors to enable performance of the operations described herein.
[0108] The system memory 804 may include various types of computer-readable storage media having the form of one or more faster memory units, such as read-only memory (ROM), random-access memory (RAM), dynamic RAM (DRAM), double-data-rate DRAM (DDRAM), synchronous DRAM (SDRAM), static RAM (SRAM), programmable ROM (PROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory (e.g., one or more flash arrays), polymer memory such as ferroelectric polymer memory, ovonic memory, phase-change or ferroelectric memory, silicon-oxide-nitride-oxide-silicon (SONOS) memory, magnetic or optical cards, array of devices such as Redundant Array of Independent Disks (RAID) drives, solid-state memory devices (e.g., USB memory, solid state drive (SSD)), and any other type of storage medium suitable for storing information. 8, system memory 804 may include non-volatile memory 808 and / or volatile memory 810. A basic input / output system (BIOS) may be stored in non-volatile memory 808.
[0109] The computer 812 may include various types of computer-readable storage media in the form of one or more slower memory units, including an internal (or external) hard disk drive 814, a magnetic disk drive 816 for reading from or writing to a removable magnetic disk 818, and an optical disk drive 820 for reading from or writing to a removable optical disk 822 (e.g., CD-ROM or DVD). The hard disk drive 814, magnetic disk drive 816, and optical disk drive 820 may be connected to the system bus 806 by a HDD interface 824, a FDD interface 826, and an optical disk drive interface 828, respectively. The HDD interface 824 for external drive implementations may include at least one or both of USB (Universal Serial Bus) and IEEE 1394 interface technologies.
[0110] The drives and associated computer-readable media provide volatile and / or nonvolatile storage of data, data structures, computer-executable instructions, etc. A number of program modules may be stored in the drives, nonvolatile 808, and volatile 810, including, for example, an operating system 830, one or more applications 832, other program modules 834, and program data 836. In one embodiment, the one or more applications 832, other program modules 834, and program data 836 may include various applications and / or components of system 100, for example.
[0111] A user may enter commands and information into the computer 812 through one or more wired / wireless input devices, such as a keyboard 838 and a pointing device, such as a mouse 840. Other input devices may include a microphone, an infrared (IR) remote control, a radio frequency (RF) remote control, a game pad, a stylus pen, a card reader, a dongle, a fingerprint reader, a glove, a graphics tablet, a joystick, a keyboard, a retina reader, a touch screen (e.g., capacitive, resistive, etc.), a track ball, a track pad, a sensor, a stylus, etc. These and other input devices are connected to the processor 802 through an input device interface 842 that is often connected to the system bus 806, but may also be connected by other interfaces, such as a parallel port, an IEEE 1394 serial port, a game port, a USB port, an IR interface, etc.
[0112] A monitor 844 or other type of display device is also connected to the system bus 806 via an interface, such as a video adapter 846. The monitor 844 may be internal or external to the computer 812. In addition to the monitor 844, computers typically include other peripheral output devices, such as speakers, printers, etc.
[0113] The computer 812 may operate in a networked environment with logical connections via wired and / or wireless communications to one or more remote computers, such as one or more remote computers 848. The one or more remote computers 848 may be workstations, server computers, routers, personal computers, portable computers, microprocessor-based entertainment equipment, peer devices, or other common network nodes, and typically include many or all of the components described in connection with the computer 812, although only a memory / storage device 850 is illustrated for purposes of brevity. The logical connections depicted include wired / wireless connections to a local area network (LAN) 852 and / or larger networks, such as a wide area network (WAN) 854). Such LAN and WAN networking environments are commonplace in offices and companies, facilitating enterprise-wide computer networks, such as an intranet, all of which may be connected to a global communications network, such as the Internet.
[0114] When used in a local area network 852 networking environment, the computer 812 is connected to the local area network 852 via a wired and / or wireless communication network interface or adapter 856. The network adapter 856 can facilitate wired and / or wireless communication to the local area network 852, which may include a wireless access point disposed thereon for communicating with the wireless capabilities of the network adapter 856.
[0115] When used in a wide area network 854 networking environment, the computer 812 may include a modem 858 or have other means for connecting to a communications server in the wide area network 854 or for establishing communications over the wide area network 854, for example, by way of the Internet. The modem 858 is connected to the system bus 806 via the input device interface 842. The modem 858 may be internal or external and may be a wired and / or wireless device. In a networked environment, the program modules depicted relative to the computer 812, or portions thereof, may be stored in the remote memory / storage device 850. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
[0116] The computer 812 is operable to communicate with wired and wireless devices or entities using the family of IEEE 802 standards, such as wireless devices operatively arranged for wireless communication (e.g., IEEE 802.11 wireless modulation techniques). This includes at least, among others, Wi-Fi (Wireless Fidelity), WiMax, and Bluetooth wireless technologies. Thus, the communication may be of a predefined structure, such as with a conventional network, or may simply be ad-hoc communication between at least two devices. A Wi-Fi network uses radio technologies called IEEE 802.11 (a, b, g, n, ac, ax, etc.) to provide secure, reliable, and fast wireless connectivity. A Wi-Fi network can be used to connect multiple computers to each other, to the Internet, and to connect to wired networks (using IEEE 802.3 related media and functions).
[0117] The various components of the apparatus as described above with reference to Figures 1-7 may include various hardware components, software components, or a combination of both. Examples of hardware components may include an apparatus, a logic device, a component, a processor, a microprocessor, a circuit, a circuit element (e.g., a transistor, a resistor, a capacitor, an inductor, etc.), an integrated circuit, an application specific integrated circuit (ASIC), a programmable logic device (PLD), a digital signal processor (DSP), a field programmable gate array (FPGA), a memory device, a logic gate, a register, a semiconductor device, a chip, a microchip, a chipset, etc. Examples of software components may include a software part, a program, an application, a computer program, an application program, a system program, a software development program, a machine program, an operating system software, a middleware, a firmware, a software module, a routine, a subroutine, a function, a method, a procedure, a software interface, an application program interface (API), an instruction set, a computational code, a computer code, a code segment, a computer code segment, a word, a value, a symbol, or any combination thereof. However, determining whether an embodiment is implemented using hardware and / or software components may vary according to any number of factors, such as desired computation rates, power levels, thermal tolerances, processing cycle budgets, input data rates, output data rates, memory resources, data bus speeds, and other design or performance constraints desired for a given implementation.
[0118] One or more aspects of at least one embodiment may be implemented by exemplary instructions stored on a machine-readable medium that represent various logic within a processor that, when read by a machine, causes the machine to generate logic to perform the techniques described herein. Such representations, known as "IP cores," may be stored on tangible machine-readable media and delivered to various customers or manufacturing facilities to be loaded into manufacturing machines that create the logic or processors. Some embodiments may be implemented using a machine-readable medium or article of manufacture that may store, for example, an instruction or set of instructions that, when executed by a machine, may cause the machine to perform a method and / or operation according to an embodiment. Such a machine may include, for example, any suitable processing platform, computing platform, computing device, processing device, computing system, processing system, computer, processor, etc., and may be implemented using any suitable combination of hardware and / or software. The machine-readable medium or product may include, for example, any suitable type of memory unit, memory device, memory product, memory medium, storage device, storage product, storage medium and / or storage device, such as memory, removable or non-removable media, erasable or non-erasable media, writable or rewritable media, digital or analog media, hard disk, floppy disk, Compact Disk Read Only Memory (CD-ROM), Compact Disk Recordable (CD-R), Compact Disk Rewriteable (CD-RW), optical disk, magnetic media, magneto-optical media, removable memory cards or disks, various types of Digital Versatile Disks (DVDs), tapes, cassettes, and the like. The instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, encrypted code, etc., implemented using any suitable high-level, low-level, object-oriented, visual, compiled, and / or interpreted programming language.
[0119] The foregoing description of exemplary embodiments has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise form disclosed. Many modifications and variations are possible in light of this disclosure. It is intended that the scope of the disclosure be limited not by this detailed description, but rather by the claims appended hereto. Future applications claiming priority to this application may claim the disclosed subject matter in a different manner and may generally include any collection of one or more limitations as variously disclosed or otherwise exemplified in the present application.
Claims
1. 1. A computer-implemented method comprising: identifying, by a web browser executing on a processor of the device, a payment field in a web page; determining, by the web browser, that an application associated with an issuer of a contactless card is to be installed on the device; generating, by the web browser, a uniform resource identifier (URI) directed to the application, the URI including a merchant identifier parameter, a session identifier parameter, and an action identifier parameter; launching, by a mobile operating system (OS) executing on the processor, the application based on the URI; authenticating, by the application, an account associated with the contactless card based on a cryptogram generated by the contactless card based on an action identifier parameter of the URI; receiving, by the application, payment information associated with the contactless card based on the authentication; accessing said web page via a WebView component of said application; automatically filling in a payment field in the web page with payment information via a WebView component of the application; and processing the transaction based on payment information pre-populated into a payment field of the web page by a WebView component of the application. method.
2. The method includes generating, by the application, a URL for the web page based on the merchant identifier and the session identifier; the merchant identifier is associated with a merchant providing the web page; the session identifier is associated with a browsing session in the web browser; The method further includes accessing, by a WebView component of the application, the web page based on the generated URL of the web page. The method of claim 1.
3. the payment information includes an account number received from an authentication server; 3. The method according to claim 1 or 2.
4. the payment information includes a payment token received from a web server hosting the web page; 3. The method according to claim 1 or 2.
5. the web browser determines, based on capabilities provided by the mobile operating system, that the application is to be installed on the device; 3. The method according to claim 1 or 2.
6. the URI is a deep link to the application, The application loads an authentication page of the application based on the action identifier.
3. The method according to claim 1 or 2.
7. The above certification is transmitting, by the application, the ciphertext to an authentication server; receiving, by the application, from the authentication server, information designating the authentication server that decrypted the ciphertext; 3. The method according to claim 1 or 2.
8. Before deciding to install the application on the device, receiving, by the web browser, input selecting a payment field of the web page; displaying information specifying processing the transaction using the application; and receiving an input specifying processing the transaction using the application.
3. The method according to claim 1 or 2.
9. 1. A computer-readable storage medium comprising instructions that, when executed by a processor of an apparatus, cause the processor to perform the following operations: The above operation is Identifying, by a web browser, a payment field in a web page; determining, by the web browser, that an application associated with an issuer of a contactless card is to be installed on the device; generating, by the web browser, a uniform resource identifier (URI) directed to the application, the URI including a merchant identifier parameter, a session identifier parameter, and an action identifier parameter; launching, by a mobile operating system (OS), the application based on the URI; authenticating, by the application, an account associated with the contactless card based on a cryptogram generated by the contactless card based on an action identifier parameter of the URI; receiving, by the application, payment information associated with the contactless card based on the authentication; accessing said web page via a WebView component of said application; automatically filling in a payment field in the web page with payment information via a WebView component of the application; and processing the transaction based on payment information pre-populated into a payment field of the web page by a WebView component of the application. A computer-readable storage medium.
10. The instructions further cause the processor to generate, by the application, a URL for the web page based on the merchant identifier and the session identifier; the merchant identifier is associated with a merchant providing the web page; the session identifier is associated with a browsing session in the web browser; The instructions further cause the processor to access, via a WebView component of the application, the web page based on a generated URL of the web page.
10. The computer-readable storage medium of claim 9.
11. the payment information includes an account number received from an authentication server; 11. A computer-readable storage medium according to claim 9 or 10.
12. the payment information includes a payment token received from a web server hosting the web page; 11. The computer-readable storage medium according to claim 9 or 10.
13. the web browser determines, based on capabilities provided by the mobile operating system, that the application is to be installed on the device; 11. The computer-readable storage medium according to claim 9 or 10.
14. the URI is a deep link to the application, The application loads an authentication page of the application based on the action identifier.
11. The computer-readable storage medium according to claim 9 or 10.
15. The above authentication, when performed, transmitting, by the application, the ciphertext to an authentication server; receiving, by the application, from the authentication server, information designating the authentication server that decrypted the ciphertext; 11. The computer-readable storage medium according to claim 9 or 10.
16. The instructions, prior to determining that the application is to be installed on the device, receiving, by the web browser, input selecting a payment field of the web page; displaying information specifying processing the transaction using the application; and receiving an input specifying processing the transaction using the application.
11. The computer-readable storage medium according to claim 9 or 10.
17. 1. A computing device comprising a processor and a memory storing instructions that, when executed by the processor, cause the processor to perform the following operations: The above operation is Identifying, by a web browser, a payment field in a web page; determining, by the web browser, that an application associated with an issuer of a contactless card is to be installed on the device; generating, by the web browser, a uniform resource identifier (URI) directed to the application, the URI including a merchant identifier parameter, a session identifier parameter, and an action identifier parameter; launching, by a mobile operating system (OS) executing on the processor, the application based on the URI; authenticating, by the application, an account associated with the contactless card based on a cryptogram generated by the contactless card based on an action identifier parameter of the URI; receiving, by the application, payment information associated with the contactless card based on the authentication; accessing said web page via a WebView component of said application; automatically filling in a payment field in the web page with payment information via a WebView component of the application; and processing the transaction based on payment information pre-populated into a payment field of the web page by a WebView component of the application. computing device.
18. The instructions further cause the processor to generate, by the application, a URL for the web page based on the merchant identifier and the session identifier; the merchant identifier is associated with a merchant providing the web page; the session identifier is associated with a browsing session in the web browser; The instructions further cause the processor to access, via a WebView component of the application, the web page based on a generated URL of the web page.
20. The computing device of claim 17.
19. the payment information includes an account number received from an authentication server; 19. A computing device according to claim 17 or 18.
20. the payment information includes a payment token received from a web server hosting the web page; 19. A computing device according to claim 17 or 18.
21. the web browser determines that the application is to be installed based on capabilities provided by the mobile operating system; 19. A computing device according to claim 17 or 18.
22. the URI is a deep link to the application, The application loads an authentication page of the application based on the action identifier.
19. A computing device according to claim 17 or 18.
23. The authenticating, when performed by the processor, comprises: transmitting, by the application, the ciphertext to an authentication server; receiving, by the application, from the authentication server, information designating the authentication server that decrypted the ciphertext; 19. A computing device according to claim 17 or 18.
24. The instructions, before determining that the application is to be installed, receiving, by the web browser, input selecting a payment field of the web page; displaying information specifying processing the transaction using the application; and receiving an input specifying processing the transaction using the application.
19. A computing device according to claim 17 or 18.
Citation Information
Patent Citations
Providing cryptocurrency payments through a browser application programming interface
JP2020523716A
Mobile Communication Device with Proximity Based Communication Circuitry
US20160026997A1
Using on-demand applications to generate virtual numbers for a contactless card to securely autofill forms
WO2020160065A1
