Electronic information storage medium, initialization sequence execution method, and program

The electronic information storage medium and method manage profile updates by identifying valid profiles and executing tailored initialization sequences, addressing inefficient reinitialization issues in embedded IC modules, enhancing user convenience and reducing disruptions.

JP7533142B2Active Publication Date: 2024-08-14DAI NIPPON PRINTING CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020188706
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-12
Publication Date
2024-08-14
Estimated Expiration
2040-11-12

AI Technical Summary

Technical Problem

Existing embedded IC modules require appropriate initialization sequences for each profile update, but existing methods fail to efficiently manage and execute these sequences, leading to unintended communication disruptions.

Method used

An electronic information storage medium and method that includes interface and profile management functions to identify valid profiles and execute tailored initialization sequences based on reset events, ensuring appropriate communication reinitialization.

Benefits of technology

Enables efficient and targeted initialization sequences for each profile, minimizing disruptions and improving user convenience by preventing unnecessary reinitialization of unrelated interfaces and channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533142000005
    Figure 0007533142000005
  • Figure 0007533142000004
    Figure 0007533142000004
  • Figure 0007533142000002
    Figure 0007533142000002
Patent Text Reader

Abstract

To provide an electronic information storage medium, an initialization sequence execution method, and a program capable of executing an appropriate initialization sequence according to each of mounted profiles.SOLUTION: An IC module 4 identifies, when a reset event of an interface occurs, a profile associated with the interface in which the reset event occurs, determines whether or not the identified profile is valid, and executes, when the identified profile is valid, using initial response information associated with the profile, an initialization sequence in the interface.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of electronic information storage media, such as IC (Integrated Circuit) cards capable of carrying a plurality of profiles. [Background technology]

[0002] For IC cards capable of mounting multiple applications, products that comply with the Java (registered trademark) Card specification and the GlobalPlatform (registered trademark) specification have become the de facto standard. In such products, one card can act as a cash card, a credit card, and an electronic money card. Such IC cards manage channels (logical channels), which are logical communication paths. The channel management function can assign different applications to each channel, as disclosed in Patent Document 1, for example. Furthermore, by opening multiple channels, multiple functions can be provided in parallel.

[0003] In addition, with the spread of IoT (Internet of Things), embedded IC modules called eUICC (embedded Universal Integrated Circuit Card) are now being used in applications where IC cards were previously used. Embedded IC modules often also have multiple functions, such as security functions to ensure security, payment functions, and authentication functions for connecting to mobile lines. Furthermore, embedded IC modules are connected to a variety of external modules (e.g., payment servers and authentication servers) compared to conventional IC cards, and therefore have multiple and diverse interfaces corresponding to these. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2011-216068 A Summary of the Invention [Problem to be solved by the invention]

[0005] Incidentally, as a method for easily changing the functions provided by an embedded IC module, there are cases where multiple profiles each consolidating multiple applications are mounted on the embedded IC module. In this case, the embedded IC module is adapted to manage enable / disable for each profile. When a profile mounted on the embedded IC module is updated, the functions provided to the external module are changed before and after the update. For this reason, communication between the application in the profile and the corresponding program needs to be terminated and reinitialized before and after the update, and it is desirable to execute an appropriate initialization sequence according to each mounted profile.

[0006] Therefore, the present invention has been made in consideration of the above points and aims to provide an electronic information storage medium, an initialization sequence execution method, and a program capable of executing an appropriate initialization sequence according to each loaded profile. [Means for solving the problem]

[0007] In order to solve the above problem, the invention described in claim 1 is an electronic information storage medium having at least one interface and a function for setting each of a plurality of profiles to be enabled or disabled, and storing initial response information linked to each of the profiles, characterized in that it comprises a first identification means for identifying a valid profile among the plurality of profiles when a reset event of the interface occurs, and an execution means for executing an initialization sequence in the interface using the initial response information linked to the profile identified by the first identification means.

[0008] The invention described in claim 2 is characterized in that, in the electronic information storage medium described in claim 1, the electronic information storage medium manages the profile linked to the interface, and the first identification means identifies the profile linked to the interface in which the reset event occurred, and if the identified profile is valid, identifies the valid profile.

