# Patent

## Title
Integration of payment capability into secure elements of computers

## Abstract

Methods, secure elements, validation entities, and computer program products for effecting secure communication of payment information to merchants for Internet-based purchases. Payment information for a user's real payment information is installed in a secure element of a computer, the payment information may comprise a pseudo PAN number for the portable consumer device provided by a validation entity. The secure element is shielded from the computer's operating system to thwart hacker attacks. The user accesses the secure element to make a purchase. In response, the secure element contacts the validation entity with the pseudo account number, and in response obtains dynamic payment information that the secure element can used to effect the payment. The dynamic payment information comprises an account number that is different from the pseudo PAN, and which has at least one difference which respect to the user's real payment information.

## Background
CROSS-REFERENCES TO RELATED APPLICATIONS
This application is a continuation of prior application Ser. No. 13/411,400, entitled “Integration of Payment Capability into Secure Elements of Computers,” filed Mar. 2, 2012, which is a continuation-in-part of prior application Ser. No. 12/780,657, entitled “Verification of Portable Consumer Devices,” filed May 14, 2010, which is a continuation-in-part of prior application Ser. No. 12/712,148, entitled “Verification of Portable Consumer Devices,” filed Feb. 24, 2010, the contents of which are hereby incorporated in their entirety by reference for all purposes. This application is also a continuation in part of prior application Ser. No. 12/878,947, entitled “Secure Communication of Payment Information to Merchants Using a Verification Token,” filed Sep. 9, 2010, the contents of which are hereby incorporated in their entirety by reference for all purposes. In addition, this application claims priority to U.S. Provisional Patent Application No. 61/449,507, entitled “Integration of Payment Capability into Secure Elements of Computers,” filed Mar. 4, 2011, the contents of which are hereby incorporated in their entirety by reference for all purposes.


BACKGROUND OF THE INVENTION
Online purchasing of goods and services has grown dramatically over the last decade. Although such purchases are now conducted with communications between a user's computer and a merchant's website being encrypted, the users' credit card payment information is still susceptible to theft during the online transaction. A common approach used by hackers to steal credit card payment information is to install a malware program on the user's computer without the user's knowledge, where the malware program examines the user's keystrokes and browser content to detect payment information (e.g., credit card number, expiration date, card verification value, etc.). This is the so-called “man-in-the-middle” attack. Once the payment information is detected, the malware program transmits the data to the hacker's remote server, where it can be used or sold to conduct fraudulent transactions.
The present invention is directed to ways of evading man-in-the-middle attacks and effecting secure communication of payment information to merchants for purchases made over the Internet.
BRIEF SUMMARY OF THE INVENTION
One exemplary embodiment of the invention pertains to methods of installing user-specific payment information in a secure element of a computer, the user-specific payment information having at least an account number (personal account number—PAN), and one or more of the following: a card verification value, an expiration date, and a billing zip code. An exemplary method comprises receiving, at a secure element of a computer, an account number and at least one of an expiration date, a card verification value, or a billing ZIP code of a user-specific payment information; obtaining an identifier for the secure element; sending the received account number, the received at least one of an expiration date, a card verification value, or a billing ZIP code, and the obtained identifier for the secure element to a validation entity; receiving, in response, a pseudo account number from the validation entity, the received pseudo account number being different from the received account number of the user-specific payment information; and storing, in a memory of the secure element, the received pseudo account number. The user-specific payment information is uniquely assigned to a user, and may be the payment information of a user's portable consumer device (e.g., a primary credit card account assigned by a bank), or sub-account linked to the primary account and limited to particular commerce channels and/or particular transactions (such as internet purchases), or a proxy account number linked to the primary credit card account and limited to use with the secure element. Each of the account number of the user-specific payment information and the pseudo account number is recognizable and processable by a card payment processing network that processes credit-card and/or debit-card transactions, such as VisaNetTM. The payment processing network is independent of the bank that issued the user-specified payment information, and the merchants involved with the user's transactions. Also, each account number comprises a sequence of at least eleven numeric digits, preferably of at least 13 numeric digits, and typically is a sequence of 15, 16, 17, 18, or 19 numeric digits. The identifier for the secure element may be assigned by the manufacturer of the secure element of the computer and written to a non-volatile memory of the secure element, or may be written to a non-volatile memory of the secure element by a payment application installed in the secure element.
Another exemplary embodiment of the invention pertains to methods of using the secure payment information in a secure element of a computer for a user. Such an exemplary method comprises: receiving an indication that the payment application in the secure element is to be activated by the user; sending, from the secure element of the computer, a representation of a pseudo account number stored in a computer readable memory of the secure element to a validation entity; and receiving, in response, dynamic payment information from the validation entity, the received dynamic payment information having an account number that is different from the pseudo account number. The dynamic payment information is recognizable and processable by a card payment processing network that processes credit-card and/or debit-card transactions, such as VisaNetTM. The dynamic payment information comprises an account number of at least eleven numeric digits, preferably of at least 13 numeric digits, and typically of 15, 16, 17, 18, or 19 numeric digits.
Additional embodiments of the present invention pertain to computer product products that perform the above methods, and secure elements that have computer readable memories that store these computer program products and processors that execute the stored computer program products. For example, one such exemplary embodiment pertains to a computer program product embodied on a tangible non-transitory computer-readable medium. The exemplary product comprises: code that directs a data processor to receive an account number and at least one of an expiration date, a card verification value, or a billing ZIP code of user-specific payment information; code that directs a data processor to obtain an identifier for a secure element; code that directs a data processor to send the received account number, the received at least one of an expiration date, a card verification value, or a billing ZIP code, and the obtained identifier for the secure element to a validation entity; code that directs a data processor to receive, in response, a pseudo account number from the validation entity, the received pseudo account number being different from the account number of the received user-specific payment information; and code that directs a data processor to store, in a memory of the secure element, the received pseudo account number.
Another exemplary embodiment of the invention pertains to methods of providing payment information to a secure element that may be stored by the secure element. Such an exemplary method comprises: receiving, at a server, a request from a secure element of a computer to provide a pseudo account number, the request including an identifier of the secure element, and an account number and at least one of an expiration date, a card verification value, or a billing ZIP code of user-specific payment information; applying at least one validation test pertaining to the received request; sending, if the at least one validation test is passed, a pseudo account number to the secure element; and storing the pseudo account number with an indication of at least the received account number.
Another exemplary embodiment of the invention pertains to methods of providing dynamic payment information to a secure element that may be used by the secure element to pay for a transaction. Such an exemplary method comprises: receiving, at a server, a request from a secure element of a computer to provide dynamic payment information, the request including a pseudo account number and an identifier of a secure element; applying at least one validation test pertaining to the received request; and sending, if the at least one validation test is passed, dynamic payment information to the secure element.
Additional embodiments of the present invention pertain to computer product products that perform the above methods, and validation entities that have computer readable memories that store these computer program products and processors that execute the stored computer program products. For example, one such exemplary embodiment pertains to a validation entity and comprises: a data processor; a networking facility coupled to the processor; a computer-readable medium coupled to the processor; and a computer program product embodied on the computer-readable medium. An exemplary embodiment of the computer program product comprises: code that directs a data processor to receive a request from a secure element of a computer to provide a pseudo account number, the request including an identifier of the secure element, and an account number and at least one of an expiration date, a card verification value, or a billing ZIP code of user-specific payment information; code that directs a data processor to apply at least one validation test pertaining to the received request; code that directs a data processor to send, if the at least one validation test is passed, a pseudo account number to the secure element; and code that directs a data processor to store the pseudo account number with an indication of at least the received account number. The exemplary computer program product may further comprise: code that directs a data processor to receive a request from a secure element of a computer to provide dynamic payment information, the request including a pseudo account number and an identifier of a secure element; code that directs the data processor to apply at least one validation test pertaining to the received request; and code that directs a data processor to send, if the at least one validation test is passed, dynamic payment information to the secure element.
Further details regarding embodiments of the invention are provided below in the Detailed Description with reference to the Figures.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates exemplary actions pertaining to various methods, secure elements, and validation entities according to the present invention.
FIG. 2 shows an exemplary implementation of a computer having a secure element according to the present invention.
FIG. 3 shows an exemplary embodiment of a secure element according to the present invention.
FIG. 4 shows an exemplary embodiment of a validation entity according to the present invention.



