Portable electronic devcie and control method for portable electronic device

The portable electronic device automatically disables functions based on predefined conditions, reducing administrative burden by enabling automatic updates and eliminating the need for human intervention during operation.

WO2024195272A1PCT designated stage expired Publication Date: 2024-09-26KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/001806
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-01-23
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Conventional methods for disabling specific functions in portable electronic devices like IC cards require explicit human intervention or commands, leading to a heavy administrative burden during operation.

Method used

A portable electronic device with a processor that automatically disables functions based on predefined conditions, such as date data exceeding a reference date, without requiring human input, by executing a predetermined process and outputting error responses when necessary.

Benefits of technology

Reduces the administrative burden by enabling automatic disabling of functions during operation, eliminating the need for human intervention and allowing for automatic software updates without user action.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024001806_26092024_PF_FP
    Figure JP2024001806_26092024_PF_FP
Patent Text Reader

Abstract

A portable electronic device according to an embodiment is provided with a processor that performs a first process in accordance with a command received from an external device. Upon the command reception, which serves as a trigger, the processor determines whether or not a disabling condition is satisfied, and if the disabling condition is satisfied, performs the first process after performing a disabling process for disabling a prescribed function of a second process different from the first process, and if first date data is not beyond second date data, the processor performs the first process without performing the disabling process.
Need to check novelty before this filing date? Find Prior Art

Description

Portable electronic device and method for controlling portable electronic device

[0001] FIELD OF THE INVENTION Embodiments of the present invention relate to portable electronic devices and methods for controlling portable electronic devices.

[0002] When disabling a function installed in a portable electronic device such as an IC card, a disabling command is generally sent explicitly to the IC card. Also, if the function is to be disabled when the IC card is issued, the function can be disabled by processing a special management command (command) at the will of the issuer (issuer of the IC card).

[0003] Japanese Patent Application Laid-Open No. 2008-287602

[0004] That is, in the prior art, when a specific function of an IC card is to be disabled, a disable command other than a transaction command must be sent to the IC card during operation, which places a heavy burden on the user or administrator.

[0005] To provide a portable electronic device and a method for controlling the portable electronic device, which can disable a specific function of the portable electronic device without requiring any manual means even during operation.

[0006] A portable electronic device according to an embodiment includes a processor that executes a first process in accordance with a command received from an external device, wherein the processor determines whether a disablement condition is met when the command is received, and if the disablement condition is met, executes a disablement process that disables a predetermined function of a second process different from the first process before executing the first process, and if the first date data does not exceed the second date data, executes the first process without executing the disablement process.

[0007] FIG. 1 is a configuration diagram for explaining an example of an overview of an IC card processing system according to a first embodiment; FIG. 2 is a diagram showing an example of a management table stored in a storage unit of an IC card; FIG. 3 is a flowchart showing an example of the flow of invalidation processing according to the first embodiment; FIG. 4 is a flowchart showing an example of the flow of command processing after invalidation processing according to the first embodiment; FIG. 5 is a flowchart showing an example of the flow of invalidation processing according to a second embodiment; and FIG. 6 is a flowchart showing an example of the flow of invalidation processing according to a third embodiment.

[0008] (First embodiment) A portable electronic device and a method for controlling a portable electronic device according to an embodiment will be described below with reference to the drawings. Note that parts with the same reference numerals perform similar operations, and redundant explanations will be omitted as appropriate. The following embodiments do not limit the disclosed technology. Furthermore, each embodiment can be combined as appropriate within the scope of not causing any contradiction in the processing content.

[0009] 1 is a configuration diagram for explaining an example of an outline of an IC card processing system S according to an embodiment. The IC card processing system S according to the embodiment includes an IC card 1 and an IC card processing device 2.

[0010] The IC card 1 is a card measuring, for example, 85.6 mm x 54 mm x 0.76 mm, and is a contact card that communicates when loaded into the IC card processing device 2, or a contactless card that communicates when held over the IC card processing device 2. Alternatively, the IC card 1 is a combination card that supports both contact and contactless types.