[0009] The invention described in claim 3 is an electronic information storage medium described in claim 1 or 2, further comprising a first determination means for determining whether or not the valid profile has been switched in response to a reset event of the interface, and a second identification means for identifying the valid profile associated with another interface other than the interface in which the reset event occurred when the first determination means determines that the valid profile has been switched, and the execution means executes an initialization sequence in the other interface using the initial response information associated with the profile identified by the second identification means.

[0010] The invention described in claim 4 is characterized in that, in the electronic information storage medium described in any one of claims 1 to 3, it further comprises a second determination means for determining whether the profile identified by the first determination means is linked to another interface other than the interface in which the reset event occurred, and when the second determination means determines that the profile is linked to the other interface, an initialization sequence is executed in the other interface using the initial response information linked to the profile.

[0011] The invention described in claim 5 is characterized in that, in the electronic information storage medium described in any one of claims 1 to 4, the electronic information storage medium further comprises a third identification means for managing channels that can be opened for the interface and identifying channels that can be opened for the interface in which the reset event occurred, and the execution means executes an initialization sequence for any of the channels identified by the third identification means that are opened for the profile.

[0012] The invention described in claim 6 is characterized in that, in the electronic information storage medium described in claim 5, the execution means executes an initialization sequence of another channel opened in the profile that is opened for the channel identified by the third identification means.

[0013] The invention described in claim 7 is an initialization sequence execution method executed by a computer in an electronic information storage medium having at least one interface and a function of setting each of a plurality of profiles to be enabled or disabled, and storing initial response information linked to each of the profiles, characterized in that it includes the steps of: when a reset event of the interface occurs, identifying a valid profile among the plurality of profiles; and executing an initialization sequence in the interface using the initial response information linked to the identified profile.

[0014] The invention described in claim 8 is characterized in that a computer in an electronic information storage medium having at least one interface and a function for setting each of a plurality of profiles to be enabled or disabled, and storing initial response information linked to each of the profiles, is made to function as a first identification means for identifying a valid profile among the plurality of profiles when a reset event of the interface occurs, and as an execution means for executing an initialization sequence in the interface using the initial response information linked to the profile identified by the first identification means. Effect of the Invention

[0015] According to the present invention, it is possible to execute an appropriate initialization sequence corresponding to each of a plurality of profiles loaded on an electronic information storage medium. [Brief description of the drawings]

[0016] [Figure 1] FIG. 2 is a diagram illustrating an example of a schematic configuration of a communication device D according to the present embodiment. [Diagram 2] 2 is a diagram illustrating an example of a hardware configuration of an IC module 4. FIG. [Diagram 3] FIG. 13 is a diagram illustrating an example of a relationship between a profile, a channel, and an interface. [Figure 4] 10 is a flowchart showing an example of a main process executed by the OS of the IC module 4 when a reset event of the interface occurs. [Diagram 5] 5 is a flowchart showing details of the "reset target interface determination process" shown in step S6 of FIG. 4. [Figure 6] 5 is a flowchart showing details of the "reset target channel determination process" shown in step S8 of FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. The embodiment described below is an embodiment in which the present invention is applied to a communication device. The communication device can be applied to, for example, a mobile terminal such as a smartphone, or an IoT device equipped with various sensors.

[0018] [1. Overview of communication device D] First, a schematic configuration of a communication device D according to this embodiment will be described with reference to Fig. 1 etc. Fig. 1 is a diagram showing an example of a schematic configuration of a communication device D according to this embodiment. As shown in Fig. 1, the communication device D includes a communication module 1, a communication module 2, a control module 3, and an IC module 4 (an example of an electronic information storage medium of the present invention). Note that, although the communication device D includes two communication modules in the example of Fig. 1, it may include three or more communication modules.

[0019] The communication module 1 is, for example, a Contactless Front-end (CLF) that performs contactless communication defined by the NFC (Near Field Communication) standard, and communicates with a contactless reader provided in the payment device in a contactless field. Furthermore, the communication module 1 communicates with the IC module 4 via an interface IF1. The interface IF1 is an interface for performing communication according to, for example, the SWP (Single Wire Protocol).

[0020] The communication module 2 is, for example, a wireless communication modem for connecting to a mobile line (for example, a 3G, 4G, or 5G network) and communicates with a base station of the mobile line. Furthermore, the communication module 2 communicates with the IC module 4 via an interface IF2. The communication module 2 and the IC module 4 are an interface for communicating according to a protocol defined by, for example, ISO7816.