DETAILED DESCRIPTION OF THE INVENTION
The present invention is directed to ways of effecting secure communication of payment information to merchants for purchases made over the Internet. Exemplary embodiments of the present invention involve the incorporation of payment information (e.g., credit card or debit card payment information) into secure elements of specially designed computers, and the use of the incorporated payment information to purchase a product or service from a merchant by way of the merchant's website with a highly improved degree of security. The secure element of the computer is described below in greater detail. As a brief summary, the secure element provides a hardware-level interface with the user which cannot be controlled or accessed by the operating system running on the computer, and is thus immune from being hacked by computer viruses that may be inadvertently installed on the user's computer. The secure element can be accessed by the user by hitting a particular key or sequence of keys on the computer or the computer's keyboard, or by the user clicking a button provided on a browser toolbar provided by a special browser plug-in. When activated, the secure element can access the user interface of the computer (e.g., screen, keyboard, and mouse), and can prevent keyboard keystrokes, mouse clicks, mouse movements, and screen cursor position information from being sent to the operating system that is running on the computer. The secure element can also access the networking facility of the user's computer, either directly or indirectly through the operating system, to securely communicate with a validation server. The validation server assists the user in conveying payment information to a merchant website for a purchase transaction. This server may be provided by an issuing bank or a payment processing network, such as VisaNetTM. The secure element may comprise its own data processor and memory, and may further have switching circuitry that selectively connects and disconnects the screen, keyboard, and mouse from the I/O controller of the computer. A payment application is installed on the secure element and executed by the processor of the secure element. The payment application handles the processing of payment information and communicates with the user and the validation entity.
FIG. 1 illustrates exemplary actions A1-A27 that may be used to implement payment interactions between a user 1, a merchant website 20, a computer 10 that is used by user 1 to make a purchase from website 20, and a validation entity 80. In action A1, user 1 activates the secure element of computer 10 by pressing a special key on the browser window (which may be set up in a tool bar provided by a browser plug-in), or by pressing a special key or a combination of regular keys on the computer's keyboard. (The use of a special key can be advantageous for laptop, PDA, and smart phone implementations.) In response, in action A2, the secure element disconnects the computer's user interface from the operating system running on the computer, and presents a dialog box on the computer screen that asks the user to enter a password. The password may be entered by using the computer's keyboard, or by the user clicking an image of a keyboard or a 0-9 numerical keypad displayed on the computer screen by the secure element. In action A3, user 1 enters the password, which allows full access to the secure element. In the full access state, user 1 can have access to the aforementioned payment application that has been previously installed in the memory of the secure element. The payment application may automatically start upon receipt of a correct password, or the secure element can present a secure “desktop” screen to the user, with this secure screen having an icon that user 1 can click on to start the payment application. The secure “desktop” screen may be smaller than the regular desktop screen, and may be laid over a portion of the regular desktop so that the user can still see portions of the regular desktop. Upon activation, the payment application may present its own sequence of dialog boxes, just like a regular application running from the regular desktop. The payment application enables user 1 to register an instance (e.g., datum) of user-specific payment information, such as credit card or debit card information, with the payment application and validation entity 80 for use with future transactions with merchant websites, such as merchant website 20. In action A4, user 1 instructs the payment application to register an instance of user-specific payment information. In action A4, user 1 provides the following fields of the instance of user-specific payment information: the PAN (personal account number), the name of the card holder, card expiration date (if applicable), card verification value (CVV, if applicable), and card holder billing address and/or billing zip code. The user-specific payment information is uniquely assigned to user 1, and may be the payment information of a portable consumer device 5 of the user (e.g., a primary credit card account assigned by a bank), or sub-account linked to the primary account and limited to particular commerce channels and/or particular transactions (such as internet purchases), or a proxy account number linked to the primary credit card account and limited to use with secure elements. In action A5, the payment application encrypts the payment information provided by user 1, accesses the computer's networking facility to contact validation entity 80, and securely communicates the payment information to entity 80 along with an identifier that uniquely identifies the secure element. The identifier for the secure element may be assigned by the manufacturer of the secure element of the computer and written to a non-volatile memory of the secure element, or may be written to a non-volatile memory of the secure element by the payment application. The unique identifier for the secure element is different from every serial number that the computer manufacturer has encoded into the CPU, memory, and firmware of computer 10, and preferably cannot be derived therefrom by using a single mathematical operation. As such, the identifier for the secure element is not accessible to the operating system.
Entity 80 validates the received instance of user-specific payment information in action A6, and sends back a pseudo account number (pseudo-PAN) to the payment application running on the secure element in action A7. The pseudo account number (pseudo-PAN) is different from the real account number (PAN) provided to it by user 1, and preferably cannot be derived from it by using a single mathematical operation. In addition, the pseudo-PAN preferably has the form of a PAN that can be processed by payment processing network (such as network 70 described below), being a string (sequence) of at least 11 numeric digits, preferably of at least 13 numeric digits, and typically being a sequence of 15, 16, 17, 18, or 19 numeric digits, but preferably not more than 20 digits. As part of action A6, entity 80 creates a computer record that stores and associates the following items: the user-specific payment information provided by user 1, the pseudo account number (pseudo-PAN), and the unique identifier of the secure element. In action A8, the payment application provides user 1 with an indication that the payment information has been registered, and provides an icon or other representation that the user may click on or select at a later date to send the payment information to a merchant website 20. This icon or representation may comprise the name of the bank that issued the user-specific payment information plus the last 3 to 5 digits of the real PAN of the user-specific payment information. Also, the payment application may provide an input dialog box that allows user 1 to create a name for the registered payment information. In action A9, user 1 clicks on an icon or representation in the payment application to close it, and further clicks on another icon or representation to exit the secure element, the action of which restores the operating system's access to the computer's user interface. To protect the security of the user's real payment information, such as from a reverse engineering of secure element 40, the payment application running on the secure element does not permanently store the PAN, CVV, and expiration date of the user-specific payment information that was provided to it by the user. Instead, the payment application can relay this information to the validation server 80 without any local storage of the information.
At a later time, user 1 shops at merchant website 20, finds one or more products or services to purchase, and navigates to the website's checkout page to pay for the transaction. These actions are indicated at A10 in the figure. At the checkout page, user 1 activates the secure element in action A11 by pressing a special key on the browser (which may be set up in a tool bar provided by a browser plug-in), or by pressing a special key or a combination regular keys on the computer's keyboard, as indicated above. At action A12, the secure element displays the secure screen and asks for the user's password, as described above. In action A13, user 1 enters the password, which allows full access to the secure element when correctly entered. Upon confirmation of the correct password, the secure element takes action A14 to automatically start the payment application or to present the secure desktop screen to enable user 1 to start the payment application. Once started, if the user has previous registered a number of instances of user-specific payment information (e.g., a number of portable consumer devices) with the payment application, the payment application may present a dialog box to user 1 with icons/representations of each of them to enable the user to select one of them (e.g., one of the portable consumer devices, or cards) to use for payment. If only one instance of user-specific payment information has been registered, the payment application may present a dialog box to confirm use of the instance (and to allow another instance or portable consumer device to be registered and used if desired), or the payment application may be configured to proceed to use the sole registered instance (e.g., portable consumer device) without confirmation from the user. These interactions are indicated at A15 in the figure. Once the payment application has selected a portable consumer device to use for payment, the payment application generates a cryptogram based on the pseudo-PAN and other info, and sends the cryptogram to validation entity 80 through a networking facility of the user's computer 10, as denoted by action A16 in the figure. The cryptogram sent in action A16 can also have the previously-described identifier that uniquely identifies the secure element. This identifier can be used by entity 80 to ensure that it is communicating with a trusted entity. As a further security feature, one of actions A11-A14 can include obtaining a unique identifier for merchant 20, and action 16 can include the merchant identifier in the cryptogram, or transmit it along with the cryptogram. Entity 80 may then use the merchant identifier to either directly communicate payment information to the merchant, or to instruct the payment processing network (described below) to only process the transaction with the merchant indicated by the identifier. The merchant identifier may be obtained from the active web browser, either as the URL of the merchant checkout page or a data field in the contents of the checkout page, and may be displayed to the user within the secure environment of the secure element to confirm the identity of the merchant.
Validation entity 80 determines if the cryptogram is valid, as denoted by action A17, and if valid, it generates return payment information and associates the return information to the user's account. The validation process includes accessing the previously stored record for the user's user-specific payment information (e.g., the user's portable consumer device) based on the value of the received pseudo-PAN, and may include comparing the received identifier of the secure element with identifier of the secure element that was previously stored in the accessed record. The validation process may also include checking a database of fraudulent activity related to the pseudo-PAN and the corresponding real account number of the user, and/or the identity of the secure element. The return payment information may comprise a dynamic PAN number (dPAN) plus a dynamic card verification value (dCVV2), or the real PAN number plus a dCVV2 value, or a dPAN or real PAN plus a dynamic expiration date, with an optional dCVV2 value. The dynamic PAN is different from the pseudo-PAN and the corresponding real PAN of the user's user-specific payment information (e.g., the payment information for portable consumer device 5). The dPAN, dCVV2, and dynamic expiration date are referred to as being “dynamic” since their values vary with time. Each may have the same value over a designated period of time, or each may change with each request made to validation entity 80. The return payment information may be referred to as a dynamic payment information because at least one of its data fields has a value that varies with time. The use of the dynamic dPAN is currently preferred over the use of the real PAN. In action A18, validation entity 80 sends the return (dynamic) payment information to the payment application running on the secure element of computer 10. Action A18 may also include sending shipping information. Previous action A17 preferably includes storing the return payment information in entity 80 with an indication of the user's user-specific payment information (e.g., the real account information), and optionally with an indication of the merchant identifier. This will facilitate the processing of the transaction through the card payment system, as described below in greater detail.
At this point, payment for the transaction with merchant 20 may be completed in several different ways. As a first way, the payment application may cause the returned dynamic payment information to be displayed in a window of the browser or another type of window of the operating system, so that the user can copy the dynamic payment information into the merchant's checkout page, either by hand or by cut-and-paste tools of the operating system. To do this, the payment application may pass the dynamic payment information to a companion application running under the computer's operating system, and the companion application may display the dynamic payment information to the user. As a second way, the payment application can pass the dynamic payment information to a companion application running under the operating system, and the companion application can locate the merchant's checkout page on computer 10 and insert (form fill) the dynamic payment information into the fields of the checkout page. In either case, user 1 can exit from the secure element interface and return to the interface provided by the operating system and then submit the checkout page with the filled-in payment information to merchant 20 for processing. This action is denoted by action A19 in the figure. Merchant website 20 may then sends the received dynamic payment information to acquiring bank 50 to process the transaction. As a third way, validation entity 80 may send the dynamic payment information directly to merchant website 20, as shown by action A18-A in the figure, along with information about user 1 and/or the user's browser session with the merchant that may have been previously collected in one or more of actions A11-A14 and sent to entity 80 in action A16. Merchant website 20 can use this additional information to correlate the received dynamic payment information to the user's browser session, and can resend the checkout page to computer 10 with an indication that the PAN, CVV, and expiration date data have been received (such as showing asterisks in these fields). As another approach, entity 80 can provide merchant 80 with the user's name and a portion of the user's real PAN, and merchant 80 can determine if the user has previously set up an account with the merchant (the user would have provided the portion of the real PAN when the account was set up, and merchant 20 would have stored the portion). If so, and if user 1 had logged into her account prior to navigating to the checkout page, then merchant 20 can easily identify the user's purchasing session from all of the active purchasing sessions, and can correlate the payment information from entity 80 to the correct purchase session and correct checkout page.
Once merchant 20 receives the dynamic payment information, the purchase transaction may be completed through the conventional credit card/debit card processing channels. In action A20, merchant 20 sends the transaction information, including the dynamic payment information for the user, to its acquiring bank 50, the acquiring bank 50 records the information (for later settlement purposes), and forwards the transaction information in action A21 to a payment processing network 70, which may be VisaNetTM as one example. If payment processing network 70 recognizes the PAN provided in the transaction information as a dynamic PAN, it may contact validation entity 80 in action A22 to ask for the real payment information. Validation entity 80 can check the dynamic PAN received from network 70 against its records, and provide network 70 with the corresponding real payment information in action A23. As another approach, validation entity 80 may forward the user's dynamic payment information along with the user's real payment information when the dynamic payment information is generated in action A17, thereby enabling actions A22 and A23 to be omitted. Network 70 may then check each transaction it receives against the information sets that it has received from entity 80 to find a match of the sets of dynamic payment information, and to substitute real payment information for the received dynamic payment information if a match is found. Network 70 and entity 80 may be owned and operated by the same service provider, and each may have their messages funneled through (e.g., passed through) a gateway server. Each of the authorization code and the decline code has a different format from that of the each of the above-described PANs. An authorization/decline code is less than 13 characters in length, and is typically 5 to 9 characters in length, and may include alpha characters and well as numeric digits.
Once payment processing network 70 has the real payment information, it can contact the issuing bank 60 for user 1 to seek approval for the transaction, as shown by action A24 in the figure. In some cases, issuing bank 60 may have previously given network 70 a set of criteria that network 70 can use to approve transactions on its own without seeking approval from the issuing bank for each transaction. If so, network 70 can approve or disapprove the transaction on its own using the pre-supplied criteria as part of action A24. In action A25, payment network 70 sends, along with an indication of the transaction, an authorization code to acquiring bank 60 if the transaction is approved or a declined code if the transaction is not approved. In action A26, acquiring bank 50 finds the record for the transaction based on the indication of the transaction sent by network 70, stores the authorization code or declined code in the found record, and forwards the received code to merchant 20, along with an indication of the transaction. Upon receiving the authorization or declined code, the merchant website 20 can send an indication to user 1 in action A27 as to whether the transaction was approved or declined.
Computer 10 and merchant website 20 may communicate with one another over a public communication network, which may include the Internet. Also, computer 10 and validation entity 80 may communicate with one another over a public communications network, which may include the Internet. Entitles 20, 50, 60, 70, and 80 may communicate with one another over a combination of one or more public and private communications networks, which may include the Internet. Virtual private networks may be established between these components, particularly over the segments that are public networks. Each of the above possible combinations of communication networks is generally denoted herein and in the figures by reference number 31.
An advantage of using dynamic payment information is that the real payment information (e.g., the above-mentioned user-specific payment information) is not compromised if a hacker is able to receive and decrypt the request message for dynamic payment information sent from secure element 40 to validation entity 80. This allows user 1 to continue to use her user-specific payment information (e.g., portable consumer device 5) in other commerce channels, such as in-store purchases, even if the hacker tries to use the dynamic payment information in a transaction. Enhanced protection is provided by using a dPAN instead of the real PAN in the dynamic payment information. Using the pseudo-PAN in the request messages to obtain dynamic payment information also has the above advantages of protecting the real PAN. As an additional advantage of using the pseudo-PAN, payment processing network 70 can be configured to send an alert message to validation entity 80 whenever a transaction is attempted to be processed through network 70 with the pseudo-PAN, and entity 80 can flag the user's account for potential fraud, and the operator of entity 80 can send the user an updated payment application program to install on secure element 40, with the updated payment application program having new encryption keys, and optionally a new unique identifier for secure element 40. In this manner, with the pseudo-PAN having the form of a PAN that can be processed by payment processing network 70, the pseudo-PAN further provides the advantage of detecting the hacking of communication messages between secure element 40 and validation entity 80. To further aid in this detection, secure element 40 may include a fake expiration date and fake CW value along with the pseudo-PAN in the request messages that it sends to entity 80. As indicated above, the account number of the user-specific payment information, and pseudo-PAN, and the dynamic PAN are each recognizable and processable by a card payment processing network 70 that processes credit-card and/or debit-card transactions, such as VisaNetTM. (The payment processing network 70 is independent of the bank that issued the user-specified payment information, and the merchants involved with the user's transactions.) Also, each of the above account numbers (PAN) comprises a sequence of at least eleven numeric digits, preferably of 13 digits, and typically is a sequence of 15, 16, 17, 18, or 19 digits. These features of the account numbers enable the above requests to establish and receive a pseudo-PAN, to receive a dynamic PAN, and to use a dynamic PAN to all be processed through existing and legacy card payment networks without the need for significant changes the existing payment processing networks.
Having this provided a description of overall systems and methods, descriptions of the specific components is now provided. The user's computer 10 may comprise a desktop computer, a laptop computer, a smart phone, or any portable electronic device that has a networking facility. Referring to FIG. 2, an exemplary implementation of computer 10 has one or more processors 11, a tangible non-transitory computer-readable medium 12 coupled to processor(s) 11 that stores instruction codes (software) that direct processor(s) 11 and that stores data used by processor(s) 11, an I/O controller 15 that interfaces processor(s) 11 to a user interface 13, and a networking facility 14. User interface 13 comprises one or more video output devices (e.g., displays, screens) and one or more input devices (e.g., keyboard, mouse, trackball, etc.) for user 1 to receive information from computer 10 and to provide input to computer 10. Networking facility 14 may comprise software and hardware that enable a process running on computer 10 to communicate with a communications network so as to send and receive messages, data, and the like to one or more entities coupled to the communications network. The above components are found in conventional computers. As an unconventional feature, the exemplary implementation of computer 10 shown in FIG. 2 further comprises a secure element 40 of the type described above with reference to FIG. 1. Secure element 40 has its own processor and memory, as described below, or multiplexes the use of processor(s) 11 and computer-readable medium 12 in a secure manner that prevents the operating system from controlling it or accessing its memory. The above-described payment application is loaded into the memory of secure element 40, and executed by the processor of element 40. The data flowing between I/O controller 15 and user interface 13 goes through secure element 40 so that secure element 40 can provide visual information to the user via the computer's screen, and can receive user inputs from user interface 13 and prevent the inputs from being received by I/O controller 15 when secure element 40 is actively interfacing with the user. Secure element 40 can be integrally assembled with processor(s) 11 of computer 10, such as on the same semiconductor die or in the same semiconductor package, so that the processor 11 has to be damaged or destroyed in order to obtain the data and encryption keys stored in secure element 40.
Computer-readable medium 12 of computer 10 may comprise a combination of semiconductor memory and non-volatile storage, such as one or more disk drives and/or non-volatile memory. Computer-readable medium 12 stores an operating system for computer 10, which enables processes and applications to be run by processor(s) 11. The operating system provides services to these processes and applications, and enables these processes and applications to access components of user interface 13, portions of computer-readable medium 12, networking facility 14, peripheral interface 16, and other components of computer 10. The operating system may be complex and full featured, such as found on desk-top computers, or simplified, such as found on cell phones, PDAs, and many other types of portable electronic devices.
The companion application for element 40's payment application is loaded onto computer-readable medium 12, and is executed by processor(s) 11. Access to a small portion of computer-readable medium 12 may be shared with the processor of secure element 40. The payment application running on secure element 40 and the companion application running on processor(s) 11 can communicate with one another using the shared portion of medium 12. For example, each application may be assigned a “mail box” section and a “flag” section in the shared portion, with both sections being readable and writable by each application. When the payment application wants to send data and instructions to the companion application, it can write the instructions and/or data into the mailbox section for the companion application, and then write a data word to the “flag” section for the companion application that indicates that the mailbox has just been written to. The companion application can periodically check its flag section for such a data word, and when found, it can read its mail box, then erase the contents of its mail box section and reset its flag section to zero. The data word written to the flag section may be a non-zero integer value that indicates the number of words (or bytes) written to the mail box section. Before writing to the mailbox section of the companion application, the payment application can periodically read the flag section of the companion application, and can write the instructions and/or date when the flag section has a zero word value. In a similar manner, when the companion application wants to send data and instructions to the payment application, it can write the instructions and/or data into the mailbox section for the payment application, and then write a data word to the “flag” section for the payment application that indicates that the mailbox has just been written to. The payment application can periodically check its flag section for such a data word, and when found, it can read its mail box, then erase the contents of its mail box section and reset its flag section to zero. As above, the data word written to the flag section may be a non-zero integer value that indicates the number of words (or bytes) written to the mail box section. Before writing to the mailbox section of the payment application, the companion application can periodically read the flag section of the payment application, and can write the instructions and/or data when the flag section has a zero word value. The companion application may be downloaded and installed by the user before starting the set up process outlined in FIG. 1 (e.g., before action A1). The companion application may be configured by the operating system registry to run as a low-CPU level background process each time the computer is booted up.
FIG. 3 shows an exemplary embodiment of secure element 40. The exemplary embodiment comprises a processor 41, a tangible non-transitory computer-readable medium 42 coupled to processor 41 that stores instruction codes that direct processor 41 and that stores data used by processor(s) 41, an I/O controller 45 that interfaces processor 41 to computer-readable medium 12 and user interface 13 of computer 10, and a networking facility 14, and a multiplexer unit 46 that selectively connects user interface 13 to I/O controller 45 of secure element 40 when secure element 40 is interfacing with user 1, and that selectively connects user interface 13 to I/O controller 15 of computer 10 when secure element 40 is not interfacing with user 1. The payment application is stored in medium 42, and it comprises codes that direct processor 41 to perform the above-described tasks. The payment application also has encryption keys stored in medium 42 that it uses to encrypt communications to validation entity 80, and to decrypt communications from validation entity 80. These keys and the encrypting of the messages enable the secure element to keep the payment information secure from malware that may be running on the operating system of computer 10. The payment application can be loaded into memory 42 at the factory by the computer manufacturer, and it can also be loaded into memory 42 in the field by the user. For the latter case, the payment application, including user specific encryption keys, may be securely provided to the user on a CD-ROM or memory card, and user interface 13 can have a ROM drive or USB port that can allow the program to be securely transferred to memory 42 when secure element 40 is activated by the user. For this, and to provide a basic graphical user interface (GUI) to the user, a rudimentary operating system may be loaded onto memory 42 at the factory by the computer manufacturer, with the operating system being run by processor 41. The rudimentary operating system can be configured to provide a loading facility to load applications from secured devices of user interface 13 into memory 42.
The companion application is stored on the computer's medium 12 and comprises code that directs the computer's processor(s) 11 to establish and handle communications with validation entity 80 using networking facilities 14 of computer 10 and the shared portion of computer-readable medium 12. The companion application may also comprise code that directs the computer's processor(s) 11 to obtain the merchant identifier from the web browser running on the operating system, and to provide the merchant identifier to the secure element through the shared portion of medium 12. The companion application may also comprise code that directs the computer's processor(s) 11 to receive display dynamic payment information from secure element 40 through the shared memory, and to display it to the user, or to form fill the dynamic information into the checkout page of the merchant, as displayed by the user's browser. The companion application may also comprise code that directs the computer's processor(s) 11 to detect a specific keyboard sequence or combination of keys of the keyboard, and to send a message to secure element 40 to start its interface with the user and to decouple user interface 13 from the operating system. In view of this description, one of ordinary skill in the computer software art can readily create a set of instructions to implement the companion program without undue experimentation.
With regard to computer 10, networking facility 14 of computer 10 may comprise software and hardware that enable a process running on computer 10 to communicate with a communications network, such as network 31, to send and receive messages, data, and the like to one or more entities coupled to the communications network. The hardware of facility 14 may comprise dedicated hardware separate from processor(s) 11, or the shared use of processor(s) 11, or a combination thereof. The software of facility 14 may comprise firmware, software stored in computer-readable medium 12 or another computer-readable medium, portions of the operating system, or a combination of any of the preceding items. Networking facility 14 is preferably a non-exclusive resource, allowing access to the communications network by other processes and applications being run by computer 10.
The operating system of computer 10 comprises one or more software modules and application programs, generically called “network services modules” herein, that can access networking facility 14 and set up communications sessions to entities on communications network 31. Such network services modules include Microsoft's Windows Communications Foundation (e.g., .NET 3.0, .NET 4.0, etc.), Apple's CFNetwork Framework, the networking section of the Unix and Linux operating system kernels, the OS Services Layer and the Base Services Layer of the Symbian operating system, Internet browsers, and the like. Each of these network services modules is non-exclusive (e.g., capable of serving more than one processor and more than one process/application) and provides an application programming interface (API) to a collection of functions that a processor can access using respective function calls. With these API facilities, a collection of function calls can be readily constructed for a processor to execute that enables the processor to establish a communications channel with an entity on a communications network 31 coupled to networking facility 14, and to exchange messages and data with the entity. The companion application can have such a collection of function calls to the API of a network services module of computer 10, including one or more function calls that provide the universal resource identifier (URID) for validation entity 80 (as passed to the companion application by the payment application) and an instruction to establish a session with the validation entity. The session may be a secure socket layer (or secure transport layer) session (e.g., SSL session, STL session) with mutual authentication. As part of establishing the session in some implementations, the companion application may include directing data processor 41 to provide, or to cause to be provided, a network address for the computer's network services module to validation entity 80. The network address may be static or dynamic, the latter of which may be obtained through API function calls to the computer's network services module. The network address may an IP address.
If the companion application wishes to use an Internet browser for a network services module, it may further comprise API function calls to the computer's operating system to initiate an instance of the browser and provide it with access to the browser instance. In some implementations, such as when the payment application in secure element 40 stores the URID of validation entity 80, the companion application may direct the data processor 41 to establish communications with validation entity 80 well before user 1 invokes secure element 40 to request it to pay for a transaction. The companion application and validation entity 80 may keep the communications session active until the user makes such a request, and between requests, by intermittently exchanging “heartbeat” messages. For example, the companion application may periodically, aperiodically, or randomly send messages to validation entity 80 confirming its presence in the session, and validation entity 80 may send a reply message confirming its presence in the session.
Referring back to FIG. 3, secure element 40 comprises various codes embodied on computer-readable medium 42 that direct data processor 41 to perform respective actions. A first code directs data processor 41 to communicate with computer 10 by way of the companion application so as to gain access networking facility 14 of computer 10. The first code may comprise code that directs data processor 41 to send and receive instruction and data by way of the above-described mailbox and flag section of the shared portion of medium 12, and may include instructions the direct processor 41 to carry out the above-described actions of the exchange protocol. The companion application may comprises a collection of instructions that enables the element's data processor 41 to make function calls to various application program interfaces (API's) of the computer's operating system, such as those related to networking and accessing networking facility 14. In this manner, the element's data processor 41 can sent function calls intended for computer 10 to the companion application, and the companion application can submit the function calls to the operating system of computer 10 on behalf of the processor 41, and can receive the results of the function calls and forward them to processor 41.
Another code of the payment application on secure element 40 directs data processor 41 to establish communications with validation entity 80 using networking facility 14 of computer 10. This can be done by providing a URL of entity 80 to the companion application and directing the companion application to establish the communications with entity 80.
Other codes of the payment application direct data processor to establish a first secure interface with user 1 to receive the information described above pertaining to the user's portable consumer device 5, to encrypt this information and an identifier of the secure element with an encryption key stored in medium 42, to provide this encrypted information to the companion application with an instruction that it is to send it to validation entity 80 (so as to obtain a pseudo-PAN), to receive back an encrypted message from entity 80 by way of the companion application, to decrypt the encrypted message and extract the pseudo-PAN, and to store the pseudo-PAN. These codes may comprises: code that directs data processor 41 to receive a real account number and at least one of an expiration date, a card verification value, or a billing ZIP code of user-specific payment information; code that directs data processor 41 to obtain an identifier for secure element 40; code that directs data processor 41 to send the received real account number, the received at least one of an expiration date, a card verification value, or a billing ZIP code, and the obtained identifier for the secure element to validation entity 80; code that directs data processor 41 to receive, in response, a pseudo account number from the validation entity 80, the received pseudo account number being different from the real account number of the user-specific payment information; and code that directs data processor 41 to store, in memory 42 of the secure element, the received pseudo account number. The payment application may be stored in a non-volatile section of memory 42, and may contain the unique identifier for secure element 40. This allows the value of the identifier to be updated with a reloading of the payment application, such as when fraudulent activity is detected by entity 80. As another approach, the unique identifier for secure element 40 may be stored by the manufacturer of element 40 in non-volatile part of memory 42 that is separate from the location where the payment application is stored. As another approach, the identifier may be a combination of a number stored with the payment application and a number stored by the manufacturer in a part of memory 42 that is separate from the payment application.
Additional codes of the payment application direct data processor to establish a second secure interface with user 1 at a later date to receive a request to obtain dynamic payment information, which may include receiving a selection of an pseudo-PAN account from the user, to encrypt this pseudo-PAN and an identifier of the secure element with an encryption key stored in medium 42, to provide this encrypted information to the companion application with an instruction that it is to send it to validation entity 80 (so as to obtain the dynamic payment information), to receive back an encrypted message from entity 80 by way of the companion application, to decrypt the encrypted message and extract the dynamic payment information. These codes may also include instructions that direct data processor 41 to send a message to the companion application with an instruction to find and provide it with the merchant identifier associated with the active merchant checkout page, encrypting the merchant identifier, and sending the encrypted merchant identifier to entity 80 with the other data in the request. Additional instructions may direct data processor 41 to display the decrypted dynamic payment information to the user, or to send the decrypted dynamic payment information to the companion application with an instruction that the companion application display the dynamic payment information in a window, or to direct the companion application to fill the dynamic payment information into the merchant checkout page. These codes collectively comprise at least: code that directs data processor 41 to send, from the secure element of a computer, a representation of the pseudo account number to a validation entity; and code that directs data processor 41 to receive, in response, dynamic payment information from the validation entity, the received dynamic payment information having an account number that is different from the pseudo account number.
In establishing the above secure interfaces with the user, data processor 41 can send and instruction to multiplexer unit 46, by way of I/O controller 45, to prevent inputs from user interface 13 from reaching the I/O controller 15 of computer 10.
The above codes, instructions, and actions of the payment application and the companion application can be readily implemented with conventional I/O instructions, database function calls, network function calls, memory access instructions, CPU arithmetic instructions, CPU logic instructions, and CPU control instructions. In view of this disclosure, these codes, instructions, and actions may be implemented by one of ordinary skill in the art without undue experimentation. Data processor 41 may be implemented with one CPU or multiple CPUs.
Having described various embodiments and implementations of secure element 40, various embodiments and implementations of validation entity 80 are now described with reference to FIG. 4. Validation entity 80 comprises a system having one or more servers coupled to a communications network 31 that can receive a request from a secure element 40 to process, and to provide the appropriate data depending upon the request, as described above. One of the servers of entity 80 is shown in FIG. 4; the server comprises one or more processors 81 electrically coupled to each of a tangible computer-readable medium 82, a user interface 83, one or more databases 86, and a networking facility 84, the latter of which is coupled to one or more communications networks 31 so that it can communicate to computer 10, merchant 20, payment processing network 70, and banks 50 and 60. User interface 83 comprises one or more video output devices (e.g., displays, screens) and one or more input devices (e.g., keyboard, mouse, trackball, etc.), which enable an administrator of entity 80 to receive information from the server and to provide input to the server. Computer-readable medium 82 may comprise a combination of semiconductor memory and non-volatile storage, such as one or more disk drives and/or non-volatile memory. Data processor 81 may be implemented with one CPU or multiple CPUs.
Computer-readable medium 82 stores an operating system for the server, which enables processes and applications to be run by processor(s) 81, and enables codes for directing the operation of processor(s) 81 to be run. The operating system provides services to these processes and applications, and enables these processes and applications to access components of user interface 83, portions of computer-readable medium 82, networking facility 84, and other components of entity 80. The operating system may be full featured. Specifically, the operating system provides one or more I/O communications modules that enable processor(s) 81 to communicate with user interface 83 and databases 86. Each I/O communications module has an application programming interface (API) with a collection of functions that a processor 81 can call in order to access the components. The operating system of entity 80 also comprises one or more network services modules that can access networking facility 84 and set up communications sessions to entities on the communications networks 31. Such network services modules include Microsoft's Windows Communications Foundation (e.g., .NET 3.0, .NET 4.0, etc.), Apple's CFNetwork Framework, the networking section of the Unix and Linux operating system kernels, and the OS Services Layer and the Base Services Layer of the Symbian operating system, and the like. Each of these network services modules can be non-exclusive (e.g., capable of serving more than one processor and more than one process/application) and each provides an application programming interface (API), which has a collection of functions that a processor 81 can call in order to manage communications with another entity. With these API facilities, a collection of API function calls can be readily constructed for a processor to execute that enables the processor to establish a communications channel with an entity on a communications network coupled to networking facility 84, and to exchange messages and data with the entity. The above operating system, modules, and APIs all include instructions that direct the operation of processor(s) 81.
One or more databases 86 may be configured as database servers, which processor(s) 81 can access via networking facility 84 over a private communications network 87, which is illustrated by the dashed line in FIG. 4. Validation entity 80 conventionally has a clock 88 for tracking time and dates for various applications. Clock 88 may be a simple counter of seconds, or fractions thereof, that can be read by processor 81 by an I/O operation, or may comprise a more complex arrangement of hardware or firmware that can provide the various components of the current date and time (year, month, day, hour, minute, and second) in various registers that can be read by processor 81 through the execution of one or more I/O operations.
Validation entity 80 can process requests transmitted from a plurality of different secure elements 40 (e.g., millions of elements), and can process any number of transmissions by a particular element 40. As described above, there are two basic types of requests: (1) a request to obtain a pseudo-PAN for a real account (e.g., account of portable consumer device 5), and (2) a request to obtain dynamic payment information (e.g., a d-PAN) corresponding to a pseudo-PAN. The former may be referred to as a pseudo-PAN request, and the latter may be referred to as a dynamic-information request. Validation entity 80 applies one or more validation tests to secure element 40 and/or the information in its requests to obtain a level of confidence that the requests are legitimate. When the one or more validation tests are passed, and preferably when none of the tests are failed, validation entity 80 sends the requested data to secure element 40, and optionally to payment processing network 70 along with the real account number (e.g., real PAN) associated with the request. For these tasks, validation entity 80 may comprise code embodied on computer-readable medium 82 that directs data processor 81 to communicate with computer 10 and secure element 40 using networking facility 84 over communications network 31. This code may include instructions that establish a communications session with computer 10, including the option of establishing an SSL/STL session with mutual authentication and encryption based on a triple DES algorithm, and instructions for sending and receiving messages to secure element 40 through the communications session. Validation entity 80 may further comprise code embodied on computer-readable medium 82 that directs data processor 81 to receive encrypted requests sent by secure element 40, and code that directs data processor 81 to decrypt the encrypted information in the requests. This information may be encrypted by a session key of an SSL/STL session or by an encryption key stored in secure element 40 and known to validation entity 80, or may be doubly encrypted by both keys. The latter key may be uniquely assigned to the secure element. Validation entity 80 may further comprise code embodied on computer-readable medium 82 that directs data processor 81 to apply one or more validation tests as described below, and to send the requested data to secure element 40, and optionally to payment processing network 70, if a selected number of validation tests are passed. Data processor 81 may access databases 86 in performing the one or more validation tests. The validation tests and codes therefor are described below in greater detail. The above codes and codes described below for validation entity 80 may be implemented in any number of programming languages. They can be implemented with conventional I/O instructions, database function calls, network function calls, memory access instructions, CPU arithmetic instructions, CPU logic instructions, and CPU control instructions. Furthermore, one of ordinary skill in the art will be readily able to construct instructions to implement these codes in view of this disclosure without undue experimentation.
A first validation test that validation entity 80 may apply pertains to verifying that secure element 40 is authentic. Validation entity 80 may maintain a first database 86 of valid identifiers of the secure elements, and this database may also include indications of whether a valid identifier has been associated with fraudulent activity. The first validation test may comprise determined whether the received identifier of secure element 40 is in the first database 86 of valid identifiers. If it is, the first validation test is passed; if not, it is failed. If the first validation test is failed, validation entity 80 may record the identifier of the failed secure element 40 and the source IP address from which the failed secure element 40 made the request in a third database 86 described below. A second validation test that validation entity 80 may apply pertains to verifying that secure element 40 has not been involved in fraudulent transactions. For this, validation entity 80 may also have a second database 86 that tracks the identifiers of secure elements 40 that have been used in fraudulent activities, and may check the identifier of secure element 40 against this database. If the identifier in the request is found in the second database, the second validation test is deemed to have failed. The second validation test may further comprise checking the element's identifier and/or the IP address from which an incoming request was originated (the source IP address of the message) against the previously-described third database 86 that stores element identifiers and IP addresses associated with requests that have failed the first validation test. If an element identifier or IP address is found in this database, the second validation test is deemed to have been failed. Checking the element identifiers and/or the IP addresses in this way prevents replay attacks by fraudsters. It may be appreciated that the second and third databases 86 into a single database generically termed as a database of identifiers of suspicious secure elements. If the first and second validation tests are passed, validation entity 80 may send the pseudo account number or dynamic payment information, depending upon the type of received request, to secure element 40, or may apply the additional validation tests described below before sending the information.
When validation entity 80 receives a pseudo-PAN request from secure element 40 for a pseudo-PAN, the request will have the real account number (e.g., real PAN) of the portable consumer device 5, and additional information, which is at least one of an expiration date, a card verification value, or a billing ZIP code associated with device 5. As a third validation test, in addition to conducting the above first and second validation tests, entity 80 may access its database 86 of user account information or contact the bank that issued the user-specific payment information (e.g., device 5), thereby obtaining the information record for the real PAN provided in the pseudo-PAN request, and can compare the additional information provided in the pseudo-PAN request (e.g., expiration date, card verification value, and/or a billing ZIP code) against the values in the obtained information record. If the additional information in the pseudo-PAN request does not fully match the information in the obtained information record, the third validation test can be deemed to have been failed, and the pseudo-PAN request is rejected. If the additional information fully matches the information in the obtained information record, third validation is passed, and validation entity 80 may proceed to provide secure element 40 with a pseudo-PAN corresponding to the real PAN, and may create a record in a fourth database 86 that associates the issued pseudo-PAN with the user account of device 5 (e.g., with the real PAN of the user-specific payment information), and with the received identifier for secure element 40. As an option, validation entity may conduct a fourth validation test after the third test before providing the pseudo-PAN to secure element 40. In this test, the issuing bank and/or payment network 70 and/or validation entity 80 may limit the number of computers with secure elements 40 that user 1 can use with a particular instance of user-specific payment information (e.g., that user 1 can use with a particular portable consumer device 5). As the forth validation test, entity may access a fifth database 86 to determine if a limit on the number of secure elements 40 has been placed on the received instance of user-specific payment information (e.g., device 5). if so, entity 80 can access the aforementioned fourth database 86 to see how many secure elements have already been associated with the received instance of user-specific payment information (e.g., with the real PAN for device 5). If the limit has not yet been reached, entity 80 proceeds with providing the pseudo-PAN to secure element 40 and updating the fourth database 86 to include the new pseudo-PAN and the identifier of the secure element 40 to which the pseudo-PAN has been provided. Entity 80 also updates the fourth database 86 to increment the number of secure elements associated with device 5. It may be appreciated that the fourth and fifth databases 86 may be combined together into a single database.
When validation entity 80 receives a dynamic-information request from secure element 40 for dynamic payment information, the request will have pseudo-PAN and the identifier of secure element 40 that made the request. As a fifth validation test, in addition to conducting the above first and second validation tests, entity 80 may access its fourth database 86 to obtain the record for the received pseudo-PAN, obtain the identifiers for all of the secure elements that have been previously associated with the received pseudo-PAN (as associated by the processing of the above pseudo-PAN requests), and to compare the identifier for secure element 40 received in the dynamic-information request against the identifier(s) in the accessed record for a match of identifiers. If no match is found, the fifth validation test is deemed to have failed, and validation entity 80 can record the received identifier for element 40 in the above-mentioned second database 86 of secure elements associated with fraudulent transactions. If a match is found, validation entity 80 can send the dynamic payment information (e.g., d-PAN, dCVV2, and dynamic expiration date) to secure element 40, can record the contents of the issued dynamic payment information and the indication of the corresponding customer account for device 5 (e.g., with the real PAN of the user-specific payment information), in a sixth database 86, and can optionally send the dynamic payment information and the real payment information (i.e., the user-specific payment information) to payment processing network 70 with an indication that the dynamic data will be used soon in a transaction to be processed by network 70.
As described above, validation entity 80 may send to secure element 40 the user's shipping address information and/or billing address information that has been previously associated to user 1. The association may be stored in a database 86 of validation entity 80 or at the issuing bank 60 for the user's portable consumer device 5. Validation entity 80 may further comprise code that directs data processor 81 to obtain address information for the consumer account indicated by the pseudo account number in the received request, either from a database 86 or from an issuing bank 60, and to send the address information to element 40 along with the dynamic payment information when the selected number of validation tests have been passed, as described above. The above codes and actions can be implemented with conventional I/O instructions, database function calls, network function calls, memory access instructions, CPU arithmetic instructions, CPU logic instructions, and CPU control instructions. In view of this disclosure, the codes may be implemented by one of ordinary skill in the art without undue experimentation.
As indicated above, validation entity 80 may be configured to send a dynamic account number (dPAN) to secure element 40 and the payment processing network 70 along with a dCVV2 value and/or a dynamic expiration date. Validation entity 80 may contact the issuing bank 60 for device 5 to obtain the dPAN, or may read it from a list of dPANs previously sent to entity 80 by bank 60 or created by entity 80 or network 70, or may generate it from an algorithm previously provided to entity 80 by bank 60. Validation entity 80 may comprise code embodied on computer-readable medium 82 that directs data processor 81 to execute these actions, as desired by the issuing bank. When payment processing network 70 received the dCCV2 value, dPAN value, and the account number for device 5, it may forward all three datum to the issuing bank 60 so that the issuing bank can correlate the dPAN to the account number of device 5.
To perform the above actions and tasks, validation entity 80 may comprises a computer program product installed on its computer-readable memory 82. The computer program product may comprise: code that directs data processor 81 to receive a request from a secure element 40 of a computer to provide a pseudo account number, the request including an identifier of the secure element, and a real account number (PAN) and at least one of an expiration date, a card verification value, or a billing ZIP code of an instance of user-specific payment information; code that directs data processor 81 to apply at least one validation test pertaining to the received request; code that directs data processor 81 to send, if the at least one validation test is passed, a pseudo account number to the secure element; and code that directs data processor 81 to store the pseudo account number with an indication of at least the received real account number in one of its databases 86. The program may further comprise: code that directs data processor 81 to receive a request from a secure element 40 of a computer to provide dynamic payment information, the request including a pseudo account number and an identifier of the secure element; code that directs data processor 81 to apply at least one validation test pertaining to the received request; and code that directs data processor 81 to send, if the at least one validation test is passed, dynamic payment information to the secure element. The computer program product may further comprise code that directs data processor 81 to receive a request from a payment processing network 70 to provide real payment information corresponding to an instance of dynamic payment information; and code that directs data processor 81 to provide the requested real payment information to the payment processing network 70.
The further embodiments of the computer program product may be adapted to convey the payment information directly to the merchant, and to a payment processing network. For example, a further computer program product may comprise: code that directs data processor 81 to receive a request from a secure element of a computer to provide dynamic payment information, the request including a pseudo account number, an identifier of the secure element, and an identifier of a merchant; code that directs data processor 81 to apply at least one validation test pertaining to the received request; and code that directs data processor 81 to send, if the at least one validation test is passed, dynamic payment information to a merchant indicated by the received merchant identifier. In another embodiment, such a computer program produce may comprise: code that directs data processor 81 to receive a request from a secure element of a computer to provide dynamic payment information, the request including a pseudo account number, an identifier of the secure element, and an identifier of a merchant; code that directs data processor 81 to apply at least one validation test pertaining to the received request; code that directs data processor 81 to send, if the at least one validation test is passed, dynamic payment information to secure element 40; and code that directs data processor 81 to send, if the at least one validation test is passed, the dynamic payment information and an indication of the identity of the merchant to a payment processing network 70.
The above described validation tests can be implemented by the following instructions of the computer program product. The first validation test can be implemented by instructions that direct data processor 81 to compare the receive identifier of the secure element 40 against a database of valid identifiers to find a match, the first validation test being passed if a match is found, otherwise failed. The second validation test can be implemented by instructions that direct data processor 81 to compare the receive identifier of the secure element against a database of identifiers of secure elements involved in prior fraudulent activity, the second validation test being failed if a match is found, otherwise passed. The instructions for the second validation test may also include instructions that direct data processor 81 to compare the IP address of the request sent by the secure element 40 against a database of IP addresses that have been associated with fraudulent activity, the second validation test being failed if a match in this database is found. The third validation test may be implemented by first instructions that direct data processor 81 to obtain the real payment information for the received account number of the user-specific payment information (e.g., portable consumer device 5) from a database or the bank that issued the user-specific payment information (e.g., device 5); and second instructions that direct data processor 81 to compare the received at least one of an expiration date, a card verification value, or a billing ZIP code to the real payment information for the received account number for a match, the third validation test being passed if a match is found, otherwise failed.
The fourth validation test can be implemented by first instructions that direct data processor 81 to access a database to determine the limit on the number of secure elements has been placed on the received real account number; second instructions that direct data processor 81 to access a database to determine the current number secure elements have already been associated to the received real account number; and third instructions that direct the data processor to compare the current number to the limit to determine if an additional association of a secure element would exceed the limit. If the limit would be exceeded, the fourth validation test is failed, otherwise it is passed. If a real account number is not eligible to be used with secure elements (e.g., the portable consumer device 5 is not enrolled in the program), then the limit for the account number may be set to zero, or the limit may be taken as zero if the account number is not in the database.
The fifth validation test can be implemented by first instructions that direct data processor 81 to access a database to obtain the record for the received pseudo account number; second instructions that direct data processor 81 to obtain from the record the identifiers for all of the secure elements 40 that have been previously associated with the received pseudo account number; and third instructions direct the data processor 81 to compare the identifier for the secure element received in the request against each identifier in the accessed record for a match. If a match is found, the fifth validation test is passed, otherwise it is failed.
Validation entity 80 may further comprise code that directs data processor 81 to receive a message from a payment processing network 70 that a transaction using a pseudo-PAN has been attempted, and code that directs data processor 81 to send an alert notification to the user to which the pseudo-PAN has been assigned, or the issuing bank of the user-specific payment information to which the pseudo-PAN has been assigned. The alert notification can indication that user's payment application should be replaced so as to provide new encryption keys, and optionally a new identifier for the secure element.
The above codes of the various embodiments of computer program products can be implemented with conventional I/O instructions, memory access instructions, CPU arithmetic instructions, CPU logic instructions, and CPU control instructions. In view of this disclosure, the codes may be implemented by one of ordinary skill in the art without undue experimentation.
It should be understood that various embodiments of the present invention as described above can be implemented in the form of control logic using computer software in a modular or integrated manner. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will know and appreciate other ways and/or methods to implement embodiments of the present invention using hardware and a combination of hardware and software.
Any of the software components or functions described in this patent application, may be implemented as software code to be executed by a processor using any suitable computer language such as, for example, C, C++, C#, Java, C++ or Perl using, for example, conventional or object-oriented techniques. The software code may be stored as a series of instructions, or commands on a computer-readable medium, such as a random access memory (RAM), a read only memory (ROM), a magnetic medium such as a hard-drive or a floppy disk, or an optical medium such as a CD-ROM. Any such computer-readable medium may reside on or within a single computational apparatus, and may be present on or within different computational apparatuses within a system or network.
The above description is illustrative and is not restrictive. Many variations of the invention and embodiments thereof will become apparent to those skilled in the art upon review of the disclosure. The scope of the invention should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the pending claims along with their full scope or equivalents.
One or more features from any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the invention.
A recitation of “a”, “an” or “the” is intended to mean “one or more” unless specifically indicated to the contrary.
All patents, patent applications, publications, and descriptions mentioned above are herein incorporated by reference in their entirety for all purposes. None is admitted to be prior art.