[0011] The IC card processing device 2 is installed at the entrance and exit of a facility such as a store or a station, and the IC card processing device 2, which is compatible with a combination or contactless IC card 1, communicates with the IC card 1 held by the user, transmits information to the IC card 1, and receives information from the IC card 1. The IC card processing device 2 also communicates with the inserted IC card 1, transmits information to the IC card 1, and receives information from the IC card 1. Many IC cards 1 are in circulation on the market, and IC card processing devices 2 installed in various locations communicate with the IC card 1 held by the user or the inserted IC card 1.

[0012] 1, the IC card 1 includes a processor 11, a storage unit 12 (memory), and an interface 13. The processor 11 is a CPU (central processing unit) or the like, and executes various processes such as calculations and controls based on programs stored in a program memory such as a ROM (Read Only Memory) of the storage unit 12.

[0013] The processor 11 also includes an acquisition unit 111, a determination unit 112, a control unit 113, an output unit 114, and a counting unit 115. The processor 11 operates based on a program stored in a program memory, and realizes the functions of each of these units.

[0014] In particular, the processor 11 realizes the functions of the acquisition unit 111, the judgment unit 112, the control unit 113, and the output unit 114, and executes automatic disabling processing of specific functions of the IC card 1 (hereinafter also simply referred to as "automatic disabling processing").

[0015] Here, the automatic invalidation process automatically invalidates a specific vulnerable function of the IC card 1 even during operation of the IC card 1, without requiring manual operation or an invalidation instruction from an external device such as the IC card processing device 2. In the following, for the sake of concrete explanation, it is assumed that the specific function targeted by the automatic invalidation process is a function used in the encryption process. However, other functions can also be used as the specific vulnerable function to be invalidated. The specific content of the automatic invalidation process will be explained in detail later. Note that the operation command is an example of a first process, and the encryption process is an example of a second process.

[0016] The acquisition unit 111 acquires an external signal transmitted from an external device such as the IC card processing device 2 via the interface 13. For example, the acquisition unit 111 acquires a command transmitted from an external device such as the IC card processing device 2. The acquisition unit 111 also acquires various pieces of information stored in the storage unit 12.

[0017] In the automatic invalidation process, the determination unit 112 analyzes the command acquired by the acquisition unit 111. Furthermore, the determination unit 112 is triggered by the acquisition unit 111 acquiring a specific command, and uses the analysis result to determine whether the invalidation condition is satisfied.

[0018] Here, the invalidation condition is a condition for determining whether to invalidate a specific function of the encryption process. In the first embodiment, the invalidation condition is, for example, a case where date data received during an operational transaction exceeds a reference date. The reference date may be specified externally in advance, or may be implemented in the program as a predetermined date.

[0019] In the automatic invalidation process, when the determination unit 112 determines that the invalidation condition is satisfied, the control unit 113 invalidates a specific function of the encryption process. Specifically, when the determination unit 112 determines that date data included in a command received during an operational transaction exceeds a reference date, the control unit 113 invalidates a specific function related to the encryption process. Note that invalidating a specific function includes at least one of resetting data related to the function, deleting data related to the function, and setting a invalidation flag to ON.

[0020] The output unit 114 outputs a predetermined response signal to the external device via the interface 13. For example, when the output unit 114 receives a command that uses a function that has been disabled by the automatic disabling process, the output unit 114 outputs an error response signal to the external device via the interface 13.

[0021] In response to the execution of an operation command by the control unit 113, the counting unit 115 writes the number of times each operation command has been executed into the storage unit 12.

[0022] The storage unit 12 includes a ROM, a RAM (Random Access Memory), a non-volatile memory, etc. The ROM and non-volatile memory are non-transitory computer-readable media that store programs such as an operating system or application software for operating the processor 11. The ROM and non-volatile memory also store data used by the processor 11 when performing various processes. The RAM stores data that the processor 11 temporarily uses when performing various processes.

[0023] In particular, the storage unit 12 stores a management table used in the automatic invalidation process.

[0024] Fig. 2 shows an example of a management table stored in the storage unit of an IC card. In Fig. 2, "Data A" and "Data B" are data used in encryption processing, such as part of information used in access control (Basic Access Control: BAC) using symmetric encryption. Also in Fig. 2, "Address" indicates the location (address) in the storage unit 12 where "Data A" and "Data B" are stored. "Data Length" indicates the length of each of the data "Data A" and "Data B."

