Data transfer using virtual terminal

Through virtual terminal technology, multiple encryption and decryption of data are realized on mobile devices, which solves the problem of data transmission security on mobile devices and ensures the privacy and integrity of data.

CN118715534APending Publication Date: 2024-09-27APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380020805.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-09-23
Filing Date
2023-02-06
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively protect and encrypt data transmission on mobile devices, especially to achieve secure data transmission on multi-purpose devices, and there are risks of data leakage and unencryption.

Method used

Employs virtual terminal technology that combines reader applications, internal short-range data transceiver devices, secure elements, and terminal profile identifiers to ensure data security through multiple encryption and decryption processes, using virtual terminal systems to implement data on mobile devices Encryption and decryption to ensure the privacy of transaction data.

Benefits of technology

It achieves safe encryption and decryption of data on mobile devices, ensures the privacy and integrity of transaction data, avoids data leakage, and improves the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118715534A_ABST
    Figure CN118715534A_ABST
Patent Text Reader

Abstract

Techniques for processing data transfers using a virtual terminal on a device are described herein. The techniques provide for establishment of a virtual terminal for contactless data transfer, encryption of the data, and re-encapsulation of the data to protect personal information of a user on the device and during transfer while still providing the information to a server for further processing.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of and priority to U.S. Provisional Application No. 63 / 307,626, filed on February 7, 2022; U.S. Patent Application No. 17 / 952,093, filed on September 23, 2022; U.S. Patent Application No. 17 / 952,094, filed on September 23, 2022; and U.S. Patent Application No. 17 / 952,100, filed on September 23, 2022; each of which is incorporated herein by reference in its entirety and for all purposes. Background Art

[0003] Electronic devices, especially portable electronic user devices, are rapidly becoming popular in modern society. Such devices can be used as terminals to transmit data to each other. The transmitted data may need to be encrypted and decrypted to protect sensitive data. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] Figure 1 A block diagram for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0005] Figure 2 A sequence diagram for illustrating the techniques described herein is shown according to an embodiment of the present disclosure.

[0006] Figure 3 A block diagram for illustrating the techniques described herein is shown according to an embodiment of the present disclosure.

[0007] Figure 4 A sequence diagram for illustrating the techniques described herein is shown according to an embodiment of the present disclosure.

[0008] Figure 5 A sequence diagram for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0009] Figure 6 A sequence diagram for describing the techniques described herein is shown according to an embodiment of the present disclosure.

[0010] Figure 7 A sequence diagram for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0011] Figure 8 A sequence diagram for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0012] Fig. 9 A flow chart for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0013] Fig.10 A sequence diagram for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0014] Fig.11 A block diagram for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0015] Fig.12 A flow chart for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0016] Fig.13 A flow chart for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0017] Fig.14 A flow chart for performing the techniques described herein is shown, according to an embodiment of the present disclosure.

[0018] Fig.15 An exemplary architecture or environment according to an embodiment of the present disclosure is shown, which is configured to implement the techniques described herein. DETAILED DESCRIPTION

[0019] In the following description, various examples will be described. For the purpose of explanation, many specific configurations and details are set forth in order to provide a thorough understanding of the examples. However, it will also be apparent to those skilled in the art that some examples may be implemented without these specific details. In addition, well-known features may be omitted or simplified to avoid confusing the described examples.

[0020] The examples disclosed herein are particularly related to methods, systems, devices and computer-readable media for providing a technology for transmitting data using a virtual terminal. Unlike conventional data transmission, the technology described herein enables a virtual terminal that protects and encrypts data for transmission on a multi-purpose device (e.g., a mobile device, a smart phone, a tablet computer, etc.). A system including a virtual terminal may be configured to include a reader application (e.g., a data reader application), an internal short-range data transceiver device (e.g., an internal data reader such as a near field communication (NFC) chip), a security element and a terminal profile identifier (terminal profile ID). The short-range data receiving device may not be a component of an external connection device (e.g., a dongle), but is integrated into a multi-purpose device. In some cases, using a virtual terminal to transmit data may include transmitting information about a transaction with a project / information source. In some examples, a virtual terminal may be used as a data reader (e.g., a data reader that reads data from a physical device or a ticket). In some examples, a virtual terminal may not provide other functionality except reading data and processing data in a tightly integrated hardware module (e.g., a security element) that can be designed for data security. While a virtual terminal system may include a data reader and / or user input / output (I / O) (e.g., screen / buttons), it may or may not include some or all of the networking configuration to process transactions. There are many different potential setups that are all labeled as terminals but have varying degrees of logic included in different areas of the processing chain.

[0021] The technology described herein provides a mobile contactless data transfer device solution that allows users to use multi-purpose devices (e.g., mobile devices, smart phones, tablet computers, etc.) to accept data transfers. In some examples, the project / information source can log in to the source application (e.g., using the source login credentials). Once logged in, the source application can be combined with the reader application to facilitate the data reception for the data transfer transaction. The mobile data transfer technology can be implemented via (1) a third-party mobile data transfer application (source application) that uses one or more application programming interfaces (APIs) to integrate with the first-party (e.g., corresponding to a specific device) data reader application on the application processor of the source's qualified mobile device (collectively referred to as the front-end integration) and (2) a third-party data transfer system that uses the API to integrate with the back-end platform (back-end platform) (collectively referred to as the back-end integration). Two separate sets of APIs can be provided: one set for third-party developers of source applications and one set for data transfer service providers (DTSPs) contracted with the source to facilitate processing transactions of the source. The source application can be source-oriented and enable the source to accept contactless data transfers from users using digital or physical closed-loop transaction tickets or open-loop data transfer tickets.

[0022] The techniques described herein may also include (1) performing certain attestation checks required by one or more relevant security standards, etc. to verify the integrity of the data transfer solution (e.g., verifying that the device processing the data transfer and the operating system (OS) and various application / kernel configurations on the source's qualified device have not been modified), (2) a secure element in the mobile device that can generate a transaction-specific shared encryption key (also referred to herein as a transaction key) (e.g., via ECIES), which the secure element can use to encrypt certain transaction information (e.g., personal data) collected by the secure element from the user's data transfer device (e.g., a physical ticket or a digital ticket on a different mobile device) to generate an encrypted transaction blob, (3) the transaction key can then be encrypted by a public key known to the backend platform (also referred to herein as a transfer server public key) so that the encrypted transaction information and the encrypted transaction key are used to generate an encrypted transaction blob, (3) the encrypted transaction blob can be transmitted from the secure element to a data reader application (e.g., an application for DTSP), where additional metadata can be generated by the public key known to the backend platform (also referred to herein as a transfer server public key). The encrypted reader blob may be encrypted with the PAN server public key (also referred to herein as the transport server public key) and then added to the encrypted transaction blob to create an encrypted reader blob, (4) the encrypted reader blob may be transmitted from the data reader application to the source application on the source's eligible mobile device (via the front-end integration), and then transmitted from the source application to the DTSP's data transfer system, and any transmission from the DTSP's data transfer system to the back-end platform (via the back-end integration), (4) upon receiving the encrypted reader blob, the back-end platform may decrypt the metadata in the encrypted reader blob using the private key (also referred to herein as the transport server private key) to verify that the encrypted reader blob has been verified, (5) once verified, the back-end platform may decrypt the transaction key (using the PAN server private key) and re-encrypt it using a key encryption key (KEK) (e.g., via ECIES) that is exchanged via a key exchange process (also referred to herein as a key ceremony) performed during implementation of the back-end integration (collectively referred to as "key reseal") between a hardware security module in the DTSP's data transfer system and a hardware security module ("DTSP"). HSM”) and the corresponding hardware security module of the backend platform (via ECIES); (5) the encrypted transaction information and the re-encrypted transaction key can then be transmitted back to the source's designated data transfer system via the backend integration (in some cases, the source's designated data transfer system can be a DTSP; however, in other cases, the source can achieve this itself (e.g., directly integrate with the backend API and play the role of the DTSP);and (6) upon receiving the encrypted transaction information and the encrypted shared key, the DTSP may decrypt the encrypted shared key using the KEK in the DTSP HSM and then decrypt the encrypted transaction information using the decrypted transaction key. ;

[0023] Information related to the daily business operations of the source (e.g., user authorization and transaction history) will be transmitted directly from DTSP's data transfer system to the source application without going through the back-end platform.

[0024] Now turning to the attached figure, Figure 1 An exemplary block diagram 100 with an exemplary system and components for implementing the virtual terminal technology described herein is shown. Device 110 includes a source application 112 (e.g., an application program) that interacts with SDK 114 to send first data 180 to reader 120. Before receiving the first data 180, reader 120 may interact with terminal backend 130 to initialize virtual terminal 126. Virtual terminal 126 is hosted in a security element 124. Security element 124 is a system designed to improve security, as described herein. Security element 124 receives second data 182, which may describe in detail how data transfers may be provided to a source associated with source application 112.

[0025] The virtual terminal 126 can use the first data 180 and the second data 182 to generate transaction data. The safety element 124 (and the virtual terminal 126) can also communicate with the terminal back end 130 for various safety and encryption features described herein, so that the transaction data is encrypted. In some specific implementations, the safety element 124 communicates with the terminal back end 130 via the reader 120, wherein the communication is encrypted. The virtual terminal 126 can use the transaction key known only to the virtual terminal 126 and / or the safety element 124 to encrypt the transaction data. The transaction key is then encrypted by the PAN server public key (which corresponds to the PAN server private key held by the terminal back end 130 and / or the repackaging back end 150), as described herein. Therefore, the virtual terminal 126 has the transaction key encrypted by the PAN server public key and the transaction data encrypted by the transaction key. The virtual terminal can generate an encrypted transaction blob 184 from the encrypted transaction key and the encrypted transaction data. The encrypted transaction blob 184 may include additional metadata. The use of encrypted transaction blob 184 may prevent the transaction data from being exposed outside of secure element 124 before DTSP 140 can process the transaction data.

[0026] The virtual terminal 126 then sends an encrypted transaction blob 184 to the reader 120. The reader 120 includes additional metadata about the data transfer, which is encrypted using the transmission server public key as described herein. The encrypted metadata (using the transmission server public key) and the encrypted transaction blob 184 are used to generate an encrypted reader blob 186. In some specific implementations, the encrypted transaction blob 184 can also be encrypted by the transmission server public key. The use of the encrypted transaction blob 184 can allow the repackaging back end 150 to verify the encrypted metadata to verify the transaction data without decrypting the transaction data. In some specific implementations, the combination of the reader 120, the security element 124 and the virtual terminal 126 can be referred to as a virtual terminal system.

[0027] The reader 120 may send the encrypted reader blob 186 to the source application 112. The source application 112 may send the encrypted reader blob 186 and an authorization request 188 for the transaction to a data transfer service provider (DTSP) 140. The DTSP 140 may not decrypt some or all of the encrypted reader blob 186 and send it to the repackaging backend 150 for decryption. In some implementations, the repackaging backend 150 may decrypt the encrypted metadata of the encrypted reader blob 186 using a transport server private key (which corresponds to a transport server public key) and verify portions of the metadata to verify that the encrypted reader blob has been authorized by the DTSP 140, the source application 112, and / or the terminal backend 130, as described herein. This allows the repackaging backend 150 to verify transactions and / or data transfers corresponding to the encrypted reader blob 186 (and the associated encrypted transaction blob 184) without seeing the underlying unencrypted transaction data. This can ensure the privacy of the underlying transaction data because the source application 112 and the repackaging backend 150 never decrypt the transaction data encrypted by the transaction key. In some implementations, the repackaging backend 150 can also decrypt the inner encrypted transaction blob 184 to verify and authenticate the additional metadata and various parts of the transaction data.

[0028] Once the repackaging backend 150 has verified the metadata of the encrypted reader blob 186, the repackaging backend 150 can re-encrypt the transaction key using the KEK, which is a symmetric key known to the DTSP so that the DTSP can decrypt the transaction key (using the KEK) and then decrypt the transaction data (using the transaction key). However, the transaction key is currently encrypted by the PAN server public key. The repackaging backend 150 can decrypt the transaction key using the PAN server private key (which corresponds to the PAN server public key). The repackaging backend 150 then re-encrypts the transaction key using the KEK. In some implementations, the KEK of the repackaging backend 150 can be referred to as the repackaging KEK, and the KEK of the DTSP 140 can be referred to as the DTSP KEK. In some implementations, the repackaging KEK and the DTSP KEK are symmetric keys with substantially the same functionality. The re-encrypted transaction key can be referred to as the re-packaging transaction key. Re-encryption can be referred to as repackaging.

[0029] The repackaging backend 150 then generates repackaging encrypted transaction data 192, which includes the repackaging transaction key and the encrypted transaction data. In some implementations, the repackaging backend 150 can generate the repackaging encrypted transaction data 192 by encrypting both the transaction key and the encrypted transaction data (encrypted by the transaction key) using the KEK (as described herein). In this way, the repackaging backend decrypts various forms of encryption and then re-encrypts the transaction data. The repackaging backend 150 can send the repackaging encrypted transaction data 190 to the DTSP 140.