## Claims

1. A method comprising:
receiving, at a computer comprising a secure element, a real account number, wherein the secure element is immune from being hacked by computer viruses installed on the computer, wherein the secure element comprises a processor, a memory coupled to the processor, and an input/output controller coupled to the processor, and wherein the memory of the secure element stores a unique identifier identifying the secure element;
obtaining the unique identifier identifying the secure element from the memory of the secure element;
encrypting, the unique identifier identifying the secure element using an encryption key stored in the secure element, prior to sending the obtained unique identifier to a remote server;
sending the real account number, and the encrypted unique identifier identifying the secure element to the remote server;
receiving, in response to sending the real account number, and the encrypted unique identifier identifying the secure element to the remote server, a pseudo account number from the remote server, the received pseudo account number being different from the real account number and having the same form as the real account number; and
storing, in the memory of the secure element, the received pseudo account number.

2. The method of claim 1, further comprising:
sending, from the secure element of the computer, a representation of the pseudo account number to the remote server; and
receiving, in response, dynamic payment information from the remote server, wherein the received dynamic payment information comprises a dynamic account number that is different from the pseudo account number.

3. The method of claim 2, wherein sending the representation of the pseudo account number comprises sending the representation as a cryptogram based on the pseudo account number.

4. The method of claim 2, wherein the computer is a phone.