[0021] The control module 3 is configured with a CPU (Central Processing Unit), RAM (Random Access Memory), ROM (Read Only Memory), etc., and controls various functions in the communication device D. The IC module 4 is configured based on hardware such as an IC chip, and is equipped with software such as an operating system (hereinafter referred to as "OS") and profiles. Here, the OS may be firmware. The IC module 4 may be mounted on an embedded board as an eUICC so that it cannot be easily removed or replaced from the communication device D, or may be removably attached to the communication device D as a card-type IC card.

[0022] FIG. 2 is a diagram showing an example of a hardware configuration of the IC module 4. As shown in FIG. 2, the IC module 4 is configured to include a CPU 41, a RAM 42, a ROM 43, an NVM (Nonvolatile Memory) 44, an I / O circuit 45, and the like. The I / O circuit 45 includes, for example, eight terminals C1 to C8 defined by ISO7816. 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 IF1 with the communication module 1, and the C7 terminal is a terminal that serves as an interface IF2 with the communication module 2. The C4 terminal and the C8 terminal can be used as terminals that serve as interfaces with communication modules other than the communication modules 1 and 2 (for example, an interface for USB (Universal Serial Bus) transfer).

[0023] The CPU 41 is a processor (computer) that executes a program (including the program of the present invention) stored in the ROM 43 or NVM 44. For example, a flash memory can be used as the NVM 44. The NVM 44 may be a non-volatile memory such as an "Electrically Erasable Programmable Read-Only Memory". The ROM 43 or NVM 44 stores an OS, a profile, interface management information, and profile management information. The ROM 43 or NVM 44 may store initial response information specific to the IC module 4.

[0024] Here, a profile includes at least one or more applications (e.g., a phone application, a payment supplement, a bank application, etc.). An application is a collection of multiple instantiated objects, and is an entity that processes commands from the outside. A profile may also include data used by the application. Such data is stored in multiple files having a hierarchical structure, for example, including a Master File (MF), a Dedicated File (DF), and an Elementary File (EF). The MF is located at the top of the file structure, and the DF and EF are located in the hierarchy below the MF. An MF is provided, for example, for each application. An EF is a file that stores data used by an application. An EF is also divided into an IEF and a WEF. An IEF stores, for example, a PIN (verification key) such as a session key.

[0025] The interface management information includes an interface list describing the identifiers of each interface. In the interface list, the identifiers of profiles pre-bound to each interface are described in association with the identifiers of each interface. In addition, in the interface list, a channel list describing the identifiers of one or more channels that can be opened for each interface may be described in association with the identifiers of each interface. A channel is a logical communication path for accessing a profile. Channels that can be opened for an interface are set in advance.

[0026] The profile management information also includes initial response information that is pre-linked to each profile. In the profile management information, each piece of initial response information is associated with an identifier of the profile to which it is linked. The initial response information is a parameter for communication settings, and differs depending on the profile (in other words, the type of profile).

[0027] Fig. 3 is a diagram showing an example of the relationship between profiles, channels, and interfaces. In Fig. 3, the OS has an interface management function for managing a plurality of interfaces, a channel management function for managing a plurality of channels, a profile management function for managing a plurality of profiles, a profile enable / disable setting function for setting each of the plurality of profiles to be enabled or disabled, and a channel allocation function for assigning an enabled profile of the plurality of profiles to any one of the channels.

[0028] The interface management function uses interface management information to manage profiles linked to each interface and to set (link) and manage channels that can be opened for each interface. In the example of Fig. 3, profile PF1 and profile PF2 are linked to interface IF1, and profile PF2 and profile PF3 are linked to interface IF2. Also, in the example of Fig. 3, channels Ch0 and Ch1 can be opened (in other words, linked) for interface IF1, and channels Ch2 and Ch3 can be opened for interface IF2. The profile management function uses profile management information to manage initial response information linked to each profile.