[0030] DTSP 140 can decrypt the repackaged encrypted transaction data 190 using the KEK and then process the data transfer. In some examples, the data transfer service provider can work with the data transfer processor 160 by sending to the data transfer processor 160 for processing. An exemplary data transfer processor is a payment processor. Once the data transfer has been processed or authorized, the data transfer service provider 140 can send an authorization response 192 to the source application 112. This can indicate that the second data is verified and authorized, the transaction is authorized, and the transaction is completed.

[0031] In some cases, the source application 112 is a source-oriented application that can be responsible for initializing data transfers. An exemplary source application is a merchant application that can be responsible for initializing sales or payments. The source application can be used to generate first data 180. In some specific implementations, the first data 180 can include data about the cost of the transaction, a description of the goods or services, a description of the time and place of the transaction, etc. By using the SDK 114, the source application 112 can communicate with the reader 120 and initialize the virtual terminal 126. For example, when a user starts a transaction, the source application 112 can contact the reader 120 through the SDK 114. During the initialization process of the virtual terminal 126, the reader 120 initializes a specific virtual terminal 126 associated with the source application 112 and the DTSP 140. Therefore, different virtual terminals 126 will need to be initialized in order to communicate with different pairs of source applications 112 and DTSP 140.

[0032] In some examples, the source may be ready to start a transaction (e.g., receive a data transfer), so the user may press "Start Transaction". Some transactions may be related to payment, so that the user (e.g., customer) may enter a certain value (e.g., $10) and press "Pay". In response, the system may contact a software development kit (SDK) 114 and call a function (e.g., "Transaction"). In some examples, the SDK 114 is a specific implementation of the API described above for front-end integration. The SDK 114 may then pass the first data to the reader 120.