5. The method of claim 1 further comprising:
sending, by the computer, the pseudo account number to the remote server;
receiving, by the computer and from the remote server, dynamic payment information; and
providing, by the computer, the dynamic payment information to a merchant computer to conduct a payment transaction.

6. The method of claim 1 further comprising:
sending, from the secure element of the computer, a representation of the pseudo account number to the remote server;
receiving, in response, dynamic payment information from the remote server, wherein the received dynamic payment information comprises a dynamic account number that is different from the pseudo account number; and
providing, by the computer, the dynamic payment information to a merchant Website to conduct a purchase transaction.

7. A computer comprising:
a secure element comprising a data processor, wherein the secure element is immune from being hacked by computer viruses installed on the computer, wherein the secure element further comprises a memory coupled to the data processor, and an input/output controller coupled to the data processor, and wherein the memory stores a unique identifier identifying the secure element; and
a computer program product coupled to the data processor, the computer program product embodied on a tangible non-transitory computer-readable medium comprising code executable the data processor of the secure element to implement a method comprising
receiving a real account number,
obtaining the unique identifier identifying the secure element from the memory of the computer,
encrypting the unique identifier identifying the secure element using an encryption key stored in the secure element, prior to sending the obtained unique identifier to a remote server,
sending the real account number, and the encrypted unique identifier identifying the secure element to the remote server,
receiving, in response to sending the received real account number, and the encrypted unique identifier identifying the secure element to the remote server, a pseudo account number from the remote server, the received pseudo account number being different from the real account number and having the same form as the real account number, and
storing, in the memory of the secure element, the received pseudo account number.

