EP-4742070-A1 - PORTABLE ELECTRONIC DEVICE, IC CARD, AND IC CARD PROCESSOR
Abstract
According to an embodiment, a portable electronic device includes an interface, a memory, and a processor. The interface communicates with an external device. The memory stores setting information on a standby time for setting a lower limit value of the standby time from when the external device transmits a command to when the external device receives a response to the command. The processor transmits, to the external device, standby time information for specifying the lower limit value of the standby time based on the setting information on the standby time stored in the memory, executes processing according to a command received from the external device to which the standby time information has been transmitted, and transmits, to the external device, a response including an execution result of the processing according to the command.
Inventors
- TANIMOTO, Yuriko
Assignees
- KABUSHIKI KAISHA TOSHIBA
Dates
- Publication Date
- 20260513
- Application Date
- 20240625
Claims (8)
- A portable electronic device comprising: an interface configured to communicate with an external device; a memory configured to store setting information of a standby time for setting a lower limit value of the standby time, the standby time spanning from when the external device transmits a command to when the external device receives a response to the command; and a processor configured to transmit, to the external device, standby time information for specifying the lower limit value of the standby time based on the setting information of the standby time stored in the memory, execute processing according to a command received from the external device to which the standby time information has been transmitted, and transmit, to the external device, a response including an execution result of the processing according to the command.
- The portable electronic device according to claim 1, wherein the setting information of the standby time includes a lower limit value of a processing time required for processing according to a command, the memory is further configured to store information indicating an adjustment value according to a communication state, and the processor is configured to specify a communication state with the external device via the interface, and transmit, to the external device, standby time information including the lower limit value of the processing time adjusted using the adjustment value according to the communication state.
- The portable electronic device according to claim 1, wherein the setting information of the standby time includes a lower limit value of a processing time required for data write processing with respect to a data storage area in the memory, the memory is further configured to store a delay adjustment value according to a state of the data storage area, and the processor is configured to specify a state of the data storage area, and transmit, to the external device, standby time information including the lower limit value of the processing time adjusted using the delay adjustment value according to the state of the data storage area.
- The portable electronic device according to claim 1, wherein the memory is configured to store the setting information of the standby time for each application.
- The portable electronic device according to claim 1, wherein the memory is configured to store the setting information of the standby time for each command.
- The portable electronic device according to claim 1, wherein the memory is configured to store data to be stored in a file managed in a predetermined file structure, and store the setting information of the standby time for each file.
- An IC card comprising: a module including: an interface configured to communicate with an external device: a memory configured to store setting information of a standby time for setting a lower limit value of the standby time, the standby time spanning from when the external device transmits a command to when the external device receives a response to the command; and a processor configured to transmit, to the external device, standby time information for specifying the lower limit value of the standby time based on the setting information of the standby time stored in the memory, execute processing according to a command received from the external device to which the standby time information has been transmitted, and transmit, to the external device, a response including an execution result of the processing according to the command; and a main body having the module.
- An IC card processing device comprising: a communication unit configured to communicate with an IC card; a memory configured to store standby time information acquired from the IC card; and a processor configured to, in a case of receiving a response to a command before an elapsed time from transmission of the command to the IC card reaches a lower limit value of a standby time specified from the standby time information stored in the memory, suspend processing performed by the IC card.
Description
FIELD Embodiments described herein relate generally to a portable electronic device, an IC card, and an IC card processing device. BACKGROUND In recent years, there has been known a security attack that causes a control circuit to execute a fraudulent operation by delivering an attack to an IC card, which is a portable electronic device, from an outside. Due to such an attack from the outside, the IC card may perform a fraudulent operation such as skipping a part of regular processing, e.g., determination processing necessary for maintaining security. However, conventional IC cards have a problem wherein a normal response may be output even in a case where a part of regular processing requested through a command is skipped due to the external attack. For this reason, as an IC card processing system including an IC card and a card reader/writer, there is a demand for a system capable of detecting such a fraud wherein a part of regular processing such as determination processing in the IC card is skipped. CITATION LIST PATENT LITERATURE Jpn. Pat. Appln. KOKAI Publication No. 2020-009305 SUMMARY TECHNICAL PROBLEM In order to solve the problem described above, the present invention provides a portable electronic device, an IC card, and an IC card processing device each capable of detecting a fraudulent operation. SOLUTION TO PROBLEM According to an embodiment, a portable electronic device includes an interface, a memory, and a processor. The interface communicates with an external device. The memory stores setting information on a standby time for setting a lower limit value of the standby time from when the external device transmits a command to when the external device receives a response to the command. The processor transmits, to the external device, standby time information for specifying the lower limit value of the standby time based on the setting information on the standby time stored in the memory, executes processing according to a command received from the external device to which the standby time information has been transmitted, and transmits, to the external device, a response including an execution result of the processing according to the command. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an example of a configuration of an IC card serving as a portable electronic device according to an embodiment.FIG. 2 is a block diagram showing an example of a configuration of an IC card processing device configured to communicate with the IC card serving as the portable electronic device according to the embodiment.FIG. 3 is a diagram showing an example of setting information on a processing time stored in a memory of the IC card serving as the portable electronic device according to the embodiment.FIG. 4 is a diagram showing an example of setting information on the processing time stored in the memory of the IC card serving as the portable electronic device according to the embodiment.FIG. 5 is a diagram showing an example of an adjustment value for the setting information on the processing time stored in the memory of the IC card serving as the portable electronic device according to the embodiment.FIG. 6 is a diagram showing an example of the adjustment value for the setting information on the processing time stored in the memory of the IC card serving as the portable electronic device according to the embodiment.FIG. 7 is a sequence for illustrating an upper limit and a lower limit of the standby time by the IC card processing device with respect to the IC card serving as the portable electronic device according to the embodiment.FIG. 8 is a flowchart for illustrating an operation example of the IC card serving as the portable electronic device according to the embodiment.FIG. 9 is a flowchart for illustrating an operation example of the IC card processing device according to the embodiment. DETAILED DESCRIPTION Hereinafter, embodiments will be described with reference to the drawings. FIG. 1 is a block diagram schematically illustrating an example of a configuration of an IC card 1 according to an embodiment. An IC card 1 serving as a portable electronic device according to the embodiment constitutes an IC card processing system together with an IC card processing device 2. The IC card 1 is a portable electronic device that is activated (becomes operable) with power supplied from the IC card processing device 2. The IC card 1 will also be referred to as a smart card. The portable electronic device according to the embodiment is not limited to a card-like shape, and may be a booklet-like shape (for example, a notebook such as a passport) having a configuration and a processing function equivalent to those of the IC card 1 to be described later. The portable electronic device according to the embodiment may be a portable electronic device (for example, a smartphone, a mobile phone, a tablet PC, a dongle, etc.) having a configuration and a processing function equivalent to those