[0033] Prior to a transaction, the reader 120 needs to be initialized and configured as described herein. The reader 120 may be dedicated to a specific pairing of the source application 112 and the DTSP 140. The reader 120 may then start a ticket reader. The ticket reader may be an application (e.g., corresponding to a second application, where the source application is a first application), and may then control the user interface (UI) of the device 110, thereby presenting a ticket reader UI. In some examples, the ticket reader UI may be presented on top of the source application UI, and the ticket reader UI may display information to the user that identifies the requested data value (e.g., $10), the name of the source, and how / where to place their ticket (e.g., where to tap the user's ticket). In some implementations, the ticket reader is a card reader. In some cases, a source logo or a default logo (e.g., based on a merchant category code (MCC)) may be displayed.

[0034] In some implementations, the ticket can be a payment ticket or card (e.g., a credit card, a digital wallet application containing digital payment information, etc.). In some implementations, the ticket can be read by a ticket reader, and the second data 182 is sent to the secure element 124 for processing. In some implementations, the reader 120 never receives the second data 182. In some implementations, the reader 120 never receives the second data 182 in an unencrypted form.

[0035] The security element 124 receives both the first data 180 and the second data 182. The security element 124 is designed for data security and ensures the security and integrity of the transaction data, as described herein. The security element 124 hosts the virtual terminal 126. The virtual terminal 126 generates the transaction data from the first data 180 and the second data 182. The virtual terminal 126 can apply several security and encryption layers, as described herein. The virtual terminal 126 can encrypt the transaction data using a key (referred to as a transaction key) known only to the security element 124. Then, the security element encrypts the transaction key using the PAN session public key. The virtual terminal 126 receives / generates the PAN session public key during the initialization of the virtual terminal 126, as described herein. The PAN session public key corresponds to the PAN session private key held by the terminal back end 130 and / or the repackaging back end 150. In some specific implementations, the PAN session public key is used to encrypt additional metadata. The encrypted transaction data (encrypted by the transaction key), the encrypted transaction key (encrypted by the PAN session public key), and additional metadata are used to generate an encrypted transaction blob 184. In addition to the transaction data, the metadata may include various security and encryption information, and may also be encrypted. The metadata may also include other data, such as a description of the time and place of the transaction, a description and time of encryption, etc.

[0036] After the secure element 124 has generated the encrypted transaction blob 184, the encrypted transaction blob 184 (sometimes referred to as the encrypted blob) can be sent back to the reader 120. The reader 120 can then add additional metadata and further encrypt to generate an encrypted reader blob 186. The metadata can be used to verify the transaction. In some specific implementations, the metadata is encrypted by the transmission server public key, and the encrypted transaction blob 184 is not further encrypted. The transmission server public key can be generated during the initialization of the reader 120, and corresponds to the transmission server private key held by the terminal back end 130 and / or the repackaging back end 150. The reader 120 can send the encrypted reader blob 186 to the source application 112, and the ticket reader application UI can be closed, so that the source application is running (and displayed on the UI), and the source application now has an encrypted reader blob 186. In some examples, once the source application 112 receives the authorization to the transaction, the ticket reader application UI is closed.

[0037] Because encrypted transaction blob 184 is encrypted using a transaction key known only to virtual terminal 126, source application 112 and DTSP 140 cannot decrypt the transaction data. Further description of encryption of transaction data by virtual terminal 126 of secure element 124 is described herein.

[0038] There are two system backends working together with the virtual terminal to encrypt and decrypt transaction data. The system backend can provide security for data according to security standards (e.g., PCI CPoC standards (collectively referred to as CPoC verification)). The first backend can be referred to as the contactless payment (CPOC) on the terminal backend 130 or customer off-the-shelf equipment (COTS) (it can also be referred to as the mobile payment (MPOC) backend on COD). The terminal backend 130 can also be referred to as the bill reader backend in this article. In some specific implementations, the terminal backend 130 is configured to initialize the virtual terminal 126 before the data transfer (e.g., bills or other data transfer bills). As a part of initialization, the terminal backend 126 can verify and / or perform many necessary initialization processes, as described herein. These initialization processes may include verifying the virtual terminal token, generating a session token, sending the virtual terminal configuration to the security element, running proof checks, etc., as described herein.

[0039] The second backend may be referred to as a repackaging backend 150, a ticket data processor backend, or a data transfer repackaging backend. As described herein, the repackaging backend 150 handles a repackaging process that uses a transport server private key to decrypt the encrypted reader blob 186 to check the metadata therein. Using the metadata, the repackaging backend is able to verify that the data transfer has been authorized by the DTSP 140, the source application 112, and / or the terminal backend 130. In addition to the metadata, the encrypted reader blob 186 also includes an encrypted transaction blob having an encrypted transaction key (encrypted by the PAN session public key) and encrypted transaction data (encrypted by the transaction key). Once the metadata has been verified, the repackaging backend 150 can decrypt the encrypted transaction key (encrypted by the PAN session public key) using the corresponding PAN session private key. The repackaging backend 150 then re-encrypts the transaction key using the KEK to generate a re-encrypted transaction key. The re-encrypted transaction key and transport key encrypted transaction data may be referred to as re-packaged encrypted transaction data 190 that may be decrypted by DTSP 140. Referring back to virtual terminal 126 and associated terminal backend 130, terminal backend 130 works with virtual terminal 126 to securely encrypt transaction data in secure element 124.

[0040] After receiving the encrypted reader blob 186 from the reader 120, the source application 112 may send the encrypted reader blob 186 to the DTSP 140 along with an authorization request 188 to determine whether the transaction is authorized. In some examples, the DTSP 140 may be the same entity, or controlled by the same entity that created the source application 112; however, it may be a completely different entity. For example, the source may register an account on the source application 112, such that the source does not own the source application, but uses the source application to facilitate data transfers and other data transfer issues. The source application 112 may then be operated by the same or a different entity than the DTSP 140.

[0041] In some implementations, the DTSP 140 cannot decrypt the encrypted reader blob 186 upon receiving it from the source application 112 because the decryption keys (transport server private key and PAN server private key) for the encrypted reader blob 186 are not known to the DTSP 140. This is part of the security of the encryption used for the transaction data. Similarly, the source application 112 does not have the keys to decrypt the encrypted reader blob 186. These features help ensure the security of the encrypted reader blob 186. However, the DTSP 140 can send the encrypted reader blob 186 to the repackaging backend 150 for decryption.

[0042] In some examples, a DTSP may be a payment service provider (PSP) such as a bank (or alternatively, a bank affiliate), or a corporate entity such as an acquirer processor or payment facilitator or aggregator that is not licensed or licensed as a non-bank financial institution (such as a remittance company). In addition, transaction information may be transmitted as follows: (1) from the user through his or her payment device to a secure element in a source (e.g., merchant) mobile device, (2) from the secure element to a card reader application; (3) from the card reader application to the source application via front-end integration; (4) from the source application to the DTSP's payment system; (5) from the DTSP's payment system to the back-end platform via back-end integration; (6) from the back-end platform to the DTSP's payment system via back-end integration; (7) (a) from the DTSP to the acquirer processor and then to the payment network if the DTSP is not an acquirer processor (e.g., a payment facilitator or payment aggregator), or (b) from the DTSP directly to the payment network if the DTSP is an acquirer processor; (8) from the payment network to the issuing bank or issuing processor for authorization; and / or (9) the authorization result is sent directly back to the source application via the DTSP's system. In some embodiments, neither the application / device provider nor the back-end platform sees any of the consumer's sensitive payment information.

[0043] The repackaging backend 150 accesses the correct keys (transport server private key and PAN server private key) to decrypt the encrypted reader blob 186. In some implementations, the repackaging backend 150 can use the corresponding private key (corresponding to the public key used to encrypt the encrypted reader blob 186 and the encrypted transaction blob 184) to encrypt the encrypted transaction key used to encrypt the transaction data, and encrypt the private key with a key known to the DTSP, and provide the repackaging encrypted transaction data 190 back to the DTSP. This is called repackaging and will be explained in more detail below. In some implementations, repackaging can mean that the "transaction key" can be decapsulated by decrypting the transaction key via the PAN session private key (corresponding to the PAN session public key used to encrypt the transaction key), and repackaging using the backend KEK. The DTSP can decapsulate the transaction key using the DTSP KEK (which corresponds to the backend KEK). The DTSP can then decrypt the transaction data using the transaction key. Once this process is complete, the DTSP may have the transaction data for the data transfer and may utilize the data transfer processor to process the data transfer.

[0044] Once the repackaging backend 150 has decrypted the encrypted reader blob 186, some verification of the metadata in the encrypted reader blob 186 may be performed. If the verification is verified, the repackaging backend 150 may then decrypt the encrypted transaction key of the encrypted transaction blob 184 using the PAN server private key. The repackaging backend 150 may repack the transaction key using the repackaging KEK (which corresponds to the DTSP KEK) to generate the repackaging encrypted transaction data 190 from the encrypted transaction data and the repackaging transaction key. In this manner, the DTSP 140 having access to its specific DTSP KEK (which corresponds to the repackaging KEK) may decrypt the repackaging transaction key of the repackaging encrypted transaction data 190. The repackaging transaction key may then be used to decrypt the encrypted transaction data. The repackaging encrypted transaction data 190 may also be referred to as repackaging transaction data or a repackaging transaction blob. The step of re-encrypting the transaction data on the repackaging backend 150 so that the transaction data is encrypted for decryption by the DTSP 140 may be referred to as repackaging. The repackaging backend 150 may include a hardware security module (HSM). Some or all of the encryption and decryption performed on the repackaging backend 150 may be performed in the HSM. Further description of the repackaging backend 150 and the processes performed by the repackaging process is as described herein.

[0045] In some implementations, if the verification is verified, the repackaging backend 150 may then decrypt the encrypted transaction key of the encrypted transaction blob 184 using the PAN server private key. In some implementations, the encrypted transaction data may be decrypted using the transaction key to verify / validate the transaction data. In some implementations, if the transaction data has been verified and / or validated, the repackaging backend 150 may encrypt the transaction key using the repackaging KEK (which corresponds to the DTSP KEK) and re-encrypt the transaction data using the transaction key, thereby generating repackaging encrypted transaction data 190.

[0046] The DTSP 140 can then decrypt the repackaged encrypted transaction data 190 upon receipt. In some implementations, some or all of the decryption of the repackaged encrypted transaction data 190 occurs on a DTSP-controlled HSM (DTSP HSM). The DTSP 140 can then process the transaction data. For example, the DTSP 140 can determine whether the second data 182 is payment information and whether there are sufficient funds associated with the second data 182. The DTSP 140 can also send the transaction data to another party for processing, such as the data transfer processor 160. Once the DTSP 140 (or the data transfer processor 160) has processed the transaction data, the DTSP 140 can send an authorization response 182 to the source application 112. The authorization response 192 can indicate whether authorization is granted or denied for the transaction.

[0047] Once completed, a message indicating whether the data transfer is approved can be sent back to the source application. In addition, other information related to the daily business operations of the source (e.g., user authorization and transaction history) can be sent directly between the DTSP and the source application.

[0048] Figure 2 A sequence diagram 200 is shown of an exemplary high-level sequence for implementing the virtual terminal techniques described herein. The exemplary sequence includes the transmission and processing of data on a virtual terminal 202, a reader 204, a source application 206, a DTSP 208, and a repackaging backend 210. The virtual terminal 202, the reader 204, the source application 206, the DTSP 208, and the repackaging backend 210 are each equivalent to Figure 1 The virtual terminal 126, the reader 120, the source application 112, the DTSP 140 and the repackaging backend 150. As mentioned above, the virtual terminal 202, the reader 204 and the secure element can be referred to as a virtual terminal system.

[0049] Before the exemplary sequence diagram 200 begins, the DTSP 208 and the backend (e.g., Figure 1 In some implementations, the DTSP 208 and the repackaging backend 210 may exchange keys for encryption and decryption of communications and transmissions between the DTSP 208 and the repackaging backend 210. In some implementations, these keys may be symmetric keys. In some implementations, these keys may be key exchange keys (KEKs). In some implementations, these keys may be symmetric KEKs. These keys will only be known to the DTSP 208 and the repackaging backend 210. The KEK for the DTSP 208 is referred to as the DTSP KEK. The KEK for the repackaging backend 210 is referred to as the backend KEK.

[0050] At block 220, source application 206 may initiate a transaction by sending first data to reader 204. The first data may be generated in source application 206. For example, the source may input the first data into source application 206. The first data may include data transfer parameters. Source application 206 may send the first data to reader 204.

[0051] At block 222, reader 204 may prompt the user for a ticket. The prompt may also be a request for the second data. For example, reader 204 may present a UI that prompts the user to present a data transfer ticket (e.g., tap, swipe, or insert their credit card, debit card, or device hosting a digital wallet), where the data transfer ticket has the second data.

[0052] At block 224, reader 204 may send a signal to virtual terminal 202 that a transaction has begun. Reader 204 may also send first data. When the user provides second data, virtual terminal 202 may obtain the second data. Once the second data has been received, it may be used to generate transaction data.

[0053] At box 226, the virtual terminal 202 can then generate transaction data from the first data and the second data. The virtual terminal 202 can then use the transaction key to encrypt the transaction data to generate encrypted transaction data. The transaction key is generated in the virtual terminal 202 and / or the security element so that only the virtual terminal 202 and / or the security element know the transaction key. The transaction key is then encrypted using the PAN server public key. The PAN server public key corresponds to the PAN server private key held by the terminal back end and / or the repackaging back end 210. The PAN server public key is obtained during the initialization of the virtual terminal 202, as described herein. Additional metadata can be added to the encrypted transaction data to generate an encrypted transaction blob. The encryption can occur in the virtual terminal 202 of the security element of the device and / or the security element.

[0054] Once the virtual terminal 202 has generated the encrypted transaction blob, the virtual terminal 202 and / or the reader 204 may relinquish control of the device's UI. In some implementations, relinquishing the device's UI may occur later. For example, relinquishing the device's UI may occur after the transaction has been authorized by the DTSP 208 and / or at block 244 of the exemplary sequence 200.

[0055] At box 228, virtual terminal 202 can then send the encrypted transaction blob to reader 204. In addition to the transaction data for the underlying transaction, the encrypted transaction data can also include verification, verification and encryption data. At box 230, reader 204 can then generate additional metadata and encrypt the metadata using the transmission server public key. The transmission server public key corresponds to the transmission server private key held by the repackaging backend 210 and / or the terminal backend. The encrypted metadata and the encrypted transaction blob are used to generate an encrypted reader blob. The additional metadata can include a session token. The second encryption is designed to protect the integrity and confidentiality during the transmission process from the source application 206 to the DTSP 208. Then, reader 204 can send the encrypted reader blob to the source application 206. At box 232, the source application 206 sends the encrypted reader blob and the authorization request to the DTSP 208, thereby requesting authorization for the transaction.

[0056] At block 234, the DTSP 208 may send the encrypted reader blob to the repackaging backend 210. In some implementations, the DTSP 208 cannot decrypt the encrypted reader blob and must send the encrypted reader blob to the repackaging backend 210 for decryption. In some implementations, the DTSP 208 may decrypt portions of the encrypted reader blob to verify and authenticate certain information. In some implementations, the DTSP 208 may re-encrypt (e.g., repackaging) the encrypted transaction data after the verification.

[0057] At block 236, the repackaging backend 210 may decrypt some or all of the encrypted reader blob to verify certain information, as described herein. The repackaging backend 210 may decrypt the metadata in the encrypted reader blob to verify and authenticate the transaction. The repackaging backend may decrypt the metadata using the transport server private key (which corresponds to the transport server public key). For example, the repackaging backend 210 may verify the session token. If the verification fails, the repackaging process will not continue.

[0058] Once the repackaging backend has verified the transaction after decrypting the metadata, the repackaging backend 210 may repack the encrypted transaction key. The repackaging backend 210 begins by decrypting the encrypted transaction key using the PAN server private key, which corresponds to the PAN server public key used to encrypt the transaction key. The repackaging backend 210 may then repack the transaction key using a KEK (e.g., the KEK of the repackaging backend 210 among the symmetric KEKs exchanged between the repackaging backend 210 and the DTSP 208). The repackaging backend 210 may then package the repackaging transaction key (now encrypted by the KEK instead of the PAN server public key) and the encrypted transaction data to generate a repackaging transaction blob. At 228, the repackaging backend 210 may then send the repackaging transaction blob (also referred to as repackaging transaction data or repackaging encrypted transaction data) to the DTSP 208. In some implementations, some or all of the decryption performed by the repackaging backend 210 is performed in the HSM of the repackaging backend 210.

[0059] In some implementations, the repackaging backend 210 must decrypt the encrypted reader blob to find the encrypted transaction blob and verify certain information, as described herein. In some implementations, the repackaging backend may decrypt the encrypted transaction blob and verify certain information, as described herein.

[0060] At block 240, the DTSP 208 may process the transaction. In some implementations, the DTSP 208 may process the transaction and the data transfer by sending the transaction or information associated with the transaction and / or the data transfer to a third party. At 242, the DTSP 208 may return the transaction result to the source application 206. At 244, the source application 206 may display the data transfer response on the device hosting the source application 206.

[0061] Figure 3 An exemplary system component 300 is shown. The system components may include components on a device 310 and components of a backend 330. The device 310 includes a reader 312 and a secure element 320. The reader 312 is hosted on typical hardware of the device (e.g., a processor for most or all applications). There is also a secure element 320 hosting a virtual terminal 322. The backend 330 represents an external device for a server device or a multi-purpose device. The device 310, reader 312, secure element 320, virtual terminal 322, repackaging backend 340, and terminal backend 350 are each equivalent to Figure 1 The device 110, the reader 120, the secure element 124, the virtual terminal 126, the repackaging backend 150 and the terminal backend 130.

[0062] In some implementations, the reader 312 is implemented in software using some or all of the hardware components of the multi-purpose device. The reader 312 can run on the processor of the device along with other applications and processes. The reader 312 can also include encryption services, as described herein.

[0063] The reader 312 includes a prompt UI 314. The prompt UI 314 is used to indicate that the virtual terminal 322 is ready to receive the second data from the user. For example, the prompt UI 314 can be used to indicate that the user should present the second data. In some specific implementations, the prompt UI 314 can be used to indicate that the user should swipe, tap, or insert a card, or use a digital wallet of some kind on the mobile device. The prompt UI 314 can be used to indicate where the user should present their second data on the multi-purpose device. For example, the prompt UI 314 can instruct the user to tap their card on the multi-purpose device.

[0064] Reader 312 also includes a daemon 316 and a ticket reader 318. Daemon 316 can be used to run processes and generate data associated with device 310 that is not processed by secure element 320. Daemon 316 can also be used to process second data obtained by ticket reader 318. Ticket reader 318 is used to read the second data from the user and process the second data.

[0065] Equipment 310 also includes safety element 320. Safety element 320 is an element designed for security on multi-purpose equipment. In some specific implementations, safety element 320 is a chip or hardware module separated from the processor of the equipment. For example, safety element 320 can operate on a chip separated from the processor running reader 312. In some specific implementations, safety element 320 is a software module including additional software security features for running processes, and reader 312 does not use those additional software security features. In some specific implementations, safety element 320 is used exclusively only by equipment 310, and only runs processes associated with equipment 310. In some specific implementations, safety element 320 runs some processes associated with equipment 310, and also runs processes for other applications that need additional security features on multi-purpose equipment.

[0066] Safety element 320 accommodates virtual terminal 322.Safety element 320 can accommodate multiple virtual terminals 322 corresponding to different paired source applications and DTSP.Virtual terminal 322 has a virtual terminal kernel (also referred to as terminal kernel) that can be configured by a kernel token.Virtual terminal 322 is designed to encrypt data.For example, virtual terminal 322 encrypts transaction data generated from second data and first data.When data is encrypted, virtual terminal 322 can adopt many types of keys, hashing and other cryptography.The example of encryption performed by virtual terminal 322 is included in this article.

[0067] The backend 330 represents system components that are not stored on the device 310. In some implementations, the backend 330 represents one or more devices that typically have server functionality. The backend 330 may include a repackaging backend 340 and an end backend 350. The end backend may include an API gateway 368, a kernel manager 360, an authorizer 362, an attestation subsystem 364, and a monitoring subsystem 366.

[0068] The repackaging backend 340 receives the encrypted transaction data (eg, Figure 1 of encrypted reader blob 186), some or all of the encrypted transaction data (e.g., Figure 1 decrypting the encrypted reader blob 186 metadata and the encrypted transaction key to verify the transaction data (e.g., Figure 1 The repackaging backend 340 and the processes performed by the repackaging backend 340 are further described herein.

[0069] The API gateway 368 is used to facilitate the interaction between the device 310 and the terminal backend 350. For example, the API gateway 368 facilitates the communication, interaction and transmission between the device 310 and the kernel manager 360, the authorizer 362, the certification subsystem 364 and the monitoring subsystem 366.

[0070] The kernel manager 360 can be used to create and generate kernel tokens. The kernel manager 360 can also be used to generate scripts for configuring the virtual terminal 322 in the secure element 320 of the device 310.

[0071] Authorizer 362 can be used to authorize DTSP, source and equipment to use virtual terminal system. This ensures that only DTSP, source and equipment that have been accepted to use virtual terminal system can use the technology described herein. Authorization can include using token, key, account, credential etc.

[0072] The attestation subsystem 364 may be used to authorize and verify devices (e.g., mobile devices and servers) using the virtual terminal system. The attestation subsystem 364 is part of a security system designed to prevent hacking or improper use of the virtual terminal system to create false transactions or hijack existing transactions. Hijacking a transaction may include altering any transaction data associated with the transaction so that the transaction data does not accurately match or correspond to the transaction.

[0073] Monitoring subsystem 366 can be used to monitor transactions and devices (e.g., virtual terminal 322 and reader 312) using the virtual terminal system described herein. Monitoring transactions can be critical to complying with CPOC and other regulations involving wired transmissions, transactions, etc., and related devices.

[0074] Figure 4 An exemplary method 400 for initializing a reader and a virtual terminal is shown. However, there are some initialization steps before a device can generate a reader and a virtual terminal. When a source application wants to use a virtual terminal and a reader on a device (e.g., instead of a dongle), the source application will need to register with DTSP. DTSP allocates and / or uses terminal profiles to organize configuration data for different types of sources.

[0075] A terminal profile may consist of a set of personalization data used to configure a reader before it processes any transaction. All personalization data may be provided by a single terminal profile. Personalization data may also be used to configure Figure 3 A virtual terminal 322 is created. Examples of configuration data for a profile include what types of instruments are accepted (e.g., payment instruments such as Visa, MasterCard, etc.) and / or the maximum amount of money that is acceptable for a single transaction. Once a profile has been created, it may be immutable, so that a new reader needs to be created in order to have a new terminal profile. In some examples, the DTSP is responsible for providing all configuration values ​​required to create a terminal profile.

[0076] In some implementations, the DTSP itself can create the terminal profile. In some implementations, the backend (e.g., Figure 3 The back end 330 of the DTSP can generate a terminal profile and share possible terminal profiles with the DTSP. The DTSP can request a new terminal profile with various configuration data. In some specific implementations, each new terminal profile has an associated profile ID. The profile ID can be stored by the DTSP for future use.

[0077] DTSP can have multiple terminal profiles, which can be used for one or more sources. DTSP can track which sources have which profiles. DTSP can request profiles, and the back end can return profile IDs. In some cases, the back end can generate profiles and accompanying profile IDs. The back end can be able to upload the profile ID to the portal for use by DTSP. DTSP will have to log in to the portal provided by the back end. From there, it can find all profile IDs created for it. In some examples, as needed, there can be a shared profile used by all sources on the mobile device, or there can be one profile for each source. In some cases, a profile is a file with the commands required to configure the kernel token with the correct configuration. The kernel token is used to configure the virtual terminal of the security element and the encryption key (e.g., PAN server public key) used by the virtual terminal.

[0078] Once the DTSP has determined which terminal profile is to be assigned to the source, the DTSP sends the corresponding terminal profile ID to the source application. The source application will need to reference the terminal profile ID to the DTSP so as to initialize the reader according to the correct terminal profile ID used by the DTSP. Therefore, the reader can be dedicated to a specific DTSP. For example, a multi-purpose device can have a first reader associated with a first DTSP and a second reader associated with a second DTSP. In some specific implementations, the DTSP authorizes the source to have a reader. The source (e.g., a store owner) can set up an account on a source application (e.g., a mobile application that allows an enterprise to receive money from a customer). Then, the source can register with the DTSP. In some specific implementations, the source can register with the DTSP using the credentials of the source in the source application. After the source has registered, the source can request permission from the DTSP to generate a reader associated with the DTSP. Usually, the DTSP wants the source to use a specific type of reader transmitted by the terminal profile.

[0079] Once the ticket reader is initialized, the ticket reader ID is returned to the source application. The ticket reader ID is linked to the life cycle of the source application on the device. In some implementations, a new ticket reader ID can be generated when the application is uninstalled and reinstalled. In some implementations, the ticket reader ID is unique for each source application installed on the same device. In some implementations, the ticket reader ID is continuously saved between ticket reader initializations. In some implementations, when the source application initializes the ticket reader on two different devices, each installation on each device may have a unique ticket reader ID. In some implementations, the ticket reader ID can be a cascade of the device serial number and the application ID (in some implementations, plus the installation ID).

[0080] Return to Figure 4, source application 404 needs to request reader token in order to generate reader 406 associated with DTSP 402.Reader token may also be referred to as partner token or DTSP token.Reader token may include configuration information of reader.Configuration information may include DTSPID, expiration field, terminal profile ID, allowed application bundle ID and allowed virtual terminal ID.Expiration field is used to determine the expiration time of reader token, which will also terminate reader 406 on device and virtual terminal on device.DTSPID can be used to identify the specific DTSP that issues reader token.Terminal profile ID is used to configure the terminal kernel of reader 406.Allowed application bundle ID indicates which source applications (e.g., source application 404) can use reader token.Allowed virtual terminal ID indicates which virtual terminal ID is allowed to use the reader token.In some specific implementations, allowed virtual terminal ID corresponds to reader ID.

[0081] At block 410, source application 404 may request a reader token from DTSP 402. Source application 404 may include the assigned terminal profile ID in the request for the reader token. DTSP 402 will know which source (using source application 402) is requesting a reader token because source application 402 will request source login credentials prior to initialization of the reader. Therefore, DTSP 402 may know what terminal profile ID it would normally give to source application 402, and know that source application 404 is initializing reader 406 at this time. At block 412, DTSP 402 may generate a reader token. A specific terminal profile may be utilized to generate a reader token.

[0082] Reader token is used for transmitting information safely between DTSP 402 (for example, the back-end system of DTSP) and reader 406.The most important information that needs to be transmitted between DTSP 402 and reader 406 is the terminal profile ID associated with reader 406.Using reader token mechanism, DTSP can indicate the terminal profile that can be used for initializing reader.In some specific implementations, reader token can be used for determining the life span of reader by setting token expiration date.When token expires, reader can terminate automatically.In some specific implementations, reader token can be used for specifying a certain source application as the user of token by quoting the source application ID associated with the source in reader token.

[0083] Each reader token may be signed using one or more keys (e.g., ECDSA keys) using any type of cryptographic algorithm (e.g., ES256, etc.) DTSP must use a private key to sign the token, and the associated public key must be shared with the terminal backend and / or repackaging backend.

[0084] Reader token has multiple uses. Reader token protects the data that it will send, because reader token is bound to DTSP 402, therefore authentication reader and corresponding transaction are bound to this specific DTSP 402. This is because DTSP402 will eventually have to require data transfer data to be decrypted, and therefore repackaging back end wants to ensure that DTSP 402 authorizes to start data transfer. In some specific implementations, each DTSP 402 can have different signatures for signing reader token. Each DTSP 402 can sign different reader tokens, and they can use multiple different terminal profiles. Through the gateway associated with terminal back end 408 and repackaging back end, DTSP can upload public key for terminal back end 408 and repackaging back end for encryption. This same gateway also allows DTSP 402 to view, read, request and change various terminal profiles that they can use. Then, source application 404 can request reader token to DTSP 402, basically requesting authorization to initialize reader (for use by this source). Based on the source login, the DTSP will know which source is requesting to prepare the reader. The source application will then obtain the user's source login token based at least in part on those login credentials. DTSP 402 can decide which terminal profile the source should use, and put the appropriate profile into the reader token and sign the token. The token may also include information about how long the ticket reader can be used, whether it is bound to a ticket reader ID (also referred to herein as a terminal ID), and other details controlled by DTSP 402. DTSP 402 then returns the token to source application 404, and source application 404 can use the SDK (e.g., Figure 1 The SDK 114 of the source application program initializes the reader to make a "prepare" (or "initialize") call. Now, the source application program can use the SDK to pass the reader token and initialize the reader 406.

[0085] The reader token may include data verifying that it is a reader token from a specific DTSP 402 (rather than another DTSP 402). In some specific implementations, the DTSP 402 may also sign the reader token. In order to protect the integrity of the terminal profile and avoid misuse (or terminal profile exchange), the back end of the DTSP requires the DTSP 402 to sign the reader token and / or the corresponding terminal profile ID (in some examples, the partner signs the terminal profile ID to indicate that the DTSP 402 intends to use the terminal profile as indicated by the terminal profile ID). It would be undesirable for the source to exchange their profiles. Since the profile is being applied by the source, hackers may try to change the profile. One way for the partner to protect the integrity of the reader token and the terminal profile ID is to create a JWT token including the terminal profile ID and sign the token. The token is called a reader token. The token can be used as an API key. When the reader receives the reader token, it can verify the signature of the token. By verifying the signature of the token, the back end can authenticate the DTSP 402 (because this confirms which DTSP 402 is initializing the terminal). This is because only DTSP 402 has the private key to sign the token, and the backend has a table of public keys that relate them to DTSP.Through authentication, the mobile device can determine whether DTSP 402 is allowed to conduct the transaction.

[0086] At block 414 , the DTSP 402 may return a valid reader token to the source application 404 so that the source application 404 may begin generating a reader associated with the particular DTSP 402 .

[0087] At block 416, source application 404 may use the reader token to initialize reader 406. Initialization of reader 406 is accomplished by calling an SDK (e.g., Figure 1 The SDK 114 of the reader 404) and the reader 406 are initialized using the reader token. When the reader is requested to be initialized, the source application 404 reader token may include a terminal profile ID. This terminal profile can be used to initialize the context of the reader and inform how the reader should be configured. Once the reader is initialized, it is bound to the terminal profile, source ID, bill reader ID and specific DTSP used during initialization. Each transaction that occurs on the reader can use the personalized data associated with the terminal profile. In order to change the terminal profile, the reader will need to utilize different profile IDs to reinitialize. The terminal profile can be specified by the reader token received by the source application 404 from the DTSP 402 before the bill reader is initialized. Once the reader 406 is successfully initialized, only the source application program that initializes the bill reader can use it. If another application attempts to use it, the reader 406 will terminate automatically.

[0088] At block 418, the reader 406 opens a session with the terminal backend 408. The reader 406 may send a reader token along with other configuration and authentication information to the terminal backend.

[0089] At box 420, terminal backend 408 can verify reader token. The verification of reader token can include multiple steps. The terminal backend may also be referred to as a bill data processor backend or bill reader backend in this article. Terminal backend 408 checks the reader token to ensure that it is valid. The bill reader backend can determine whether the reader token is valid by checking whether any information therein has changed. In some specific implementations, the verification process may include the verification of the DTSP signature associated with the reader token. In some specific implementations, the verification may check the expiration date or expiration time of the reader token to determine whether the reader token has expired. The verification may also include the verification of the payload of the reader token. In some specific implementations, the verification may include the verification of the application bundle ID, the virtual terminal ID, and the terminal profile ID. Once the terminal backend 408 performs verification on the virtual terminal token, the device and the reader token are valid, and the terminal backend 408 can allow the bill reader (and / or the bill reader application) to initialize the virtual terminal using the kernel token.

[0090] Verification of the reader token may also be part of the attestation process. Figure 5 , an exemplary sequence diagram 500 for authentication is shown. The authentication process occurs during initialization of the reader 502. In some implementations, the authentication process is part of verifying a reader token, such as Figure 4 420 in . The attestation process is designed to help any backend service (e.g., provided by the terminal backend 504 or the repackaging backend) know which device is making a call or requesting information from the backend service. In some implementations, the attestation process is designed to authenticate a specific device and / or a specific reader on a specific device. Authentication of a specific device can also refer to authentication of a secure element of the device or a terminal kernel in a secure element of the device. Attestation is also important for regulatory, security, and privacy reasons as part of implementing the CPOC standard.

[0091] At box 512, reader 502 requests device identity certificate to terminal backend 504. In some specific implementations, the certificate is a security element attestation service (SEAS) certificate. The device identity certificate creates a unique identifier for the specific security element of a specific reader on a specific device. The device may already have such a unique identifier, so that reader 502 can send the unique identifier to terminal backend 504 to receive a certificate containing the unique identifier (e.g., security element ID (SEID)). In some specific implementations, the issuance of the certificate can be derived from a known certificate authority and use such rules. In some specific implementations, the issuance of the certificate depends on the device inspection of reader 502. In general, the device identity certificate is intended to verify that a specific security element / reader / device is an authorized device. At box 514, reader 502 receives a certificate from terminal backend 504.

[0092] At box 516, the reader 502 generates a baseline package about the reader 502. The baseline package may include baseline data about the device on which the reader operates. The baseline data may also include information about the security element of the device. The baseline package is used to verify that the device is compliant. The baseline package may also include a device identity certificate. The baseline package may also include a signature from the reader 502. At box 518, the reader 502 sends the baseline package to the terminal backend 504 for verification. In some specific implementations, the portion of the terminal backend 504 that handles the verification is different from the portion of the terminal backend 504 that handles the device identity certificate.

[0093] At block 520, the terminal backend 504 verifies the baseline package. The terminal backend 504 verifies that the signature from the reader 502 is valid. The terminal backend 504 verifies that the device identity certificate is valid, for example, by verifying the ID of the device identity certificate. The terminal backend 504 verifies the baseline data. For example, the terminal backend 504 can determine whether the baseline data conforms to the baseline data format. The terminal backend 504 can also determine whether the baseline data conforms to a specific security element, reader, and / or device.

[0094] At block 522, the terminal backend 504 sends the verification result to the reader 502. If the verification fails, the certification fails. In some implementations, this causes the initialization of the reader 502 to fail. If the verification succeeds, the terminal backend 504 sends the certification public key to the reader 502. The terminal backend 504 has a certification private key that can be used for decryption of the certification information from the reader 502.

[0095] In some implementations, blocks 512, 514, 516, 518, 520, 522, 524, 526, 528, and 530 of the certification process 500 are Figure 4In such implementations, blocks 512, 514, 516, 518, 520, 522, 524, 526, 528, and 530 are implemented by the device's processor to ultimately hand over all proof-related data to the reader 506. In some implementations, when Figure 4 When the reader opens a session with the terminal backend 408 at block 418 , the reader 406 may include a certification token.

[0096] At block 532, the reader 502 performs an attestation check to generate an attestation result. The attestation check may include verification of device-related information. In some implementations, the attestation check includes verification that the device identity certificate is still valid. In some implementations, the attestation check verifies metadata of the transaction blob that is being attested to have information matching the reader 502 (e.g., SEID, device ID, etc.).

[0097] At block 534 , the reader 502 generates a password by encrypting the attestation result of the attestation check and the attestation public key. At block 536 , the password is added to the reader 502's attestation entry list.

[0098] At block 530, the reader 502 signs the list of attestation entries using a secret key associated with the device identity certificate in preparation for requesting the attestation token. At block 532, the reader 502 sends the attestation token request to the terminal backend 504. The attestation token request includes the signature of the attestation entry list, the result of the attestation check, and the device identity certificate.

[0099] At block 534, the terminal backend 504 verifies the attestation entry list. The verification begins by verifying the signature of the attestation entry list. The signature is based on the device identity certificate, so the terminal backend 504 can verify that the device identity certificate and the signature match it. Then, for each entry in the attestation entry list, the terminal backend 504 can decrypt the entry using the attestation private key. The terminal backend 504 then verifies the entries of the attestation entry list by comparing them to the baseline package.

[0100] At box 536, the terminal backend 504 can send the verification result to the reader application 502. If all proof items have been verified, the verification result can include a proof token. The proof token is used to indicate that the device is a verified device. If any proof item cannot be verified, the proof fails. The verification result can indicate the failure and an explanation for the proof failure can be given. In some specific implementations, the proof token has an expiration date. In some specific implementations, the proof token can expire after 15 minutes.

[0101] Return to Figure 4, at box 422, both the session token and the kernel token may be generated by the terminal backend 408 after the reader token and the proof token are verified. In some implementations, the reader token and the proof token are used to generate the session token. In some implementations, the session token is used to verify a specific instance of the reader 406. In some implementations, the session token is used to process a specific transaction between the source application 404 and the DTSP 402. The session token may include a virtual terminal ID. The virtual terminal ID may be based on one or more of a secure element ID (SEID), an application bundle ID, and an application installation ID. The SEID can be used to identify the secure element that will be used to encrypt transaction data related to the reader 406. The secure element ID can be obtained from the proof token (e.g., reference Figure 5 ). The application bundle ID can be used to identify the application that is using the reader 406. The application installation ID can be used to identify which instance of the application is using the reader 406. For example, if the application has been uninstalled and reinstalled on the device, there will be a new application installation ID. The session token can also include a DTSP token. In some specific implementations, the DTSP token is a reader token. The session token can be concatenated with the encrypted transaction blob generated by the virtual terminal on the secure element, which can be checked by the repackaging service at the time of repackaging. If the session token is invalid, the repackaging will fail and the transaction is rejected or fails.

[0102] The kernel token is used to configure the kernel of the virtual terminal initialized by the reader 406. The kernel token may include a terminal profile ID. The terminal profile ID may be used by the kernel manager (e.g., Figure 3 The kernel token may also include a DTSPID. The DTSPID may be used by the kernel manager to verify that the DTSP has authorized the requested specific terminal profile ID. The kernel token may include a secure element ID (e.g., reference ID) that may be obtained from the certification token. Figure 5 ).

[0103] At box 424, the session token and the kernel token are sent to the reader 406 for initialization. The kernel token can be used to configure the terminal kernel on the security element. The session token can be used as part of the verification of the transaction payload. In some specific implementations, the terminal backend 408 can send the transmission server public key to the reader 406 at this time. In some specific implementations, the transmission server public key is associated with the source application 404 and is received by the source application 404 during the initial setup with the virtual terminal system and the backend. Then, when the reader 406 is initialized, the transmission server public key can be shared with the reader 406.

[0104] exist Figure 6, an exemplary sequence diagram 600 for initializing and configuring a virtual terminal 608 is shown. The virtual terminal 608 can be viewed as a secure counterpart to the reader 604, such that the virtual terminal is initialized and configured for a specific combination of source application 602 and DTSP to process a specific transaction. The virtual terminal 608 also has a limited lifespan based on the lifespan of the reader 604. The virtual terminal 608 is housed in a secure element and is used to enhance security and verification through encryption. In some implementations, the configuration of the virtual terminal 608 is performed after the initialization of the reader 604 (see the exemplary initialization of the reader for reference). Figure 4 Description). The virtual terminal 608 is configured using a kernel token.

[0105] At block 610, the reader 604 sends the kernel token to the terminal backend 606 to obtain the kernel configuration for configuring the ticket reader. Figure 3 The kernel manager 360) receives the kernel token.

[0106] At block 612, the terminal backend 606 verifies the kernel token. The verification of the kernel token may include verification of the SEID, DTSPID, and the terminal profile ID. The verification will ensure that all of these IDs match so that the security element is verified as being authorized to have a virtual terminal corresponding to the DTSP.

[0107] At frame 614, terminal backend 606 sends kernel configuration script to reader 604. Kernel configuration script can include many types of kernel configuration information, including PAN session public key, PIN server public key and KEK ID. PAN session public key is used by virtual terminal 608, and backend (terminal backend 606 and repackaging backend both) has PAN session private key. PAN session public key can be used for being used by virtual terminal 608 in security element to encrypt transaction information, so that backend can decrypt transaction information later. KEK ID binds specific virtual terminal 608 to DTSP to ensure that transaction is marked as corresponding to correct DTSP. In some specific implementations, kernel configuration script can also include other kernel configuration information as described herein. In some specific implementations, PIN server public key is the transmission server public key used by reader 604.

[0108] At block 616, the virtual terminal 604 sends the kernel configuration script to the terminal kernel 608. At block 618, the terminal kernel 608 may use the kernel configuration script to configure the kernel associated with the ticket reader.

[0109] At box 620, the terminal kernel 608 can send a confirmation of the kernel configuration to the virtual terminal 604. At box 622, the virtual terminal 604 can send a virtual terminal identifier to the source application 602. In some specific implementations, the virtual terminal identifier can be used to identify a specific virtual terminal 608 initialized and configured according to the kernel token. In some specific implementations, the virtual terminal identifier can be a combination of SEID, application bundle ID, and installation ID. This can ensure that the virtual terminal identifier does not change between configurations and / or sessions using different terminal profile IDs. In some specific implementations, the virtual terminal identifier can be used to identify which device the virtual terminal 608 is running on and which applications are related to.

[0110] exist Figure 7 , an exemplary sequence diagram 700 for generating and encrypting transaction data into an encrypted transaction blob is shown. The encrypted transaction blob is encrypted using a virtual terminal 702 of a secure element. Therefore, the encryption here is extremely secure, so that normal processes, applications, and processors on the device cannot access the transaction data. For security, the encrypted transaction blob is designed to be decrypted only in the DTSP (i.e., the HSM of the DTSP). Initialization of the virtual terminal 702 and the reader application 704 has occurred to prepare for processing transactions as described herein.

[0111] At block 710, source application 706 can send first data to reader 704. In some examples, this starts a transaction and the source application calls a "start transaction" API. In some implementations, the first data includes sales information so that source application 706 can pass the amount of the transaction and reader 704 can determine whether it is a purchase or a refund or a verification.

[0112] At block 712, the virtual terminal prompts the user to present the second data. In some implementations, the virtual terminal displays a UI prompting the user to present a receipt for the data transfer (e.g., the data transfer may be payment information). The UI may indicate where the user should present the receipt (e.g., tap a card or present another form of payment and / or the second data).

[0113] At box 714, reader 704 signals virtual terminal 702 that a transaction is starting so that virtual terminal 702 can expect second data. At box 716, virtual terminal 702 reads second data (e.g., reads ticket or card data) and receives second data at virtual terminal 702 (rather than the processor running other applications and / or the operating system of the device). The combination of second data and first data may be referred to as transaction data. In some implementations, first data may be sales information related to a sale. In some implementations, second data may be payment information related to how payment for a sale will be presented.

[0114] Virtual terminal 702 is part of a secure element that is configured during terminal configuration. A secure element can be a dedicated location with a dedicated processor that is particularly secure so that access is restricted. The only applications that can be installed or run in a secure element are those that are added or approved by the device manufacturer. Virtual terminal 702 is such an application on a secure element. Thus, the secure element (and virtual terminal 702) is a secure area and even running general-purpose devices (e.g., Figure 1 The processor of the operating system of the device 110) is also unable to access the transaction data.

[0115] At box 718, a transaction key (TK) is generated by the virtual terminal 702 in the security element. The transaction key is a random key known only within the security element on the device. At box 720, the virtual terminal 702 then encrypts the transaction data using the TK. Now, there is encrypted transaction data and TK, but the TK is only known to the virtual terminal 702, not to the reader 704, source application 706, device, DTSP or backend. In addition, the encrypted data transfer data can be additionally processed, such as hashing.

[0116] At box 722, TK is encrypted by the PAN session public key. As described herein, the PAN session public key corresponds to the PAN session private key that the back end has. In this way, the back end can decrypt TK. In some specific implementations, the encrypted transaction data can also be encrypted for the second time by the PAN session public key. In some specific implementations, encryption can be performed by ECIES. When the virtual terminal 702 is initialized and configured, the PAN session public key is received from the terminal back end and is known to the repackaging back end, and the corresponding public key in the security element is used to encrypt TK. Now, there is 1) TK encrypted by the PAN session public key (only known to the virtual terminal 702 in the security element), and 2) encrypted transaction data encrypted by TK (and possibly also by the PAN session public key).

[0117] At box 724, the terminal kernel generates an encrypted transaction blob. The combination of encrypted transaction data and encrypted transaction keys is called an encrypted transaction blob. The encrypted transaction blob may also be referred to as an encrypted blob and a transaction blob. The encrypted transaction blob is then packaged with additional metadata (e.g., transaction profile, version, etc.). In some implementations, metadata may also be encrypted. In some implementations, metadata is encrypted in the same manner as transaction data and / or TK. In some implementations, some or all metadata may be used as a security check (e.g., version data may be used to ensure that hackers do not try to use old versions). In some implementations, metadata is not encrypted but signed by the virtual terminal 702. In this way, metadata may be verified without the need to decrypt metadata and / or other information (such as transaction data). In addition, in some examples, when encrypting, it will be determined which DTSP key encryption key (KEK) will be used for repackaging. It is important to note that KEK hashing (e.g., SHA256) is used as a divider (KDF) in the ECIES algorithm. For example, the KEK hash will correspond to the DTSP KEK (a key held by the DTSP), so it should already be known which DTSP is associated with the transaction. In other words, the DTSP must be selected at this stage, and the data transfer cannot be rerouted to another DTSP. In some examples, this is cryptographically bound, so only the DTSP key identified at this stage can be used for repackaging later at the data transfer server.

[0118] At block 726, an attestation blob may be generated. In some implementations, when decryption and verification occurs at a repackaging backend as described herein, the attestation blob is used to communicate that attestation has been performed and that the virtual terminal, secure element, and / or device has been properly authorized. In some implementations, the attestation blob is additional metadata (e.g., transaction profile, version, etc.) that can be used to verify the encrypted transaction blob without decrypting the transaction data.

[0119] At block 728, the encrypted transaction blob, attestation blob, and universal ticket data may be returned to the reader 704. Universal ticket data includes universal information that does not need to be encrypted on the device for regulatory, security, and / or privacy reasons.

[0120] exist Figure 8 800 is used to encrypt a transaction blob for transmission to DTSP 808. Here, the additional encryption is performed after the additional metadata is added. The additional metadata is repackaged by backend 810 to verify that the correct authorization of virtual terminal 802 and reader 804 has been completed and the transaction is authorized by both source application 806 and DTSP 808.

[0121] At block 812, the reader 804 is now configured to prepare a transaction payload consisting of a transaction blob, a proof blob, and a session token. Here, the session token is used to ensure that this particular transaction is authorized by both the DTSP 808 and the terminal backend (through the generation of the proof and session token). The proof blob includes metadata that can be used by the repackaging backend 810 to verify that the transaction is authorized.

[0122] At box 814, the transaction payload can now be hashed, sent back to the virtual terminal 802, and signed by the key in the secure element and / or virtual terminal 802 using the device identity certificate. First, the reader 804 can hash the transaction payload and then send it to the virtual terminal 802. The virtual terminal 802 can then sign the hashed transaction payload using a secret key associated with the device identity certificate of the virtual terminal 802. This clearly indicates that the transaction payload is generated on a specific device that has performed all of the previous steps. At box 816, the virtual terminal 802 sends the signed payload (or payload signature) to the reader 804.

[0123] At block 818, the reader 804 generates a reader blob from the encrypted and signed transaction payload. The reader blob includes the transaction payload, the payload signature, the device identity public certificate, and the session ID of the session token.

[0124] At box 820, the reader blob can now be encrypted again to be sent to the source application 806. In some specific implementations, the entire reader blob is encrypted. In some specific implementations, only the additional metadata added to the transaction blob to form the transaction payload and / or the reader blob is encrypted. The encryption is performed by the transmission server public key, which corresponds to the transmission server private key that the repackaging backend 810 has. The reason for this additional encryption is to protect the personal / device information and metadata added to the transaction blob, so that the personal / device information and / or metadata added to the transaction blob can be used to verify and authenticate the transaction data without decrypting the transaction data. In some specific implementations, the encryption is performed using ECIES. It is worth noting that all encryption described herein can be performed by ECIES and other encryption algorithms based on the keys described herein.

[0125] At block 822, the virtual terminal sends the reader blob and the generic ticket data to the source application 806. The reader blob may be referred to as Figure 1 The encrypted reader blob 186. Universal ticket data may refer to any data. Exemplary universal ticket data may include data about a transaction (e.g., data about a payment method or sale) that does not need to be encrypted for security, privacy, or regulatory reasons.

[0126] At block 824, source application 806 generates an authorization request. In some implementations, the authorization request includes the reader blob and the generic ticket data. In some implementations, the authorization request is sent in parallel with the reader blob and the generic ticket data. At block 826, source application 806 may then send the authorization request, the reader blob, and the generic ticket data to DTSP 808.

[0127] At DTSP 808, the reader blob is encrypted and the DTSP cannot obtain any transaction information. Therefore, DTSP 808 will need to send the reader blob to the repackaging backend 810. At block 828, DTSP 808 may send a repackaging request along with the reader blob to the repackaging backend 810 for decryption.

[0128] exist Fig. 9 , an exemplary flow chart 900 for decrypting a reader blob on a repackaging backend is shown. At block 902, a repackaging backend (e.g., Figure 1 The repackaging backend 150) can decrypt the reader blob using a transport server private key that corresponds to a transport server public key used to encrypt some or all of the reader blob. In some implementations, only portions of the reader blob are decrypted. In some implementations, the decryption is performed via ECIES. Decryption of the reader blob can allow the repackaging backend to access the payload signature, device identity public certificate, transaction payload, session ID. As described above, the transaction payload includes a transaction blob, a certification blob, and a session token.

[0129] At block 904, the repackaging backend may verify the session token. Verifying the session token may include verifying a signature of the session token, a format of the session token, and that the session token has not expired. Verifying the session token also includes verifying a session ID included with the reader blob against the session ID in the session token.

[0130] At block 906, the repackaging backend may verify the device identity certificate of the reader blob. For example, the repackaging backend may verify the signature of the transaction payload and the device identity certificate. Device identity signature verification means verifying that the secure element and / or device is the correct device from which the reader blob originated. In some implementations, a key is used to verify the device identity certificate.

[0131] At box 908, the device ID is verified by the repackaging backend. The device ID can be associated with a secure element and is referred to as a secure element ID (SEID). This verification can be performed by comparing the device ID stored in the attestation blob, the device ID stored in the session token, and the device ID stored in the device identity disclosure certificate. If the device IDs across different locations do not match, the entire reader blob is rejected and discarded because this indicates that a different device has opened a session, performed attestation, or been authorized to have a virtual terminal to some extent.

[0132] At block 910, the repackaging backend may verify the transaction blob signature. In some implementations, verifying the transaction blob signature involves using a certification private key.

[0133] exist Fig.10 , an exemplary sequence diagram 1000 for repackaging a transaction blob and how the transaction data is received by the DTSP 1002 is shown. At this point, the repackaging backend 1006 has the encrypted transaction key (which is encrypted by the PAN session public key) and the encrypted transaction data (which is encrypted by the TK).

[0134] At block 1012, only the encrypted TK is sent to the repackaging hardware security module (HSM) 1008. Decryption of the key requires strong security, which is why decryption of the key is done in the HSM.

[0135] At box 1014, the repackage HSM 1008 decrypts the TK (which is encrypted by the PAN session public key given to the virtual terminal) using the PAN session private key. Now the TK is in plain text in the repackage HSM 1008. As described herein, the repackage HSM 1008 has increased security features. In some specific implementations, the repackage HSM 1008 has hardware components that are separate from the rest of the repackage backend 1006. In some specific implementations, the repackage HSM 1008 includes additional physical security measures to prevent tampering. For example, the repackage HSM 1008 may include sensors that detect whether the repackage HSM 1008 is moved, thereby causing the repackage HSM 1008 to destroy all relevant data contained therein.

[0136] At block 1016, the TK is encrypted using the repackage KEK (as described herein, the repackage KEK corresponds to or is equivalent to the DTSP KEK provided to the DTSP as part of the key ceremony) so that only the DTSP 1002 (or more appropriately, the DTSP HSM 1004) can decrypt the TK using the corresponding DTSP KEK. In some implementations, the TK is encrypted into a TR31 key block. As described herein, the DTSP 1002 receives a symmetric key (DTSP KEK) corresponding to the repackage KEK in the repackage HSM 1008 during the key ceremony. The repackage KEK may also be referred to as a backend KEK. The symmetric key of the DTSP 1002 is referred to as the DTSP KEK and is stored in the DTSP HSM 1004. The backend KEK is loaded in the HSM and used to encrypt the transaction key to send it back to the DTSP 1002. As described above, the backend KEK is used to encrypt the transaction key. After the transaction key has been decrypted using the PAN session private key and re-encrypted using the backend KEK, it may be referred to as a re-encapsulated transaction key.

[0137] At block 1018, the repackaged transaction key is signed by the repackage HSM 1008. This means verifying to the DTSP 1002 that the repackage HSM 1008 has correctly decrypted and repackaged the transaction key for use by the DTSP 1002 and the DTSP HSM 1004. In some implementations, the ciphertext and some predefined elements (e.g., IV or salt) are signed by the repackage HSM 1008. This means verifying to the DTSP 1002 that the secure element (e.g., Figure 1 The data encrypted in the secure element 124) is not modified during transmission.

[0138] At block 1020, the repackaging HSM 1008 sends the repackaging transaction key to the repackaging backend 1006. In some implementations, the repackaging backend 1006 may then authenticate the repackaging using the repackaging backend certification. At block 1022, the repackaging backend 1006 may send the repackaging transaction key, the encrypted transaction blob, and the repackaging backend certification to the DTSP 1002. In some implementations, the repackaging backend 1006 also sends the signature and the associated repackaging backend certificate for verification by the DTSP 1002.

[0139] At block 1024, the DTSP 1002 may verify the repackaging backend authentication. In some implementations, the verification of the repackaging backend authentication may be verified using a signature associated with the repackaging backend authentication. This is based on a key shared between the repackaging backend 1006 and the DTSP 1002 and / or a certificate sent from the repackaging backend 1006 at block 1022. At block 1026, the DTSP 1002 may verify the repackaging HSM signature based on a key shared with the DTSP 1002 and / or based on a certificate provided by the repackaging backend 1006 at block 1022. The DTSP 1002 now has the encrypted data and the repackaging transaction key (which is encrypted using the DTSP KEK).

[0140] At block 1028, the encrypted transaction blob and the repackaged transaction key are sent to the DTSP HSM 1004. The DTSP HSM 1004 server can then be configured to decrypt the repackaged transaction key using the DTSP KEK. The partner server can then decrypt the transaction data (e.g., transaction blob) using the transaction key to obtain the transaction data that they can use to request a transaction processed by the data transfer processor. At block 1032, the DTSP HSM 1004 sends the transaction data to the DTSP 1002.

[0141] Once the DTSP 1002 receives the transaction data, the DTSP 1002 may process the transaction or send it to a data transfer processor. Once the data transfer has been processed, the DTSP 1002 may receive information from the data transfer processor indicating whether the data transfer is approved or rejected, and this information may be shared with the source application. The source application may then present such information on the device's UI.

[0142] exist Fig.11 , an exemplary diagram 1100 for decrypting a repackaged transaction blob 1102 (which may include an encrypted transaction blob and a repackaged transaction key) is shown. DTSP 1140 and DTSP HSM 1150 participate in the decryption. DTSP 1140 receives the repackaged transaction blob 1102 from the repackage backend. The repackaged transaction blob 1102 includes ciphertext 1103, IV 1104, and transaction key block 1106, all of which can be identified as separate fragments of the repackaged transaction blob. Ciphertext 1103 and IV 1104 represent encrypted transaction data, which includes transaction data and may include part or all of first data and second data. As described above, the data transfer data may include bills and user data.

[0143] Decryption in DTSP 1140 is handled by DTSP HSM 1150. DTSP HSM is a special hardware module or system that is designed for encryption and is particularly secure, as described above. In some implementations, DTSP HSM 1150 is a subsystem of DTSP 1140.

[0144] At block 1110, HSM 1150 decrypts transaction key block 1106 using DTSP KEK 1212. When logging into DTSP 1140 to use a virtual terminal system as described herein, the system backend (e.g., Figure 1 Repackaging backend 150 and / or Figure 1 The DTSP KEK 1112 is exchanged between the terminal backend 130 of the DTSP protocol. The decryption will generate the transaction key 1124 (e.g., as shown in FIG. Figure 7 The transaction key).

[0145] At block 1122, HSM 1150 may then decrypt the encrypted transaction data from ciphertext 1103 and IV 1104 using transaction key 1124. This is similar to reference Figure 7 The transaction data 1130 is the same as the encrypted transaction data. Once the transaction data has been decrypted from the ciphertext 1103 and IV 1104, the HSM 1150 may then send the transaction data 1130 to the DTSP 1140. The DTSP 1140 may extract the second data and the first data from the transaction data for processing the data transfer and / or transaction.

[0146] Fig.12 A flow chart illustrating an exemplary process 1200 for the techniques described herein is shown according to at least one example. The process 1200 is shown as a logical flow chart, each operation of which represents a series of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, an operation represents a computer-executable instruction stored on one or more computer-readable storage media that performs the operation when executed by one or more processors. In general, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform specific functions or implement specific data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the operations may be combined in any order and / or in parallel to implement the process.

[0147] At block 1202 , process 1200 includes receiving, by a first application on a user device, a terminal profile based at least in part on account profile data, the terminal profile including a profile identifier.

[0148] At block 1204 , process 1200 includes initializing, by the first application, a virtual terminal system of the user device based at least in part on the profile identifier, the virtual terminal system being configured for one or more data transfers, and the virtual terminal including a reader on the user device.

[0149] At block 1206 , process 1200 includes receiving, at a first user interface of a first application, a request for a data transfer of the one or more data transfers, the request including a transfer value corresponding to the data transfer.

[0150] At block 1208 , process 1200 includes presenting, by the reader on a second user interface, a representation of the request for the data transfer.

[0151] At block 1210 , process 1200 includes receiving, via the virtual terminal system, data corresponding to the data transfer, the data including a transfer value and account information.

[0152] At block 1212, process 1200 includes transmitting, by the reader, the received data to the first application.

[0153] At block 1214 , process 1200 includes presenting, via a second user interface of the reader, a visual representation of a response to the request for the data transfer, the response received by the first application.

[0154] Fig.13 A flow chart illustrating an exemplary process 1300 for the techniques described herein is shown according to at least one example. The process 1300 is shown as a logical flow chart, each operation of which represents a series of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, an operation represents a computer-executable instruction stored on one or more computer-readable storage media that performs the operation when executed by one or more processors. In general, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform specific functions or implement specific data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the operations may be combined in any order and / or in parallel to implement the process.

[0155] At box 1302, process 1300 includes transmitting virtual terminal kernel configuration data by a first server device to a secure element of a user device, the virtual terminal kernel configuration data being used to configure a first public encryption key for the virtual terminal, the virtual terminal being associated with the secure element, the first public encryption key being used to generate an encrypted second encryption key by encrypting the second encryption key, and the second encryption key being used to generate an encrypted data payload by encrypting the data payload.

[0156] At block 1304 , process 1300 includes receiving, by the first server device from the second server device, a request for a data payload, the request including the encrypted data payload and the encrypted second encryption key.

[0157] At block 1306, process 1300 includes decrypting, by the first server device, the encrypted second encryption key using a third private encryption key that corresponds to the first public encryption key.

[0158] At block 1308, process 1300 includes generating, by the first server device, a repackaged second encryption key by encrypting the second encryption key using a fourth encryption key corresponding to a fifth encryption key, the fifth encryption key being associated with the second server device.

[0159] At block 1310 , process 1300 includes transmitting, by a first server device to a second server device, a repackaged second encryption key and an encrypted data payload.

[0160] Fig.14 A flow chart illustrating an exemplary process 1400 for the techniques described herein is shown according to at least one example. The process 1400 is shown as a logical flow chart, each operation of which represents a series of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, an operation represents a computer-executable instruction stored on one or more computer-readable storage media that performs the operation when executed by one or more processors. Generally speaking, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform specific functions or implement specific data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the operations may be combined in any order and / or in parallel to implement the process.

[0161] At block 1402 , process 1400 includes receiving, by a user device from a first server device, virtual terminal kernel configuration data for configuring a first public encryption key for a virtual terminal of the user device, and the virtual terminal is associated with a secure element of the user device.

[0162] At block 1404 , process 1400 includes generating, by a user device, a data payload associated with a request for a data transfer.

[0163] At block 1406 , process 1400 includes generating, by the user device, a second encryption key.

[0164] At block 1408 , process 1400 includes generating, by the user device, an encrypted data payload by encrypting the data payload using a second encryption key.

[0165] At block 1410, process 1400 includes generating, by a user device, an encrypted second encryption key by encrypting the second encryption key with a first public encryption key.

[0166] At block 1412 , process 1400 includes requesting, by the user device, from the second server device, authorization of a request for a value transfer, the request for a value transfer including the encrypted data payload and the encrypted second encryption key.

[0167] At block 1414 , process 1400 includes receiving, by the user device from the second server device, authorization for the request for the value transfer, the second server device evaluating the data payload after the first server device decrypts the encrypted data payload and the encrypted second encryption key.

[0168] The foregoing describes exemplary methods, systems, and computer-readable media for enabling a virtual terminal to be used to receive touchless data transfers on a mobile device. Some or all of these systems and methods may, but need not, be at least partially implemented by, for example, at least Figures 1 to 14 Although many examples are described above with reference to personal and / or payment related information, it should be understood that these techniques can be used to manage any type of user information or non-user information (e.g., any type of data). In addition, various non-limiting examples are described in the foregoing description. For the purpose of explanation, many specific configurations and details are set forth in order to provide a thorough understanding of the examples. However, it should also be apparent to those skilled in the art that some examples can be implemented without these specific details. In addition, well-known features are sometimes omitted or simplified to prevent confusion with the examples described herein.

[0169] Fig.15 1 is a block diagram of an exemplary electronic device 1500. Device 1500 generally includes computer-readable media 1502, a processing system 1504, an input / output (I / O) subsystem 1506, wireless circuitry 1508, and audio circuitry 1510 including a speaker 1512 and a microphone 1514. These components may be coupled via one or more communication buses or signal lines 1503. Device 1500 may be any portable electronic device, including a handheld computer, a tablet computer, a mobile phone, a laptop computer, a tablet device, a media player, a personal digital assistant (PDA), a key fob, a car key, an access card, a multifunction device, a mobile phone, a portable gaming device, a headset, etc., including combinations of two or more of these items.

[0170] Obviously, Fig.15 The architecture shown is only one example of an architecture for device 1500 , and device 1500 may have more or fewer components or components in a different configuration than shown. Fig.15 The various components shown may be implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing circuits and / or application specific integrated circuits.

[0171] The wireless circuit 1508 is used to send and receive information over a wireless link or network to conventional circuits of one or more other devices (such as an antenna system, a radio frequency (RF) transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec (CODEC) chipset, memory, etc.). The wireless circuit 1508 can use various protocols, such as those described herein. In various embodiments, the wireless circuit 1508 is capable of establishing and maintaining communications with other devices using one or more communication protocols including time division multiple access (TDMA), code division multiple access (CDMA), global system for mobile communications (GSM), enhanced data GSM environment (EDGE), wideband code division multiple access (W-CDMA), LTE, advanced long term evolution (LTE), Wi-Fi (such as Institute of Electrical and Electronics Engineers (IEEE) 802.11a, IEEE802.11b, IEEE 802.11g and / or IEEE 802.11n), Bluetooth, Wi-MAX, voice over Internet protocol technology (VoIP), near field communication protocol (NFC), protocols for email, instant messaging and / or short message service (SMS), or any other suitable communication protocol, including communication protocols that have not been developed as of the filing date of this document.

[0172] The wireless circuit 1508 is coupled to the processing system 1504 via the peripheral device interface 1516. The peripheral device interface 1516 may include conventional components for establishing and maintaining communications between peripheral devices and the processing system 1504. Voice information and data information received by the wireless circuit 1508 (e.g., in a voice recognition or voice command application) is sent to the one or more processors 1518 via the peripheral device interface 1516. The one or more processors 1518 can be configured to process various data formats of the one or more applications 1534 stored on the medium 1502.

[0173] The peripheral device interface 1516 couples the input peripheral devices and output peripheral devices of the device 1500 to one or more processors 1518 and the computer-readable medium 1502. The one or more processors 1518 communicate with the computer-readable medium 1502 via the controller 1520. The computer-readable medium 1502 may be any device or medium capable of storing code and / or data for use by one or more processors 1518. The computer-readable medium 1502 may include a memory hierarchy, including cache, main memory, and auxiliary memory. The memory hierarchy may be implemented using any combination of random access memory (RAM) (e.g., static random access memory (SRAM), dynamic random access memory (DRAM), double data random access memory (DDRAM)), read-only memory (ROM), flash memory, magnetic storage devices, and / or optical storage devices (such as disk drives, tapes, CDs (optical disks), and DVDs (digital video disks)). In some embodiments, the peripheral device interface 1516, one or more processors 1518, and the controller 1520 may be implemented on a single chip such as the processing system 1504. In some other examples, they may be implemented on separate chips.

[0174] Processor 1518 may include hardware and / or software elements that perform one or more processing functions, such as mathematical operations, logical operations, data manipulation operations, data transfer operations, control the receipt of user input, control the output of information to the user, etc. Processor 1518 may be embodied as one or more hardware processors, microprocessors, microcontrollers, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), etc. As described above, Figure 1 The secure element 154 is separate from the processor 1518 contemplated herein.

[0175] Device 1500 may also include a power system 1542 for powering the various hardware components. Power system 1542 may include a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, power fault detection circuits, power converters or inverters, power status indicators (e.g., light emitting diodes (LEDs)), and any other components typically associated with the generation, management, and distribution of power in a mobile device.

[0176] In some embodiments, device 1500 includes camera 1544. In some embodiments, device 1500 includes sensor 1546. Sensors can include accelerometers, compasses, gyroscopes, pressure sensors, audio sensors, light sensors, barometers, etc. Sensor 1546 can be used to sense aspects of a location, such as an auditory marker or a light marker of a location.

[0177] In some embodiments, the device 1500 may include a GPS receiver, sometimes referred to as a GPS unit 1548. The mobile device may use a satellite navigation system such as a global positioning system (GPS) to obtain positioning information, timing information, altitude, or other navigation information. During operation, the GPS unit may receive signals from GPS satellites flying around the earth. The GPS unit analyzes the signals to estimate the transmission time and distance. The GPS unit may determine the current location (current position) of the mobile device. Based on these estimates, the mobile device may determine the position, altitude, and / or current speed. The position may be a geographic coordinate, such as latitude information and longitude information.

[0178] The one or more processors 1518 execute various software components stored in the medium 1502 to perform various functions of the device 1500. In some embodiments, the software components include an operating system 1522, a communication module 1524 (or an instruction set), a location module 1526 (or an instruction set), and other applications 1534 (or an instruction set).

[0179] The operating system 1522 may be any suitable operating system, including iOS, Mac OS, Darwin, a real-time operating system (RTXC), LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks. The operating system may include various programs, instruction sets, software components, and / or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.), and facilitate communication between various hardware and software components.