8. The computer of claim 7, wherein the method further comprises:
sending, from the secure element, a representation of the pseudo account number to the remote server; and
receiving, in response, dynamic payment information from the remote server, wherein the received dynamic payment information comprises a dynamic account number that is different from the pseudo account number.

9. The computer of claim 8, wherein sending the representation of the pseudo account number comprises sending the representation as a cryptogram based on the pseudo account number and the unique identifier identifying the secure element.

10. A method comprising:
receiving, at a remote server, a request from a secure element of a computer to provide a pseudo account number, the request including a unique identifier identifying the secure element, and a real account number, wherein the secure element is immune from being hacked by computer viruses installed on the computer, wherein the secure element further comprises a data processor, a memory coupled to the data processor, and an input/output controller coupled to the data processor, and wherein the memory stores the unique identifier identifying the secure element;
applying at least one validation test pertaining to the received request;
sending, if the at least one validation test is passed, a pseudo account number to the secure element, wherein the pseudo account number has the same form as the real account number; and
storing the pseudo account number with an indication of at least the received real account number,
wherein the unique identifier identifying the secure element is encrypted using an encryption key stored in the secure element, prior to receiving the request.

11. The method of claim 10, further comprising:
receiving, at the remote server, a request from the secure element of the computer to provide dynamic payment information, the request including the pseudo account number and the unique identifier identifying the secure element;
applying at least one validation test pertaining to the received request; and
sending, if the at least one validation test is passed, the dynamic payment information to the secure element.