[0025] 2, it can be seen that data A is stored as data of 0x50 bytes length from address 0x100000. That is, data A is stored at addresses 0x100000 to 0x10004F.

[0026] 1 , the interface 13 communicates with the IC card processing device 2, receives information from the IC card processing device 2, and transmits information to the IC card processing device 2. For example, the interface 13 receives external signals such as commands and reset request signals from the IC card processing device 2. The interface 13 also outputs an error response signal from the output unit 114 to the IC card processing device 2.

[0027] As shown in FIG. 1, the IC card processing device 2 includes a processor 21, a storage unit 22, a card reader / writer 23, an operation unit 24, a display 25, and the like.

[0028] The processor 21 is a CPU or the like, and executes various processes such as calculation and control based on programs stored in a program memory such as a ROM of the storage unit 22. The processor 11 operates based on the programs stored in the program memory.

[0029] The processor 21 transmits commands and reset request signals to the IC card 1 via the card reader / writer 23. The processor 21 executes various processes based on response signals to the commands sent to the IC card 1. The processor 21 also outputs commands to the IC card 1 via the card reader / writer 23, and writes data to the IC card 1 or rewrites data on the IC card 1.

[0030] For example, the processor 21 includes a signal generating unit 211 and an output unit 212. The processor 21 operates based on a program stored in a program memory, and realizes the functions of these units.

[0031] The signal generating unit 211 generates signals related to operation commands. The output unit 212 outputs various signals via the card reader / writer 23.

[0032] The storage unit 22 includes ROM, RAM, non-volatile memory, etc. The ROM and non-volatile memory are non-transitory computer-readable media that store programs such as an operating system or application software for operating the processor 21. The ROM and non-volatile memory also store data used by the processor 21 when performing various processes. The RAM stores data that the processor 21 temporarily uses when performing various processes.

[0033] The card reader / writer 23 is an interface for transmitting and receiving data to and from the IC card 1. The card reader / writer 23 includes an antenna, contact terminals, a communication control unit, etc., and communicates contactlessly with the combination or contactless IC card 1 via the antenna, and communicates by being physically and electrically connected to the combination or contactless IC card 1 via the contact terminal.

[0034] The operation unit 24 accepts input instructions from an operator of the IC card processing device 2. The operation unit 24 transmits input data corresponding to the accepted input instructions to the processor 21. The operation unit 24 is, for example, a keyboard, a numeric keypad, or a touch panel.

[0035] The display 25 is a display device that displays various information under the control of the processor 21, and displays a message regarding an error response received from the IC card 1. The display 25 is, for example, a liquid crystal monitor. The display 25 may be formed integrally with the operation unit 24, for example.

[0036] (Automatic Invalidation Process) Next, the automatic invalidation process executed by the IC card 1 will be described.

[0037] Fig. 3 is a flowchart showing an example of the flow of the revocation process according to the first embodiment. Note that the process in Fig. 3 assumes a case in which, for example, when transitioning from access control realized by symmetric encryption (Basic Access Control, hereinafter also referred to as "BAC") to access control (Password Authenticated Connection Establishment, hereinafter also referred to as "PACE") that provides a session key using asymmetric encryption with a higher security level, the BAC access control is automatically revoked.

[0038] 3, the acquisition unit 111 of the IC card 1 receives a predetermined operation command including a date in the data portion (step S1), which starts the automatic invalidation process.

[0039] The determination unit 112 analyzes the command acquired by the acquisition unit 111 (step S2).

[0040] For the sake of concreteness, it is assumed below that the operation command acquired by acquisition unit 111 is a PERFORM SECURITY OPERATION command, and that the data portion of the command includes the date data of the signature, such as Certificate Effective Date (Tag '5F25').

[0041] As a result of the analysis, the determining unit 112 determines whether or not the command data contains Tag '5F25' (step S3).

[0042] If the determination unit 112 determines that the command data does not include Tag '5F25' (No in step S3), the control unit 113 executes processing in accordance with the command (command processing) (step S4), and then terminates the processing.

[0043] On the other hand, if it is determined that the command data contains Tag '5F25' (Yes in step S3), the judgment unit 112 determines whether the date of Tag '5F25' exceeds the reference date (e.g., "2025 / 1 / 1") (step S5).

