ELECTRONIC INFORMATION STORAGE MEDIUM, IC CARD, IC CHIP, LOGIC CHANNEL UTILIZATION METHOD, AND PROGRAM
By managing interfaces and logical channels for each application, the solution addresses inefficiencies in IC cards with multiple applications, ensuring correct channel and application usage, thereby improving usability and convenience.
Patent Information
- Application Number
- JP2023215816
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2024-08-22
- Estimated Expiration
- 2043-12-21
AI Technical Summary
Existing IC cards with multiple applications and interfaces face inefficiencies in managing available logical channels and interfaces due to processing load and response time, particularly when specific interfaces like contactless communication are undesirable for certain applications.
The solution involves managing available interfaces for each logical channel and applications by using management information to determine the usability of logical channels and interfaces, executing processes to open channels and select applications based on predefined criteria, and performing error processing when necessary.
This approach improves usability by ensuring correct interface and application management, preventing incorrect use and enhancing convenience in IC card operations.
Smart Images

Figure 0007538484000001
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of IC (Integrated Circuit) cards and the like that are provided with a plurality of interfaces for communicating with external terminals and that have a plurality of applications installed thereon. [Background technology]
[0002] Conventionally, IC cards equipped with multiple applications have a function of managing logical channels as logical communication paths for executing processes by each application. For example, as disclosed in Patent Document 1, different applications can be assigned to each logical channel. This allows a user to use multiple services with one IC card. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2011-216068 A Summary of the Invention [Problem to be solved by the invention]
[0004] In some services that use IC cards, channel numbers of logical channels used for system convenience may be defined. Therefore, in IC cards that can use multiple services, available logical channels may be managed for each application corresponding to each service. On the other hand, in IC cards that have multiple applications and multiple interfaces, depending on the application, using a specific interface (e.g., a contactless communication interface) may not be desirable due to processing load and response time.
[0005] Therefore, the present invention has been made in consideration of the above points and has an object to provide an electronic information storage medium, an IC card, an IC chip, a logical channel utilization method, and a program that can improve convenience by managing the interfaces available for each logical channel and managing the logical channels available for each application. [Means for solving the problem]
[0006] In order to solve the above problem, the invention described in claim 1 is an electronic information storage medium having a plurality of interfaces and having a plurality of applications installed therein, comprising: a storage means for storing first management information defining an interface available for each logical channel and second management information defining an interface available for each of the applications; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; and a processing means for executing a command in response to the reception of the command. 、 Multiple The above a first determination means for determining whether or not one logical channel to be opened among the logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application assigned by default to the first opened logical channel among the plurality of applications; and, when it is determined that there is an application assigned by default, assigning the application assigned by default to the first opened logical channel. whether the second management information is available in the 3 A determination means; Assigned by default The application The above-mentioned When it is determined that the one logical channel is available, Assigned by default Perform the process of selecting an application On the other hand, a second processing means for executing an error process when it is determined that the application assigned by default is not available on the one opened logical channel. The present invention is characterized by comprising:
[0007] The invention described in claim 2 is the electronic information storage medium described in claim 1, wherein the one logical channel is determined to be unavailable on the one interface. Ta In the case, No. 1 The processing means is characterized by executing error processing.
[0008] The invention described in claim 3 is the electronic information storage medium described in claim 1 or 2, wherein the command indicates one logical channel to be opened. vinegar It is characterized by:
[0009] The invention described in claim 4 is an IC card having a plurality of interfaces and having a plurality of applications installed therein, comprising: a storage means for storing first management information defining an interface available for each logical channel and second management information defining an interface available for each of the applications; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; and a receiving means for receiving the command in response to the reception of the command. 、 Multiple The above a first determination means for determining whether or not one logical channel to be opened among the logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application assigned by default to the first opened logical channel among the plurality of applications; and, when it is determined that there is an application assigned by default, assigning the application assigned by default to the first opened logical channel. whether the second management information is available in the 3 A determination means; Assigned by default The application The above-mentioned When it is determined that the one logical channel is available, Assigned by default Perform the process of selecting an application On the other hand, a second processing means for executing an error process when it is determined that the application assigned by default is not available on the one opened logical channel. The present invention is characterized by comprising:
[0010] The invention described in claim 5 is an IC chip having a plurality of interfaces and having a plurality of applications mounted thereon, comprising: a storage means for storing first management information defining an interface available for each logical channel and second management information defining an interface available for each of the applications; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; and a 、 Multiple The above a first determination means for determining whether or not one logical channel to be opened among the logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application assigned by default to the first opened logical channel among the plurality of applications; and, when it is determined that there is an application assigned by default, assigning the application assigned by default to the first opened logical channel.whether the second management information is available in the 3 A determination means; Assigned by default The application The above-mentioned When it is determined that the one logical channel is available, Assigned by default Perform the process of selecting an application On the other hand, a second processing means for executing an error process when it is determined that the application assigned by default is not available on the one opened logical channel. The present invention is characterized by comprising:
[0011] The invention described in claim 6 is a logical channel utilization method executed by an electronic information storage medium having a plurality of interfaces and having a plurality of applications installed, the method including the steps of: storing in a storage means first management information defining an interface available for each logical channel; and second management information defining an interface available for each application; receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; and, in response to the reception of the command, 、 Multiple The above determining whether one logical channel to be opened among the logical channels is available on the one active interface based on the first management information; a step of executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a step of determining whether or not there is an application assigned by default to the first opened logical channel among the plurality of applications; and a step of assigning the application assigned by default to the first opened logical channel when it is determined that there is an application assigned by default. determining whether the second management information is available on the Assigned by default The application The above-mentioned When it is determined that the one logical channel is available, Assigned by default Perform the process of selecting an application On the other hand, when it is determined that the application assigned by default is not available on the one opened logical channel, performing an error process. , characterized in that it includes.
[0012] The invention described in claim 7 provides a computer having a plurality of interfaces and included in an electronic information storage medium on which a plurality of applications are installed, the computer comprising: a storage means for storing first management information defining an interface available for each of the logical channels and second management information defining an available logical channel for each of the applications; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; and a processing means for executing a program for executing the program in response to the reception of the command. 、Multiple The above a first determination means for determining whether or not one logical channel to be opened among the logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application assigned by default to the first opened logical channel among the plurality of applications; and, when it is determined that there is an application assigned by default, assigning the application assigned by default to the first opened logical channel. whether the second management information is available in the 3 A determination means; Assigned by default The application The above-mentioned When it is determined that the one logical channel is available, Assigned by default Perform the process of selecting an application On the other hand, a second processing means for executing an error process when it is determined that the application assigned by default is not available on the one opened logical channel. The present invention is characterized in that it functions as a Effect of the Invention
[0013] According to the present invention, usable interfaces are managed for each logical channel, and usable logical channels are managed for each application, thereby improving convenience. [Brief description of the drawings]
[0014] [Figure 1] FIG. 2 is a diagram showing an example of a schematic configuration of an IC card C. [Diagram 2] 2 is a diagram illustrating an example of a hardware configuration of an IC chip 2. FIG. [Diagram 3] 1A is a diagram showing an example of a management table TB1, and FIG. 1B is a diagram showing an example of a management table TB2. [Figure 4] 10 is a flowchart showing an example of a logical channel opening process executed by a CPU 21 of the IC chip 2 in the first embodiment. [Diagram 5] 13 is a flowchart showing an example of a logical channel opening process executed by a CPU 21 of an IC chip 2 in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the embodiment described below is an embodiment in which the present invention is applied to an IC card that has multiple interfaces for communicating with an external terminal and is equipped with multiple applications.
[0016] [1. Configuration and functions of IC card C] First, the configuration and functions of an IC card C according to this embodiment will be described with reference to FIG. 1. FIG. 1 is a diagram showing an example of a schematic configuration of an IC card C. Examples of the IC card C include a credit card, an electronic money card, and a card for passing through an entrance / exit gate. As shown in FIG. 1, the IC card C includes an antenna 1, an IC chip 2 having a plurality of interfaces, and the like. The IC card C and the IC chip 2 are examples of electronic information storage media of the present invention. The IC chip 2 is equipped (installed) with applications (i.e., a plurality of applications) corresponding to each of a plurality of different services (e.g., payment services). In the following description, of the multiple interfaces, the contactless communication interface is referred to as "interface I / F1" and the contact communication interface is referred to as "interface I / F2". The interface I / F1 includes contactless communication terminals (La, Lb) connected to the antenna 1, and performs contactless communication (e.g., contactless communication conforming to the international standard ISO / IEC 14443) with, for example, a contactless reader / writer of a payment terminal T1 (an example of an external terminal) via the antenna 1 in a contactless field.
[0017] FIG. 2 is a diagram showing an example of a hardware configuration of the IC chip 2. As shown in FIG. 2, the IC chip 2 is configured to include a CPU (Central Processing Unit) 21, a RAM (Random Access Memory) 22, a ROM (Read Only Memory) 23, an NVM (Nonvolatile Memory) 24, and an I / O circuit 25. The I / O circuit 25 includes eight terminals C1 to C8 that comply with, for example, the international standard ISO / IEC 7816. Here, the C1 terminal is a power terminal (VCC), the C2 terminal is a reset terminal (RST) for inputting a reset signal, the C3 terminal is a clock terminal (CLK) for inputting a clock signal, and the C5 terminal is a ground terminal (GND). The C6 terminal is a terminal that serves as an interface I / F1 between the contactless reader / writer of the payment terminal T1 via the antenna 1 (for example, a terminal used for communication according to SWP (Single Wire Protocol)). The C7 terminal is a terminal that serves as an interface I / F2 between the contact reader / writer of the payment terminal T2 (an example of an external terminal), for example. The C4 and C8 terminals can be used as interfaces with other external terminals (for example, an interface for USB (Universal Serial Bus) transfer, or SPI (Serial Peripheral Interface)).
[0018] The CPU 21 is a processor (computer) that executes a program (including the program of the present invention) stored in the ROM 23 or NVM 24 (an example of a storage means). For example, a flash memory can be used as the NVM 24. The NVM 24 may be a non-volatile memory such as an "Electrically Erasable Programmable Read-Only Memory". The ROM 23 or NVM 24 stores an OS (Operating System), a program (including the program of the present invention) such as a plurality of applications that run on the OS, and a plurality of management tables TB1 and TB2. The OS has a basic function that handles the basic operation of the IC chip 2, an interface management function that handles the management of a plurality of interfaces using the management table TB1, and a logical channel management function that handles the management of a plurality of logical channels using the management table TB2.
[0019] Here, the basic functions that handle the basic operation of the IC chip 2 include a function to recognize an interface that is in operation among the multiple interfaces. An interface that is in operation refers to an interface that is activated by the occurrence of a reset event, for example. For example, a reset event of the interface I / F1 occurs when the C6 terminal of the I / O circuit 25 is set to a high state (pull-up). Also, a reset event of the interface I / F1 occurs when, for example, the IC card C enters an operating magnetic field field emitted by a contactless reader / writer of the payment terminal T1, power is supplied, and the interface transitions to an IDLE state (compliant with the international standard ISO / IEC14443-3 "5.2.1 Polling"). On the other hand, a reset event of the interface I / F2 occurs when, for example, the C1 terminal and the C2 terminal (or the C7 terminal) of the I / O circuit 25 are set to a high state. When an interface is activated, a basic logical channel (logical channel with channel number ch0) may be opened. The management table TB1 (an example of first management information) specifies the interfaces available for each logical channel. On the other hand, management table TB2 (an example of second management information) defines available logical channels for each application.
[0020] FIG. 3(A) is a diagram showing an example of a management table TB1. In the management table TB1 shown in FIG. 3(A), since the interface identifiers IF1 and IF2 are associated with the channel number ch0, it indicates that the logical channel of the channel number ch0 can be used with the interfaces I / F1 and I / F2. In other words, the logical channel of the channel number ch0 supports the operations of the interfaces I / F1 and I / F2. Also, in the management table TB1 shown in FIG. 3(A), since the interface identifier IF2 is associated with the channel number ch1, it indicates that the logical channel of the channel number ch1 (additional logical channel) can be used only with the interface I / F2. Also, in the management table TB1 shown in FIG. 3(A), since the interface identifier IF1 is associated with the channel number ch2, it indicates that the logical channel of the channel number ch2 (additional logical channel) can be used only with the interface I / F1.
[0021] On the other hand, FIG. 3(B) is a diagram showing an example of the management table TB2. In the management table TB2 shown in FIG. 3(B), the channel numbers ch0 to ch2 are associated with the application identifier AID1, which indicates that the application of the application identifier AID1 can be used on each of the logical channels with the channel numbers ch0 to ch2. In other words, the application of the application identifier AID1 is supported for operation on each of the logical channels with the channel numbers ch0 to ch2. In addition, in the management table TB2 shown in FIG. 3(B), the channel number ch1 is associated with the application identifier AID2, which indicates that the application of the application identifier AID2 can be used only on the logical channel with the channel number ch1. In addition, in the management table TB2 shown in FIG. 3(B), the channel number ch2 is associated with the application identifier AID3, which indicates that the application of the application identifier AID3 can be used only on the logical channel with the channel number ch2.
[0022] An application is a collection of multiple instantiated objects, and is an entity that processes commands from an external terminal. In addition, the NVM 24 stores files used by the applications. Such files include, for example, a Master File (MF), a Dedicated File (DF), and an Elementary File (EF). Each file is identified by a file identifier. The MF is located at the top of the file structure, and the DF and EF are located at a lower level (subordinate) of the MF. In addition, for example, a DF (application DF) may be provided for each application under the MF. The EF under each application DF stores data used by each application. In addition, the EF is divided into an IEF and a WEF. For example, a PIN (verification key) such as a session key is stored in the IEF.
[0023] In the IC chip 2 configured as above, the CPU 21 executes the program of the present invention to function as the receiving means, the first determining means, the second determining means, and the processing means of the present invention. Specifically, when the CPU 21 receives a predetermined command from an external terminal (T1 or T2) via one active interface among the multiple interfaces, the CPU 21 determines, in response to the reception of the command, based on the management table TB1, whether or not one logical channel to be opened among the multiple logical channels is available on the active interface, and determines, in response to the reception of the command, based on the management table TB2, whether or not one application to be selected among the multiple applications is available on the one logical channel to be opened.
[0024] Here, the one application to be selected is an application that is assigned by default to one or more logical channels, or an application that is indicated in the SELECT command defined in ISO / IEC 7816-4 (i.e., specified by the SELECT command). An application that is assigned by default to one or more logical channels is an application that can be implicitly selected on the logical channel, and is managed separately (separately) from the management table TB2 by the logical channel management function of the OS. The SELECT command is composed of a command APDU (Application Protocol Data Unit) that includes a header section consisting of CLA, INS, P1, and P2, and a body section consisting of Data, etc. In the SELECT command, for example, the file identifier of a file used by the application to be selected is encoded in P1, and the application identifier of the application to be selected is included in Data in the body section.
[0025] Moreover, the one logical channel to be opened is, for example, a logical channel that has not been opened. Examples of commands for opening a logical channel include the above-mentioned SELECT command and the MANAGE CHANNEL command defined in ISO / IEC 7816-4. The MANAGE CHANNEL command is configured by a command APDU that includes a header section (which may include a body section) that includes INS, P1, and P2. In the SELECT command, for example, the channel number of the logical channel to be opened is encoded by CLA. On the other hand, in the MANAGE CHANNEL command, for example, the channel number of the logical channel to be opened is encoded by P2. Note that the one logical channel to be opened may be a basic logical channel opened by activating an interface, and in this case, the channel number of the basic logical channel to be opened by the SELECT command does not need to be encoded by CLA.
[0026] Then, when CPU21 determines that one logical channel to be opened is available on one interface in operation and that one application to be selected is available on one logical channel to be opened, it executes a process of opening one logical channel to be opened and selecting one application to be selected.On the other hand, when CPU21 determines that one logical channel to be opened is not available on one interface in operation or that one application to be selected is not available on one logical channel to be opened, it executes an error process.
[0027] [2. Operation of IC card C] Next, the operation of the IC card C will be described separately for Example 1 and Example 2. In Example 1 and Example 2, it is assumed that an initialization sequence (including an initial response from the IC chip 2) is executed in any one of the interfaces due to the occurrence of a reset event, for example, and the interface is activated (operating).
[0028] Example 1 First, the operation of the IC card C in the first embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing an example of a logical channel opening process executed by the CPU 21 (for example, an OS) of the IC chip 2 in the first embodiment. The process shown in Fig. 4 is started when a MANAGE CHANNEL command is received from an external terminal via an interface in operation.
[0029] 4 starts, the CPU 21 identifies an active interface (for example, by an interface identifier) (step S1). Next, the CPU 21 identifies a logical channel to be opened, which is indicated by a MANAGE CHANNEL command (for example, by a channel number) (step S2). Next, the CPU 21 determines whether the logical channel identified in step S2 is available on the interface identified in step S1 based on the management table TB1 (step S3).
[0030] If it is determined that the logical channel identified in step S2 is not available on the interface identified in step S1 (step S3: NO), an error process is performed (step S4). In this error process, for example, a response APDU including status words SW1 and SW2 indicating an error is transmitted to the external terminal via the active interface. On the other hand, if it is determined that the logical channel identified in step S2 is available on the interface identified in step S1 (step S3: YES), the process proceeds to step S5.
[0031] In step S5, the CPU 21 opens the logical channel identified in step S2. Next, the CPU 21 determines whether or not there is an application assigned by default to the logical channel identified in step S2 (step S6). If it is determined that there is no application assigned by default (step S6: NO), a response APDU including status words SW1 and SW2 indicating normal termination is transmitted to the external terminal via the active interface (step S7). Such a response APDU may include the channel number of the opened logical channel. On the other hand, if it is determined that there is an application assigned by default (step S6: YES), the process proceeds to step S8. Note that if it is determined that there is an application assigned by default, the process may proceed to step S10.
[0032] In step S8, the CPU 21 determines whether the application assigned by default is available on the logical channel specified in step S2 based on the management table TB2. If it is determined that the application assigned by default is not available on the logical channel specified in step S2 (step S8: NO), an error process is performed similarly to step S4 (step S9). As a result, even if an application is assigned by default to a logical channel, whether the application can be used on the logical channel can be determined according to the management table TB2 issued later, thereby improving the convenience of the IC card C.
[0033] On the other hand, if it is determined that the application assigned by default is available on the logical channel identified in step S2 (step S8: YES), the process proceeds to step S10. In step S10, the CPU 21 selects the application assigned by default. Next, the CPU 21 transmits a response APDU including status words SW1 and SW2 indicating normal termination to the external terminal via the active interface (step S11). Such a response APDU includes FCI (File Control Information) related to the file used by the selected application.
[0034] Example 2 Next, the operation of the IC card C in the second embodiment will be described with reference to Fig. 5. Fig. 5 is a flowchart showing an example of a logical channel opening process executed by the CPU 21 (for example, an OS) of the IC chip 2 in the second embodiment. The process shown in Fig. 5 is started when a SELECT command is received from an external terminal via an interface in operation.
[0035] 5 is started, the CPU 21 identifies an interface in operation (step S21). Next, the CPU 21 identifies a logical channel to be opened, which is indicated by the SELECT command (step S22). If a basic logical channel has already been opened, the basic logical channel is identified. Next, the CPU 21 identifies an application to be selected, which is indicated by the SELECT command (for example, by an application identifier) (step S23).
[0036] Next, the CPU 21 determines whether the logical channel identified in step S22 is available on the interface identified in step S21 based on the management table TB1 (step S24). If it is determined that the logical channel identified in step S22 is not available on the interface identified in step S21 (step S24: NO), an error process is performed similarly to step S4 (step S25). On the other hand, if it is determined that the logical channel identified in step S22 is available on the interface identified in step S21 (step S24: YES), the process proceeds to step S26.
[0037] In step S26, the CPU 21 determines whether the application identified in step S23 is available on the logical channel identified in step S22 based on the management table TB2. If it is determined that the application identified in step S23 is not available on the logical channel identified in step S22 (step S26: NO), an error process is performed similarly to step S4 (step S27).
[0038] On the other hand, if it is determined that the application identified in step S23 can be used on the logical channel identified in step S22 (step S26: YES), the process proceeds to step S28. In step S28, the CPU 21 opens the logical channel identified in step S22, and the process proceeds to step S29. Note that, if the basic logical channel has already been opened, the process of step S28 is skipped, and the process proceeds to step S29.
[0039] In step S29, the CPU 21 selects the application identified in step S23. Next, the CPU 21 transmits a response APDU including status words SW1 and SW2 indicating normal termination to the external terminal via the active interface (step S30). Such a response APDU includes FCI (File Control Information) related to the file used by the selected application, and may further include the channel number of the opened logical channel.
[0040] As described above, according to the above embodiment, when the IC chip 2 receives a predetermined command from an external terminal via an interface in operation, it determines whether or not the logical channel to be opened is available on the interface in operation in response to the command based on the management table TB1, and determines whether or not the application to be selected is available on the logical channel to be opened based on the management table TB2. When the IC chip 2 determines that the logical channel to be opened is available on the interface in operation and that the application to be selected is available on the logical channel to be opened, it is configured to open the logical channel to be opened and execute a process of selecting the application to be selected, thereby preventing erroneous or unauthorized use of the IC card C and improving convenience.
[0041] In the above embodiment, the IC card C having a contact communication interface and a contactless communication interface is described as an example, but the present invention is applicable to IC cards having a plurality of contact communication interfaces. In the above embodiment, the IC card C having the IC chip 2 is described as an example, but the IC chip 2 of the present invention may be mounted on a small IC card that can be attached to and detached from a communication device such as a smartphone, or may be mounted on an embedded board as an eUICC (Embedded Universal Integrated Circuit Card) so that it cannot be easily removed or replaced from the communication device. In this case, the interface I / F1 of the IC chip 2 is connected to a CLF (ContactLess Front-end) provided in the communication device, and contactless communication is performed between the IC chip 2 and, for example, a contactless reader / writer of the payment terminal T1 via the CLF. Note that communication is performed between the interface I / F1 and the CLF according to, for example, SWP. [Explanation of symbols]
[0042] 1 Antenna 2 CLF 2. IC chip 21 CPU 22 RAM 23 ROM 24 NVM 25 I / O circuit C. IC card
Claims
1. An electronic information storage medium having a plurality of interfaces and having a plurality of applications installed thereon, a storage means for storing first management information defining an interface available for each logical channel and second management information defining a logical channel available for each application; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; a first determination means for determining, in response to receiving the command, whether or not one logical channel to be opened among the plurality of logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application that is assigned by default to the one opened logical channel among the plurality of applications; a third determination means for determining, when it is determined that there is an application assigned by default, whether or not the application assigned by default is available on the first logical channel that has been opened, based on the second management information; a second processing means for executing a process of selecting the application assigned by default when it is determined that the application assigned by default is available on the first opened logical channel, and for executing an error process when it is determined that the application assigned by default is not available on the first opened logical channel; An electronic information storage medium comprising:
2. 2. The electronic information storage medium according to claim 1, wherein said first processing means executes an error process when it is determined that said one logical channel is not available on said one interface.
3. 3. The electronic information storage medium according to claim 1, wherein the command indicates one logical channel to be opened.
4. An IC card having a plurality of interfaces and a plurality of applications, a storage means for storing first management information defining an interface available for each logical channel and second management information defining a logical channel available for each application; A predetermined command is sent from an external terminal to one of the plurality of interfaces that is in operation. receiving means for receiving via an interface; In response to receiving the command, one of the plurality of logical channels to be opened is selected. whether a channel is available on the one active interface is determined by the first management A first determination means for making a determination based on the information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application that is assigned by default to the one opened logical channel among the plurality of applications; a third determination means for determining, when it is determined that there is an application assigned by default, whether or not the application assigned by default is available on the first logical channel that has been opened, based on the second management information; a second processing means for executing a process of selecting the application assigned by default when it is determined that the application assigned by default is available on the first opened logical channel, and for executing an error process when it is determined that the application assigned by default is not available on the first opened logical channel; An IC card comprising:
5. An IC chip having a plurality of interfaces and a plurality of applications, a storage means for storing first management information defining an interface available for each logical channel and second management information defining a logical channel available for each application; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; a first determination means for determining, in response to receiving the command, whether or not one logical channel to be opened among the plurality of logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application that is assigned by default to the one opened logical channel among the plurality of applications; a third determination means for determining, when it is determined that there is an application assigned by default, whether or not the application assigned by default is available on the first logical channel that has been opened, based on the second management information; a second processing means for executing a process of selecting the application assigned by default when it is determined that the application assigned by default is available on the first opened logical channel, and for executing an error process when it is determined that the application assigned by default is not available on the first opened logical channel; An IC chip comprising:
6. 1. A logical channel utilization method executed by an electronic information storage medium having a plurality of interfaces and having a plurality of applications installed thereon, comprising: storing in a storage means first management information defining an interface available for each logical channel and second management information defining a logical channel available for each application; receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; determining, in response to receiving the command, whether or not one logical channel to be opened among the plurality of logical channels is available on the one active interface based on the first management information; executing a process of opening the one logical channel when it is determined that the one logical channel is available on the one interface; determining whether or not there is an application that is assigned by default to the one opened logical channel among the plurality of applications; when it is determined that there is an application assigned by default, determining whether or not the application assigned by default is available on the first logical channel that has been opened based on the second management information; executing a process of selecting the application assigned by default when it is determined that the application assigned by default is available on the one opened logical channel, and executing an error process when it is determined that the application assigned by default is not available on the one opened logical channel; A method for utilizing a logical channel comprising:
7. A computer having a plurality of interfaces and included in an electronic information storage medium on which a plurality of applications are installed, a storage means for storing first management information defining an interface available for each logical channel and second management information defining a logical channel available for each application; a receiving means for receiving a predetermined command from an external terminal via one of the plurality of interfaces that is in operation; a first determination means for determining, in response to receiving the command, whether or not one logical channel to be opened among the plurality of logical channels is available on the one active interface based on the first management information; a first processing means for executing a process of opening the first logical channel when it is determined that the first logical channel is available on the first interface; a second determination means for determining whether or not there is an application that is assigned by default to the one opened logical channel among the plurality of applications; a third determination means for determining, when it is determined that there is an application assigned by default, whether or not the application assigned by default is available on the first logical channel that has been opened, based on the second management information; A program characterized by functioning as a second processing means that executes a process of selecting the application assigned by default when it is determined that the application assigned by default is available on the one opened logical channel, and that executes error processing when it is determined that the application assigned by default is not available on the one opened logical channel.
Citation Information
Patent Citations
Storage device provided with logic channel management function
JP2003030596A
IC card
JP2007206895A
Method and apparatus for running multiple applications on portable storage devices - Patents.com
JP2007537533A
Portable electronic apparatus, IC card, and method of controlling the portable electronic apparatus
JP2011216068A
Information processing device
JP2018011104A
