[go: up one dir, main page]

JP2024173086A - ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, COMMUNICATION PARAMETER TRANSMISSION METHOD, AND PROGRAM - Google Patents

ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, COMMUNICATION PARAMETER TRANSMISSION METHOD, AND PROGRAM Download PDF

Info

Publication number
JP2024173086A
JP2024173086A JP2023091213A JP2023091213A JP2024173086A JP 2024173086 A JP2024173086 A JP 2024173086A JP 2023091213 A JP2023091213 A JP 2023091213A JP 2023091213 A JP2023091213 A JP 2023091213A JP 2024173086 A JP2024173086 A JP 2024173086A
Authority
JP
Japan
Prior art keywords
communication
information indicating
external device
standby state
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2023091213A
Other languages
Japanese (ja)
Other versions
JP7424536B1 (en
Inventor
豊 山石
Yutaka Yamaishi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2023091213A priority Critical patent/JP7424536B1/en
Application granted granted Critical
Publication of JP7424536B1 publication Critical patent/JP7424536B1/en
Publication of JP2024173086A publication Critical patent/JP2024173086A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

【課題】2種類の待機状態に応じた2種類の通信パラメータを外部装置に提示することが可能な電子情報記憶媒体、ICチップ、ICカード、通信パラメータ送信方法、及びプログラムを提供する。【解決手段】ICチップ1は、IDLE状態から通信を開始する場合に通信パラメータCPIを示す情報を応答信号により外部装置2へ送信する一方、HALT状態から通信を開始する場合に通信パラメータCPHを示す情報を応答信号により外部装置2へ送信する。【選択図】図8[Problem] To provide an electronic information storage medium, an IC chip, an IC card, a communication parameter transmission method, and a program capable of presenting two types of communication parameters corresponding to two types of standby states to an external device. [Solution] An IC chip 1 transmits information indicating a communication parameter CPI to an external device 2 by a response signal when starting communication from an IDLE state, and transmits information indicating a communication parameter CPH to an external device 2 by a response signal when starting communication from a HALT state. [Selected Figure] Figure 8

Description

本発明は、外部装置との間で非接触通信を行うことが可能な非接触式IC(Integrated Circuit)カード等の技術分野に関する。 The present invention relates to the technical field of contactless IC (Integrated Circuit) cards that are capable of contactless communication with external devices.

従来、ISO/IEC14443-3に準拠する非接触式ICカードが外部装置との間の通信を待機する状態としてIDLE状態とHALT状態との2種類の待機状態が知られている。例えばType-Bの非接触式ICカードは、IDLE状態またはHALT状態において外部装置と通信を開始する場合、外部装置からのWUPB(Wake UP command Type B)に応じて、予め記憶された通信パラメータをATQB(Answer To reQuest for PICC B)により外部装置へ送信するようになっている。例えば、特許文献1に開示された非接触式ICカードは、初期通信条件を含む複数の通信条件を記憶しておき、非接触式ICカード側でこれら複数の通信条件を切り替えることにより、通信方式の異なる複数の通信端末との通信が可能となっている。 Conventionally, two types of standby states, IDLE and HALT, have been known for contactless IC cards conforming to ISO/IEC14443-3 to wait for communication with an external device. For example, when a Type-B contactless IC card starts communication with an external device in the IDLE or HALT state, it transmits pre-stored communication parameters to the external device by ATQB (Answer To reQuest for PICC B) in response to a WUPB (Wake Up command Type B) from the external device. For example, the contactless IC card disclosed in Patent Document 1 stores multiple communication conditions including initial communication conditions, and is able to communicate with multiple communication terminals with different communication methods by switching between these multiple communication conditions on the contactless IC card side.

特開2008-276572号公報JP 2008-276572 A

しかしながら、特許文献1を含む従来の技術では、外部装置は非接触式ICカードとIDLE状態から通信を開始する場合とHALT状態から通信を開始する場合とで通信パラメータ(例えば、最大フレームサイズなど)を切り替えることができない。 However, in conventional technologies including Patent Document 1, the external device cannot switch communication parameters (such as maximum frame size) between when starting communication with the contactless IC card from an IDLE state and when starting communication from a HALT state.

そこで、本発明は、このような点を課題の一例として鑑みてなされたものであり、2種類の待機状態に応じた2種類の通信パラメータを外部装置に提示することが可能な電子情報記憶媒体、ICチップ、ICカード、通信パラメータ送信方法、及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned points as an example of the problem, and aims to provide an electronic information storage medium, an IC chip, an IC card, a communication parameter transmission method, and a program that are capable of presenting two types of communication parameters corresponding to two types of standby states to an external device.

上記課題を解決するために、請求項1に記載の発明は、外部装置との間で通信可能な電子情報記憶媒体であって、前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶する記憶手段と、前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信する送信手段と、を備えることを特徴とする電子情報記憶媒体。 In order to solve the above problem, the invention described in claim 1 is an electronic information storage medium capable of communicating with an external device, comprising: a storage means for storing information indicating a first communication parameter when communication with the external device is started from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when communication with the external device is started from a second standby state in which communication with the external device is waited for and different from the first standby state; and a transmission means for transmitting information indicating the first communication parameter to the external device when communication is started from the first standby state, and transmitting information indicating the second communication parameter to the external device when communication is started from the second standby state. The electronic information storage medium is characterized by comprising: a storage means for storing information indicating a first communication parameter when communication with the external device is started from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when communication with the external device is started from a second standby state in which communication with the external device is waited for and different from the first standby state.

請求項2に記載の発明は、請求項1に記載の電子情報記憶媒体において、前記通信パラメータを示す情報は、最大フレームサイズ、最大待ち時間、及び通信速度とのうち少なくとも何れか一つの要素を示す情報を含むことを特徴とする。 The invention described in claim 2 is characterized in that in the electronic information storage medium described in claim 1, the information indicating the communication parameters includes information indicating at least one of the maximum frame size, maximum waiting time, and communication speed.

請求項3に記載の発明は、請求項1に記載の電子情報記憶媒体において、前記第1通信パラメータを示す情報は、前記第1待機状態を示す情報を含み、前記第2通信パラメータを示す情報は、前記第2待機状態を示す情報を含むことを特徴とする。 The invention described in claim 3 is characterized in that, in the electronic information storage medium described in claim 1, the information indicating the first communication parameters includes information indicating the first standby state, and the information indicating the second communication parameters includes information indicating the second standby state.

請求項4に記載の発明は、請求項1乃至3の何れか一項に記載の電子情報記憶媒体において、前記通信は非接触通信であり、前記第1待機状態はIDLE状態であり、前記第2待機状態はHALT状態であることを特徴とする。 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, the communication is non-contact communication, the first standby state is an IDLE state, and the second standby state is a HALT state.

請求項5に記載の発明は、外部装置との間で通信可能なICチップであって、前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶する記憶手段と、前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信する送信手段と、を備えることを特徴とする。 The invention described in claim 5 is an IC chip capable of communicating with an external device, comprising: a storage means for storing information indicating a first communication parameter when communication with the external device is started from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when communication with the external device is started from a second standby state in which communication with the external device is waited for and different from the first standby state; and a transmission means for transmitting information indicating the first communication parameter to the external device when communication is started from the first standby state, and transmitting information indicating the second communication parameter to the external device when communication is started from the second standby state.

請求項6に記載の発明は、外部装置との間で通信可能なICカードであって、前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶する記憶手段と、前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信する送信手段と、を備えることを特徴とする。 The invention described in claim 6 is an IC card capable of communicating with an external device, comprising: a storage means for storing information indicating a first communication parameter when communication with the external device is started from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when communication with the external device is started from a second standby state in which communication with the external device is waited for and different from the first standby state; and a transmission means for transmitting information indicating the first communication parameter to the external device when communication is started from the first standby state, and transmitting information indicating the second communication parameter to the external device when communication is started from the second standby state.

請求項7に記載の発明は、外部装置との間で通信可能な電子情報記憶媒体により実行される通信パラメータ送信方法であって、前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶するステップと、前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信するステップと、を含むことを特徴とする。 The invention described in claim 7 is a communication parameter transmission method executed by an electronic information storage medium capable of communicating with an external device, characterized in that it includes a step of storing information indicating a first communication parameter when communication with the external device is started from a first standby state in which the communication with the external device is waited for, and information indicating a second communication parameter when the communication with the external device is started from a second standby state in which the communication with the external device is waited for and different from the first standby state, and a step of transmitting information indicating the first communication parameter to the external device when the communication is started from the first standby state, and transmitting information indicating the second communication parameter to the external device when the communication is started from the second standby state.

請求項8に記載の発明は、外部装置との間で通信可能な電子情報記憶媒体に含まれるコンピュータに、前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶するステップと、前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信するステップと、を実行させることを特徴とする。 The invention described in claim 8 is characterized in that the computer included in an electronic information storage medium capable of communicating with an external device is caused to execute the steps of storing information indicating a first communication parameter when communication with the external device is started from a first standby state in which the communication with the external device is waited for, and information indicating a second communication parameter when the communication with the external device is started from a second standby state in which the communication with the external device is waited for and different from the first standby state, and transmitting information indicating the first communication parameter to the external device when the communication is started from the first standby state, and transmitting information indicating the second communication parameter to the external device when the communication is started from the second standby state.

請求項9に記載の発明は、外部装置との間で通信可能な電子情報記憶媒体であって、当該外部装置との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶するメモリを備える電子情報記憶媒体であって、前記電子情報記憶媒体の現在の状態が、前記外部装置との間の通信を待機する第1待機状態であるか、または、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態とであるかを判定する第1判定手段と、前記現在の状態が前記第1待機状態であると判定された場合、前記第1待機状態から前記通信を開始する場合の第1通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する一方、前記現在の状態が前記第2待機状態であると判定された場合、前記第2待機状態から前記通信を開始する場合の第2通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する第2判定手段と、前記第1通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第1通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第1通信パラメータを示す情報を前記外部装置へ送信する第1送信手段と、前記第2通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第2通信パラメータを示す情報を前記外部装置へ送信する第2送信手段と、を含むことを特徴とする。 The invention described in claim 9 is an electronic information storage medium capable of communicating with an external device, the electronic information storage medium having a memory that stores at least information indicating default communication parameters used in communication with the external device, the electronic information storage medium comprising a first determination means for determining whether a current state of the electronic information storage medium is a first standby state in which communication with the external device is awaited, or a second standby state in which communication with the external device is awaited and different from the first standby state, and, when it is determined that the current state is the first standby state, determining whether information indicating first communication parameters for starting the communication from the first standby state is stored in the memory, while, when it is determined that the current state is the second standby state, determining whether information indicating first communication parameters for starting the communication from the second standby state is stored in the memory. The communication device includes a second determination means for determining whether information indicating a second communication parameter is stored in the memory, a first transmission means for transmitting information indicating the default communication parameter to the external device when it is determined that the information indicating the first communication parameter is not stored in the memory, and transmitting information indicating the first communication parameter to the external device when it is determined that the information indicating the first communication parameter is stored in the memory, and a second transmission means for transmitting information indicating the default communication parameter to the external device when it is determined that the information indicating the second communication parameter is not stored in the memory, and transmitting information indicating the second communication parameter to the external device when it is determined that the information indicating the second communication parameter is stored in the memory.

請求項10に記載の発明は、外部装置との間で通信可能な電子情報記憶媒体であって、当該外部装置との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶するメモリを備える電子情報記憶媒体により実行される通信パラメータ送信方法であって、前記電子情報記憶媒体の現在の状態が、前記外部装置との間の通信を待機する第1待機状態であるか、または、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態とであるかを判定するステップと、前記現在の状態が前記第1待機状態であると判定された場合、前記第1待機状態から前記通信を開始する場合の第1通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する一方、前記現在の状態が前記第2待機状態であると判定された場合、前記第2待機状態から前記通信を開始する場合の第2通信パラメータを示す情報が前記メモリに記憶されているか否かを判定するステップと、前記第1通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第1通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第1通信パラメータを示す情報を前記外部装置へ送信するステップと、前記第2通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第2通信パラメータを示す情報を前記外部装置へ送信するステップと、を含むことを特徴とする。 The invention described in claim 10 is a communication parameter transmission method executed by an electronic information storage medium capable of communicating with an external device, the electronic information storage medium having a memory that stores at least information indicating default communication parameters used in communication with the external device, the method including the steps of determining whether the current state of the electronic information storage medium is a first standby state in which the electronic information storage medium is waiting for communication with the external device, or a second standby state in which the electronic information storage medium is waiting for communication with the external device and is different from the first standby state, and, if it is determined that the current state is the first standby state, determining whether information indicating first communication parameters for starting the communication from the first standby state is stored in the memory, while, if it is determined that the current state is the second standby state, determining whether information indicating first communication parameters for starting the communication from the second standby state is stored in the memory, The method includes a step of determining whether information indicating a second communication parameter for starting the communication is stored in the memory, a step of transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the first communication parameters is not stored in the memory, and a step of transmitting information indicating the first communication parameters to the external device when it is determined that the information indicating the first communication parameters is stored in the memory, and a step of transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the second communication parameters is not stored in the memory, and a step of transmitting information indicating the second communication parameters to the external device when it is determined that the information indicating the second communication parameters is stored in the memory.

請求項11に記載の発明は、外部装置との間で通信可能な電子情報記憶媒体であって、当該外部装置との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶するメモリを備える電子情報記憶媒体に含まれるコンピュータに、前記電子情報記憶媒体の現在の状態が、前記外部装置との間の通信を待機する第1待機状態であるか、または、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態とであるかを判定するステップと、前記現在の状態が前記第1待機状態であると判定された場合、前記第1待機状態から前記通信を開始する場合の第1通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する一方、前記現在の状態が前記第2待機状態であると判定された場合、前記第2待機状態から前記通信を開始する場合の第2通信パラメータを示す情報が前記メモリに記憶されているか否かを判定するステップと、前記第1通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第1通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第1通信パラメータを示す情報を前記外部装置へ送信するステップと、前記第2通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第2通信パラメータを示す情報を前記外部装置へ送信するステップと、を実行させることを特徴とする。 The invention described in claim 11 is an electronic information storage medium capable of communicating with an external device, the electronic information storage medium having a memory that stores at least information indicating default communication parameters used in communication with the external device, the electronic information storage medium including a computer that determines whether the current state of the electronic information storage medium is a first standby state in which communication with the external device is awaited, or a second standby state in which communication with the external device is awaited and different from the first standby state, and when it is determined that the current state is the first standby state, it determines whether information indicating first communication parameters for starting the communication from the first standby state is stored in the memory, while when it is determined that the current state is the second standby state, it determines whether information indicating first communication parameters for starting the communication from the second standby state is stored in the memory. The method includes the steps of: determining whether information indicating a second communication parameter is stored in the memory when the first communication parameter is to be used; transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the first communication parameters is not stored in the memory; transmitting information indicating the first communication parameters to the external device when it is determined that the information indicating the second communication parameters is not stored in the memory; transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the second communication parameters is not stored in the memory; and transmitting information indicating the second communication parameters to the external device when it is determined that the information indicating the second communication parameters is stored in the memory.

本発明によれば、2種類の待機状態に応じた2種類の通信パラメータを外部装置に提示することができる。 According to the present invention, two types of communication parameters corresponding to two types of standby states can be presented to an external device.

ICチップ1のハードウェア構成例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of an IC chip 1. (A)は、通信方式としてType Aを採用するICチップ1のNVM13において通信パラメータを示す情報を記憶するレコード領域のメモリマップの一例を示す図であり、(B)は、通信方式としてType Bを採用するICチップ1のNVM13において通信パラメータを示す情報を記憶するレコード領域のメモリマップの一例を示す図である。1A is a diagram showing an example of a memory map of a record area in NVM 13 of an IC chip 1 that adopts Type A as a communication method, which stores information indicating communication parameters; and FIG. 1B is a diagram showing an example of a memory map of a record area in NVM 13 of an IC chip 1 that adopts Type B as a communication method, which stores information indicating communication parameters. ATQAの符号化構成の一例を示す図である。FIG. 1 is a diagram showing an example of an ATQA coding configuration. ATSの符号化構成の一例を示す図である。FIG. 2 is a diagram showing an example of an encoding configuration of an ATS. ATQBの符号化構成の一例を示す図である。FIG. 13 is a diagram showing an example of an encoding configuration of ATQB. 通信方式としてType Aを採用するICチップ1の状態遷移を示す図である。FIG. 1 is a diagram showing state transitions of an IC chip 1 that employs Type A as a communication method. 通信方式としてType Bを採用するICチップ1の状態遷移を示す図である。FIG. 1 is a diagram showing state transitions of an IC chip 1 that employs Type B as a communication method. ICチップ1のCPU15により実行される通信パラメータ送信処理の一例を示すフローチャートである。10 is a flowchart showing an example of a communication parameter transmission process executed by a CPU 15 of the IC chip 1.

以下、図面を参照して本発明の実施形態について詳細に説明する。 The following describes in detail an embodiment of the present invention with reference to the drawings.

[1.ICチップ1の構成及び機能]
先ず、図1を参照して、本実施形態に係るICチップ1の構成及び機能について説明する。ICチップ1は、外部装置2との間で通信可能な電子情報記憶媒体の一例である。ICチップ1は、例えば、クレジットカード、キャッシュカード、またはマイナンバーカードなどのICカード、または、スマートフォンなどのモバイルデバイスに搭載される。スマートフォンなどのモバイルデバイスの場合、ICチップ1は、モバイルデバイスに着脱可能な小型ICカードに搭載されてもよいし、eUICC(Embedded Universal Integrated Circuit Card)としてモバイルデバイスから容易に取り外しや取り換えができないように組み込み基板上に搭載されてもよい。なお、ICカードやモバイルデバイスには非接触通信で用いられるアンテナが備えられる。
[1. Configuration and Function of IC Chip 1]
First, the configuration and functions of an IC chip 1 according to this embodiment will be described with reference to FIG. 1. The IC chip 1 is an example of an electronic information storage medium capable of communicating with an external device 2. The IC chip 1 is mounted on, for example, an IC card such as a credit card, a cash card, or a My Number card, or a mobile device such as a smartphone. In the case of a mobile device such as a smartphone, the IC chip 1 may be mounted on a small IC card that is detachable from the mobile device, 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 mobile device. The IC card or mobile device is provided with an antenna used for contactless communication.

図1は、ICチップ1のハードウェア構成例を示す図である。ICチップ1は、図1に示すように、I/O回路11、RAM(Random Access Memory)12、NVM(Nonvolatile Memory)13(記憶手段の一例)、ROM(Read Only Memory)14、及びCPU(Central Processing Unit)15(コンピュータの一例)等を備え、非接触通信に関する国際標準規格であるISO/IEC 14443に準拠する。なお、ICチップ1には、固有のUID(Unique IDentifier)が記憶されている。I/O回路11は、外部装置2との間のインターフェースを担う。ICチップ1は、I/O回路11及びアンテナ(図示せず)を介して外部装置2との間で非接触通信を行う。かかる非接触通信に係る通信方式として、ISO/IEC 14443で標準化されているType AとType Bとを例にとるものとする。I/O回路11は、アンテナに接続され、電力(電源)供給回路11a、クロック生成回路11b、及び変復調回路11c等を含んで構成されている。アンテナは、アンテナコイルを備え、外部装置2(リーダライタ)から発せられた搬送波(電磁波)を受信し、また、変復調回路11cから出力された変調信号を電磁波として発信する。 1 is a diagram showing an example of the hardware configuration of an IC chip 1. As shown in FIG. 1, the IC chip 1 includes an I/O circuit 11, a RAM (Random Access Memory) 12, a NVM (Nonvolatile Memory) 13 (an example of a storage means), a ROM (Read Only Memory) 14, and a CPU (Central Processing Unit) 15 (an example of a computer), and complies with ISO/IEC 14443, an international standard for contactless communication. A unique UID (Unique IDentifier) is stored in the IC chip 1. The I/O circuit 11 serves as an interface with an external device 2. The IC chip 1 performs contactless communication with the external device 2 via the I/O circuit 11 and an antenna (not shown). As an example of a communication method related to such contactless communication, Type A and Type B standardized in ISO/IEC 14443 are taken. The I/O circuit 11 is connected to the antenna and includes a power (power supply) supply circuit 11a, a clock generation circuit 11b, and a modulation/demodulation circuit 11c. The antenna has an antenna coil, receives a carrier wave (electromagnetic wave) emitted from an external device 2 (reader/writer), and transmits a modulated signal output from the modulation/demodulation circuit 11c as an electromagnetic wave.

電力供給回路11aは、アンテナで受信された搬送波により誘起された電力(誘導起電力)に係る誘導電流を整流及び平滑化してCPU15等へ電力を供給する。クロック生成回路11bは、アンテナで受信された搬送波により誘起された電力に係る誘導電流から内部クロックを生成してCPU15等へ出力する。変復調回路11cは、アンテナで受信された搬送波からデータを復調しCPU15へ出力する。また、変復調回路11cは、CPU15からのデータを変調し変調信号としてアンテナへ出力する。なお、外部装置2の例として、リーダライタを備える取引装置やデータ書き込み装置などが挙げられる。 The power supply circuit 11a rectifies and smoothes the induced current related to the power (induced electromotive force) induced by the carrier wave received by the antenna, and supplies power to the CPU 15, etc. The clock generation circuit 11b generates an internal clock from the induced current related to the power induced by the carrier wave received by the antenna, and outputs it to the CPU 15, etc. The modulation and demodulation circuit 11c demodulates data from the carrier wave received by the antenna and outputs it to the CPU 15. The modulation and demodulation circuit 11c also modulates data from the CPU 15 and outputs it to the antenna as a modulated signal. Examples of the external device 2 include a transaction device equipped with a reader/writer and a data writing device.

NVM13には、例えばフラッシュメモリが適用される。なお、NVM13は、「Electrically Erasable Programmable Read-Only Memory」であってもよい。NVM13またはROM14には、OS(Operating System)、及び1または複数のアプリケーション(本発明のプログラムを含む)等が記憶される。本発明のプログラムは、データ書き込み装置からダウンロードすることが可能になっている。CPU15は、NVM13に記憶されたOS及びアプリケーション(本発明のプログラムを含む)を実行することで、本発明における第1判定手段、第2判定手段、送信手段、第1送信手段、及び第2送信手段等として機能する。 For example, a flash memory is applied to the NVM 13. The NVM 13 may be an "Electrically Erasable Programmable Read-Only Memory". An OS (Operating System) and one or more applications (including the program of the present invention) are stored in the NVM 13 or the ROM 14. The program of the present invention can be downloaded from a data writing device. The CPU 15 executes the OS and the application (including the program of the present invention) stored in the NVM 13, thereby functioning as the first determination means, second determination means, transmission means, first transmission means, and second transmission means of the present invention.

また、NVM13は、外部装置2との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶する。ここで、デフォルトの通信パラメータを、他の通信パラメータと区別する場合、以下、「通信パラメータCPD」という。通信パラメータCPDは、従来の非接触式ICカードにも記憶されている標準的な通信パラメータである。なお、通信パラメータを示す情報とは、通信パラメータ自体を表す値であってもよいし、通信パラメータを識別可能なビット列であってもよい(以下同様)。 The NVM 13 also stores at least information indicating default communication parameters used in communication with the external device 2. Hereinafter, the default communication parameters will be referred to as "communication parameters CPD" when distinguishing them from other communication parameters. The communication parameters CPD are standard communication parameters that are also stored in conventional contactless IC cards. Note that the information indicating the communication parameters may be a value representing the communication parameters themselves, or a bit string capable of identifying the communication parameters (same below).

さらに、NVM13には、外部装置2との間の通信を待機するIDLE状態(第1待機状態の一例)から通信を開始する場合の通信パラメータを示す情報と、外部装置2との間の通信を待機するHALT状態(第2待機状態の一例)から当該通信を開始する場合の通信パラメータを示す情報とが、例えば、外部からの設定コマンドに応じた設定により記憶される。ここで、IDLE状態から通信を開始する場合の通信パラメータ(IDLE状態に対応する通信パラメータ)を、他の通信パラメータと区別する場合、以下、「通信パラメータCPI」という。また、HALT状態から通信を開始する場合の通信パラメータ(HALT状態に対応する通信パラメータ)を、他の通信パラメータと区別する場合、以下、「通信パラメータCPH」という。このように、IDLE状態とHALT状態との2種類の待機状態に応じた2種類の通信パラメータを外部装置2へ提示(つまり、異なるタイミングで提示)することが可能となる。そのため、外部装置2は、異なるタイミングで提示された2種類の通信パラメータのうち、外部装置2にとって(例えば、外部装置2の通信性能を考慮して)、より適した通信パラメータを適宜選択してICチップ1との間で通信を行うことができる。 Furthermore, in the NVM 13, information indicating communication parameters when communication is started from an IDLE state (an example of a first standby state) in which communication with the external device 2 is awaited, and information indicating communication parameters when the communication is started from a HALT state (an example of a second standby state) in which communication with the external device 2 is awaited, are stored, for example, by settings according to a setting command from the outside. Here, when the communication parameters when communication is started from the IDLE state (communication parameters corresponding to the IDLE state) are distinguished from other communication parameters, they are hereinafter referred to as "communication parameters CPI". When the communication parameters when communication is started from the HALT state (communication parameters corresponding to the HALT state) are distinguished from other communication parameters, they are hereinafter referred to as "communication parameters CPH". In this way, it is possible to present (i.e., present at different times) two types of communication parameters corresponding to two types of standby states, the IDLE state and the HALT state, to the external device 2. Therefore, the external device 2 can appropriately select the communication parameter that is more suitable for the external device 2 (e.g., taking into consideration the communication performance of the external device 2) from the two types of communication parameters presented at different times, and communicate with the IC chip 1.

図2(A)は、通信方式としてType Aを採用するICチップ1のNVM13において通信パラメータを示す情報を記憶するレコード領域のメモリマップの一例を示す図である。図2(B)は、通信方式としてType Bを採用するICチップ1のNVM13において通信パラメータを示す情報を記憶するレコード領域のメモリマップの一例を示す図である。なお、レコード領域は、複数に区分されており、それぞれのレコード領域の物理アドレスは異なる。レコード領域に記憶される情報(データ)をレコードという。それぞれのレコードには、レコード番号が付与され、物理アドレスに関連付けられる。そして、それぞれのレコードは、1または複数のファイル(例えば、EF(Elementary File))に論理的に格納(例えば、レコード番号が格納)され、例えばアプリケーションにより管理される。各ファイルには、固有のSFI(Short File Identifier)が付与される。なお、図2(A),(B)中、“1”と“0”からなる情報(つまり、通信パラメータを示す情報)はあくまで例示にすぎない。 2A is a diagram showing an example of a memory map of a record area that stores information indicating communication parameters in the NVM 13 of an IC chip 1 that adopts Type A as a communication method. FIG. 2B is a diagram showing an example of a memory map of a record area that stores information indicating communication parameters in the NVM 13 of an IC chip 1 that adopts Type B as a communication method. The record area is divided into multiple areas, and the physical addresses of each record area are different. Information (data) stored in the record area is called a record. A record number is assigned to each record and associated with a physical address. Each record is logically stored (e.g., a record number is stored) in one or more files (e.g., EF (Elementary File)) and is managed by, for example, an application. A unique SFI (Short File Identifier) is assigned to each file. Note that the information consisting of "1" and "0" (i.e., information indicating communication parameters) in FIGS. 2A and 2B is merely an example.

先ず、Type Aでは、図2(A)に示すように、NVM13には、通信パラメータCPD,CPI,CPHとして、最大フレームサイズ(FSC:Frame Size for proximity Card)、通信速度(DS:Divisor Send)、通信速度(DR:Divisor Receive)、最大待ち時間(FWT:Frame Waiting Time)、開始フレームのガードタイム(SFGT:Start-up Frame Guard Time)、及びICチップ1のUIDのサイズのそれぞれを示す情報がそれぞれのレコードとして記憶されている。なお、通信パラメータCPDを示す情報と、通信パラメータCPIを示す情報と、通信パラメータCPHを示す情報とは、互いに異なるファイルにより管理されるとよい。例えば、通信パラメータCPDを示す情報は、SFI“001”のファイルにより管理され、通信パラメータCPIを示す情報は、SFI“002”のファイルにより管理され、通信パラメータCPHを示す情報は、SFI“003”のファイルにより管理されるとよい。 First, in Type A, as shown in FIG. 2A, the NVM 13 stores, as the communication parameters CPD, CPI, and CPH, information indicating the maximum frame size (FSC: Frame Size for proximity Card), communication speed (DS: Divisor Send), communication speed (DR: Divisor Receive), maximum waiting time (FWT: Frame Waiting Time), start-up frame guard time (SFGT: Start-up Frame Guard Time), and the size of the UID of the IC chip 1 as respective records. Note that the information indicating the communication parameter CPD, the information indicating the communication parameter CPI, and the information indicating the communication parameter CPH may be managed by different files. For example, the information indicating the communication parameter CPD may be managed by a file with SFI "001", the information indicating the communication parameter CPI may be managed by a file with SFI "002", and the information indicating the communication parameter CPH may be managed by a file with SFI "003".

ここで、最大フレームサイズ(FSC)、通信速度(DS)、通信速度(DR)、最大待ち時間(FWT)、開始フレームのガードタイム(SFGT)、及びICチップ1のUIDのサイズのそれぞれを通信パラメータの要素という。なお、通信速度(DS)は、ICチップ1から外部装置2への通信速度であり、通信速度(DR)は、外部装置2からICチップ1への通信速度である。図2(A)の例では、通信パラメータCPD,CPI,CPH間で各要素(つまり、最大フレームサイズ(FSC)、通信速度(DS)、通信速度(DR)、最大待ち時間(FWT)、・・・)を示す情報は互いに異なっている。ただし、通信パラメータCPD,CPI,CPH間で一部の要素(例えば、通信速度(DS))を示す情報が同一(例えば、いずれも“001”とする)であってもよく、この場合、かかる情報は、NVM13の同一のレコード領域(つまり、同一アドレス)に記憶されてもよい。さらに、図2(A)に示すNVM13には、通信パラメータCPI,CPHの一要素としての待機状態種別(つまり、IDLE状態であるか、HALT状態であるかの別)を示す情報がそれぞれのレコードとして記憶されている。 Here, the maximum frame size (FSC), communication speed (DS), communication speed (DR), maximum waiting time (FWT), start frame guard time (SFGT), and the size of the UID of the IC chip 1 are each referred to as an element of the communication parameters. The communication speed (DS) is the communication speed from the IC chip 1 to the external device 2, and the communication speed (DR) is the communication speed from the external device 2 to the IC chip 1. In the example of FIG. 2(A), the information indicating each element (i.e., the maximum frame size (FSC), communication speed (DS), communication speed (DR), maximum waiting time (FWT), ...) is different between the communication parameters CPD, CPI, and CPH. However, the information indicating some elements (e.g., the communication speed (DS)) between the communication parameters CPD, CPI, and CPH may be the same (e.g., all may be "001"), and in this case, such information may be stored in the same record area (i.e., the same address) of the NVM 13. Furthermore, in the NVM 13 shown in FIG. 2(A), information indicating the type of standby state (i.e., whether it is an IDLE state or a HALT state) as one element of the communication parameters CPI and CPH is stored as each record.

次に、Type Bでは、図2(B)に示すように、NVM13には、通信パラメータCPD,CPI,CPHとして、通信速度能力(通信速度の一例、BRC:Bit Rate Capacity)、最大フレームサイズ(FSC)、最大待ち時間(FWT)、及び開始フレームのガードタイム(SFGT)のそれぞれを示す情報がそれぞれのレコードとして記憶されている。この場合も、通信パラメータCPDを示す情報と、通信パラメータCPIを示す情報と、通信パラメータCPHを示す情報とは、互いに異なるファイルにより管理されるとよい。また、図2(B)の例でも、通信パラメータCPD,CPI,CPH間で各要素を示す情報は互いに異なっている。ただし、通信パラメータCPD,CPI,CPH間で一部の要素を示す情報が同一であってもよく、この場合、かかる情報は、NVM13の同一のレコード領域に記憶されてもよい。なお、本実施形態では、通信パラメータCPIと通信パラメータCPHとの少なくとも何れか一方を示す情報がNVM13に記憶されていないICチップ1にも対応することができる。通信パラメータCPIと通信パラメータCPHとの少なくとも何れか一方を示す情報がNVM13に記憶されていない場合、その代わりに、通信パラメータCPDを示す情報が利用される。一方、通信パラメータCPIと通信パラメータCPHとの双方を示す情報がNVM13に記憶されている場合、通信パラメータCPDを示す情報は利用されないので、通信パラメータCPDを示す情報は削除されてもよい。 Next, in Type B, as shown in FIG. 2B, the NVM 13 stores, as the communication parameters CPD, CPI, and CPH, information indicating the communication speed capability (an example of communication speed, BRC: Bit Rate Capacity), maximum frame size (FSC), maximum waiting time (FWT), and start frame guard time (SFGT) as respective records. In this case, the information indicating the communication parameter CPD, the information indicating the communication parameter CPI, and the information indicating the communication parameter CPH may be managed by different files. Also, in the example of FIG. 2B, the information indicating each element is different between the communication parameters CPD, CPI, and CPH. However, the information indicating some elements may be the same between the communication parameters CPD, CPI, and CPH, and in this case, such information may be stored in the same record area of the NVM 13. Note that this embodiment can also be used with an IC chip 1 in which information indicating at least one of the communication parameters CPI and the communication parameter CPH is not stored in the NVM 13. If information indicating at least one of the communication parameters CPI and CPH is not stored in NVM13, information indicating the communication parameter CPD is used instead. On the other hand, if information indicating both the communication parameters CPI and CPH is stored in NVM13, the information indicating the communication parameter CPD is not used, and therefore the information indicating the communication parameter CPD may be deleted.

以上説明した通信パラメータを示す情報は、外部装置2との間で通信が開始される際にICチップ1から外部装置2へ送信される。例えば、通信方式としてType Aを採用するICチップ1の場合、通信パラメータを示す情報は、ATQA(Answer To reQuest for PICC A)やATS(Answer To Select)に含まれて送信されることになる。一方、通信方式としてType Bを採用するICチップ1の場合、通信パラメータを示す情報は、ATQB(Answer To reQuest for PICC B)に含まれて送信される。ATQA、ATS及びATQBは、それぞれ、外部装置2への応答信号(レスポンス)である。図3は、ATQAの符号化構成(ISO/IEC14443-3で規定される標準フォーマット)の一例を示す図である。例えば、ICチップ1がIDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうちICチップ1のUIDのサイズを示す情報(例えば、“01”)が図3に示すATQAにおけるビットb7,b8にセットされる。一方、ICチップ1がHALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうちICチップ1のUIDのサイズを示す情報(例えば、“10”)が図3に示すATQAにおけるビットb8,b7にセットされる。 The information indicating the communication parameters described above is transmitted from the IC chip 1 to the external device 2 when communication with the external device 2 is started. For example, in the case of an IC chip 1 that adopts Type A as the communication method, the information indicating the communication parameters is transmitted in an ATQA (Answer To reQuest for PICC A) or an ATS (Answer To Select). On the other hand, in the case of an IC chip 1 that adopts Type B as the communication method, the information indicating the communication parameters is transmitted in an ATQB (Answer To reQuest for PICC B). ATQA, ATS, and ATQB are response signals (responses) to the external device 2. FIG. 3 is a diagram showing an example of the coding configuration of ATQA (standard format defined in ISO/IEC14443-3). For example, when the IC chip 1 starts communication from an IDLE state, information indicating the size of the UID of the IC chip 1 (for example, "01") among the elements included in the communication parameter CPI is set to bits b7 and b8 in the ATQA shown in FIG. 3. On the other hand, when IC chip 1 starts communication from a HALT state, information indicating the size of IC chip 1's UID (e.g., "10") among the elements included in the communication parameter CPH is set to bits b8 and b7 in the ATQA shown in Figure 3.

図4は、ATSの符号化構成(ISO/IEC14443-3で規定される標準フォーマット)の一例を示す図である。例えば、ICチップ1がIDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち最大フレームサイズ(FSC)を示す情報(例えば、“1100”)が、図4に示すATSにおけるT0(フォーマットバイト)内のFSCI(ビットb4~b1)にセットされる。また、IDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち通信速度(DS)及び通信速度(DR)を示す情報が、図4に示すATSにおけるTA(1)(インターフェースバイト)内のDS(ビットb7~b5)及びDR(ビットb3~b1)にセットされる。また、IDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち最大待ち時間(FWT)及び開始フレームのガードタイム(SFGT)を示す情報が、図4に示すATSにおけるTB(1)(インターフェースバイト)内のFWI(ビットb8~b5)及びSFGI(ビットb4~b1)にセットされる。また、IDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち待機状態種別(IDLE状態)を示す情報が、図4に示すATSにおけるT1~Tk(ヒストリカルバイト)内の何れかのビットにセットされる。 Figure 4 is a diagram showing an example of the coding structure of the ATS (standard format defined in ISO/IEC14443-3). For example, when the IC chip 1 starts communication from an IDLE state, information indicating the maximum frame size (FSC) (e.g., "1100") among the elements included in the communication parameter CPI is set in FSCI (bits b4 to b1) in T0 (format byte) in the ATS shown in Figure 4. Also, when communication is started from an IDLE state, information indicating the communication speed (DS) and communication speed (DR) among the elements included in the communication parameter CPI is set in DS (bits b7 to b5) and DR (bits b3 to b1) in TA(1) (interface byte) in the ATS shown in Figure 4. Furthermore, when communication is started from the IDLE state, information indicating the maximum waiting time (FWT) and the start frame guard time (SFGT) among the elements included in the communication parameters CPI is set in the FWI (bits b8 to b5) and SFGI (bits b4 to b1) in TB(1) (interface byte) in the ATS shown in Figure 4. Furthermore, when communication is started from the IDLE state, information indicating the waiting state type (IDLE state) among the elements included in the communication parameters CPI is set in one of the bits in T1 to Tk (historical bytes) in the ATS shown in Figure 4.

一方、例えば、ICチップ1がHALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち最大フレームサイズ(FSC)を示す情報(例えば、“1111”)が、図4に示すATSにおけるT0内のFSCI(ビットb4~b1)にセットされる。また、HALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち通信速度(DS)及び通信速度(DR)を示す情報が、図4に示すATSにおけるTA(1)内のDS(ビットb7~b5)及びDR(ビットb3~b1)にセットされる。また、HALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち最大待ち時間(FWT)及び開始フレームのガードタイム(SFGT)を示す情報が、図4に示すATSにおけるTB(1)内のFWI(ビットb8~b5)及びSFGI(ビットb4~b1)にセットされる。また、HALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち待機状態種別(HALT状態)を示す情報が、図4に示すATSにおけるT1~Tk内の何れかのビットにセットされる。 On the other hand, for example, when the IC chip 1 starts communication from a HALT state, information indicating the maximum frame size (FSC) (for example, "1111") among the elements included in the communication parameters CPH is set in FSCI (bits b4 to b1) in T0 in the ATS shown in FIG. 4. Also, when communication is started from a HALT state, information indicating the communication speed (DS) and communication speed (DR) among the elements included in the communication parameters CPH are set in DS (bits b7 to b5) and DR (bits b3 to b1) in TA(1) in the ATS shown in FIG. 4. Also, when communication is started from a HALT state, information indicating the maximum waiting time (FWT) and start frame guard time (SFGT) among the elements included in the communication parameters CPH are set in FWI (bits b8 to b5) and SFGI (bits b4 to b1) in TB(1) in the ATS shown in FIG. 4. In addition, when starting communication from a HALT state, information indicating the type of standby state (HALT state) among the elements included in the communication parameters CPH is set to one of the bits T1 to Tk in the ATS shown in Figure 4.

図5は、ATQBの符号化構成(ISO/IEC14443-3で規定される拡張フォーマット)の一例を示す図である。例えば、ICチップ1がIDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち通信速度能力(BRC)を示す情報(例えば、“00000010”)が、図5に示すATQBにおけるプロトコル情報内の第10バイト内のBRC(ビットb8~b1)にセットされる。また、IDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち最大フレームサイズ(FSC)を示す情報が、図5に示すATQBにおけるプロトコル情報内の第11バイト内のFSCI(ビットb8~b5)にセットされる。また、IDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち最大待ち時間(FWT)を示す情報が、図5に示すATQBにおけるプロトコル情報内の第12バイト内のFWI(ビットb8~b5)にセットされる。また、IDLE状態から通信を開始する場合、通信パラメータCPIに含まれる要素のうち開始フレームのガードタイム(SFGT)を示す情報が、図5に示すATQBにおけるプロトコル情報内の第13バイト内のSFGI(ビットb8~b5)にセットされる。 Figure 5 is a diagram showing an example of the coding configuration of ATQB (extended format defined in ISO/IEC14443-3). For example, when the IC chip 1 starts communication from the IDLE state, information indicating the communication speed capability (BRC) (for example, "00000010") among the elements included in the communication parameter CPI is set to BRC (bits b8 to b1) in the 10th byte in the protocol information in ATQB shown in Figure 5. Also, when communication is started from the IDLE state, information indicating the maximum frame size (FSC) among the elements included in the communication parameter CPI is set to FSCI (bits b8 to b5) in the 11th byte in the protocol information in ATQB shown in Figure 5. Also, when communication is started from the IDLE state, information indicating the maximum waiting time (FWT) among the elements included in the communication parameter CPI is set to FWI (bits b8 to b5) in the 12th byte in the protocol information in ATQB shown in Figure 5. In addition, when starting communication from the IDLE state, information indicating the guard time (SFGT) of the start frame, which is one of the elements included in the communication parameter CPI, is set in SFGI (bits b8 to b5) in the 13th byte of the protocol information in ATQB shown in Figure 5.

一方、例えば、ICチップ1がHALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち通信速度能力(BRC)を示す情報(例えば、“00000100”)が、図5に示すATQBにおけるプロトコル情報内の第10バイト内のBRC(ビットb8~b1)にセットされる。また、HALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち最大フレームサイズ(FSC)を示す情報が、図5に示すATQBにおけるプロトコル情報内の第11バイト内のFSCI(ビットb8~b5)にセットされる。また、HALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち最大待ち時間(FWT)を示す情報が、図5に示すATQBにおけるプロトコル情報内の第12バイト内のFWI(ビットb8~b5)にセットされる。また、HALT状態から通信を開始する場合、通信パラメータCPHに含まれる要素のうち開始フレームのガードタイム(SFGT)を示す情報が、図5に示すATQBにおけるプロトコル情報内の第13バイト内のSFGI(ビットb8~b5)にセットされる。 On the other hand, for example, when the IC chip 1 starts communication from a HALT state, information indicating the communication speed capability (BRC) (for example, "00000100") among the elements included in the communication parameters CPH is set to BRC (bits b8 to b1) in the 10th byte in the protocol information in ATQB shown in FIG. 5. Also, when communication is started from a HALT state, information indicating the maximum frame size (FSC) among the elements included in the communication parameters CPH is set to FSCI (bits b8 to b5) in the 11th byte in the protocol information in ATQB shown in FIG. 5. Also, when communication is started from a HALT state, information indicating the maximum waiting time (FWT) among the elements included in the communication parameters CPH is set to FWI (bits b8 to b5) in the 12th byte in the protocol information in ATQB shown in FIG. 5. In addition, when starting communications from a HALT state, information indicating the guard time (SFGT) of the start frame, which is one of the elements included in the communications parameters CPH, is set in SFGI (bits b8 to b5) in the 13th byte of the protocol information in ATQB shown in Figure 5.

以上のように、ICチップ1のCPU15は、IDLE状態から通信を開始する場合に通信パラメータCPIを示す情報を応答信号により外部装置2へ送信する一方、HALT状態から通信を開始する場合に通信パラメータCPHを示す情報を応答信号により外部装置2へ送信するようになっている。ここで、図6及び図7を参照して、IDLE状態から通信を開始する場合とHALT状態から通信を開始する場合について、ICチップ1の状態遷移に関連付けて説明する。図6は、通信方式としてType Aを採用するICチップ1の状態遷移を示す図である。図7は、通信方式としてType Bを採用するICチップ1の状態遷移を示す図である。なお、ICチップ1の状態遷移のための具体的な条件等については、ISO/IEC14443-3で公知であるため、説明を省略する。 As described above, the CPU 15 of the IC chip 1 transmits information indicating the communication parameter CPI to the external device 2 by a response signal when starting communication from the IDLE state, and transmits information indicating the communication parameter CPH to the external device 2 by a response signal when starting communication from the HALT state. Here, with reference to FIG. 6 and FIG. 7, the cases of starting communication from the IDLE state and starting communication from the HALT state will be described in relation to the state transition of the IC chip 1. FIG. 6 is a diagram showing the state transition of the IC chip 1 that employs Type A as the communication method. FIG. 7 is a diagram showing the state transition of the IC chip 1 that employs Type B as the communication method. Note that the specific conditions for the state transition of the IC chip 1 are publicly known from ISO/IEC14443-3, so a description thereof will be omitted.

先ず、Type Aでは、図6に示すように、ICチップ1は、外部装置2の放射する動作磁界フィールド外にあるときにはPOWER-OFF状態にあり電力が供給されていないが、動作磁界フィールドに進入したときには電力が供給されてIDLE状態に遷移する。IDLE状態において、ICチップ1は、外部装置2からREQA(Request Command Type A)またはWUPA(Wake UP command Type A)を正常に受信した場合(つまり、IDLE状態から通信を開始する場合)、上述したように、通信パラメータCPIに含まれる要素のうちICチップ1のUIDのサイズを示す情報を含むATQAを外部装置2へ送信し、READY状態に遷移する。READY状態において、ICチップ1は、外部装置2によりICチップ1のUIDが選択されると、ACTIVE状態に遷移する。ACTIVE状態において、ICチップ1は、外部装置2からRATS(Request for Answer To Select)を受信した場合(この場合も、ACTIVE状態を介するがIDLE状態から通信を開始する場合に該当)、上述したように、通信パラメータCPIに含まれる要素のうち最大フレームサイズ(FSC)、通信速度(DS)及び通信速度(DR)等を示す情報を含むATSを外部装置2へ送信し、PROTOCOL状態に遷移する。 First, in Type A, as shown in Fig. 6, when the IC chip 1 is outside the operating magnetic field emitted by the external device 2, it is in the POWER-OFF state and is not supplied with power, but when it enters the operating magnetic field, power is supplied and it transitions to the IDLE state. In the IDLE state, when the IC chip 1 normally receives a REQA (Request Command Type A) or a WUPA (Wake Up command Type A) from the external device 2 (i.e., when starting communication from the IDLE state), as described above, it transmits an ATQA including information indicating the size of the UID of the IC chip 1, which is one of the elements included in the communication parameter CPI, to the external device 2, and transitions to the READY state. In the READY state, when the UID of the IC chip 1 is selected by the external device 2, the IC chip 1 transitions to the ACTIVE state. In the ACTIVE state, when the IC chip 1 receives a RATS (Request for Answer To Select) from the external device 2 (which also corresponds to the case where communication is started from the IDLE state via the ACTIVE state), as described above, it transmits an ATS to the external device 2, which includes information indicating the maximum frame size (FSC), communication speed (DS), communication speed (DR), etc., among the elements included in the communication parameters CPI, and transitions to the PROTOCOL state.

一方、ACTIVE状態において、ICチップ1は、外部装置2からHLTA(HaLT command, Type A)を正常に受信した場合、HALT状態に遷移する。かかるHALT状態は、WUPAのみ受信可能な状態である。HALT状態において、ICチップ1は、外部装置2からWUPAを正常に受信した場合(つまり、HALT状態から通信を開始する場合)、上述したように、通信パラメータCPHに含まれる要素のうちICチップ1のUIDのサイズを示す情報を含むATQAを外部装置2へ送信し、READY状態に遷移する。READY状態において、ICチップ1は、外部装置2によりICチップ1のUIDが選択されると、ACTIVE状態に遷移する。ACTIVE状態において、ICチップ1は、外部装置2からRATSを受信した場合(この場合も、ACTIVE状態を介するがHALT状態から通信を開始する場合に該当)、上述したように、通信パラメータCPHに含まれる要素のうち最大フレームサイズ(FSC)、通信速度(DS)及び通信速度(DR)等を示す情報を含むATSを外部装置2へ送信し、PROTOCOL状態に遷移する。 On the other hand, in the ACTIVE state, when the IC chip 1 normally receives an HLTA (HaLT command, Type A) from the external device 2, it transitions to the HALT state. In this HALT state, only WUPA can be received. In the HALT state, when the IC chip 1 normally receives a WUPA from the external device 2 (i.e., when starting communication from the HALT state), as described above, it transmits an ATQA including information indicating the size of the UID of the IC chip 1 among the elements included in the communication parameter CPH to the external device 2, and transitions to the READY * state. In the READY * state, when the UID of the IC chip 1 is selected by the external device 2, the IC chip 1 transitions to the ACTIVE * state. In the ACTIVE * state, when the IC chip 1 receives a RATS from the external device 2 (which also corresponds to the case where communication is started from the HALT state via the ACTIVE * state), as described above, it transmits an ATS to the external device 2 including information indicating the maximum frame size (FSC), communication speed (DS), communication speed (DR), etc., among the elements included in the communication parameters CPH, and transitions to the PROTOCOL state.

次に、Type Bでは、図7に示すように、ICチップ1は、Type Aと同様、動作磁界フィールドに進入したときには電力が供給されてIDLE状態に遷移する。IDLE状態において、ICチップ1は、外部装置2からREQB(Request Command Type B)またはWUPBを正常に受信した場合(つまり、IDLE状態から通信を開始する場合)、上述したように、通信パラメータCPIに含まれる要素のうち通信速度能力(BRC)及び最大フレームサイズ(FSC)等を示す情報を含むATQBを外部装置2へ送信し、READY-REQUESTED状態またはREADY-DECLARED状態に遷移する。READY-DECLARED状態において、ICチップ1は、外部装置2からATTRIB(PICC selection command, Type B)を正常に受信した場合、PROTOCOL状態に遷移する。他方、READY-DECLARED状態において、ICチップ1は、外部装置2からHLTB(HaLT command, Type B)を正常に受信した場合、HALT状態に遷移する。かかるHALT状態は、WUPBのみ受信可能な状態である。HALT状態において、ICチップ1は、外部装置2からWUPBを正常に受信した場合(つまり、HALT状態から通信を開始する場合)、上述したように、通信パラメータCPHに含まれる要素のうち通信速度能力(BRC)及び最大フレームサイズ(FSC)等を示す情報を含むATQBを外部装置2へ送信し、READY-REQUESTED状態またはREADY-DECLARED状態に遷移する。 Next, in Type B, as shown in FIG. 7, when the IC chip 1 enters the operating magnetic field, it is supplied with power and transitions to the IDLE state, as in Type A. In the IDLE state, when the IC chip 1 normally receives REQB (Request Command Type B) or WUPB from the external device 2 (i.e., when starting communication from the IDLE state), as described above, it transmits ATQB, which includes information indicating the communication speed capability (BRC) and maximum frame size (FSC) among the elements included in the communication parameter CPI, to the external device 2, and transitions to the READY-REQUESTED state or the READY-DECLARED state. In the READY-DECLARED state, when the IC chip 1 normally receives ATTRIB (PICC selection command, Type B) from the external device 2, it transitions to the PROTOCOL state. On the other hand, in the READY-DECLARED state, when the IC chip 1 normally receives HLTB (HaLT command, Type B) from the external device 2, it transitions to the HALT state. In the HALT state, only WUPB can be received. In the HALT state, when the IC chip 1 successfully receives a WUPB from the external device 2 (i.e., when starting communication from the HALT state), as described above, it sends an ATQB to the external device 2, which includes information indicating the communication speed capability (BRC) and maximum frame size (FSC) among the elements included in the communication parameters CPH, and transitions to the READY-REQUESTED state or the READY-DECLARED state.


[2.ICチップ1の動作]
次に、図8を参照して、ICチップ1の動作について説明する。図8は、ICチップ1のCPU15により実行される通信パラメータ送信処理の一例を示すフローチャートである。図8に示す処理は、ICチップ1がIDLE状態またはHALT状態にある場合において、外部装置2からコマンド(REQA、WUPA、REQB、またはWUPB)が受信された場合に開始される。図8に示す処理が開始されると、CPU15は、ICチップ1の現在の状態が、IDLE状態であるか、またはHALT状態とであるかを判定する(ステップS1)。ICチップ1の現在の状態がIDLE状態であると判定された場合(ステップS1:IDLE状態)、処理はステップS2へ進む。一方、ICチップ1の現在の状態がHALT状態であると判定された場合(ステップS1:HALT状態)、処理はステップS6へ進む。
.
2. Operation of IC chip 1
Next, the operation of the IC chip 1 will be described with reference to FIG. 8. FIG. 8 is a flow chart showing an example of a communication parameter transmission process executed by the CPU 15 of the IC chip 1. The process shown in FIG. 8 is started when a command (REQA, WUPA, REQB, or WUPB) is received from the external device 2 while the IC chip 1 is in the IDLE state or HALT state. When the process shown in FIG. 8 is started, the CPU 15 judges whether the current state of the IC chip 1 is the IDLE state or the HALT state (step S1). If it is judged that the current state of the IC chip 1 is the IDLE state (step S1: IDLE state), the process proceeds to step S2. On the other hand, if it is judged that the current state of the IC chip 1 is the HALT state (step S1: HALT state), the process proceeds to step S6.

ステップS2では、CPU15は、IDLE状態に対応する通信パラメータCPIを検索する。例えば、通信パラメータCPIを示す情報を管理するファイル有無が検索される。次いで、CPU15は、ステップS2の検索結果に基づいて、IDLE状態に対応する通信パラメータCPIが設定されているか(つまり、NVM13に記憶されているか)否かを判定する(ステップS3)。IDLE状態に対応する通信パラメータCPIが設定されていると判定された場合(ステップS3:YES)、例えば、通信パラメータCPIを示す情報を管理するファイルが発見された場合、処理はステップS4へ進む。一方、IDLE状態に対応する通信パラメータCPIが設定されていないと判定された場合(ステップS3:NO)、処理はステップS5へ進む。 In step S2, the CPU 15 searches for the communication parameter CPI corresponding to the IDLE state. For example, the presence or absence of a file that manages information indicating the communication parameter CPI is searched for. Next, the CPU 15 determines whether the communication parameter CPI corresponding to the IDLE state has been set (i.e., whether it is stored in the NVM 13) based on the search result of step S2 (step S3). If it is determined that the communication parameter CPI corresponding to the IDLE state has been set (step S3: YES), for example, if a file that manages information indicating the communication parameter CPI is found, the process proceeds to step S4. On the other hand, if it is determined that the communication parameter CPI corresponding to the IDLE state has not been set (step S3: NO), the process proceeds to step S5.

ステップS4では、CPU15は、通信パラメータCPIを示す情報をNVM13から読み出し、これを上述した応答信号にセット(必要に応じてデータ形式を調整)し、処理をステップS9へ進める。一方、ステップS5では、CPU15は、デフォルトの通信パラメータCPDを示す情報をNVM13から読み出し、これを上述した応答信号にセットし、処理をステップS9へ進める。 In step S4, the CPU 15 reads information indicating the communication parameter CPI from the NVM 13, sets this in the response signal described above (adjusting the data format as necessary), and proceeds to step S9. In contrast, in step S5, the CPU 15 reads information indicating the default communication parameter CPD from the NVM 13, sets this in the response signal described above, and proceeds to step S9.

一方、ステップS6では、CPU15は、HALT状態に対応する通信パラメータCPHを検索する。例えば、通信パラメータCPHを示す情報を管理するファイルの有無が検索される。次いで、CPU15は、ステップS6の検索結果に基づいて、HALT状態に対応する通信パラメータCPHが設定されているか(つまり、NVM13に記憶されているか)否かを判定する(ステップS7)。HALT状態に対応する通信パラメータCPHが設定されていると判定された場合(ステップS7:YES)、例えば、通信パラメータCPHを示す情報を管理するファイルが発見された場合、処理はステップS8へ進む。一方、HALT状態に対応する通信パラメータCPHが設定されていないと判定された場合(ステップS7:NO)、処理はステップS5へ移行する。 On the other hand, in step S6, the CPU 15 searches for the communication parameters CPH corresponding to the HALT state. For example, the CPU 15 searches for the presence or absence of a file that manages information indicating the communication parameters CPH. Next, the CPU 15 determines whether the communication parameters CPH corresponding to the HALT state have been set (i.e., whether they are stored in the NVM 13) based on the search results of step S6 (step S7). If it is determined that the communication parameters CPH corresponding to the HALT state have been set (step S7: YES), for example, if a file that manages information indicating the communication parameters CPH is found, the process proceeds to step S8. On the other hand, if it is determined that the communication parameters CPH corresponding to the HALT state have not been set (step S7: NO), the process proceeds to step S5.

ステップS8では、CPU15は、通信パラメータCPHを示す情報をNVM13から読み出し、これを上述した応答信号にセット(必要に応じてデータ形式を調整)し、処理をステップS9へ進める。ステップS9では、CPU15は、ステップS4,S5,またはS8で通信パラメータを示す情報がセットされた応答信号をI/O回路11及びアンテナを介して外部装置2へ送信し、処理を終了する。以上説明した図8に示す処理は、本発明を実施するために、既存のICチップ1にも汎用的に適用することができる。 In step S8, the CPU 15 reads information indicating the communication parameters CPH from the NVM 13, sets this in the response signal described above (adjusting the data format as necessary), and proceeds to step S9. In step S9, the CPU 15 transmits the response signal in which the information indicating the communication parameters was set in step S4, S5, or S8 to the external device 2 via the I/O circuit 11 and antenna, and ends the process. The process shown in Figure 8 described above can be generally applied to existing IC chips 1 in order to implement the present invention.

以上説明したように、上記実施形態によれば、ICチップ1は、IDLE状態から通信を開始する場合に通信パラメータCPIを示す情報を応答信号により外部装置2へ送信する一方、HALT状態から通信を開始する場合に通信パラメータCPHを示す情報を応答信号により外部装置2へ送信するように構成したので、IDLE状態とHALT状態との2種類の待機状態に応じた2種類の通信パラメータを外部装置2に提示することができる。したがって、外部装置2は、異なるタイミングで提示された2種類の通信パラメータのうち、外部装置2にとって、より適した通信パラメータを切り替えてICチップ1との間で通信を行うことができるので、通信性能を向上させることができる。さらに、上記実施形態によれば、ICチップ1は、IDLE状態から通信を開始する場合にIDLE状態を示す情報を、通信パラメータCPIを示す情報に含めて外部装置2へ送信する一方、HALT状態から通信を開始する場合にHALT状態を示す情報を、通信パラメータCPHを示す情報に含めて外部装置2へ送信するように構成したので、外部装置2はICチップ1からの応答信号を受信するとただちにICチップ1の現在の状態を認識できるので、より迅速に通信パラメータを切り替えることができる。 As described above, according to the above embodiment, the IC chip 1 is configured to transmit information indicating the communication parameter CPI to the external device 2 by a response signal when starting communication from the IDLE state, and to transmit information indicating the communication parameter CPH to the external device 2 by a response signal when starting communication from the HALT state, so that two types of communication parameters corresponding to two types of waiting states, the IDLE state and the HALT state, can be presented to the external device 2. Therefore, the external device 2 can switch between the two types of communication parameters presented at different times and the more suitable communication parameter for the external device 2 to communicate with the IC chip 1, so that communication performance can be improved. Furthermore, according to the above embodiment, the IC chip 1 is configured to transmit information indicating the IDLE state to the external device 2 by including it in the information indicating the communication parameter CPI when starting communication from the IDLE state, and to transmit information indicating the HALT state to the external device 2 by including it in the information indicating the communication parameter CPH when starting communication from the HALT state, so that the external device 2 can immediately recognize the current state of the IC chip 1 when receiving a response signal from the IC chip 1, and can switch communication parameters more quickly.

なお、上記実施形態においては、ICチップ1と外部装置2とが非接触通信を行う場合について説明したが、本発明はICチップ1と外部装置2とが接触通信を行う場合にも適用可能である。この場合、ICチップ1は、コールドリセット(つまり、ICチップ1が活性化された直後に実行されるリセット)の受信待機状態(第1待機状態の一例)から接触通信を開始する場合の第1通信パラメータを示す情報と、ウォームリセット(つまり、電圧及びクロックが安定状態にあるときに実行されるリセット)の受信待機状態(第2待機状態の一例)から接触通信を開始する場合の第2通信パラメータを示す情報とを記憶しておく。そして、ICチップ1は、コールドリセットの受信待機状態から当該コールドリセットを受信して接触通信を開始する場合に第1通信パラメータを示す情報を外部装置2へ送信する一方、ウォームリセットの受信待機状態から当該ウォームリセットを受信して接触通信を開始する場合に第2通信パラメータを示す情報を外部装置2へ送信する。 In the above embodiment, the IC chip 1 and the external device 2 perform non-contact communication. However, the present invention is also applicable to the IC chip 1 and the external device 2 perform contact communication. In this case, the IC chip 1 stores information indicating the first communication parameters when contact communication is started from a state (an example of a first standby state) waiting to receive a cold reset (i.e., a reset executed immediately after the IC chip 1 is activated) and information indicating the second communication parameters when contact communication is started from a state (an example of a second standby state) waiting to receive a warm reset (i.e., a reset executed when the voltage and clock are stable). Then, the IC chip 1 transmits information indicating the first communication parameters to the external device 2 when it receives the cold reset from a state waiting to receive a cold reset and starts contact communication, and transmits information indicating the second communication parameters to the external device 2 when it receives the warm reset from a state waiting to receive a warm reset and starts contact communication.

1 ICチップ
11 I/O回路
11a 電力供給回路
11b クロック生成回路
11c 変復調回路
12 RAM
13 NVM
14 ROM
15 CPU
1 IC chip 11 I/O circuit 11a Power supply circuit 11b Clock generation circuit 11c Modulation/demodulation circuit 12 RAM
13 NVM
14 ROM
15 CPU

Claims (11)

外部装置との間で通信可能な電子情報記憶媒体であって、
前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶する記憶手段と、
前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信する送信手段と、
を備えることを特徴とする電子情報記憶媒体。
An electronic information storage medium capable of communicating with an external device,
a storage means for storing information indicating a first communication parameter when starting communication from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when starting communication from a second standby state in which communication with the external device is waited for, the second standby state being different from the first standby state;
a transmitting means for transmitting information indicating the first communication parameter to the external device when starting the communication from the first standby state, and transmitting information indicating the second communication parameter to the external device when starting the communication from the second standby state;
An electronic information storage medium comprising:
前記通信パラメータを示す情報は、最大フレームサイズ、最大待ち時間、及び通信速度とのうち少なくとも何れか一つの要素を示す情報を含むことを特徴とする請求項1に記載の電子情報記憶媒体。 The electronic information storage medium according to claim 1, characterized in that the information indicating the communication parameters includes information indicating at least one of the maximum frame size, maximum latency, and communication speed. 前記第1通信パラメータを示す情報は、前記第1待機状態を示す情報を含み、前記第2通信パラメータを示す情報は、前記第2待機状態を示す情報を含むことを特徴とする請求項1に記載の電子情報記憶媒体。 The electronic information storage medium according to claim 1, characterized in that the information indicating the first communication parameters includes information indicating the first standby state, and the information indicating the second communication parameters includes information indicating the second standby state. 前記通信は非接触通信であり、前記第1待機状態はIDLE状態であり、前記第2待機状態はHALT状態であることを特徴とする請求項1乃至3の何れか一項に記載の電子情報記憶媒体。 The electronic information storage medium according to any one of claims 1 to 3, characterized in that the communication is non-contact communication, the first standby state is an IDLE state, and the second standby state is a HALT state. 外部装置との間で通信可能なICチップであって、
前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶する記憶手段と、
前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信する送信手段と、
を備えることを特徴とするICチップ。
An IC chip capable of communicating with an external device,
a storage means for storing information indicating a first communication parameter when starting communication from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when starting communication from a second standby state in which communication with the external device is waited for, the second standby state being different from the first standby state;
a transmitting means for transmitting information indicating the first communication parameter to the external device when starting the communication from the first standby state, and transmitting information indicating the second communication parameter to the external device when starting the communication from the second standby state;
An IC chip comprising:
外部装置との間で通信可能なICカードであって、
前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶する記憶手段と、
前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信する送信手段と、
を備えることを特徴とするICカード。
An IC card capable of communicating with an external device,
a storage means for storing information indicating a first communication parameter when starting communication from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when starting communication from a second standby state in which communication with the external device is waited for, the second standby state being different from the first standby state;
a transmitting means for transmitting information indicating the first communication parameter to the external device when starting the communication from the first standby state, and transmitting information indicating the second communication parameter to the external device when starting the communication from the second standby state;
An IC card comprising:
外部装置との間で通信可能な電子情報記憶媒体により実行される通信パラメータ送信方法であって、
前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶するステップと、
前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信するステップと、
を含むことを特徴とする通信パラメータ送信方法。
A communication parameter transmission method executed by an electronic information storage medium capable of communicating with an external device, comprising:
storing information indicating a first communication parameter when starting communication from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when starting communication from a second standby state in which communication with the external device is waited for, the second standby state being different from the first standby state;
transmitting information indicating the first communication parameter to the external device when starting the communication from the first standby state, and transmitting information indicating the second communication parameter to the external device when starting the communication from the second standby state;
A communication parameter transmission method comprising:
外部装置との間で通信可能な電子情報記憶媒体に含まれるコンピュータに、
前記外部装置との間の通信を待機する第1待機状態から当該通信を開始する場合の第1通信パラメータを示す情報と、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態から当該通信を開始する場合の第2通信パラメータを示す情報とを記憶するステップと、
前記第1待機状態から前記通信を開始する場合に前記第1通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2待機状態から前記通信を開始する場合に前記第2通信パラメータを示す情報を前記外部装置へ送信するステップと、
を実行させることを特徴とするプログラム。
A computer included in an electronic information storage medium capable of communicating with an external device,
storing information indicating a first communication parameter when starting communication from a first standby state in which communication with the external device is waited for, and information indicating a second communication parameter when starting communication from a second standby state in which communication with the external device is waited for, the second standby state being different from the first standby state;
transmitting information indicating the first communication parameter to the external device when starting the communication from the first standby state, and transmitting information indicating the second communication parameter to the external device when starting the communication from the second standby state;
A program characterized by executing the above.
外部装置との間で通信可能な電子情報記憶媒体であって、当該外部装置との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶するメモリを備える電子情報記憶媒体であって、
前記電子情報記憶媒体の現在の状態が、前記外部装置との間の通信を待機する第1待機状態であるか、または、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態とであるかを判定する第1判定手段と、
前記現在の状態が前記第1待機状態であると判定された場合、前記第1待機状態から前記通信を開始する場合の第1通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する一方、前記現在の状態が前記第2待機状態であると判定された場合、前記第2待機状態から前記通信を開始する場合の第2通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する第2判定手段と、
前記第1通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第1通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第1通信パラメータを示す情報を前記外部装置へ送信する第1送信手段と、
前記第2通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第2通信パラメータを示す情報を前記外部装置へ送信する第2送信手段と、
を含むことを特徴とする電子情報記憶媒体。
An electronic information storage medium capable of communicating with an external device, the electronic information storage medium including a memory for storing at least information indicating default communication parameters used in communication with the external device,
a first determination means for determining whether a current state of the electronic information storage medium is a first standby state in which the electronic information storage medium waits for communication with the external device, or a second standby state in which the electronic information storage medium waits for communication with the external device and is different from the first standby state;
a second determination means for determining whether or not information indicating a first communication parameter for starting the communication from the first standby state is stored in the memory when it is determined that the current state is the first standby state, and for determining whether or not information indicating a second communication parameter for starting the communication from the second standby state is stored in the memory when it is determined that the current state is the second standby state;
a first transmission means for transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the first communication parameters is not stored in the memory, and for transmitting information indicating the first communication parameters to the external device when it is determined that the information indicating the first communication parameters is stored in the memory;
a second transmission means for transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the second communication parameters is not stored in the memory, and for transmitting information indicating the second communication parameters to the external device when it is determined that the information indicating the second communication parameters is stored in the memory;
13. An electronic information storage medium comprising:
外部装置との間で通信可能な電子情報記憶媒体であって、当該外部装置との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶するメモリを備える電子情報記憶媒体により実行される通信パラメータ送信方法であって、
前記電子情報記憶媒体の現在の状態が、前記外部装置との間の通信を待機する第1待機状態であるか、または、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態とであるかを判定するステップと、
前記現在の状態が前記第1待機状態であると判定された場合、前記第1待機状態から前記通信を開始する場合の第1通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する一方、前記現在の状態が前記第2待機状態であると判定された場合、前記第2待機状態から前記通信を開始する場合の第2通信パラメータを示す情報が前記メモリに記憶されているか否かを判定するステップと、
前記第1通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第1通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第1通信パラメータを示す情報を前記外部装置へ送信するステップと、
前記第2通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第2通信パラメータを示す情報を前記外部装置へ送信するステップと、
を含むことを特徴とする通信パラメータ送信方法。
1. A communication parameter transmission method executed by an electronic information storage medium capable of communicating with an external device, the electronic information storage medium having a memory for storing at least information indicating default communication parameters used in communication with the external device, the method comprising:
determining whether a current state of the electronic information storage medium is a first standby state waiting for communication with the external device, or a second standby state waiting for communication with the external device, the second standby state being different from the first standby state;
determining whether or not information indicating a first communication parameter for starting the communication from the first standby state is stored in the memory when it is determined that the current state is the first standby state, and determining whether or not information indicating a second communication parameter for starting the communication from the second standby state is stored in the memory when it is determined that the current state is the second standby state;
transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the first communication parameters is not stored in the memory, and transmitting information indicating the first communication parameters to the external device when it is determined that the information indicating the first communication parameters is stored in the memory;
transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the second communication parameters is not stored in the memory, and transmitting information indicating the second communication parameters to the external device when it is determined that the information indicating the second communication parameters is stored in the memory;
A communication parameter transmission method comprising:
外部装置との間で通信可能な電子情報記憶媒体であって、当該外部装置との間の通信で用いられるデフォルトの通信パラメータを示す情報を少なくとも記憶するメモリを備える電子情報記憶媒体に含まれるコンピュータに、
前記電子情報記憶媒体の現在の状態が、前記外部装置との間の通信を待機する第1待機状態であるか、または、前記外部装置との間の通信を待機する第2待機状態であって前記第1待機状態とは異なる第2待機状態とであるかを判定するステップと、
前記現在の状態が前記第1待機状態であると判定された場合、前記第1待機状態から前記通信を開始する場合の第1通信パラメータを示す情報が前記メモリに記憶されているか否かを判定する一方、前記現在の状態が前記第2待機状態であると判定された場合、前記第2待機状態から前記通信を開始する場合の第2通信パラメータを示す情報が前記メモリに記憶されているか否かを判定するステップと、
前記第1通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第1通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第1通信パラメータを示す情報を前記外部装置へ送信するステップと、
前記第2通信パラメータを示す情報が前記メモリに記憶されていないと判定された場合、前記デフォルトの通信パラメータを示す情報を前記外部装置へ送信する一方、前記第2通信パラメータを示す情報が前記メモリに記憶されていると判定された場合、当該第2通信パラメータを示す情報を前記外部装置へ送信するステップと、
を実行させることを特徴とするプログラム。
A computer included in an electronic information storage medium capable of communicating with an external device, the electronic information storage medium having a memory for storing at least information indicating default communication parameters used in communication with the external device,
determining whether a current state of the electronic information storage medium is a first standby state waiting for communication with the external device, or a second standby state waiting for communication with the external device, the second standby state being different from the first standby state;
determining whether or not information indicating a first communication parameter for starting the communication from the first standby state is stored in the memory when it is determined that the current state is the first standby state, and determining whether or not information indicating a second communication parameter for starting the communication from the second standby state is stored in the memory when it is determined that the current state is the second standby state;
transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the first communication parameters is not stored in the memory, and transmitting information indicating the first communication parameters to the external device when it is determined that the information indicating the first communication parameters is stored in the memory;
transmitting information indicating the default communication parameters to the external device when it is determined that the information indicating the second communication parameters is not stored in the memory, and transmitting information indicating the second communication parameters to the external device when it is determined that the information indicating the second communication parameters is stored in the memory;
A program characterized by executing the above.
JP2023091213A 2023-06-01 2023-06-01 Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program Active JP7424536B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023091213A JP7424536B1 (en) 2023-06-01 2023-06-01 Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023091213A JP7424536B1 (en) 2023-06-01 2023-06-01 Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program

Publications (2)

Publication Number Publication Date
JP7424536B1 JP7424536B1 (en) 2024-01-30
JP2024173086A true JP2024173086A (en) 2024-12-12

Family

ID=89704321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023091213A Active JP7424536B1 (en) 2023-06-01 2023-06-01 Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program

Country Status (1)

Country Link
JP (1) JP7424536B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008276572A (en) 2007-04-27 2008-11-13 Toshiba Corp Non-contact ic card
JP2009122751A (en) 2007-11-12 2009-06-04 Brother Ind Ltd Wireless tag communication device
JP5372718B2 (en) 2009-12-03 2013-12-18 Necトーキン株式会社 IC card

Also Published As

Publication number Publication date
JP7424536B1 (en) 2024-01-30

Similar Documents

Publication Publication Date Title
RU2402804C2 (en) Method of booting host device from mmc/sd device, host device bootable from mmc/sd device and mmc/sd device from which host device may be booted
JP4072503B2 (en) IC card with built-in coprocessor for auxiliary operation and control method thereof
KR20060126764A (en) Cards and host devices
JP3929761B2 (en) Semiconductor device operation control method, semiconductor device operation control program, recording medium recording semiconductor device operation control program, semiconductor device, and IC card
JP7424536B1 (en) Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program
JP2003044801A (en) Portable information processing device provided with a plurality of information transmission means
JP2010176582A (en) Ic chip, ic card, issuing device, issuing method and issuing system
EP1146421A2 (en) Control method and electronic device to enhance the functionality of a main processor
JP2004139244A (en) Ic card and ic card program
JP4590201B2 (en) Data carrier and data carrier program
WO2019155792A1 (en) Information processing device, information processing method, and program
KR100399603B1 (en) Smart card and method for writing/erasing and operating an os program the same
JP3881844B2 (en) Non-contact IC card
JP2015125627A (en) Ic card and mobile electronic device
JP2004192447A (en) IC card and IC card data management method
JP2009129402A (en) Semiconductor device for ic card, ic card and terminal for ic card
WO2008104601A2 (en) Method of managing command execution in an electronic token
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device
CN113472548A (en) Electronic card control method, electronic card and terminal
JP7538484B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CARD, IC CHIP, LOGIC CHANNEL UTILIZATION METHOD, AND PROGRAM
JP7600322B1 (en) IC Card
JP4757423B2 (en) Electronic chip for portable goods
JP7497777B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, DATA TRANSFER DETERMINATION METHOD, AND PROGRAM
JP7631895B2 (en) IC Card
JP4734838B2 (en) Information recording medium, program, and command execution control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230927

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230927

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240101

R150 Certificate of patent or registration of utility model

Ref document number: 7424536

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150