[0180] The communication module 1524 facilitates communication with other devices through one or more external ports 1536 or via the wireless circuit 1508, and includes various software components for processing data received from the wireless circuit 1508 and / or the external port 1536. The external port 1536 (e.g., a universal serial bus (USB), FireWire, Lightning connector, 60-pin connector, etc.) is suitable for coupling to other devices directly or indirectly through a network (e.g., the Internet, a wireless local area network (LAN), etc.).

[0181] The location / motion module 1526 can help determine the current location (e.g., coordinates or other geographic location identifiers) and movement of the device 1500. Modern positioning systems include satellite-based positioning systems such as the Global Positioning System (GPS), cellular network positioning based on "cell IDs," and Wi-Fi positioning technology based on Wi-Fi networks. GPS also relies on the visibility of multiple satellites to determine location estimates, which may not be visible (or have weak signals) indoors or in "urban canyons." In some embodiments, the location / motion module 1526 receives data from the GPS unit 1548 and analyzes the signal to determine the current position of the mobile device. In some embodiments, the location / motion module 1526 can use Wi-Fi or cellular location technology to determine the current location. For example, the location of the mobile device can be estimated using knowledge of nearby cell locations and / or Wi-Fi access points and knowledge of their locations. Information identifying the Wi-Fi or cellular transmitter is received at the wireless circuit 1508 and transmitted to the location / motion module 1526. In some embodiments, the location module receives one or more transmitter IDs. In some embodiments, the sequence of transmitter IDs may be compared to a reference database (e.g., a cell ID database, a Wi-Fi reference database) that maps or associates transmitter IDs to location coordinates of corresponding transmitters, and based on the location coordinates of the corresponding transmitters, an estimated location coordinate of the device 1500 is calculated. Regardless of the particular positioning technology used, the position / motion module 1526 receives information from which a position fix can be derived, interprets the information, and returns location information, such as geographic coordinates, latitude / longitude, or other location fix data.

