Electronic information storage medium, IC chip, IC card, transaction log storage method, and program
The IC card or chip with separate transaction log storage for contact and non-contact interfaces addresses the limitation of existing IC cards, enabling versatile transaction log management.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- DAI NIPPON PRINTING CO LTD
- Filing Date
- 2022-10-27
- Publication Date
- 2026-07-22
AI Technical Summary
Existing IC cards lack the capability to separately store transaction logs for contact and non-contact communication interfaces, limiting their versatility in various transaction scenarios.
An IC card or chip with multiple communication interfaces, equipped with a memory that pre-stores data indicating storage locations and items for each interface, allowing separate storage of transaction logs based on the communication method used.
Enables separate storage of transaction logs for contact and non-contact communication, enhancing the IC card's versatility and convenience in various transaction scenarios.
Smart Images

Figure 0007893119000001 
Figure 0007893119000002 
Figure 0007893119000003
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of IC cards and the like that store transaction logs implemented with external devices.
Background Art
[0002] Conventionally, as a de facto standard specification of a card system, for example, as disclosed in Patent Document 1, an EMV (registered trademark) specification is known. An IC (Integrated Circuit) card compliant with such a specification stores a log (Transaction Log) in the IC card every time a transaction implemented with an external device is completed.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] <第 By the way, it is assumed that the above-described IC cards will be used in various scenarios other than conventional shopping in the future. For example, there may be a need to separately store transaction logs for a transaction implemented using contact communication via a contact communication interface and a transaction implemented using non-contact communication via a non-contact communication interface for one IC card.
[0005] Therefore, the present invention has been made in view of such points, and an object thereof is to provide an electronic information storage medium, an IC card, an IC chip, a transaction log method, and a program capable of separately storing transaction logs for each communication interface.
Means for Solving the Problems
[0006] To solve the above problems, the invention described in claim 1 is an electronic information storage medium having a plurality of communication interfaces, comprising: a memory that pre-stores for each communication interface first data indicating the storage location of a log of a transaction performed with an external device and second data indicating the items to be stored as the log; and storage means that, when communication for performing the transaction is performed with the external device via any one of the communication interfaces, stores a log of the transaction performed based on the first data and the second data corresponding to that one of the communication interfaces.
[0007] The invention described in claim 2 is characterized in that, in the electronic information storage medium described in claim 1, the plurality of communication interfaces include a non-contact communication interface and a contact communication interface, the storage location indicated by the first data corresponding to the non-contact communication interface is different from the storage location indicated by the first data corresponding to the contact communication interface, and the stored items indicated by the second data corresponding to the non-contact communication interface are at least partially different from the stored items indicated by the second data corresponding to the contact communication interface.
[0008] The invention described in claim 3 is characterized in that, in the electronic information storage medium described in claim 2, the log of the transaction is stored according to one application stored in the electronic information storage medium, which is capable of switching the operation of saving the log during contact communication and non-contact communication.
[0009] The invention described in claim 4 is an IC chip mounted on an IC card having a plurality of communication interfaces, comprising: a memory that pre-stores for each communication interface first data indicating a storage location for a log of a transaction performed with an external device and second data indicating storage items to be stored as the log; and storage means that, when communication for performing the transaction is performed with the external device via any one of the communication interfaces, stores a log of the transaction performed based on the first data and the second data corresponding to that one of the communication interfaces.
[0010] The invention described in claim 5 is an IC card having a plurality of communication interfaces, comprising: a memory that pre-stores for each communication interface first data indicating a storage location for transaction logs performed with an external device and second data indicating storage items to be stored as said logs; and storage means that, when communication for performing the transaction is performed with the external device via any one of the communication interfaces, stores a log of the performed transaction based on the first data and the second data corresponding to any one of the communication interfaces.
[0011] The invention described in claim 6 is a transaction log storage method performed by an electronic information storage medium having a plurality of communication interfaces, comprising the steps of: storing in memory for each communication interface first data indicating a storage location for transaction logs performed with an external device and second data indicating storage items to be stored as said logs; and when communication for performing the transaction is performed with the external device via any one of the communication interfaces, storing the log of the performed transaction based on the first data and the second data corresponding to any one of the communication interfaces.
[0012] The invention described in claim 7 is characterized in that a computer included in an electronic information storage medium having a plurality of communication interfaces is made to perform the following steps: store in memory for each communication interface first data indicating the storage location of a log of a transaction performed with an external device and second data indicating the items to be stored as said log; and when communication for performing the transaction is performed with the external device via any one of the communication interfaces, save the log of the transaction performed based on the first data and the second data corresponding to any one of the communication interfaces. [Effects of the Invention]
[0013] According to the present invention, transaction logs can be stored separately for each communication interface. [Brief explanation of the drawing]
[0014] [Figure 1] This figure shows an example of the general configuration of IC card 1. [Figure 2] This is a conceptual diagram showing an example of storage area allocated to each communication interface 11,12. [Figure 3] This figure shows an example of the correspondence between Log Format CT and Transaction Log CT. [Figure 4] This figure shows an example of the correspondence between Log Format CL and Transaction Log CL. [Figure 5] This flowchart shows an example of log saving processing performed by the CPU 16 of IC card 1. [Modes for carrying out the invention]
[0015] Embodiments of the present invention will be described in detail below with reference to the drawings. The embodiments described below are those in which the present invention is applied to an IC card equipped with a contact communication interface and a contactless communication interface.
[0016] [1. Configuration and Function of IC Card 1] First, the configuration and function of the IC card 1 according to this embodiment will be described with reference to Figure 1. Figure 1 is a diagram showing an example of the general configuration of the IC card 1. The IC card 1 is an example of an electronic information storage medium. As shown in Figure 1, the IC card 1 is configured to include a contact communication interface 11, a contactless communication interface 12, RAM (Random Access Memory) 13, ROM (Read Only Memory) 14, NVM (Nonvolatile Memory) 15, and a CPU (Central Processing Unit) 16, etc. The IC card 1 may be packaged with multiple chips (for example, an IC for contact communication, an IC for contactless communication, and a controller to control them), or it may be configured with a single IC chip.
[0017] The contact communication interface 11 includes, for example, an I / O circuit as defined in ISO / IEC 7816 (including, for example, eight terminals C1 to C8), and when the IC card 1 is inserted into the mounting part of the terminal 2, the I / O circuit is connected to the terminal 2 (an example of an external device). This allows the IC card 1 to perform contact communication with the terminal 2. The non-contact communication interface 12 includes, for example, a modulation / demodulation circuit, and demodulates data from a carrier wave emitted from the reader / writer of the terminal 3 (an example of an external device) and received by an antenna (not shown). The non-contact communication interface 12 also modulates the data from the CPU 16 and outputs the modulated signal to the antenna (not shown). This allows the IC card 1 to perform contactless communication with the terminal 3.
[0018] For NVM15, for example, flash memory is applied. Note that NVM15 may be "Electrically Erasable Programmable Read-Only Memory". In ROM14 or NVM15, an OS (Operating System), applications (including the program of the present invention), etc. are stored. Here, the applications include one reference application App that can switch the operation of saving the Transaction Log between contact communication and non-contact communication. In NVM15, for example, in the issuing process of the IC card 1 in the factory, a storage area for saving the Transaction Log is allocated for each of the communication interfaces 11 and 12, and Log Entry and Log Format are issued for each of the communication interfaces 11 and 12 and stored in NVM15. Here, the Transaction Log is, for example, a log of transactions defined by the EMV (registered trademark) specification, and is saved (recorded) in the record of the storage area every time one transaction is completed.
[0019] In the following description, the Transaction Log corresponding to the contact communication interface 11 is referred to as "Transaction Log CT (Contact)", and the Transaction Log corresponding to the non-contact communication interface 12 is referred to as "Transaction Log CL (Contactless)". Also, the Log Entry corresponding to the contact communication interface 11 is referred to as "Log Entry CT (Contact)", and the Log Entry corresponding to the non-contact communication interface 12 is referred to as "Log Entry CL (Contactless)". Also, the Log Format corresponding to the contact communication interface 11 is referred to as "Log Format CT (Contact)", and the Log Format corresponding to the non-contact communication interface 12 is referred to as "Log Format CL (Contactless)".
[0020] FIG. 2 is a conceptual diagram showing an example of a storage area assigned to each of the communication interfaces 11 and 12. The storage area R(1) shown in FIG. 2 corresponds to the contact communication interface 11 (contact communication), and the storage area R(2) shown in FIG. 2 corresponds to the non-contact communication interface 12 (non-contact communication). The storage area R(1) is managed by the reference application App as a file F(1) identified by the SFI (Short File Identifier), and the storage area R(2) is managed by the reference application App as a file F(2) identified by the SFI. The storage areas R(1) and R(2) (in other words, the files F(1) and F(2)) each have a plurality of records. Each record is managed by a record number (Record Number). One Transaction Log related to one transaction is recorded in one record. The Transaction Log stored in each record can be read from the outside by the Read Record command.
[0021] Log Entry CT includes the SFI of the file F(1) having the record in which the Transaction Log CT is stored (an example of the first data indicating the storage destination of the Transaction Log CT) and the record number of the record supported for the SFI (in other words, the maximum number of records). On the other hand, Log Entry CL includes the SFI of the file F(2) having the record in which the Transaction Log CL is stored (an example of the first data indicating the storage destination of the Transaction Log CL) and the record number of the record supported for the SFI. Note that the "storage destination of the Transaction Log CT" indicated by Log Entry CT is different from the "storage destination of the Transaction Log CL" indicated by Log Entry CL.
[0022] The Log Format CT includes a list of data (an example of secondary data) that indicates the items to be saved as a Transaction Log CT (i.e., the data elements to be stored within the Transaction Log CT). In this list of data, each item to be saved is represented by a unique Tag and Length. Each time a transaction is completed between the trading application App and terminal 2, the items to be saved listed in the Log Format CT are written to the record as a Transaction Log CT. Examples of items to be saved listed in the Log Format CT include the transaction date, transaction time, transaction currency code, and transaction amount.
[0023] On the other hand, Log Format CL includes a list of data (an example of second data) indicating the items to be saved as Transaction Log CL (i.e., data elements to be stored within Transaction Log CL). Each time a transaction is completed between the transaction application App and terminal 3, the items listed in Log Format CL are written to the record as Transaction Log CL. Examples of items listed in Log Format CL include transaction date, transaction time, transaction currency code, transaction amount, and cumulative number of transactions. The items may also include a code identifying the store or station (ticket gate) where the transaction took place. By listing different items (data elements) in Log Format CT and Log Format CL, the behavior of IC card 1 can be realized in which at least some of the items are different as Transaction Logs during contact communication and contactless communication.
[0024] The CPU 16 (an example of a computer) functions as a storage means in the present invention by executing the OS and applications (including the program of the present invention) stored in the NVM 15. That is, the CPU 16 stores the Transaction Log as follows, according to a transaction application App that can switch the operation of storing the Transaction Log between contact communication and non-contact communication. For example, when communication for conducting a transaction is made with terminal 2 via the contact communication interface 11 (i.e., when the transaction is completed during contact communication), the CPU 16 stores the Transaction Log CT of the executed transaction in a record in storage area R(1) based on the Log Entry CT and Log Format CT corresponding to the contact communication interface 11. In other words, the storage items indicated by the Log Format CT are written to the record of file F(1) indicated by the Log Entry CT. On the other hand, when communication for conducting a transaction is made with terminal 3 via the contactless communication interface 12 (i.e., when a transaction is completed during contactless communication), CPU 16 saves the Transaction Log CL of the completed transaction to a record in storage area R(2) based on the Log Entry CL and Log Format CL corresponding to the contactless communication interface 12. In other words, the saved items indicated by Log Format CL are written to the record in file F(2) indicated by Log Entry CL.
[0025] Figure 3 shows an example of the correspondence between Log Format CT and Transaction Log CT. In Figure 3, the Log Format CT shows the following items as saved items: "9A03", "9F2103", "5F2A02", and "9F0206" (shown in hexadecimal). Here, in "9A03", "9A" is a tag representing the transaction date (YYMMDD), and "03" is the length of the transaction date. In "9F2103", "9F21" is a tag representing the transaction time (HHMMSS), and "03" is the length of the transaction time. In "5F2A02", "5F2A" is a tag representing the transaction currency code, and "02" is the length of the transaction currency code. In "9F0206", "9F02" is a tag representing the transaction amount, and "06" is the length of the transaction amount. In Figure 3, the Transaction Log CT shows the actual data (i.e., the data actually stored in the record) of the items shown in the Log Format CT: “220801” (transaction date), “123000” (transaction time), “0392” (transaction currency code), and “000000001000” (transaction amount).
[0026] On the other hand, Figure 4 shows an example of the correspondence between Log Format CL and Transaction Log CL. In Figure 3, Log Format CL shows “9A03”, “9F2103”, “5F2A02”, “9F0206”, and “9F3602” as saved items. Here, in “9F3602”, “9F36” is a tag representing the cumulative number of transactions, and “02” is the length of the cumulative number of transactions. Comparing the Log Format CT shown in Figure 3 with the Log Format CL shown in Figure 4, Log Format CL has the cumulative number of transactions “9F3602” added in addition to the four saved items shown in Log Format CT. Therefore, “000A” is added to Transaction Log CL as actual data for the cumulative number of transactions.
[0027] [2. Operation of IC card 1] Next, the operation of the IC card 1 according to this embodiment will be described with reference to Figure 5. Figure 5 is a flowchart showing an example of log saving processing performed by the CPU 16 of the IC card 1. Depending on the IC card 1, for example, in the issuance process within the factory, both or either of the Log Entry CT and Log Format CT, and the Log Entry CL and Log Format CL may not be issued and therefore not stored in the NVM 15. Figure 5 shows a general-purpose process that also takes such cases into consideration. According to the process shown in Figure 5, the saved items and destination of the Transaction Log can be switched depending on the issuance status of Log Entry and Log Format.
[0028] The process shown in Figure 5 is initiated, for example, when a transaction conducted with terminal 2 or terminal 3 is completed. The transaction-related processing can be performed, for example, in accordance with the EMV (registered trademark) specification. When the process shown in Figure 5 is initiated, the CPU 16 determines the type of communication interface currently in use (i.e., when the transaction was conducted) (step S1). If the type of communication interface when the transaction was conducted is contact communication (i.e., contact communication interface 11) (step S2: contact communication), the process proceeds to step S3. On the other hand, if the type of communication interface when the transaction was conducted is contactless communication (i.e., contactless communication interface 12) (step S2: contactless communication), the process proceeds to step S5.
[0029] In step S3, the CPU 16 determines whether or not a Log Format CT has been issued. If it is determined that a Log Format CT has not been issued (step S3: NO), the process ends without saving the Transaction Log. On the other hand, if it is determined that a Log Format CT has been issued (step S3: YES), the CPU 16 writes the Transaction Log CT to the record in storage area R(1) based on the Log Entry CT and Log Format CT (step S4), and then terminates the process.
[0030] In step S5, the CPU 16 determines whether or not a Log Format CT has been issued. If it is determined that a Log Format CT has not been issued (step S5: NO), the process ends without saving the Transaction Log. In other words, in this example, if a Log Format CT has not been issued, the Transaction Log will not be saved even if a Log Format CL has been issued. As another example, even if a Log Format CT has not been issued, if a Log Format CL has been issued, the system may be configured to write the Transaction Log CL to the record in storage area R(2) based on the Log Entry CL and Log Format CL.
[0031] On the other hand, if it is determined that the Log Format CT has been issued (step S5: YES), the CPU 16 determines whether or not the Log Format CL has been issued (step S6). If it is determined that the Log Format CL has not been issued (step S6: NO), the CPU 16 writes the Transaction Log CT to the record in storage area R(1) based on the Log Entry CT and Log Format CT (step S7), and terminates the process. On the other hand, if it is determined that the Log Format CL has been issued (step S6: YES), the CPU 16 writes the Transaction Log CL to the record in storage area R(2) based on the Log Entry CL and Log Format CL (step S8), and terminates the process.
[0032] According to the process shown in Figure 5, when both Log Format CT and Log Format CL are issued, separate storage items for contact communication and contactless communication are written to separate records as Transaction Log (CT or CL). In other words, the storage areas (1) and (2) where the Transaction Log (CT or CL) is written are switched between contact communication and contactless communication according to the Log Entry (CT or CL). On the other hand, when only Log Format CT is issued, common storage items for contact communication and contactless communication are written to a common record as Transaction Log CT.
[0033] As described above, according to the above embodiment, the IC card 1 stores Log Entry and Log Format in the NVM 15 in advance for each communication interface 11 and 12. When communication for conducting a transaction is performed with terminal 2 via the contact communication interface 11, the Transaction Log CT is stored in the storage area R(1) based on the Log Entry CT and Log Format CT corresponding to the contact communication interface 11. On the other hand, when communication for conducting a transaction is performed with terminal 3 via the contactless communication interface 12, the Transaction Log CL is stored in the storage area R(2) based on the Log Entry CL and Log Format CL corresponding to the contactless communication interface 12. This configuration allows for the separate storage of Transaction Logs for each communication interface 11 and 12. In other words, the items stored in the Transaction Log are switched between contact communication and contactless communication. This enables highly convenient processing, for example, by storing actual data equivalent to the existing EMV® specification for conventional shopping in the Transaction Log during contact communication, and storing actual data for other uses (e.g., entrances and exits of transportation facilities) in the Transaction Log during contact communication.
[0034] In the above embodiment, an IC card equipped with a contact communication interface and a contactless communication interface was described as an example. However, the present invention is also applicable to an IC card equipped with multiple contact communication interfaces (for example, an ISO / IEC 7816 compliant interface and an SPI (Serial Peripheral Interface)) (but without a contactless communication interface). In the present invention, an IC card 1 was described as an example of an electronic information storage medium. However, the present invention is also applicable to an IC chip mounted on a mobile device. Such an IC chip may be mounted on an embedded circuit board as an eUICC (Embedded Universal Integrated Circuit Card) so that it cannot be easily removed or replaced from the mobile device. [Explanation of symbols]
[0035] 1 IC card 2,3 terminals 11 Contact Communication Interface 12 Contactless communication interface 13 RAM 14 ROM 15 NVM 16 CPU
Claims
1. An electronic information storage medium having multiple communication interfaces, A memory that pre-stores, for each communication interface, first data indicating the storage location for transaction logs conducted with an external device, and second data indicating the items to be stored as said logs, When communication for conducting the transaction is made with the external device via any one of the communication interfaces, a storage means for storing a log of the transaction based on the first data and the second data corresponding to the one of the communication interfaces, An electronic information storage medium characterized by comprising the following features.
2. Multiple communication interfaces include contactless communication interfaces and contact communication interfaces. The electronic information storage medium according to claim 1, characterized in that the storage location indicated by the first data corresponding to the non-contact communication interface is different from the storage location indicated by the first data corresponding to the contact communication interface, and at least a part of the storage items indicated by the second data corresponding to the non-contact communication interface is different from the storage items indicated by the second data corresponding to the contact communication interface.
3. The electronic information storage medium according to claim 2, characterized in that it stores the transaction log according to one application stored in the electronic information storage medium, which is capable of switching the operation of saving the log between contact communication and non-contact communication.
4. An IC chip mounted on an IC card equipped with multiple communication interfaces, A memory that pre-stores, for each communication interface, first data indicating the storage location for transaction logs conducted with an external device, and second data indicating the items to be stored as said logs, When communication for conducting the transaction is made with the external device via any one of the communication interfaces, a storage means for storing a log of the transaction based on the first data and the second data corresponding to the one of the communication interfaces, An IC chip characterized by having the following features.
5. An IC card equipped with multiple communication interfaces, A memory that pre-stores, for each communication interface, first data indicating the storage location for transaction logs conducted with an external device, and second data indicating the items to be stored as said logs, When communication for conducting the transaction is made with the external device via any one of the communication interfaces, a storage means for storing a log of the transaction based on the first data and the second data corresponding to the one of the communication interfaces, An IC card characterized by having the following features.
6. A method for saving transaction logs, which is performed using an electronic information storage medium equipped with multiple communication interfaces, The steps include storing in memory, for each communication interface, first data indicating the storage location for transaction logs conducted with an external device, and second data indicating the items to be stored as said logs; When communication for conducting the transaction is made with the external device via any one of the communication interfaces, the steps include saving a log of the transaction based on the first data and the second data corresponding to the one of the communication interfaces, A method for saving transaction logs, characterized by including the following:
7. A computer contained in an electronic information storage medium equipped with multiple communication interfaces, The steps include storing in memory, for each communication interface, first data indicating the storage location for transaction logs conducted with an external device, and second data indicating the items to be stored as said logs; When communication for conducting the transaction is made with the external device via any one of the communication interfaces, the steps include saving a log of the transaction based on the first data and the second data corresponding to the one of the communication interfaces, A program characterized by causing the execution of a specific action.