Chip card socket communication
By integrating the processor, memory and network interface in the chip card, and using multiple logical ports to establish multiple communication channels in the socket communication mode, the problem of insufficient support for network communication by the chip card is solved, and multi-application parallelism is realized Communication and flexible communication protocol adaptability.
Patent Information
- Application Number
- CN201980043838.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-06-29
- Filing Date
- 2019-06-28
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-06-28
AI Technical Summary
Existing chip cards lack native support for network communication, especially with the Internet, and can only establish a communication channel between an application and the card reader.
The integrated circuit chip card is equipped with a processor, memory and network interface, capable of establishing multiple communication channels through multiple logical ports in socket communication mode, supporting communication of multiple applications, and receiving the indicated communication mode signal at an external device Then configure the network interface to adapt to different communication protocols.
It realizes multiple communication channel support between the chip card and external devices, allows multiple applications to communicate in parallel, improves communication efficiency and flexibility, adapts to different communication protocols, and enhances the ability to support network communication.
Smart Images

Figure CN112368714B_ABST
Abstract
Description
[0001] Cross-reference to related applications
[0002] This application claims the benefit of the filing date of U.S. Provisional Application No. 62 / 692,359, filed on June 29, 2018, which is incorporated herein by reference in its entirety for all purposes. Background Art
[0003] Usually use the protocol called application protocol data unit (APDU), perform and mobile device, identification smart card, financial smart card or meet ISO 7816 and / or ISO 14443 other integrated circuit chip card used in the security element and user identity module (SIMS) and other chip cards communicate.APDU protocol provides the command sent to the chip card from the card reader, and provides the response sent to the card reader from the chip card.APDU command and response are transmitted continuously through the contact or contactless interface on the chip card.Although multiple applications can be stored on the chip card, only one application can establish a communication channel between the chip card and the card reader.In addition, current chip cards lack the native support for network communication with, for example, the Internet.
[0004] Embodiments of the present invention address these and other problems individually and collectively. Summary of the invention
[0005] An enhanced technology for communication with an integrated circuit chip card or smart card is disclosed. The integrated circuit chip card may include a processor, a memory storing a plurality of applications executable by the processor, an input / output (I / O) interface, and a network interface coupled to the (I / O) interface. The network interface may implement a plurality of logical ports, and the network interface may be configured to select between a plurality of communication protocols to communicate with an external device in a socket communication mode. The network interface may be configured to establish a plurality of communication channels between the external device and the integrated circuit chip card using the plurality of logical ports, and each of the communication channels may support communication with one of the plurality of applications.
[0006] The process of communicating with an integrated circuit chip card or a smart card may include receiving, by the integrated circuit chip card, a signal from an external device indicating a communication mode used by the external device. The process may also include determining that the communication mode is a socket communication mode. Then, the network interface of the integrated circuit chip card may be configured in the socket communication mode to enable it to establish multiple communication channels on multiple logical ports to communicate with multiple applications installed on the integrated circuit chip card.
[0007] For further details about the embodiments of the present invention, please refer to the detailed description and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A conceptual diagram illustrating socket communications according to some embodiments.
[0009] Figure 2 A block diagram of an integrated circuit chip card is shown in accordance with some embodiments.
[0010] Figure 3 A flow chart illustrating an integrated circuit chip card communication process according to some embodiments.
[0011] Figure 4 A block diagram of a system according to some embodiments is shown. DETAILED DESCRIPTION
[0012] Before discussing the embodiments of the present invention, some terms may be described in further detail.
[0013] A "socket" may include an endpoint for sending or receiving data. In practice, a socket generally refers to a socket in an Internet Protocol (IP) network (where a socket may be referred to as an Internet socket), in particular for the Transmission Control Protocol (TCP), which is a protocol for one-to-one connections. In this case, a socket may be associated with a specific socket address, i.e., an IP address and a port number. In standard Internet protocols TCP and UDP, a socket address may be a combination of an IP address and a port number. A socket may include multiple logical ports.
[0014] "Logical ports" may include communication ports that provide an internal addressing method to a machine. Logical ports may act as virtual communication channels. Logical ports may be part of TCP / IP networking. Logical ports may allow software applications to share hardware resources without affecting each other's hardware resources. A device may manage the communication traffic that propagates through its virtual ports. A network firewall may also exercise some control over the flow of traffic on each logical port for security purposes.
[0015] "Physical port" can include a physical communication port of a machine. A physical port can act as a physical communication channel. A physical network port can provide a wired connection for computers, routers, modems, and other peripheral devices. Several different types of physical ports can be provided on computer network hardware. A physical port relative to a virtual or logical port is an interface on a computer into which a device connector can be inserted. Examples of physical ports can include RJ45 ports (Ethernet / LAN / NIC ports), serial ports (RS-232), USB ports, contact chips, etc. A physical port can also be associated with a transceiver to provide a wireless or contactless connection.
[0016] An "application" may include a program and / or piece of software that fulfills a specific purpose.
[0017] An "integrated circuit chip card" may include a physical electronic authorization device. An integrated circuit chip card may be used to control access to a resource. In some embodiments, an integrated circuit chip card may include a card substrate with an embedded integrated circuit. In some embodiments, an integrated circuit chip card may have a wallet-sized card or a smaller form factor (e.g., a SIM card). An integrated circuit chip card may provide personal identification, authentication, data storage, and application processing functions. An integrated circuit chip card may store any appropriate application (e.g., identification application, transportation application, interaction application, security application, location access application, etc.).
[0018] "Signals" may include transmitted or received electrical impulses or radio waves.
[0019] "Interaction" may include a mutual effect or influence. "Interaction" may include a communication, contact, or exchange between parties, devices, and / or entities. Example interactions include a transaction between two parties and an exchange of data between two devices. In some embodiments, an interaction may include a user request to access secure data, a secure webpage, a secure location, etc. In other embodiments, an interaction may include a payment transaction in which two devices may interact to facilitate payment.
[0020] "Access device" may include any suitable device that provides access to a remote system. The access device may also be used to communicate with a resource provider computer, a network processing computer, an authentication computer, or any other suitable system. The access device may generally be located at any suitable location, such as at the location of the merchant. The access device may take any suitable form. Some examples of access devices include POS or point of sale devices (e.g., POS terminals), cellular phones, PDAs, personal computers (PCs), tablet PCs, handheld dedicated readers, set-top boxes, electronic cash registers (ECRs), automated teller machines (ATMs), virtual cash registers (VCRs), query machines, security systems, access systems, etc. The access device may use any suitable contact or contactless operation mode to send data to or receive data from or be associated with an integrated circuit chip card. In some embodiments where the access device may include a POS terminal, any suitable POS terminal may be used and it may include a reader, a processor, and a computer-readable medium. The reader may include any suitable contact or contactless operation mode. For example, an exemplary card reader may include a radio frequency (RF) antenna, an optical scanner, a barcode reader, or a magnetic stripe reader to interact with an integrated circuit chip card. In some embodiments, a cellular phone, tablet computer, or other dedicated wireless device used as a POS terminal may be referred to as a mobile point of sale or "mPOS" terminal.
[0021] A "resource provider" may be an entity that can provide resources such as goods, services, information, and / or access. Examples of resource providers include merchants, data providers, transportation agencies, government entities, venue and residential operators, and the like.
[0022] "Access data" may include any suitable data that can be used to access a resource or create data that can access a resource. In some embodiments, the access data may be account information for a payment account. Account information may include PAN, payment tokens, expiration dates, and verification values (e.g., CVV, CVV2, dCVV, dCVV2), etc. In other embodiments, the access data may be data that can be used to activate account data. For example, in some cases, account information may be stored on a mobile device, but may not be activated until the mobile device receives specific information. In some embodiments, the characteristics of this specific information may be access information. In other embodiments, the access data may include data that can be used to access a location. Such information may be ticket information for an event, data for accessing a building, transportation ticket information, etc. The access data may include actual access data (e.g., an actual credit card number or actual access credentials for entering a building) or tokenized access data (e.g., data that represents or masks an actual credit card number or actual access credentials).
[0023] "Credentials" may include any suitable information that serves as reliable evidence of value, ownership, identity, or authority. A credential may be a string of numbers, letters, or any other suitable characters that may be presented or contained in any object or document that can serve as confirmation. Examples of credentials include payment credentials, passwords, access credentials, and any other suitable type of credentials.
[0024] An "authorization request message" may be an electronic message requesting authorization for an interaction. In some embodiments, the authorization request message is sent to a transaction processing computer and / or an issuer of a payment card to request authorization for a transaction. According to some embodiments, the authorization request message may comply with International Organization for Standardization (ISO) 8583, which is a standard for systems for exchanging electronic transaction information associated with payments made by a user using a payment device or payment account. The authorization request message may include an issuer account identifier that may be associated with the payment device or payment account. The authorization request message may also include additional data elements corresponding to "identification information", including (by way of example only): service code, card verification value (CVV), dynamic card verification value (dCVV), primary account number or "account number" (PAN), payment token, user name, expiration date, and the like. The authorization request message may also include "transaction information", such as any information associated with the current transaction, such as a transaction value, merchant identifier, merchant location, acquirer bank identification number (BIN), chip card acceptor ID, information identifying the item being purchased, and the like, as well as any other information that may be used to determine whether to identify and / or authorize a transaction.
[0025] An "authorization response message" may be a message in response to an authorization request. In some cases, the authorization response message may be an electronic message reply to the authorization request message generated by the issuing financial institution or a transaction processing computer. By way of example only, the authorization response message may include one or more of the following status indicators: approved - the transaction was approved; rejected - the transaction was not approved; or call center - the response is pending more information, the merchant must call a toll-free authorization phone number. The authorization response message may also include an authorization code, which may be a code that the credit card issuing bank returns to the merchant's access device (e.g., POS device) in response to the authorization request message in an electronic message (directly or through a transaction processing computer) indicating approval of the transaction. The code may serve as evidence of authorization.
[0026] An "authorized entity" may be an entity that authorizes a request. Examples of authorized entities may be issuers, government agencies, file repositories, access administrators, and the like. An authorized entity may operate an authorized entity computer. An "issuer" may refer to a commercial entity (e.g., a bank) that issues and optionally maintains user accounts. An issuer may also issue payment credentials stored on a user device, such as a cellular phone, an integrated circuit chip card, a tablet computer, or a laptop computer, to a consumer, or in some embodiments, to a portable device.
[0027] A "server computer" may include a powerful computer or cluster of computers. For example, a server computer may be a mainframe, a cluster of small computers, or a group of servers operating as a unit. In one example, a server computer may be a database server coupled to a network server. A server computer may include one or more computing devices and may use any of a variety of computing structures, arrangements, and compilations to service requests from one or more client computers.
[0028] A "processor" may include a device that processes something. In some embodiments, a processor may include any suitable one or more data computing devices. A processor may include one or more microprocessors that work together to achieve the desired functionality. A processor may include a CPU that includes at least one high-speed data processor that is sufficient to execute program components for executing user and / or system generated requests. A CPU may be a microprocessor such as AMD's Athlon, Duron, and / or Opteron; IBM and / or Motorola's PowerPC; IBM and Sony's Cell processor; Intel's Celeron, Itanium, Pentium, Xeon, and / or XScale; and / or similar one or more processors.
[0029] "Memory" may be any suitable device or devices that can store electronic data. Suitable memory may include non-transitory computer-readable media that stores instructions executable by a processor to implement the desired method. Examples of memory may include one or more memory chips, disk drives, and the like. Such memory may operate using any suitable electrical, optical, and / or magnetic operating modes.
[0030] Embodiments of the present invention allow an integrated circuit chip card to include. The integrated circuit chip card may include a processor, a memory, an input / output interface, and a network interface. The memory may store a plurality of applications executable by the processor. The network interface may be coupled to the input / output interface, and a plurality of logical ports may be implemented to communicate with an external device in a socket communication mode. The network interface may be configured to select between a plurality of communication protocols to communicate with an external device, and a plurality of logical ports may be used to establish a plurality of communication channels between an external device and the integrated circuit chip card. Each of the communication channels may be able to communicate with one of the plurality of applications.
[0031] As an illustrative example, the integrated circuit chip card may receive a signal from an external device (e.g., an access device) indicating a communication mode used by the external device. After receiving the signal, the integrated circuit chip card may determine that the communication mode is a socket communication mode. The integrated circuit chip card may then configure the network interface of the integrated circuit chip card in the socket communication mode, enabling it to establish multiple communication channels on multiple logical ports to communicate with multiple applications installed on the integrated circuit chip card.
[0032] I. System
[0033] Figure 1 A conceptual diagram showing socket communication according to some embodiments. System 100 may include client device 110 and server device 130. Client device 110 may include, for example, an access device. Server device 130 may include, for example, an integrated circuit chip card.
[0034] The client device 110 may include a network interface 120, which may implement a plurality of logical ports 122-1 to 122-n. The network interface 120 may include an interface that may allow the client device 110 to communicate with an external device. The network interface 120 may enable the client device 110 to transfer data to and from another device (e.g., a server device 130, etc.). Some examples of the network interface 120 may include a modem, a physical network interface (e.g., an Ethernet card or other network interface card (NIC)), a virtual network interface, a communication port, a Personal Computer Memory Card International Association (PCMCIA) slot and card, and the like. Wireless protocols supported by the network interface 120 may include Wi-Fi, Wi-Fi 32, Wi-Fi 4, Wi-Fi 6, Wi-Fi 7, Wi-Fi 8, Wi-Fi 9, Wi-Fi 10, Wi-Fi 11, Wi-Fi 12, Wi-Fi 13, Wi-Fi 14, Wi-Fi 15, Wi-Fi 16, Wi-Fi 17, Wi-Fi 18, Wi-Fi 19, Wi-Fi 20, Wi-Fi 21, Wi-Fi 22, Wi-Fi 23, Wi-Fi 24, Wi-Fi 25, Wi-Fi 26, Wi-Fi 27, Wi-Fi 28, Wi-Fi 29, Wi-Fi 30, Wi-Fi 31, Wi-Fi 32, Wi-Fi 33, Wi-Fi 34, Wi-Fi 35, Wi-Fi 36, Wi-Fi 37, Wi-Fi 38, Wi-Fi 39, Wi-Fi 39, Wi-Fi 40, Wi-Fi 41, Wi-Fi 42, Wi-Fi 43, Wi-Fi 44, Wi-Fi 45 TM . Data transmitted via the network interface 120 may be in the form of signals, which may be electrical, electromagnetic, optical, or any other signals capable of being received by an external communication interface (collectively referred to as "electronic signals" or "electronic messages"). These electronic messages, which may include data or instructions, may be provided between the network interface 120 and other devices via a communication path or channel. As described above, any suitable communication path or channel may be used, such as wire or cable, optical fiber, telephone line, cellular link, radio frequency (RF) link, WAN or LAN network, the Internet, or any other suitable medium.
[0035] Logical ports 122-1 to 122-n can act as virtual communication channels and can be mapped to one or more physical ports of client device 110. Logical ports can be communication ports. A socket of a client device can include logical ports 122-1 to 122-n. In some embodiments, network interface 120 can implement any suitable number of logical ports (e.g., 1, 2, 5, 10, etc. logical ports). A physical port can include, for example, one or more electrical contacts and / or one or more radio frequency transceivers.
[0036] The server device 130 may include a network interface 140 that may implement a plurality of logical ports 142-1 to 142-n. The network interface 140 may be similar to the network interface 120 of the client device 110. The logical ports 142-1 to 142-n also act as virtual communication channels and may be mapped to one or more physical ports of the server device 130. For example, the logical ports 142-1 to 142-n may be logical ports associated with TCP / IP networking. In some embodiments, the logical ports may be mapped to one or more physical ports including a radio frequency transceiver and electrical contacts. The first logical port may be mapped to a radio transceiver, and the second logical port may be mapped to an electrical contact. In other embodiments, the first logical port and the second logical port may both be mapped to a radio transceiver and an electrical contact.
[0037] Client device 110 may communicate with server device 130 via communication link 150 to exchange data or other information. Communication link 150 may be a wired link or a wireless link, and may connect a physical port of client device 110 to a physical port of server device 130. For example, communication link 150 may connect electrical contacts of server device 130 and electrical contacts of client device 110. For example, server device 130 may include an integrated circuit chip card, and client device 110 may include a card reader of a point-of-sale terminal. The card reader may communicate with the integrated circuit chip card via communication link 150.
[0038] The communication between the client device 110 and the server device 130 can be referred to as socket communication, because each port can act as a network node to establish a communication channel, and multiple communication channels can be implemented through physical wired or wireless connections. In some embodiments, the logical port can be used to implement TCP / IP sockets or other network communication protocol sockets. Socket-based communication can be advantageous because it can be independent of programming languages and operating systems. Therefore, the application programs of the client device 110 and the server device 130 do not need to be written in the same language. Socket-based communication also allows the client device 110 and the server device 130 to be allocated in an independent system.
[0039] In some embodiments, the socket-based communication system can allow the server device 130 to be an integrated circuit chip card and allow the client device 110 to be an access device (e.g., a point-of-sale terminal, a transportation terminal, an ATM, a mobile device (e.g., a smart phone) into which a chip card has been inserted, etc.). In some embodiments, the client device 110 can also be a computer. For example, a computer acting as a client device 110 can implement one or more integrated circuit chip card tools, such as a terminal emulator, an APDU generator, a Java virtual machine, a deployment tool (e.g., a card applet loader or a card personalization tool, etc.), etc. In some embodiments, for example, in a test or development environment or another environment, the server device 130 may include a card simulation or card runtime environment (e.g., Java) executed on a computing device.
[0040] Figure 2 A block diagram of an integrated circuit chip card 200 that can act as a server device (e.g., server device 130) according to some embodiments is shown. The integrated circuit chip card 200 may include a processor 202 and a memory 250 storing a plurality of applications (e.g., a first application 252-1, a second application 252-2, a third application 252-3, and an Nth application 252-n) that can be executed by the processor 202. The integrated circuit chip card 200 may also include an input / output (I / O) interface 204, an APDU interface 212, and a network interface 220.
[0041] The processor 202 may be implemented as one or more integrated circuits (e.g., one or more single-core or multi-core microprocessors and / or microcontrollers) and is used to control the operation of the integrated circuit chip card 200. In some embodiments, the processor 202 may execute various applications using application code or computer-readable code stored in the memory 250, and may maintain multiple concurrently executing applications or processes.
[0042] The memory 250 may be implemented using any combination of any number of non-volatile memories (e.g., flash memory, EEPROM) and volatile memories (e.g., DRAM, SRAM), or any other non-transient storage media, or a combination of media. The memory 250 may store various applications 252-1 to 252-n, which may be selected by an access device (e.g., a card reader or other client) for data exchange. Examples of such applications may include mobile wallet applications, interactive applications, resource provider applications, identification applications, and the like. The interactive applications may include transportation applications, secure location access applications, payment applications, and / or any other suitable applications that facilitate interaction between two entities (e.g., a user and a resource provider). In some embodiments, the interactive applications may be deployed by an authorized entity. As an illustrative example, the memory 250 may store two applications. The first application may be a transportation application, and the second application may be a payment application. The transportation application may allow a user of the integrated circuit chip card 200 to obtain access to a transportation system (e.g., a train station, a bus, etc.). The payment application may allow a user of the integrated circuit chip card 200 to gain access to resources (eg, goods and / or services purchased using the payment application).
[0043] In some embodiments, the server device may include a card emulation or card runtime environment executed on the server device or other computing device. The server device may be a mobile phone including a mobile OS that may implement a set of card emulation APIs that may be called by a mobile application stored in memory 250 to access a contactless interface to interact with a client device (e.g., an access device).
[0044] The integrated circuit chip card 200 may include an input / output (I / O) interface 204. In some embodiments, the I / O interface 204 may include a set of one or more electrical contacts and may be compliant with ISO7816. In some embodiments, the I / O interface 204 may also include or be coupled to a contactless communication interface compliant with ISO 14443, the interface having one or more RF transceivers to interact with, for example, a contactless card reader. Application protocol data unit (APDU) commands sent from an external device to the integrated circuit chip card 200 via the I / O interface 204 may be used, and APDU responses sent from the integrated circuit chip card 200 to the external device via the I / O interface 204 may be used to communicate between external devices (e.g., a card reader and the integrated circuit chip card 200). APDU commands from external devices may be interpreted by the APDU interface 212 to allow the external device to interact and exchange data with one or more applications 252-1 to 252-n. The (I / O) interface may include multiple physical ports (e.g., contact chips, RF transceivers, etc.).
[0045] The APDU interface 212 may include an interface capable of interpreting an APDU command (e.g., an APDU command received from an external device such as a client device). The APDU interface 212 may interpret the APDU command in any suitable manner. The APDU interface 212 may determine that the APDU command is a request for access data. For example, the APDU interface 212 may analyze a label and / or header of received data to interpret the APDU command. The APDU interface 212 may interpret any suitable APDU command label as described herein in more detail.
[0046] In order to support socket communication, the integrated circuit chip card 200 may include a network interface 220 that implements multiple logical ports 222-1 to 222-n. When communicating in the socket communication mode, the network interface 220 can be configured to use the logical ports 222-1 to 222-n to establish multiple communication channels between the external device and the integrated circuit chip card 200. For example, each of the communication channels can support communication with one or more of the multiple applications 252-1 to 252-n. The data stream from the external device via the I / O interface 204 may include a target port number to identify which logical port the command and / or data is intended to reach. In some embodiments, each logical port can be mapped to a different application 252-1 to 252-n. This can be advantageous on a traditional integrated circuit chip card because multiple communication channels can be maintained by multiple applications installed on the integrated circuit chip card 200.
[0047] In some embodiments, network interface 220 may include port status buffer 225 to store the state of each logical port so that APDU commands and responses on multiple logical ports can be multiplexed to the same data stream. In some embodiments, the data received and transmitted by network interface 220 may be stored in port status buffer 225. In some embodiments, network interface 220 may be configured to communicate with external devices using multiple communication modes or protocols, and each logical port may be configured independently. For example, mode selector 226 may be used to select between different communication modes and / or protocols depending on which logical port is actively transmitting data.
[0048] II. Message Types
[0049] Additional details of communications and data exchanges that may be performed using the socket communication mode are described below.
[0050] In some embodiments, each server (e.g., each integrated circuit chip card) may be able to form one or more connections at a given time and may listen for connections on any logical port. The information sent and received on the socket will not always be related to the information to be sent to or received from a specific application. To achieve this goal, a method of distinguishing card data from management data can be used. In some embodiments, a byte field (e.g., management tag) can be used to implement card management functions, and at least two bytes can be used to implement any APDU data sent to or received from a smart card. Therefore, multiple bytes passed to or received from a socket can be used to determine the type of data flowing through the socket. For this reason, in some embodiments, a client device or server device can place an exact number of bytes on a socket instead of a general buffer with a default length.
[0051] In certain embodiments, management commands can be transmitted on different logical ports with APDU data. In such embodiments, the port number of the logical port used during the transmission can be used to determine the data type of the transmission, rather than relying on the number of bytes sent to distinguish management data from APDU data. In certain embodiments, personalized data can also be sent on a separate logical port. Personalized data can include, for example, user identity information, issuer identity, recent payment history, PIN value, key material, etc.
[0052] It should be noted that in some embodiments, the server (e.g., an integrated circuit chip card) may be responsible for ensuring that a two-byte status word is returned to the client device that initiates the APDU. The status word may indicate the status of the sending device to the receiving device. In addition, no matter which protocol is used to transmit the APDU command, the server device has the responsibility to manage the confirmation byte (ACK) (e.g., ACK may not be returned to the client device). In some embodiments, in the case where the server device is an integrated circuit chip card, the client device can verify that the integrated circuit chip card is connected, and before the APDU command / data is transmitted to the server device, the card function is reset. In some embodiments, for each message initiated on the socket, whether it is a management function or command data, other devices can expect certain types of responses.
[0053] If the data received on the socket is one byte in length, the client device or server device can determine that a certain sort of management function is to be performed. Since the size of the tag is one byte, it can be between 0x00 and 0xFF. The client device and / or server device can determine whether a particular tag can be managed by the device or that a particular tag has been implemented by the device. If the tag is not recognized or supported, an error can be sent back to the socket, notifying the socket entity that initiated the tag (e.g., the client device or server device) that the management function could not be performed. If the management function was performed correctly, a positive confirmation can be sent back to the socket entity that initiated the tag.
[0054] A. Client / Server Management
[0055] In some embodiments, the tags described in Table 1 may be used to provide information and / or instructions on a socket to a client or server.
[0056] Label describe 20 Correct execution of management functions E0 Unable to perform administrative functions 80 The command server does not manage the protocol 81 Command Server Management Protocol
[0057] Table 1: Client / Server Management Tags
[0058] If a client device or server device receives a tag on a socket that is (1) unrecognizable, (2) not yet implemented, or (3) not processed in a normal manner, the client device or server device initiating the management function can be notified by other devices. For example, a general error tag (e.g., 0xE0) can be used to achieve this. An example of this situation is useful if a client device sends a management function to a socket at a server device, requiring an integrated circuit chip card (e.g., a server device) to shut down, but the integrated circuit chip card may be an emulation of a card running on the server device and therefore cannot be shut down. The server can respond to the socket of the client device with a tag of 0xE0. In some embodiments, the tag can be extended to four bytes to become a conventional APDU header, where the combination of the category (CLA) byte, the instruction (INS) byte, and the P1 / P2 byte can inform the server of the type of command (management or other) issued by the client. The P1 / P2 bytes can be instruction parameters of the command (e.g., the offset of the file to which data is written).
[0059] To prevent the server device and the client device from placing data on the socket, each device in the system can be configured to expect a response. This can be achieved through a universal confirmation tag (e.g., 0x20). An example of this can include a client device requesting (e.g., through a tag of 0x45) that an integrated circuit chip card (e.g., a server device) be inserted. The client device can then wait for a positive confirmation (e.g., 0x20 or 0x21) from the server before making further requests (e.g., requesting card connection and reset, etc.).
[0060] In some embodiments, if the server device is communicating with an integrated circuit chip card in byte transfer mode, the client device can use tags 0x80 and 0x81 to instruct the server device whether to manage the protocol. For example, this can involve the 61xx and 6Cxx status words normally received from a block transfer mode card, as known to those skilled in the art. If the server device is managing these status words, the client device will not know them because the server device will reissue the command with the correct length (6Cxx) to the card, or issue a get response command with length SW2 (61xx) to the card. In some embodiments, any server device always manages the protocol by default unless otherwise instructed by the client device.
[0061] B. Reader Management
[0062] To manage the card reader, the client device may use the following tags and / or headers shown in Table 2. The tags and / or headers may be applicable to different types of client devices (e.g., card readers) having various functions (e.g., the card reader may be a mechanical electric reader typically found in an ATM).
[0063] Label describe 40 Connect the card (without any actual card reset) 41 Close Card 42 Reset Card 43 Connect and reset the card 44 Pop-up card 45 Insert the card (without any actual connection) 46 Lock the card in place 47 Tunka 48 Presence card
[0064] Table 2: Reader Management Tags
[0065] Upon successful execution of a card reset (0x42 or 0x43), the server device may return (e.g., transmit) a positive confirmation (0x20) to the client device, followed by the reset reply data (two or more bytes) received from the card, regardless of whether the card is emulated or not emulated. The server device may return a positive confirmation (0x20) of successful execution of other management functions, including card connection (0x40), to the client device.
[0066] C. Reader Status
[0067] The following headers shown in Table 3 may be used by a server device to inform client devices of the reader status. These headers may be used instead of the generic 0xE0 tags to provide additional information to the client.
[0068] Label describe 21 Card present E1 Card not responding E2 Card missing E3 Card removed E4 Protocol Error E5 Parity Error
[0069] Table 3: Reader Status Tags
[0070] D. Socket protocol selection
[0071] The following management bytes, as shown in Table 4, may be sent by a client device to a server device to indicate that the client device is requesting to begin using a different socket protocol. The server device may respond with a positive acknowledgement (0x20) before the client device begins using the new socket protocol. Both the client device and the server device may use the described socket protocol at startup. These management bytes may be included to reserve byte values to implement other functions, such as supporting non-standard protocols. A server device that does not implement a particular non-standard protocol may return an error code (0xE0) if a request is made to use an unimplemented protocol.
[0072] Label describe C0 Start using the socket protocol. C1 Start using a different protocol.
[0073] Table 4: Socket protocol selection tags
[0074] III. Determine APDU command / response
[0075] As previously described, in some embodiments, the client device may place the correct number of bytes on the socket to allow the server device to distinguish between APDU commands and responses from management functions. For APDU data, four different command cases are described below.
[0076] The first case (referred to as the case 1 command) may indicate that no command data is expected and no response data is expected. The first case may include data for CLA, INS, P1, and P2. The four bytes on the socket represent the APDU command for case 1. CLA may be the instruction class, which may indicate the command type (e.g., inter-industry or proprietary). INS may be an instruction code indicating a specific command (e.g., write data, etc.). P1 and P2 may be instruction parameters for the command (e.g., the offset of the file to which the data is written).
[0077] The second case (referred to as the case 2 command) may indicate that there is no expected command data but Le bytes of expected response data. The second case may include data for CLA, INS, P1, P2, and Le. The five bytes on the socket represent the case 2 APDU command. Le (the length of the expected bytes) may be a maximum number (N e ) is the expected response byte encoding. As an illustrative example, 0 bytes can represent N e = 0, and 1 byte in the range of 1 to 255 can represent N e The value of , or 0 for N e = 256. In addition, 2 bytes in the range of 1 to 65,535 (if there is an extended Lc (command byte length) in the command) can represent N e The value of , or two zero bytes represent 65 536. Three bytes (if Lc is not present in the command) (the first of which can be 0) can represent N in the same way as the two-byte Le e .
[0078] The third case (referred to as Case 3 command) may indicate that Lc bytes of command data are expected but no response data is expected. The third case may include data for CLA, INS, P1, P2, LC, and Data. Data may include N c Then, Lc can be used to calculate the number (N) of command data. c As an illustrative example, 0 bytes can represent N c = 0, and a byte with a value from 1 to 255 can represent the same value of N c . 3 bytes (the first of which can be 0) can represent N in the range of 1 to 65,535 c (All three bytes may not be zero).
[0079] If six bytes are placed on the socket, this can be one of two cases: 1) if the value of Lc (fifth byte) is '01', the APDU can be a case 3 APDU command with one byte of command data; and 2) if the value of Lc (fifth byte) is '00', the APDU can be a case 4 APDU command without command data.
[0080] If 7 to 231 bytes are placed on the socket, a similar method as described above can be used to determine the case. If 7 to 231 bytes are placed on the socket, then 1) if the difference between the number of bytes placed on the socket and Lc is equal to 5, the APDU can be an APDU command of Case 3; or 2) if the difference between the number of bytes placed on the socket and Lc is equal to 6, the APDU can be an APDU command of Case 4.
[0081] The fourth case (referred to as Case 4 command) may indicate that Lc bytes of command data are expected and Le bytes of response data. The fourth case may include data of CLA, INS, P1, P2, Lc, Data, and Le.
[0082] In some embodiments, the command data placed on the socket may vary from 4 to 231 bytes and may be used by the server device in conjunction with the Lc (length of the command) byte on the socket to determine the case in the following manner.
[0083] IV. Client and Server Methods
[0084] The following describes in some embodiments how to determine whether management data or card data is received on a socket.Before describing in detail, two example methods will be described.
[0085] The first method may include a receiving routine of a client device. The client device may perform the following steps 1-9:
[0086] 1. Listening socket.
[0087] 2. Determine how many bytes are present on the socket.
[0088] 3. If only one byte exists, perform the management function and then return to step 1.
[0089] 4. Read in bytes.
[0090] 5. The last 2 bytes read become SW1 and SW2.
[0091] 6. Any bytes before SW1 and SW2 may be data received from a server device (eg, an integrated circuit chip card).
[0092] 7. Manage response data.
[0093] 8. Perform any additional processing.
[0094] 9. Return to step 1.
[0095] The second method may include a receiving routine of a server device. The server device may perform the following steps 1-17:
[0096] 1. Listening socket.
[0097] 2. Determine how many bytes are present on the socket.
[0098] 3. If only one byte exists, perform the management function and then return to step 1.
[0099] 4. Read in bytes.
[0100] 5. The first byte read becomes the category (CLA).
[0101] 6. The second byte read becomes the instruction (INS).
[0102] 7. The third byte read becomes parameter 1 (P1).
[0103] 8. The fourth byte read becomes parameter 2 (P2).
[0104] 9. If there are no more bytes, determine that this is a Case 1 command, and continue to step 15.
[0105] 10. The fifth byte read is the length (P3).
[0106] 11. If there are no more bytes, the length is Le and determine that this is a Case 2 command, then continue with step 15.
[0107] 12. If more bytes are present, the length is Lc.
[0108] 13. If the difference between the initial number of bytes on the socket and Lc is 5, determine that this is a Case 3 command. The subsequent bytes read may be data to be sent to the card. Then, continue with step 15.
[0109] 14. If the difference between the initial number of bytes on the socket and Lc is 6, it is determined that this is a case 4 command. The last byte read is Le, and all bytes between Lc and Le can be data to be sent to the card.
[0110] 15. Manage command data (e.g., send commands and / or data to the card, get responses, etc.).
[0111] 16. Perform any additional processing.
[0112] 17. Return to step 1.
[0113] Figure 3 A flow chart of a process 300 that may be used to communicate with an integrated circuit chip card according to some embodiments is shown. The process 300 may be performed by the integrated circuit chip card and may begin at block 302 by receiving a signal from an external device indicating a communication mode used by the external device. In some embodiments, the signal is implemented as a tag field in a header of a data packet, as described herein.
[0114] The external device may be an access device. For example, the external device may be one of a card reader, a point of sale terminal, a computer, or a mobile device. The integrated circuit chip card may receive a signal during an interaction between a resource provider and an integrated circuit chip card user. For example, a user may initiate a payment transaction with a resource provider to obtain access to a resource. In some embodiments, the integrated circuit chip card may be compliant with ISO 7816 or ISO 14443.
[0115] At block 304, after receiving the signal, it may be determined that the communication mode is a socket communication mode. The integrated circuit chip card may determine that the communication mode is a socket communication mode based on any suitable tag and / or header included in the signal. For example, the signal may be implemented as a tag field in a header of a data packet. After receiving the tag field in the header of the data packet, the integrated circuit chip card may analyze the content of the tag field. For example, if the tag field is "C0", the integrated circuit chip card may determine that the communication mode is a socket communication mode.
[0116] In some embodiments, the integrated circuit chip card can receive data from an external device via a first logical port of the socket. The data can be, for example, data attached to a signal. The integrated circuit chip card can then determine whether the data is management data or card data based on the number of bytes of the data received at the first logical port, as described herein.
[0117] At block 306, the process 300 may configure the network interface of the integrated circuit chip card in the socket communication mode, enabling it to establish multiple communication channels on multiple logical ports to communicate with multiple applications installed on the integrated circuit chip card. In some embodiments, the signal indicating the communication mode of the external device may be implemented as a tag field in the header of the data packet. The tag field may include information about the type of communication mode supported by the external device (e.g., socket communication mode) and / or the communication protocol used by the external device. In some embodiments, the communication channel associated with the logical port of the integrated circuit chip card may support one or more data exchange protocols, such as TCP / IP, JSON, XML, or other suitable data exchange protocols.
[0118] In some embodiments, after configuring the network interface, the integrated circuit chip card can receive an application protocol data unit (APDU) command from an external device (e.g., a client device). Then, the application protocol data unit interface of the integrated circuit chip card can interpret the APDU command. For example, the APDU command can be a request for access data. The application protocol data unit interface can use any suitable tags and headers to determine that the APDU command is a request for access data, as described herein. After interpreting the APDU command, the integrated circuit chip card can provide an APDU response to the external device. The APDU response may include any suitable data in response to the APDU request, for example, the APDU response may include response data. The APDU response may include an optional body, which is composed of data and a tail with two status bytes SW1 and SW2. SW1 and SW2 may be combined to be a status word (SW). In some embodiments, if the status word has a value of 0x9000 (SW1=0x90, SW2=0x00), the APDU command has been successfully executed by the card.
[0119] In the case where the APDU command is a request for access data, after the integrated circuit chip card interprets the APDU command, a first application among multiple applications installed on the integrated circuit chip card can determine the access data. After determining the access data, the integrated circuit chip card can provide the access data to the external device. In some embodiments, the first application can be mapped to a first logical port among multiple logical ports. The access data can be provided to the external device by the integrated circuit chip card through the first logical port.
[0120] In other embodiments, the first application may be mapped to a first logical port and a second logical port among the plurality of logical ports. The first logical port may communicate with an external device (eg, a client device) using a different communication protocol than the second logical port.
[0121] In some embodiments, a first plurality of applications on the integrated circuit chip card can communicate in parallel with a second plurality of applications on the client device via multiple logical ports. For example, a transportation application on the integrated circuit chip card can communicate with a transportation verification application on a client device (e.g., a transportation access terminal) via a first logical port. At the same time, an identification application on the integrated circuit chip card can communicate with an identification verification application on the transportation access terminal via a second logical port. The transportation access terminal can determine that the integrated circuit chip card has been registered to a user who is authorized to use the identification application to access a transportation center, bus, etc. The transportation access terminal can also determine that the user has funds to use the transportation application to access a transportation center, bus, etc., and apply for authorization from an authorization entity computer, such as Figure 4 Further described in .
[0122] Figure 4 A block diagram of a system 400 according to an embodiment of the present invention is shown. The system 400 includes a server device 402, a client device 404, a resource provider computer 406, a transmission computer 408, a processing network computer 410, and an authorization entity computer 412. The server device 402 can be in operative communication with the client device 404. The client device 404 can be in operative communication with the resource provider computer 406, which can be in operative communication with the transmission computer 408. The transmission computer 408 can be in operative communication with the processing network computer 410. The processing network computer 410 can be in operative communication with the authorization entity computer 412.
[0123] To simplify the explanation, Figure 4 A certain number of components are shown in the figure. However, it should be understood that embodiments of the present invention may include more than one of each component. In addition, some embodiments of the present invention may include more than one Figure 4 All components shown in the figure may be fewer or more components.
[0124] At least Figure 4 Messages between devices in the may be transmitted using a secure communication protocol, such as, but not limited to: File Transfer Protocol (FTP); Hypertext Transfer Protocol (HTTP); Secure Hypertext Transfer Protocol (HTTPS); SSL; ISO (e.g., ISO 8583), etc. The communication network that may reside between the devices may include any one and / or combination of the following: direct interconnection; Internet; Local Area Network (LAN); Metropolitan Area Network (MAN); Operational Mission as an Internet Node (OMNI); secure custom connection; Wide Area Network (WAN); wireless network (e.g., using protocols such as, but not limited to, Wireless Application Protocol (WAP), I-mode, etc.); etc. The communication network may use any suitable communication protocol to generate one or more secure communication channels. In some instances, the communication channel may include a secure communication channel, which may be established in any known manner, such as by using mutual authentication and session keys, and establishing a secure socket layer (SSL) session.
[0125] Server device 402 may include an integrated circuit chip card, as described in detail herein. Client device 404 may include an access device as described herein. Resource provider computer 406 may include a computer operated by a resource provider. In some embodiments, resource provider computer 406 may be operably coupled to client device 404.
[0126] Transmitting computer 408 is located (in an operational sense) between client device 404 or resource provider computer 406 and processing network computer 410. Transmitting computer 408 may be operated by an entity such as an acquirer. An acquirer may maintain accounts with any merchant (e.g., an airline) with which a user may wish to interact.
[0127] Processing network computer 410 may route or switch messages between multiple transmission computers including transmission computer 408 and multiple authorization entity computers including authorization entity computer 412. Processing network computer 410 may be configured to provide authorization services and clearing and settlement services for payment transactions. Processing network computer 410 may include data processing subsystems, networks, and operations to support and deliver authorization services, exception file services, and clearing and settlement services. In some embodiments, processing network computer 410 may be a payment processing network. Exemplary payment processing networks may include VisaNet TM For example, VisaNet TM Payment processing networks such as VisaNet can process credit card transactions, debit card transactions and other types of commercial transactions. TM Specifically include the Visa integrated payment (VIP) system for processing authorization requests and the BaseII system for performing clearing and settlement services. Moreover, the payment processing network may include a server computer, and any appropriate wired or wireless telecommunications network may be used, including the Internet. In some embodiments, the processing network computer 410 may forward the authorization request received from the transmitting computer to the authorization entity computer via a communication channel. The processing network computer may further forward the authorization response message received from the authorization entity computer to the transmitting computer.
[0128] Authorization entity computer 412 can be configured to authorize any suitable request, including access to data, access to a location, or approval of a payment. In some embodiments, authorization entity computer 412 can be operated by an account issuer. Typically, an issuer is an entity (e.g., a bank) that issues and maintains a user's account. An account can be a credit, debit, prepaid, or any other type of account.
[0129] In some embodiments, the integrated circuit chip card may include access data (e.g., an account number). The access data may include 15 to 19 digits. In some embodiments, the access data may be allocated according to International Organization for Standardization (ISO) standard 7812. In this standard, the first six digits of the access data digit may be an "issuer identification number (IIN)", sometimes referred to as a "bank identification number (BIN)." The remaining digits of the access data (except the last digit) may be an individual account identification number. The last digit is often a verification digit (e.g., a Luhn verification digit). The IIN or BIN may be used by a processing network to identify the appropriate authorized entity to which an interaction (e.g., a transaction) using an integrated circuit chip card should be routed.
[0130] In other embodiments, the integrated circuit chip card may include an expiration date that indicates the validity period of the integrated circuit chip card. The expiration date may indicate the date on which the integrated circuit chip card is no longer valid. In some cases, the user may be required to provide an expiration date to complete a transaction. In the event that the user provides an incorrect expiration date, the transaction may be rejected. For example, credit card transactions conducted online or over the phone will often require the user to provide the correct expiration date in order to verify that the user actually owns the credit card. If the user is unable to provide the correct expiration date, these transactions may be rejected.
[0131] The integrated circuit chip card may include an account holder name indicating a user or other entity associated with the integrated circuit chip card. The authorized entity may maintain an account for the account holder indicated in the account holder name. In some embodiments, if the name given in association with the account does not match the indicated account holder name, the transaction may be rejected.
[0132] The integrated circuit chip card may include a processing network indicator that indicates a transaction processing network for routing authorization requests associated with the integrated circuit chip card. In some embodiments, the resource provider may accept integrated circuit chip cards associated with certain processing networks. For example, some merchants may only accept integrated circuit chip cards associated with Visa.
[0133] In other embodiments, the integrated circuit chip card may include a magnetic stripe. The magnetic stripe may include up to three tracks, referred to as Track 1, Track 2, and Track 3. In some embodiments, only Track 1 and Track 2 are used. The minimum cardholder account information required to complete a transaction is present on both tracks. Track 1 has a bit density of 210 bits per inch and is the only track that may contain alphanumeric text, and therefore the only track that contains the cardholder's name. Track 2 has a bit density of 75 bits per inch.
[0134] In some embodiments, the integrated circuit chip card may include a security code. The security code may be CVV, CVV2, CVC, CSC, CID, or any other suitable security code. In the security code, there may be any suitable length (e.g., 2 digits, 3 digits, 4 digits, etc.). The security code is used to verify that the user has a valid integrated circuit chip card.
[0135] During the interaction between the user of the server device 402 (e.g., an integrated circuit chip card) and the resource provider of the resource provider computer 406, the server device 402 can provide the access data to the client device 404. The client device 404 can generate an authorization request message. The authorization request message can include the access data. After generating the authorization request message, the client device 404 can transmit the authorization request message to the resource provider computer 406. In some embodiments, the client device 404 can transmit the authorization request message to the transmitting computer 408.
[0136] After receiving the authorization request message, the resource provider computer 406 may transmit the authorization request message to a processing network computer 410 , which may forward the authorization request message to an authorization entity computer 412 .
[0137] Upon receiving the authorization request message, the authorization entity computer 412 may determine whether to authorize the interaction (eg, transaction) between the user and the resource provider. After determining whether to authorize the interaction, the authorization entity computer 412 may generate an authorization response message, which may then be transmitted to the processing network computer 410.
[0138] Upon receiving the authorization response message, processing network computer 410 may forward the authorization response message to transmitting computer 408, which then forwards the authorization response message to resource provider computer 406 and / or client device 404. Upon receiving the authorization response message, client device 404 may notify the user of server device 402 whether the interaction has been authorized.
[0139] Embodiments of the present disclosure have many advantages. For example, embodiments allow a server device (e.g., an integrated circuit chip card) to communicate with a client device (e.g., an access device) via one or more logical ports. For example, an integrated circuit chip card can communicate via one or more logical ports mapped to one or more applications. Applications can be executed / run in parallel with each other, and can communicate with the client device via the mapped logical ports, rather than one application of the integrated circuit chip card communicating with the access device at a time. Another advantage is that the client device and the server device can perform faster interactions because the applications can communicate in parallel between the client device and the server device. This is different from waiting for one application to complete a process before running the next application.
[0140] A computer system that can be used to implement at least some of the entities or components described herein, such as external devices that communicate with integrated circuit chip cards, will now be described. Subsystems in a computer system can be interconnected via a system bus. Additional subsystems include printers, keyboards, fixed disks, and monitors that can be coupled to display adapters. Peripheral devices and I / O devices that can be coupled to input / output (I / O) controllers can be connected to a computer system by any number of components known in the art, such as serial ports. For example, a serial port or external interface can be used to connect a computer device to a wide area network such as the Internet, a mouse input device, or a scanner. Interconnection through a system bus allows a central processor to communicate with each subsystem and control the execution of instructions from a system memory or fixed disk and the exchange of information between subsystems. The system memory and / or fixed disk can embody a computer-readable medium.
[0141] The techniques described herein may involve implementing one or more functions, processes, operations, or method steps. In some embodiments, the functions, processes, operations, or method steps may be implemented as a result of executing an instruction set or software code by a suitably programmed computing device, microprocessor, data processor, etc. The instruction set or software code may be stored in a memory or other form of data storage element accessed by a computing device, microprocessor, etc. In other embodiments, the functions, processes, operations, or method steps may be implemented by firmware or a dedicated processor, integrated circuit, etc.
[0142] The methods and processes described herein are exemplary in nature, and methods and processes according to some embodiments may perform one or more of the steps in an order different from the order described herein, include one or more additional steps not specifically described, omit one or more steps, combine one or more steps into a single step, split one or more steps into multiple steps, and / or any combination thereof.
[0143] Any software components or functions described in this application can be implemented as software code executed by a processor using, for example, conventional or object-oriented techniques and using any suitable computer language (e.g., Java, C++, or Perl). The software code can be stored as a series of instructions or commands on a computer-readable medium such as a random access memory (RAM), a read-only memory (ROM), a magnetic medium such as a hard drive or floppy disk, or an optical medium such as a CD-ROM. Any such computer-readable medium may reside on or within a single computing device, and may exist on or within different computing devices within a system or network.
[0144] The above description is illustrative rather than restrictive. After reading this disclosure, many variations of the present invention will become apparent to those skilled in the art. Therefore, the scope of the present invention should not be determined with reference to the above description, but should be determined with reference to the pending claims and their full scope or equivalent.
[0145] One or more features of any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the present invention.
[0146] As used herein, the use of "a," "an," or "the" is intended to mean "at least one" unless clearly indicated to the contrary.
Claims
1. An integrated circuit chip card, comprising: processor; A memory including code, the code being executable by the processor to implement a method comprising the following steps: receiving a signal from an external device indicating a communication mode used by the external device; determining, based on the signal from the external device, that the communication mode is a socket communication mode; receiving data from the external device; determining the number of bytes of the data; determining that the data is card data based only on the number of bytes of the data, wherein the data is management data when the number of bytes is 1 byte, and wherein the data is card data when the number of bytes is 2 bytes; In response to determining that the data is card data, processing the card data to determine response data; and The response data is transmitted to the external device.
2. The integrated circuit chip card according to claim 1, wherein the method further comprises: Based on the signal from the external device, it is determined that the external device uses a first data exchange protocol and a second data exchange protocol.
3. The integrated circuit chip card of claim 1, wherein the external device is one of a card reader, a point of sale terminal, a computer, or a mobile device.
4. The integrated circuit chip card according to claim 1, wherein the management data is personalization data, and wherein the card data is APDU data.
5. A method for communicating with an integrated circuit chip card, comprising: receiving, by the integrated circuit chip card, a signal from an external device indicating a communication mode used by the external device; determining, by the integrated circuit chip card based on the signal from the external device, that the communication mode is a socket communication mode; receiving data from the external device by the integrated circuit chip card in the socket communication mode; Determining, by the integrated circuit chip card in the socket communication mode, the number of bytes of the data; determining, by the integrated circuit chip card in the socket communication mode, that the data is card data based solely on the number of bytes of the data, wherein the data is management data when the number of bytes is 1 byte, and the data is card data when the number of bytes is 2 bytes; In response to determining that the data is card data, processing the card data to determine response data; and The response data is transmitted by the integrated circuit chip card to the external device in the socket communication mode. The method of claim 5 , wherein the signal is implemented as a label field in a header of a data packet.
7. The method of claim 5, wherein the external device is one of a card reader, a point of sale terminal, a computer, or a mobile device, and wherein the integrated circuit chip card is compliant with ISO 7816 or ISO 14443.
8. The method according to claim 5, further comprising: The network interface of the integrated circuit chip card is configured in the socket communication mode to establish multiple communication channels between the integrated circuit chip card and the external device using the physical port of the integrated circuit chip card and multiple logical ports of the integrated circuit chip card.
9. The method of claim 8, wherein configuring the network interface of the integrated circuit chip card in the socket communication mode to establish the plurality of communication channels comprises: establishing a first communication channel between the external device and a first application program among a plurality of applications installed on the integrated circuit chip card, the first communication channel comprising the physical port and a first logical port among the plurality of logical ports; as well as A second communication channel is established between the external device and a second application among the plurality of applications installed on the integrated circuit chip card, the second communication channel comprising the physical port and a second logical port among the plurality of logical ports.
10. The method of claim 9, wherein the data from the external device is received at the first logical port.
11. The method of claim 9, wherein establishing the first communication channel comprises: mapping the first logical port among the plurality of logical ports to the first application among the plurality of applications; as well as configuring the first communication channel to use a first data exchange protocol, and Wherein establishing the second communication channel comprises: Mapping the second logical port among the plurality of logical ports to the second application among the plurality of applications; as well as The second communication channel is configured to use a second data exchange protocol different from the first data exchange protocol, wherein both the first communication channel and the second communication channel use the same physical port.
12. The method according to claim 11, further comprising: The integrated circuit chip card receives a selection of the first application among the multiple applications installed on the integrated circuit chip card, the first data exchange protocol, the second application among the multiple applications installed on the integrated circuit chip card, and the second data exchange protocol from the external device through socket communication.
13. The method of claim 12, wherein processing the card data to determine that the response data is executed by the first application of the plurality of applications, and wherein the response data is transmitted to the external device via the first logical port and using the first data exchange protocol, and the method further comprises: Prior to transmitting the response data, the first data exchange protocol of the first communication channel is selected.
14. The method according to claim 11, further comprising: Switching back and forth between the first communication channel and the second communication channel, wherein the first application and the second application operate in parallel.
15. The method of claim 11, wherein the first data exchange protocol is TCP / IP, and the second data exchange protocol is JSON or XML.
16. The method of claim 9, wherein the signal is received during interaction between the integrated circuit chip and the external device, wherein the first communication channel and the second communication channel are temporarily established for interaction between the integrated circuit chip and the external device, and wherein each of the plurality of logical ports is capable of being dynamically mapped to any application of the plurality of applications.
17. A method according to claim 9, wherein the multiple applications are a first multiple applications, a second multiple applications are installed on the external device, and wherein the first communication channel is between the first application of the first multiple applications installed on the integrated circuit chip card and a corresponding third application of the second multiple applications installed on the external device, and wherein the second communication channel is between the second application of the first multiple applications installed on the integrated circuit chip card and a corresponding fourth application of the second multiple applications installed on the external device.
18. The method of claim 17, wherein the first application is a shipping application, the corresponding third application is a shipping verification application, the second application is an identification application, and the corresponding fourth application is an identification verification application.
19. A method according to claim 17, wherein the first application among the first plurality of applications installed on the integrated circuit chip card is written in a first programming language, and the corresponding third application among the second plurality of applications installed on the external device is written in a second programming language different from the first programming language.
20. The method of claim 8, wherein the management data is personalization data, and wherein the card data is APDU data.