[0182] The one or more applications 1534 on the device 1500 may include any application installed on the device 1500, including but not limited to a browser, address book, contact list, email, instant messaging, social networking, word processing, keyboard emulation, widgets, JAVA-enabled applications, encryption, digital rights management, voice recognition, voice replication, music player (for playback of recorded music stored in one or more files such as MP3 or AAC files), etc. As described above, the one or more applications 1534 on the device 1500 may include any application installed on the device 1500, including but not limited to a browser, address book, contact list, email, instant messaging, social networking, word processing, keyboard emulation, widgets, JAVA-enabled applications, encryption, digital rights management, voice recognition, voice replication, music player (for playback of recorded music stored in one or more files such as MP3 or AAC files), etc. Figure 1 Different applications are installed in the secure element 124. Figure 1 These applications in the secure element 124 are installed by the device manufacturer and cannot be added and / or removed by the end user.

[0183] There may be other modules or instruction sets (not shown), such as a graphics module, a time module, and the like. For example, the graphics module may include various conventional software components for rendering, animating, and displaying graphical objects (including but not limited to text, web pages, icons, digital images, animations, and the like) on a display surface. In another example, the timer module may be a software timer. The timer module may also be implemented in hardware. The timer module may maintain various timers for any number of events.

[0184] I / O subsystem 1506 may be coupled to a display system (not shown) which may be a touch-sensitive display. The display displays visual output to the user in a graphical user interface (GUI). The visual output may include text, graphics, video, and any combination thereof. Some or all of the visual outputs may correspond to user interface objects. Although the display may use LED (light emitting diode), LCD (liquid crystal display) technology, or LPD (light emitting polymer display) technology, other display technologies may be used in other embodiments.