[0044] If the judgment unit 112 determines that the date of Tag '5F25' does not exceed the reference date "2025 / 1 / 1" (No in step S5), the control unit 113 executes command processing (step S4) and then terminates the processing.

[0045] On the other hand, if the judgment unit 112 determines that the date of Tag '5F25' exceeds the reference date "2025 / 1 / 1" (Yes in step S5), the control unit 113 accesses the management table in the memory unit 12 and obtains the address and data length of the data to be deleted (step S6).

[0046] The control unit 113 accesses the storage unit 12 based on the acquired address and data length, and determines whether the data to be deleted has the initial value (0xFF) for the data length (step S7).

[0047] If the control unit 113 determines that the data to be deleted has the initial value (0xFF) for the data length from the address (Yes in step S7), it executes the command processing (step S4) and then ends the processing.

[0048] On the other hand, if the control unit 113 determines that the data to be deleted does not have the initial value (0xFF) for the data length from the address (No in step S7), it overwrites the data from the address with the initial value (0xFF) for the data length (step S8). Thereafter, the control unit 113 executes the command processing (step S4) and ends the processing.

[0049] (Command Execution Processing After Automatic Invalidation Processing) Next, an example of command processing execution after automatic invalidation processing will be described.

[0050] 4 is a flowchart showing an example of the flow of command processing execution after automatic invalidation processing, in which a function that has been invalidated by automatic invalidation processing without using an invalidation flag is used.

[0051] 4, the acquisition unit 111 of the IC card 1 receives a predetermined operation command (step S10), which starts command processing after the automatic invalidation process.

[0052] The determination unit 112 analyzes the command acquired by the acquisition unit 111, and determines whether the INS portion is a GET CHALLENGE command (step S11).

[0053] If the determination unit 112 determines that the INS portion is not a GET CHALLENGE command (No in step S11), the control unit 113 executes command processing (step S12), and then ends the processing.

[0054] On the other hand, if the determination unit 112 determines that the INS portion is a GET CHALLENGE command (Yes in step S11), the control unit 113 accesses the management table in the storage unit 12 and acquires the address and address length of each piece of data related to the function to be disabled (step S13).

[0055] The control unit 113 accesses the storage unit 12 based on the address and address length of each piece of acquired data, and determines whether each piece of data related to the function to be disabled is at its initial value (step S14).

[0056] If the control unit 113 determines that the data related to the function to be disabled is not the initial value (No in step S14), it executes the command process (step S12) and then ends the process.

[0057] On the other hand, if the control unit 113 determines that each data related to the function to be disabled is an initial value (Yes in step S14), it determines that the function has been deleted, interrupts the processing, and controls the output unit 114 to respond with an error (step S15).

[0058] The output unit 114 outputs an error response signal to the external device via the interface 13. As a result, an error message is displayed on the display 25 of the IC card processing device 2, for example.

[0059] In the case of automatic invalidation processing using an invalidation flag, instead of steps S13 and S14, a determination process of "Is the deletion (invalidation) flag of the BAC ON?" is executed.

[0060] An IC card 1 as a portable electronic device according to an embodiment includes a processor 11 that executes a first process in accordance with a command received from an IC card processing device 2, which is an external device. A determination unit 112 implemented by the processor 11 determines whether first date data included in the command exceeds second date data used as a reference. If the first date data exceeds the second date data, a control unit 113 implemented by the processor 11 executes a disabling process that disables a predetermined function (e.g., access control) of a second process (e.g., encryption process) different from the first process, and then executes the first process. If the first date data does not exceed the second date data, the control unit 113 executes the first process without executing the disabling process.

[0061] That is, for example, when the IC card 1 receives a command, it can automatically disable the vulnerable access control used in encryption if the first date data in the signature included in the command exceeds the reference second date data. Therefore, the IC card 1 can automatically update the software (disable the vulnerable function) without receiving a special command for disabling from an external device such as the IC card processing device 2. Furthermore, the user does not need to take manual measures such as taking the IC card 1 to a designated location to receive the software update. As a result, the workload for updating the software on the IC card 1 can be reduced, reducing the workload on the user, management company, etc.