[0029] The profile enable / disable setting function can set all of the multiple profiles to be enabled, or can set only some of the profiles to be enabled. In the example of FIG. 3, profile PF1 and profile PF2 are set to be enabled (i.e., enabled), and profile PF3 is set to be disabled. The channel allocation function can also assign each of the multiple enabled profiles to each of the multiple channels. In the example of FIG. 3, profile PF1 is assigned to channel Ch0 (i.e., opened), and profile PF2 is assigned to channels Ch1 and Ch2. That is, profile PF1 has a session established with communication module 1 via channel Ch0. Also, profile PF2 has a session established with communication module 1 via channel Ch1, and a session established with communication module 2 via channel Ch2.

[0030] In the IC module 4 configured as above, the OS functions as the first identification means, the second identification means, the third identification means, the first determination means, the second determination means, and the execution means in the present invention in addition to the above-mentioned functions. Specifically, when a reset event occurs in an interface (e.g., IF1 or IF2), the OS identifies a profile linked to the interface in which the reset event occurred, determines whether the identified profile is valid, and, when the identified profile is valid, executes an initialization sequence (activation procedure) in the interface using initial response information linked to the profile (i.e., the initial response information of the profile).

[0031] That is, a valid profile is identified from among multiple profiles installed in the IC module 4, and an initialization sequence is executed in the interface using initial response information linked to the identified valid profile. This enables a different initial response for each profile. If the initialization sequence is executed normally, the interface is activated.

[0032] Here, the reset event of the interface IF1 occurs, for example, when the C6 terminal in the I / O circuit 45 is brought to a high state (pull-up). In the initialization sequence in this case, an ACT_SYNC frame including initial response information (such as SWP bit durations) linked to the above-identified valid profile is transmitted from the IC module 4 to the communication module 1 via the interface IF1. Then, as necessary, an ACT_POWER_MODE frame transmitted from the communication module 1 via the interface IF1 is received by the IC module 4, and processing according to the contents of the ACT_POWER_MODE frame is performed. Note that a reset event may occur when the IC module 4 directly generates a reset event, or when the IC module 4 requests the other device to start a reset process via the communication module 1.

[0033] On the other hand, a reset event of the interface IF2 occurs, for example, when the C1 terminal and the C2 terminal of the I / O circuit 45 are set to a High state. In the initialization sequence in this case, an ATR including initial response information (for example, a protocol format such as T=0 or T=1 and a communication speed) linked to the above-mentioned specified valid profile is transmitted from the IC module 4 to the communication module 2 via the interface IF2. Then, as necessary (for example, when changing communication parameters), a PPS (Protocol and Parameters Selection) request transmitted from the communication module 2 via the interface IF2 is received by the IC module 4, and processing including a response to the PPS request is performed. Note that a reset event may occur when the IC module 4 directly generates a reset event, or when the IC module 4 requests the other device to start a reset process via the communication module 2.

[0034] In addition, the OS determines whether a valid profile associated with the interface in which the reset event occurred is associated with another interface other than the interface in which the reset event occurred, and if it determines that the valid profile is associated with the other interface, executes an initialization sequence in the other interface using initial response information associated with the valid profile.

[0035] That is, in this case, in addition to the initialization sequence of the interface in which the reset event has occurred, the initialization sequence of the other interface is executed. This allows the initialization sequence of the other interface to be executed efficiently in conjunction with the reset event of the interface. If a valid profile is not linked to the other interface, the initialization sequence of the other interface is not executed. Therefore, it is possible to prevent the other interface that is unrelated to the valid profile linked to the interface in which the reset event has occurred from being initialized inadvertently. However, if the other interface is an interface in which only the opposing device of the IC module 4 generates a reset event such as ISO7816, the OS of the IC module 4 cannot directly generate a reset event. In this case, the OS may wait for the next command to be received by the other interface, and transmit a reinitialization request for the other interface by, for example, adding a specific status word to the response to this command, and request the opposing device to execute the initialization sequence.

[0036] The OS may also determine whether or not the valid profile has been switched in response to a reset event of the interface, and if it is determined that the valid profile has been switched, identify a valid profile associated with another interface other than the interface in which the reset event has occurred. In this case, the OS executes an initialization sequence in the other interface using initial response information associated with the valid profile. In this case, in addition to the initialization sequence of the interface in which the reset event has occurred, the initialization sequence of the other interface is also executed. Note that, if it is determined that the valid profile has not been switched, the initialization sequence of the other interface other than the interface in which the reset event has occurred is not executed.