[0185] In some embodiments, I / O subsystem 1506 may include a display and user input devices such as keyboards, mice and / or touch pads. In some embodiments, I / O subsystem 1506 may include a touch-sensitive display. The touch-sensitive display may also accept input from a user based at least in part on tactile and / or tactile contact. In some embodiments, the touch-sensitive display forms a touch-sensitive surface for accepting user input. The touch-sensitive display / surface (together with any associated modules and / or instruction sets in computer-readable medium 1502) detects contact (and any movement or release of contact) on the touch-sensitive display, and converts the detected contact into interaction with a user interface object, such as one or more soft keys displayed on a touch screen when contact occurs. In some embodiments, the contact point between the touch-sensitive display and the user corresponds to one or more fingers of the user. The user may contact the touch-sensitive display using any suitable object or attachment such as a stylus, pen, finger, etc. The touch-sensitive display surface can use any suitable touch-sensitive technology to detect contact and any movement or release thereof, including capacitive technology, resistive technology, infrared technology, and surface acoustic wave technology, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch-sensitive display.

[0186] In addition, the I / O subsystem 1506 may also be coupled to one or more other physical control devices (not shown), such as buttons, keys, switches, rocker buttons, dials, slide switches, joysticks, LEDs, etc., for controlling or performing various functions, such as power control, speaker volume control, phone ring volume, keyboard input, scrolling, holding, menus, lock screens, clearing and ending communications, etc. In some embodiments, in addition to the touch screen, the device 1500 may include a touch pad (not shown) for activating or deactivating specific functions. In some embodiments, the touch pad is a touch-sensitive area of ​​the device that, unlike a touch screen, does not display visual output. The touch pad may be a touch-sensitive surface separate from a touch-sensitive display or an extension of a touch-sensitive surface formed by the touch-sensitive display.