12. The method of claim 10, wherein the computer is a mobile phone, and wherein the unique identifier is encrypted in the request to provide dynamic payment information.

13. The method of claim 10, further comprising:
receiving, at the remote server, a request from the secure element of the computer to provide dynamic payment information, the request including the pseudo account number, the unique identifier identifying the secure element, and an identifier of a merchant;
applying at least one validation test pertaining to the received request; and
sending, if the at least one validation test is passed, the dynamic payment information and the identifier of the merchant to a payment processing network.

14. The method of claim 10, further comprising:
receiving, at the remote server, a request from a payment processing network to provide real payment information corresponding to an instance of dynamic payment information; and
providing the requested real payment information to the payment processing network.

15. The method of claim 10 further comprising:
receiving, the pseudo account number, by the remote server from the secure element; and
after receiving the pseudo account number from the secure element, providing, by the remote server, dynamic payment information to the computer.

16. A remote server comprising:
a data processor;
a networking facility coupled to the processor;
a computer-readable medium coupled to the processor; and
a computer program product embodied on the computer-readable medium, the computer program product comprising code executable by the data processor to implement a method comprising
receiving a request from a secure element of a computer to provide a pseudo account number, the request including a unique identifier identifying the secure element, and a real account number, wherein the secure element is immune from being hacked by computer viruses installed on the computer, wherein the secure element further comprises a memory and an input/output controller coupled to the data processor, and wherein the memory stores the unique identifier identifying the secure element,
applying at least one validation test pertaining to the received request for a pseudo account number,
sending, if the at least one validation test is passed, the pseudo account number to the secure element, wherein the pseudo account number has the same form as the real account number, and
storing the pseudo account number with an indication of at least the received real account number,
wherein in the method, the unique identifier identifying the secure element is encrypted using an encryption key stored in the secure element, prior to receiving the request.