[0037] Incidentally, in the above-mentioned interface initialization sequence, it is conceivable to initialize an already opened channel, but it is undesirable for a reset event of an interface not used by a valid profile to initialize a channel opened for the interface used by the valid profile. Therefore, it is preferable for the OS to separate the interface initialization sequence and the channel initialization sequence, identify channels that can be opened for the interface where the reset event occurred, and execute the initialization sequence of a channel that is opened for any of the identified valid profiles.

[0038] In the channel initialization sequence, for example, a storage area provided in, for example, the RAM 42 for storing information on opened channels is initialized. Such storage area is, for example, divided for each opened channel, and when the opened channels are reset individually, a limited storage area called a CLEAR_ON_DESELECT area is initialized, and when all channels are reset, a storage area called a CLEAR_ON_DESET area is initialized in addition to the CLEAR_ON_DESELECT area. The channel information includes, for example, an identifier of a profile assigned to the channel. In addition, in the channel initialization sequence, depending on the type of channel, a process may be performed to disconnect an opened channel and transition the state to unopened (for example, closing a channel other than a basic logical channel). In addition, in the channel initialization sequence, prior to the initialization of the RAM 42, a process may be performed to notify an application of the IC module 4 or an opposing application that is using the channel that the channel has been closed. In addition, the OS may execute an initialization sequence for other channels opened in a profile opened for the above specified channel.

[0039] [2. Operation of communication device D] Next, the operation of the communication device D will be described with reference to Fig. 4 to Fig. 6. Fig. 4 is a flowchart showing an example of a main process executed by the OS of the IC module 4 when an interface reset event occurs. Fig. 5 is a flowchart showing details of the "reset target interface determination process" shown in step S6 of Fig. 4. Fig. 6 is a flowchart showing details of the "reset target channel determination process" shown in step S8 of Fig. 4.

[0040] The process shown in Fig. 4 is started when the occurrence of a reset event of the interface is detected. When the process shown in Fig. 4 is started, the OS determines whether or not multiple profiles are mounted on the IC module 4 (i.e., stored in the NVM 44) (step S1). If the OS determines that multiple profiles are not mounted on the IC module 4 (step S1: NO), it executes an initialization sequence in the interface where the reset event occurred using initial response information unique to the IC module 4 (step S2), and ends the process shown in Fig. 4.

[0041] On the other hand, if the OS determines that multiple profiles are installed in the IC module 4 (step S1: YES), it determines whether the multiple profiles are valid or not (step S3). If the OS determines that the multiple profiles are not valid (step S3: NO), that is, if it determines that only one profile is valid, it proceeds to step S4. On the other hand, if the OS determines that the multiple profiles are valid (step S3: YES), it proceeds to step S6.

[0042] In step S4, the OS determines whether a valid profile is associated with the interface in which the reset event has occurred. If the OS determines that a valid profile is associated with the interface in which the reset event has occurred (step S4: YES), the OS executes an initialization sequence in the interface in which the reset event has occurred using the initial response information associated with the valid profile (step S5), and ends the process shown in FIG.

[0043] On the other hand, when the OS determines that a valid profile is not associated with the interface in which the reset event has occurred (step S4: NO), the OS ends the process shown in FIG. 4. When the OS determines that a valid profile is not associated with the interface in which the reset event has occurred, the OS may determine whether or not the valid profile has been switched in response to the reset event of the interface. In this case, when the OS determines that the valid profile has been switched (for example, from profile PF1 to profile PF2), it identifies a valid profile associated with another interface different from the interface in which the reset event has occurred. Then, the OS executes an initialization sequence in the other interface using the initial response information associated with the identified valid profile.

[0044] In step S6, the OS executes the reset target interface determination process shown in Fig. 5. This results in a reset target IF list in which identifiers of interfaces determined as reset targets are described. Details of the reset target interface determination process shown in Fig. 5 will be described later. Next, the OS determines whether each valid profile is associated with multiple interfaces (step S7).

[0045] Then, if the OS determines that each valid profile is associated with multiple interfaces (step S7: YES), the OS executes the reset target channel determination process shown in FIG. 6 (step S8) and proceeds to step S9. This results in a reset target CH list in which identifiers of channels determined as channels to be reset are described. Details of the reset target channel determination process shown in FIG. 6 will be described later. On the other hand, if the OS determines that each valid profile is not associated with multiple interfaces (step S7: NO), the OS proceeds to step S9.