[0187] In some embodiments, an application executed on a user's device may be used to perform some or all of the operations described herein. Circuits, logic modules, processors, and / or other components may be configured to perform the various operations described herein. It should be understood by those skilled in the art that such configuration may be accomplished by design, setup, interconnection, and / or programming of specific components, depending on the specific implementation, and again depending on the specific implementation, the configured components may be reconfigurable or not reconfigurable for different operations. For example, a programmable processor may be configured by providing appropriate executable code; a dedicated logic circuit may be configured by appropriately connecting logic gates and other circuit elements; and so on.

[0188] Any software component or function described in this patent application can be implemented as a software code to be executed by a processor using any suitable computer language such as Java, C++ or Perl, using, for example, conventional or object-oriented techniques. The software code can be stored as a series of instructions or commands on a computer-readable medium for storage and / or transmission, and suitable media include random access memory (RAM), read-only memory (ROM), magnetic media such as a hard drive or floppy disk, or optical media such as a compact disk (CD) or DVD (digital versatile disk), flash memory, etc. The computer-readable medium can be any combination of such storage devices or transmission devices.

[0189] Such programs can also be encoded and transmitted using carrier signals, which are suitable for transmitting via wired networks, optical networks and / or wireless networks that meet various protocols, including the Internet. Similarly, the computer-readable medium according to the embodiment of the present disclosure can be created using data signals encoded by such programs. The computer-readable medium encoded with program code can be encapsulated with compatible devices or provide (for example, downloading via the Internet) independently of other devices. Any such computer-readable medium can exist in or be located in a single computer program product (for example, a hard drive or an entire computer system), and can exist in or be located in different computer program products in a system or network. The computer system may include a monitor, a printer or other suitable displays for providing any result mentioned herein to the user.

[0190] Computer programs incorporating various features of the present disclosure may be encoded on various computer-readable storage media; suitable media include disks or tapes, optical storage media such as compact disks (CDs) or DVDs (digital versatile disks), flash memory, etc. Computer-readable storage media encoded with program code may be packaged with compatible devices or provided separately from other devices. In addition, program code may be encoded and transmitted via wired optical and / or wireless networks (including the Internet) that conform to a variety of protocols, thereby allowing distribution, for example, via Internet downloads. Any such computer-readable medium may reside in or be located in a single computer product (e.g., a solid-state drive, a hard drive, a CD, or an entire computer system), and may be present in or located in different computer products within a system or network. The computer system may include a monitor, a printer, or other suitable display for providing any results mentioned herein to a user.