17. The remote server of claim 16, wherein the method further comprises:
receiving a request from the secure element of the computer to provide dynamic payment information, the request including the pseudo account number and the unique identifier identifying the secure element;
applying at least one validation test pertaining to the received request for dynamic payment information; and
sending, if the at least one validation test is passed, dynamic payment information to the secure element.

18. The remote server of claim 17, wherein applying at least one validation test pertaining to the received request for the pseudo account number comprises one or more of:
comparing the received unique identifier identifying the secure element against a database of valid identifiers to find a match; or
comparing the received unique identifier identifying the secure element against a database of identifiers of secure elements involved in prior fraudulent activity.

19. The remote server of claim 16, wherein applying at least one validation test pertaining to the received request for the pseudo account number comprises:
accessing a database to determine a limit on the number of secure elements that has been placed on the received real account number;
accessing a database to determine a current number of secure elements that has already been associated to the received real account number; and
comparing the current number to the limit to determine if an additional association of a secure element would exceed the limit.

20. The remote server of claim 16, wherein applying at least one validation test pertaining to the received request for the pseudo account number comprises one or more of the following:
comparing the received identifier identifying the secure element against a database of valid identifiers to find a match;
comparing the received identifier identifying the secure element against a database of identifiers of secure elements involved in prior fraudulent activity; or
accessing a database to obtain the record for the received pseudo account number, to obtain from the record the identifiers for all of the secure elements that have been previously associated with the received pseudo account number, and to compare the unique identifier identifying the secure element received in the request against each identifier in the accessed record for a match.