[0046] In step S9, the OS executes an initialization sequence in the interface using the initial response information of a valid profile associated with the interface in the list of IFs to be reset obtained in step S6. Note that if the list of IFs to be reset describes identifiers of multiple interfaces, the initialization sequence is executed in each interface using the initial response information of a valid profile associated with each interface.

[0047] In step S10, the OS executes the initialization sequence of the channel in the reset target CH list obtained in step S8 (only if the channel to be reset is determined in step S8). Note that if the identifiers of multiple channels are described in the reset target CH list obtained in step S8, the initialization sequence of each channel is executed.

[0048] Next, the details of the reset target interface determination process shown in Fig. 5 will be described. In Fig. 5, the OS determines an interface IFa (a is a variable) in which a reset event has occurred as a reset target (step S61), and adds (writes) an identifier of the interface IFa to a reset target IF list. Next, the OS identifies a valid profile PFa (a is a variable) linked to the interface IFa (step S62).

[0049] Next, the OS selects one interface IFb (b is a variable) other than the interface IFa from the interface list in the interface management information (step S63), and then identifies a valid profile PFb (b is a variable) associated with the interface IFb selected in step S63 (step S64).

[0050] Next, the OS determines whether the profile PFa identified in step S62 is the same as the profile PFb identified in step S64 (step S65). If the OS determines that the profile PFa and the profile PFb are the same (step S65: YES), it determines the interface IFb selected in step S63 as the interface to be reset (step S66) and adds the identifier of the interface IFb to the IF list to be reset. Then, the process proceeds to step S67. On the other hand, if the OS determines that the profile PFa and the profile PFb are not the same (step S65: NO), the process proceeds to step S67.

[0051] In step S67, the OS judges whether or not there is an interface IFb that has not yet been selected in the interface list (step S67). If the OS judges that there is an interface IFb that has not yet been selected in the interface list (step S67: YES), the OS returns to step S63, selects an interface IFb that has not yet been selected, and performs the same process as described above. On the other hand, if the OS judges that there is no interface IFb that has not yet been selected in the interface list (step S67: NO), the process shown in FIG. 5 is terminated, and the process returns to the process shown in FIG. 4.

[0052] Next, the details of the reset target channel determination process shown in Fig. 6 will be described. In Fig. 6, the OS selects one interface IFx (x is a variable) from the reset target IF list (step S81). Next, the OS acquires a channel list of channels that can be opened for the interface IFx selected in step S81 (step S82). Next, the OS selects one channel Chx (x is a variable) from the channel list acquired in step S82 (step S83).

[0053] Next, the OS determines whether or not a valid profile PFx (x is a variable) is opened for the channel Chx selected in step S83 (step S84). If the OS determines that a valid profile PFx is not opened for the channel Chx (step S84: NO), the OS proceeds to step S86. On the other hand, if the OS determines that a valid profile PFx is opened for the channel Chx (step S84: YES), the OS determines the channel Chx as a channel to be reset (step S85), adds (writes) the identifier of the channel Chx to the CH list to be reset, and proceeds to step S86.

[0054] In step S86, the OS determines whether or not another channel Chy (y is a variable) is opened in the valid profile PFx. If the OS determines that another channel Chy is not opened in the valid profile PFx (step S86: NO), the OS proceeds to step S88. On the other hand, if the OS determines that another channel Chy is opened in the valid profile PFx (step S86: YES), the OS determines the other channel Chy as a channel to be reset (step S87), adds the identifier of the other channel Chy to the CH list to be reset, and proceeds to step S88.

[0055] In step S88, the OS determines whether there is a channel Chx that has not yet been selected in the channel list. If the OS determines that there is a channel Chx that has not yet been selected in the channel list (step S88: YES), the OS returns to step S83, selects a channel Chx that has not yet been selected, and performs the same process as described above. On the other hand, if the OS determines that there is no channel Chx that has not yet been selected in the channel list (step S88: NO), the OS proceeds to step S89.

[0056] In step S89, the OS judges whether there is an interface IFx that has not yet been selected in the IF list to be reset. If the OS judges that there is an interface IFx that has not yet been selected in the IF list to be reset (step S89: YES), the OS returns to step S81, selects an interface IFx that has not yet been selected, and performs the same process as described above. On the other hand, if the OS judges that there is no interface IFx that has not yet been selected in the IF list to be reset (step S89: NO), the process shown in FIG. 6 is terminated, and the process returns to the process shown in FIG. 4.