[0191] Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the present disclosure as set forth in the claims.

[0192] Other variations are within the spirit of the present disclosure. Thus, while the disclosed technology is susceptible to various modifications and alternative constructions, certain illustrative examples thereof are shown in the drawings and have been described in detail above. However, it should be understood that it is not intended to limit the present disclosure to the particular forms disclosed, but on the contrary, it is intended to cover all modifications, alternative constructions, and equivalent forms that fall within the spirit and scope of the present disclosure as defined by the appended claims.

[0193] The use of the terms "one" and "an" and "the" and similar indicators in the context of describing the disclosed examples (especially in the context of the following claims) will be interpreted as covering the singular and plural, unless otherwise stated or clearly contradicted by the context. Unless otherwise stated, the terms "include", "have", "include" and "contain" should be interpreted as open terms (e.g., meaning "including but not limited to"). The term "connected" is interpreted as being partially or completely included, attached or joined together even if there are intervening things. Unless otherwise stated herein, the description of the numerical range herein is only intended to be used as a simple method of referring to each individual value falling within the range individually, and each individual value is incorporated into the specification as if quoted separately in this article. All methods described herein can be performed in any suitable order, unless otherwise stated herein or otherwise clearly contradicted by the context. Unless otherwise stated, the use of any and all examples or exemplary language (e.g., "such as") provided herein is only intended to better illustrate the examples of the present disclosure, and will not limit the scope of the present disclosure. Any language in the specification should not be interpreted as indicating that any undeclared element is essential to the practice of the present disclosure.

[0194] Unless specifically stated otherwise, disjunctive language such as the phrase "at least one of X, Y, or Z" is understood in context as generally used to present an item, term, etc., which may be X, Y, or Z, or any combination thereof (e.g., X, Y, and / or Z). Thus, such disjunctive language is generally not intended to, and should not, imply that certain examples require that at least one of X, at least one of Y, or at least one of Z each be present.

[0195] Preferred examples of the present disclosure are described herein, including the best mode known to the inventor for carrying out the present disclosure. After reading the foregoing description, variations of those preferred examples may become apparent to those of ordinary skill in the art. The inventor expects that the technician will appropriately adopt such variations, and the inventor intends to practice the present disclosure in a manner different from that specifically described herein. Therefore, as permitted by applicable law, the present disclosure includes all modifications and equivalents of the subject matter recorded in the claims attached to the present disclosure. In addition, unless otherwise noted herein or clearly contradictory to the context, the present disclosure includes any combination of all possible variations of the above-mentioned elements.

[0196] All references, including publications, patent applications, and patents, cited herein are hereby incorporated by reference to the same extent as if each reference were individually and specifically indicated to be incorporated by reference and were set forth in its entirety herein.

[0197] As described above, one aspect of the present technology is to share personal and / or payment-related data between user devices, which may include storing some aspect of the data on a server. The present disclosure contemplates that, in some instances, these collected data may include personally identifiable information (PII) data that uniquely identifies or can be used to contact or locate a specific person. Such personal information data may include demographic data, location-based data, phone numbers, email addresses, Twitter IDs, home addresses, data or records related to a user's credit card information, date of birth, or any other identifying information or personal or health information.

[0198] The present disclosure recognizes that the use of such personal information data in the present invention technology can be used to benefit users. For example, personal information data can be used to process data transfers or payment transactions with sources. In addition, the present disclosure also anticipates other uses of personal information data that benefit users.

[0199] The disclosure anticipates that entities responsible for the collection, analysis, disclosure, transmission, storage or other uses of such personal information data will comply with sound privacy policies and / or privacy measures. Specifically, such entities should implement and adhere to the use of privacy policies and practices that are recognized as meeting or exceeding the industry or government requirements for maintaining the privacy and security of personal information data. Users can easily access such policies and should be updated as the collection and / or use of data changes. Personal information from users should be collected for legal and reasonable entity purposes and should not be shared or sold outside these legal purposes. In addition, such collection / sharing should be carried out after receiving the user's informed consent. In addition, such entities should consider taking any necessary steps to protect and safeguard access to such personal information data, and ensure that other entities with access to personal information data comply with their privacy policies and procedures. In addition, such entities can subject themselves to third-party assessments to prove that they comply with widely accepted privacy policies and practices. In addition, policies and practices should be adapted to specific types of personal information data collected and / or accessed, and to applicable laws and standards including considerations of special jurisdictions. For example, in the United States, the collection or access of certain health data may be governed by federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA); while health data in other countries may be subject to other regulations and policies and should be handled accordingly. Therefore, different privacy practices for different types of personal data should be maintained in each country.

[0200] Regardless of the foregoing, the present disclosure also contemplates implementation schemes in which users selectively block the use or access of personal information data. That is, the present disclosure contemplates hardware elements and / or software elements to prevent or block access to such personal information data. For example, with respect to advertising delivery services or other services related to health record management, the technology of the present invention may be configured to allow users to choose to "opt in" or "opt out" to participate in the collection of personal information data at any time during or after registration for the service. In addition to providing "opt-in" and "opt-out" options, the present disclosure also contemplates providing notifications related to access or use of personal information. For example, a user may be notified that their personal information data will be accessed when downloading an application, and then reminded again just before the personal information data is accessed by the application.

[0201] In addition, it is the intention of the present disclosure that personal information data should be managed and processed in a manner that minimizes the risk of unintentional or unauthorized access or use. Once the data is no longer needed, the risk can be minimized by limiting the collection of data and deleting the data. In addition, and when applicable, including in certain health-related applications, data de-identification can be used to protect the privacy of users. De-identification can be facilitated by removing specific identifiers (e.g., date of birth), controlling the amount or specificity of stored data (e.g., collecting location data at the city level rather than at the address level), controlling how the data is stored (e.g., aggregating data between users), and / or other methods when appropriate.

[0202] Therefore, while the present disclosure broadly covers the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that various embodiments may also be implemented without access to such personal information data. That is, the various embodiments of the present technology will not fail to function properly due to the lack of all or a portion of such personal information data. The embodiments may be implemented using a computer program product that includes computer programs / instructions that, when executed by a processor, cause the processor to perform any of the techniques / methods described in the present disclosure.

Claims

1. A method comprising: receiving, by a first application on a user device, a terminal profile based at least in part on the account profile data, the terminal profile including a profile identifier; initializing, by the first application at least in part based on the profile identifier, a virtual terminal system of the user device, the virtual terminal system being configured for one or more data transfers and the virtual terminal comprising a reader on the user device; receiving, at a first user interface of the first application, a request for a data transfer of the one or more data transfers, the request including a transfer value corresponding to the data transfer; presenting, by the reader, on a second user interface, a representation of the request for the data transfer; receiving, via the virtual terminal system, data corresponding to the data transfer, the data including the transfer value and account information; transmitting, by the reader, the received data to the first application; as well as A visual representation of a response to the request for the data transfer is presented via the second user interface of the reader, the response being received by the first application.

2. The method of claim 1 further comprising sending, by the first application, account profile data associated with the user device to a server device. 3 . The method of claim 2 , wherein the server device generates the terminal profile corresponding to the account profile data.

4. The method according to claim 2, further comprising: Requesting a token from the server device by the first application; receiving, by the first application, the token from the server device; as well as The reader is initialized based at least in part on the token.

5. The method according to any one of claims 1 to 4, further comprising encrypting, by the reader, the received data corresponding to the data transfer.

6. The method of claim 5, wherein the virtual terminal system further comprises a short-range data receiving device and a security element.

7. The method of claim 6, wherein the data corresponding to the data transfer is received via the short-range receiving device of the virtual terminal system.

8. The method of claim 6, wherein the short-range data receiving device comprises a card reader.

9. The method of claim 8, wherein the card reader comprises an internal near field communication (NFC) card reader.

10. The method of claim 6, wherein the received data corresponding to the data transfer is encrypted within the secure element of the virtual terminal system to generate encrypted data.

11. The method according to claim 10, further comprising: transmitting, by the first application, the encrypted data to a server device; as well as The response to the request for the data transfer is received by the first application from the server device.

12. A computing device comprising: one or more memories; and One or more processors in communication with the one or more memories and configured to execute instructions stored in the one or more memories so that the computing device performs the method according to any one of claims 1 to 11.

13. A non-transitory computer-readable storage medium having program instructions stored thereon, the program instructions, when executed by one or more processors of a computing device, causing the computing device to perform the method of any one of claims 1 to 11.

14. A method comprising: transmitting, by a first server device, to a secure element of a user device, virtual terminal kernel configuration data for configuring a first public encryption key for a virtual terminal associated with the secure element, the first public encryption key for generating an encrypted second encryption key by encrypting a second encryption key, and the second encryption key for generating an encrypted data payload by encrypting a data payload; receiving, by the first server device from a second server device, a request for the data payload, the request comprising the encrypted data payload and the encrypted second encryption key; decrypting, by the first server device, the encrypted second encryption key using a third private encryption key corresponding to the first public encryption key; generating, by the first server device, a repackaged second encryption key by encrypting the second encryption key using a fourth encryption key corresponding to a fifth encryption key, the fifth encryption key being associated with the second server device; as well as The repackaged second encryption key and the encrypted data payload are transmitted by the first server device to the second server device.

15. The method of claim 14, wherein the fourth encryption key and the fifth encryption key are associated symmetric encryption keys.

16. The method of claim 14 or 15, wherein decrypting the encrypted second encryption key using a third private encryption key is performed on a hardware security module.

17. The method of claim 16, wherein the hardware security module is configured to be physically immune to electronic and physical interference.

18. The method according to any one of claims 14 to 17, wherein the second encryption key is generated by the virtual terminal on the user equipment.

19. The method of any one of claims 14 to 18, further comprising receiving a kernel token from the user device, the kernel token indicating that the second server device has authorized the user device to generate one or more data payloads.

20. The method according to claim 19, further comprising: receiving a reader token from the user device, the reader token comprising first data associated with the device and second data associated with the second server device; determining that the reader token is valid by checking the first data and the second data; generating the kernel token based at least in part on one or more of the first data and the second data; as well as The kernel token is sent to the user device.

21. The method according to any one of claims 14 to 20, further comprising: sending a session token to the user device, the session token indicating that the second server device has authorized the user device to generate the data payload, and the data payload is to be processed by the second server device; as well as The session token is verified, the request from the second server device for the data payload also including the session token.

22. A first server device, comprising: one or more memories; and One or more processors in communication with the one or more memories and configured to execute instructions stored in the one or more memories so that the first server device performs the method according to any one of claims 14 to 21.

23. A non-transitory computer-readable storage medium having program instructions stored thereon, wherein when the program instructions are executed by one or more processors of a first server device, the first server device executes the method according to any one of claims 14 to 21.

24. A method comprising: Receiving virtual terminal kernel configuration data from a first server device by a user device, the virtual terminal kernel configuration data being used to configure a first public encryption key for a virtual terminal of the user device, and the virtual terminal being associated with a security element of the user device; generating, by the user device, a data payload associated with a request for a data transfer, Generating, by the user equipment, a second encryption key; generating, by the user device, an encrypted data payload by encrypting the data payload using the second encryption key; generating, by the user device, an encrypted second encryption key by encrypting the second encryption key using the first public encryption key; requesting, by the user device, from a second server device, authorization of a request for a value transfer, the request for a value transfer comprising the encrypted data payload and the encrypted second encryption key; An authorization for the request for a value transfer is received by the user device from the second server device, which evaluates the data payload after the first server device decrypts the encrypted data payload and the encrypted second encryption key.

25. The method of claim 24, wherein the secure element is part of a user device, the secure element being a separate hardware module configured for security and encryption, the secure element being separate from an application processor on the user device.

26. The method of claim 25, wherein generating the second encryption key and generating the encrypted data payload are performed by the secure element.

27. The method of any one of claims 24 to 26, further comprising sending a kernel token to the first server device, the kernel token indicating that the second server device has authorized the user device to generate one or more data payloads.

28. The method according to claim 27, further comprising: sending a reader token to the first server device, the reader token comprising first data associated with the user device and second data associated with the second server device; receiving the kernel token from the first server device, the kernel token indicating that the reader token is valid; as well as A request for the virtual terminal kernel configuration data is sent to the first server device, the request including the kernel token.

29. The method according to any one of claims 24 to 28, further comprising: receiving a session token from the first server device, the session token indicating that the first server device has authorized the user device to generate the data payload, the data payload to be processed by the second server device; as well as The session token is verified, the request from the server device for the data payload also including the session token.

30. A method according to any one of claims 24 to 29, wherein the second encryption key is known only to the secure element.

31. A computing device comprising: one or more memories; and One or more processors in communication with the one or more memories and configured to execute instructions stored in the one or more memories so that the computing device performs the method according to any one of claims 24 to 30.

32. A non-transitory computer-readable storage medium having program instructions stored thereon, the program instructions, when executed by one or more processors of a computing device, causing the computing device to perform the method according to any one of claims 24 to 30.