[0062] Second Embodiment Next, an IC card 1 according to a second embodiment will be described. In the second embodiment, when transition from BAC to PACE is desired, if the access control included in the command received from the external device is BAC, the access control of BAC is automatically invalidated using an invalidation flag.

[0063] Fig. 5 is a flowchart showing an example of the flow of the invalidation process according to the second embodiment. As shown in Fig. 5, the acquisition unit 111 of the IC card 1 receives a predetermined operation command (step S21). This starts the automatic invalidation process.

[0064] The determining unit 112 analyzes the command acquired by the acquiring unit 111, and determines whether the INS portion included in the command header is a GENERAL AUTHENTICATION command (step S22).

[0065] If the determination unit 112 determines that the INS portion is not a GENERAL AUTHENTICATION command (i.e., the access control is not BAC) (No in step S22), the control unit 113 executes command processing (step S23) and then ends the processing.

[0066] On the other hand, if the determination unit 112 determines that the INS portion is a GENERAL AUTHENTICATION command (that is, the access control is BAC) (Yes in step S22), the control unit 113 turns on the deletion (invalidation) flag of the BAC (step S24).

[0067] After turning on the deletion flag of the BAC, the control unit 113 executes the command process (step S23), and then ends the process.

[0068] The IC card 1 according to the second embodiment described above includes a processor 11 that executes predetermined processing in accordance with a command received from the IC card processing device 2. A determination unit 112 realized by the processor 11 determines whether the access control included in the command is predetermined access control (e.g., BAC). If the control unit 113 realized by the processor 11 determines that the access control included in the command is BAC, it executes a disabling process to disable functions related to the BAC, and then executes the predetermined processing in accordance with the command. If it determines that the access control included in the command is not BAC, it executes the predetermined processing in accordance with the command without executing the disabling process.

[0069] Therefore, the IC card 1 according to the second embodiment can also achieve the same effects as the IC card 1 according to the first embodiment.

[0070] Third Embodiment Next, an IC card 1 according to a third embodiment will be described. In the third embodiment, when transition from BAC to PACE is desired, if the access control included in a command received from an external device is BAC and the number of times BAC has been executed exceeds a reference number, the access control of BAC is automatically invalidated using an invalidation flag.

[0071] Fig. 6 is a flowchart showing an example of the flow of the invalidation process according to the second embodiment. As shown in Fig. 6, the acquisition unit 111 of the IC card 1 receives a predetermined operation command (step S31). This starts the automatic invalidation process.

[0072] The determining unit 112 analyzes the command acquired by the acquiring unit 111, and determines whether the INS portion included in the command header is a MUTUAL AUTHENTICATE command (step S32).

[0073] If the determination unit 112 determines that the INS portion is not a MUTUAL AUTHENTICATE command (No in step S32), the control unit 113 executes command processing (step S33).

[0074] After executing the command process, the control unit 113 increments the number of executions of the BAC by +1 and ends the process (step S35).

[0075] On the other hand, if the determination unit 112 determines that the INS portion is a MUTUAL AUTHENTICATE command (Yes in step S32), the determination unit 112 determines whether the number of times the BAC has been executed has exceeded a reference number (here, 10,000 times) (step S34).

[0076] If the judgment unit 112 determines that the number of times the BAC has been executed does not exceed 10,000 (No in step S34), the control unit 113 executes the command processing (step S33), increments the number of times the AC has been executed by +1, and terminates the processing (step S35).

[0077] On the other hand, if the determination unit 112 determines that the number of times the BAC has been executed exceeds 10,000 (Yes in step S34), the control unit 113 turns on the deletion flag of the BAC (step S36), outputs an error response from the output unit 114, and terminates the operation without executing the command processing (step S37). The error response output by the output unit 114 is sent to the IC card processing device 2 via the interface 13, for example, and is displayed as an error message on the display 25.