[0057] As described above, according to the above embodiment, when a reset event of an interface occurs, the IC module 4 is configured to specify a profile associated with the interface in which the reset event occurred, determine whether the specified profile is valid, and if the specified profile is valid, execute an initialization sequence in the interface using the initial response information associated with the profile. Therefore, an appropriate initialization sequence corresponding to each of the multiple profiles mounted on the IC module 4 can be executed, and user convenience can be improved. In addition, it is possible to prevent other interfaces unrelated to the valid profile associated with the interface in which the reset event occurred from being inadvertently initialized. Therefore, it is possible to prevent each profile from being affected by the initialization sequence related to the other profile. Furthermore, according to the above embodiment, it is possible to prevent a channel opened for an interface used by a valid profile from being initialized by a reset event of an interface not used by the valid profile. [Explanation of symbols]

[0058] 1,2 Communication module 3. Control Module 4 IC Module 41 CPU 42 RAM 43 ROM 44 NVM 45 I / O circuit D. Communication Devices

Claims

1. An electronic information storage medium comprising at least one interface and a function for setting each of a plurality of profiles to be valid or invalid, and storing initial response information associated with each of the profiles, a first identification means for identifying a valid profile from among the plurality of profiles when a reset event of the interface occurs; an execution unit that executes an initialization sequence in the interface by using the initial response information associated with the profile identified by the first identification unit; An electronic information storage medium comprising:

2. The electronic information storage medium manages the profile associated with the interface; The electronic information storage medium according to claim 1, characterized in that the first identification means identifies a profile associated with the interface in which the reset event occurred, and, if the identified profile is valid, identifies the valid profile.

3. a first determination means for determining whether or not the valid profile has been switched in response to a reset event of the interface; a second identification means for identifying the valid profile associated with another interface different from the interface in which the reset event has occurred when the first determination means determines that the valid profile has been switched; Further comprising: The electronic information storage medium according to claim 1 or 2, characterized in that the execution means executes an initialization sequence in the other interface using the initial response information linked to the profile identified by the second identification means.

4. a second determination unit that determines whether or not the profile identified by the first determination unit is associated with an interface other than the interface in which the reset event occurs, An electronic information storage medium as described in any one of claims 1 to 3, characterized in that when the second determination means determines that the profile is linked to the other interface, an initialization sequence is executed in the other interface using the initial response information linked to the profile.

5. the electronic information storage medium manages channels that can be opened with respect to the interface; a third identification means for identifying a channel that can be opened for the interface in which the reset event has occurred; An electronic information storage medium according to any one of claims 1 to 4, characterized in that the execution means executes an initialization sequence of a channel that is opened for any of the profiles among the channels identified by the third identification means.

6. 6. The electronic information storage medium according to claim 5, wherein the execution means executes an initialization sequence of another channel opened in the profile that is opened for the channel identified by the third identification means.

7. 1. An initialization sequence execution method executed by a computer in an electronic information storage medium that includes at least one interface and a function for setting each of a plurality of profiles to be enabled or disabled, and stores initial response information associated with each of the profiles, comprising: identifying a valid profile from among the plurality of profiles when a reset event of the interface occurs; performing an initialization sequence at the interface using the initial response information associated with the identified profile; 13. A method for executing an initialization sequence comprising:

8. A computer in an electronic information storage medium that includes at least one interface and a function for setting each of a plurality of profiles to be valid or invalid, and stores initial response information associated with each of the profiles, a first identification means for identifying a valid profile from among the plurality of profiles when a reset event of the interface occurs; A program that functions as an execution unit that executes an initialization sequence in the interface by using the initial response information linked to the profile identified by the first identification unit.

Citation Information

Patent Citations

  • Method and apparatus for selecting reconfigurable communication protocol between IC card and terminal

    JP2003526128A

  • Portable electronic apparatus, IC card, and method of controlling the portable electronic apparatus

    JP2011216068A

  • Non-contact type IC card

    JP2012068932A

  • IC card, IC module, and method of issuing IC card

    JP2016051328A

  • Selective activation of platform-specific features

    JP2017508205A