Patent ID: 9418224
Filing Date: 2016-08-16
CPC Classification: G06F

Claim Text:
1. An IC card comprising: a storage portion which stores history information indicating a last command executed for each of a plurality of logical channels; a memory which stores a preset execution order for executing a plurality of commands for each of the logical channels; an interface which receives a command supplied from an external device; a determining portion which determines whether or not executing the received command next to be executed is in a correct execution order, based on the stored history information of a command executed in an immediately preceding cycle of a logical channel specified by the received command and based on that the command executed in the immediately preceding cycle should be executed immediately before the command received in the preset execution order stored in said memory for the specified logical channel; a processing portion which performs a process corresponding to the command if the determining portion determines that to execute the received command next is in the preset execution order; and a holding portion which stores information indicating the command executed by the processing portion in the storage portion as history information indicating the last command executed for the logical channel.