[0078] The IC card 1 according to the second embodiment described above includes a processor 11 that executes a predetermined process in accordance with a command received from the IC card processing device 2. The determination unit 112 implemented by the processor 11 determines whether the access control included in the command is a predetermined access control (e.g., BAC). If the determination unit 112 determines that the access control included in the command is a BAC, the determination unit 112 determines whether the execution count number of the BAC exceeds a reference number. If the determination unit 112 determines that the execution count number of the BAC exceeds the reference number, the control unit 113 implemented by the processor 11 executes an invalidation process to invalidate the BAC and then terminates without executing the predetermined process in accordance with the command. If the determination unit 112 determines that the execution count number of the BAC does not exceed the reference number, the control unit 113 adds the execution count number and executes the predetermined process including the BAC. If the determination unit 112 determines that the access control included in the command is not a BAC, the control unit 113 executes the predetermined process in accordance with the command.

[0079] Therefore, the IC card 1 according to the third embodiment can also achieve the same effects as the IC card 1 according to the first embodiment.

[0080] In the above embodiment, for the sake of specificity, the portable electronic device is an IC card, but the portable electronic device is not limited to an IC card and may be, for example, a mobile terminal such as a smartphone having similar functions.

[0081] The transmission method described in each of the above embodiments can also be realized by a program executable by a computer. That is, it is possible to store a program that realizes the transmission method described in each of the above embodiments in a memory, read the program from the memory using a processing circuit of a computer, and configure the transmission system or transmission method described in each of the above embodiments by using software and hardware resources in cooperation with each other.

[0082] Although several embodiments (and variations) of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be embodied in various other forms, and various omissions, substitutions, modifications, and combinations can be made without departing from the spirit of the invention. These embodiments and variations thereof are included within the scope and spirit of the invention, and are also included in the scope of the invention and its equivalents as defined in the claims.

[0083] REFERENCE SIGNS LIST 1 IC card 2 IC card processing device 11, 21 Processor 12, 22 Storage unit 13 Interface 23 Card reader / writer 24 Operation unit 25 Display 111 Acquisition unit 112 Determination unit 113 Control unit 114, 212 Output unit 115 Count unit 211 Signal generation unit

Claims

1. A portable electronic device comprising a processor that executes a first process in accordance with a command received from an external device, the processor determining whether first date data included in the command exceeds second date data used as a reference, and if the first date data exceeds the second date data, executing a disabling process to disable a specified function of a second process different from the first process and then executing the first process, and if the first date data does not exceed the second date data, executing the first process without executing the disabling process.

2. The portable electronic device according to claim 1, wherein the second process is an encryption process, and the predetermined function is a function relating to access control.

3. A portable electronic device comprising a processor that executes a specified process in accordance with a command received from an external device, wherein the processor determines whether or not an access control included in the command is a specified access control, and if it is determined that the access control included in the command is the specified access control, executes the specified process after executing a disabling process to disable a function related to the specified access control, and if it is determined that the access control included in the command is not the specified access control, executes the specified process without executing the disabling process.

4. A portable electronic device comprising a processor that executes a predetermined process in accordance with a command received from an external device, wherein the processor determines whether the access control included in the command is predetermined access control, and if it is determined that the access control included in the command is predetermined access control, determines whether the execution count number of the predetermined access control exceeds a reference number, and if it is determined that the execution count number of the predetermined access control exceeds the reference number, executes a disabling process to disable the predetermined access control and then terminates without executing the predetermined process, and if it is determined that the execution count number of the predetermined access control does not exceed the reference number, adds an execution count number and executes the predetermined process including the predetermined access control, and if it is determined that the access control included in the command is not predetermined access control, executes the predetermined process.

5. The portable electronic device according to claim 1, wherein the processor executes the invalidation process by deleting or initializing data.

6. The portable electronic device according to claim 1 , wherein the processor executes the invalidation process by enabling an invalidation flag.

7. A method for controlling a portable electronic device comprising: determining whether first date data included in a command received from an external device exceeds second date data used as a reference; if the first date data exceeds the second date data, executing a disabling process to disable a specified function of a second process different from a first process executed according to the command, and then executing the first process; if the first date data does not exceed the second date data, executing the first process without executing the disabling process.

Citation Information

Patent Citations

  • Communication terminal and IC card

    JP2008287602A

  • Portable memory

    JP2007265400A

  • Information processor and program

    JP2010218255A

  • IC card and portable electronic device

    JP2020107101A

  • Portable terminal and IC chip management method

    WO2019225301A1