JP7424536B1 - 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
JP7424536B1
JP7424536B1 JP2023091213A JP2023091213A JP7424536B1 JP 7424536 B1 JP7424536 B1 JP 7424536B1 JP 2023091213 A JP2023091213 A JP 2023091213A JP 2023091213 A JP2023091213 A JP 2023091213A JP 7424536 B1 JP7424536 B1 JP 7424536B1
Authority
JP
Japan
Prior art keywords
communication
information indicating
external device
standby state
communication parameter
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.)
Active
Application number
JP2023091213A
Other languages
Japanese (ja)
Inventor
豊 山石
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】2種類の待機状態に応じた2種類の通信パラメータを外部装置に提示することが可能な電子情報記憶媒体、ICチップ、ICカード、通信パラメータ送信方法、及びプログラムを提供する。【解決手段】ICチップ1は、IDLE状態から通信を開始する場合に通信パラメータCPIを示す情報を応答信号により外部装置2へ送信する一方、HALT状態から通信を開始する場合に通信パラメータCPHを示す情報を応答信号により外部装置2へ送信する。【選択図】図8The present invention provides an electronic information storage medium, an IC chip, an IC card, a communication parameter transmission method, and a program that can present 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 indicates a communication parameter CPH when starting communication from a HALT state. The information is transmitted to the external device 2 by a response signal. [Selection diagram] Figure 8

Description

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

従来、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 state and HALT state, are known as states in which a non-contact IC card conforming to ISO/IEC14443-3 waits for communication with an external device. For example, when a Type-B contactless IC card starts communicating with an external device in the IDLE or HALT state, it uses pre-stored communication parameters in response to WUPB (Wake UP command Type B) from the external device. The information is sent to an external device using ATQB (Answer To reQuest for PICC B). For example, the contactless IC card disclosed in Patent Document 1 stores a plurality of communication conditions including an initial communication condition, and by switching these plurality of communication conditions on the contactless IC card side, the communication method It is possible to communicate with multiple communication terminals with different types.

特開2008-276572号公報Japanese Patent Application Publication No. 2008-276572

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

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

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

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

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

請求項4に記載の発明は、請求項1乃至3の何れか一項に記載の電子情報記憶媒体において、前記通信は非接触通信であり、前記第1待機状態はIDLE状態であり、前記第2待機状態はHALT状態であることを特徴とする。 The invention according to claim 4 is the electronic information storage medium according to any one of claims 1 to 3, wherein the communication is contactless communication, the first standby state is an IDLE state, and the first standby state is an IDLE state. 2. The standby state is characterized in that it is a HALT state.

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

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

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

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

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

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

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

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

以下、図面を参照して本発明の実施形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail 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 functions of IC chip 1]
First, with reference to FIG. 1, the configuration and functions of an IC chip 1 according to the present embodiment will be described. The IC chip 1 is an example of an electronic information storage medium that can communicate with an external device 2. The IC chip 1 is installed in, 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 removable from the mobile device, or may be installed as an eUICC (Embedded Universal Integrated Circuit Card) so that it cannot be easily removed or replaced from the mobile device. It may also be mounted on a built-in board. Note that IC cards and mobile devices are equipped with antennas 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から出力された変調信号を電磁波として発信する。 FIG. 1 is a diagram showing an example of the hardware configuration of the IC chip 1. As shown in FIG. As shown in FIG. 1, the IC chip 1 includes an I/O circuit 11, a RAM (Random Access Memory) 12, an 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), etc., and complies with ISO/IEC 14443, the international standard for contactless communications. Note that the IC chip 1 stores a unique UID (Unique IDentifier). The I/O circuit 11 serves as an interface with the external device 2. The IC chip 1 performs contactless communication with an external device 2 via an I/O circuit 11 and an antenna (not shown). Type A and Type B standardized by ISO/IEC 14443 will be taken as examples of communication methods related to such contactless communication. The I/O circuit 11 is connected to an antenna and includes a power supply circuit 11a, a clock generation circuit 11b, a modulation/demodulation circuit 11c, and the like. The antenna includes an antenna coil, receives a carrier wave (electromagnetic wave) emitted from the 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 an induced current related to power (induced electromotive force) induced by a carrier wave received by an antenna, and supplies power to the CPU 15 and the like. 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 and the like. The modulation/demodulation circuit 11c demodulates data from the carrier wave received by the antenna and outputs it to the CPU 15. Further, the modulation/demodulation circuit 11c modulates the data from the CPU 15 and outputs the modulated signal to the antenna. Note that examples of the external device 2 include a transaction device equipped with a reader/writer, a data writing device, and the like.

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. Note that the NVM 13 may be an "Electrically Erasable Programmable Read-Only Memory." The NVM 13 or the ROM 14 stores an OS (Operating System), one or more applications (including the program of the present invention), and the like. The program of the present invention can be downloaded from a data writing device. By executing the OS and applications (including the program of the present invention) stored in the NVM 13, the CPU 15 can perform the first determination means, the second determination means, the transmission means, the first transmission means, and the second transmission means in the present invention. It functions as a means etc.

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

さらに、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, the NVM 13 contains information indicating communication parameters when starting communication from an IDLE state (an example of a first standby state) in which communication with the external device 2 is waited, and information indicating communication parameters with respect to communication with the external device 2. Information indicating communication parameters when starting the communication from a standby HALT state (an example of a second standby state) is stored, for example, by setting according to an external setting command. Here, communication parameters for starting communication from the IDLE state (communication parameters corresponding to the IDLE state) are hereinafter referred to as "communication parameters CPI" to be distinguished from other communication parameters. Further, communication parameters for starting communication from the HALT state (communication parameters corresponding to the HALT state) are hereinafter referred to as "communication parameters CPH" when distinguished from other communication parameters. In this way, it is possible to present to the external device 2 two types of communication parameters corresponding to the two types of standby states, IDLE state and HALT state (that is, present them at different timings). Therefore, the external device 2 appropriately selects the communication parameter that is more suitable for the external device 2 (for example, considering the communication performance of the external device 2) from among the two types of communication parameters presented at different timings. Communication can be performed 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”からなる情報(つまり、通信パラメータを示す情報)はあくまで例示にすぎない。 FIG. 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 the IC chip 1 that employs Type A as the 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 the IC chip 1 that employs Type B as the communication method. Note that the record area is divided into a plurality of areas, and the physical addresses of each record area are different. The information (data) stored in the record area is called a record. Each record is given a record number and associated with a physical address. Each record is logically stored (for example, a record number is stored) in one or more files (for example, EF (Elementary File)), and managed by, for example, an application. Each file is given a unique SFI (Short File Identifier). Note that in FIGS. 2A and 2B, information consisting of "1" and "0" (that is, information indicating communication parameters) 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. 2(A), the NVM 13 has the maximum frame size (FSC: Frame Size for proximity Card) and communication speed (DS: Divisor Send) as communication parameters CPD, CPI, and CPH. , communication speed (DR: Divisor Receive), maximum waiting time (FWT: Frame Waiting Time), start-up frame guard time (SFGT: Start-up Frame Guard Time), and information indicating each of the UID size of IC chip 1 are stored as individual 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 are preferably managed by different files. For example, information indicating the communication parameter CPD is managed by a file with SFI "001", information indicating communication parameter CPI is managed by a file with SFI "002", and information indicating communication parameter CPH is managed by a file with SFI "003". It is preferable that the information be managed by the following file.

ここで、最大フレームサイズ(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, each of the maximum frame size (FSC), communication speed (DS), communication speed (DR), maximum waiting time (FWT), start frame guard time (SFGT), and UID size of IC chip 1 is communicated. These are called parameter elements. Note that 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), each element (that is, maximum frame size (FSC), communication speed (DS), communication speed (DR), maximum waiting time (FWT), ...) are different from each other. However, information indicating some elements (for example, communication speed (DS)) may be the same among the communication parameters CPD, CPI, and CPH (for example, they are all "001"), and in this case, the The information may be stored in the same record area (ie, the same address) of NVM 13. Furthermore, in the NVM 13 shown in FIG. 2(A), information indicating the standby state type (that is, IDLE state or HALT state) as an element of communication parameters CPI and CPH is stored in each record. is remembered as.

次に、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. 2(B), the NVM 13 includes communication parameters CPD, CPI, and CPH, such as communication speed capacity (an example of communication speed, BRC: Bit Rate Capacity), maximum frame size ( FSC), maximum waiting time (FWT), and start frame guard time (SFGT) are stored as respective records. Also 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 are preferably managed by different files. Also, in the example of FIG. 2B, the information indicating each element is different among the communication parameters CPD, CPI, and CPH. However, information indicating some elements may be the same among 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 the present embodiment can also support an IC chip 1 in which information indicating at least one of the communication parameter CPI and the communication parameter CPH is not stored in the NVM 13. If the information indicating at least one of the communication parameter CPI and the communication parameter CPH is not stored in the NVM 13, information indicating the communication parameter CPD is used instead. On the other hand, if information indicating both the communication parameter CPI and the communication parameter CPH is stored in the NVM 13, the information indicating the communication parameter CPD is not used, so 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 the IC chip 1 that adopts Type A as the communication method, information indicating communication parameters is transmitted while being included in ATQA (Answer To reQuest for PICC A) or ATS (Answer To Select). On the other hand, in the case of the IC chip 1 that employs Type B as the communication method, information indicating communication parameters is transmitted while being included in ATQB (Answer To reQuest for PICC B). ATQA, ATS, and ATQB are response signals (responses) to the external device 2, respectively. FIG. 3 is a diagram illustrating an example of an ATQA encoding configuration (standard format defined by ISO/IEC14443-3). For example, when IC chip 1 starts communication from the IDLE state, information indicating the size of the UID of IC chip 1 (for example, "01") among the elements included in the communication parameter CPI is bit b7 in ATQA shown in FIG. ,b8 is set. On the other hand, when IC chip 1 starts communication from the HALT state, information indicating the size of the UID of IC chip 1 (for example, "10") among the elements included in the communication parameter CPH is bit b8 in ATQA shown in FIG. ,b7 is set.

図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(ヒストリカルバイト)内の何れかのビットにセットされる。 FIG. 4 is a diagram illustrating an example of an ATS encoding configuration (standard format defined by ISO/IEC14443-3). For example, when the IC chip 1 starts communication from the IDLE state, information indicating the maximum frame size (FSC) (for example, "1100") among the elements included in the communication parameter CPI is T0 ( Set in FSCI (bits b4 to b1) in the format byte). In addition, when starting communication from the IDLE state, information indicating the communication speed (DS) and communication speed (DR) among the elements included in the communication parameter CPI is the TA(1) (interface byte) in the ATS shown in Figure 4. Set in DS (bits b7 to b5) and DR (bits b3 to b1) in In addition, when starting communication from the IDLE state, information indicating the maximum waiting time (FWT) and start frame guard time (SFGT) among the elements included in the communication parameter CPI is TB(1) in the ATS shown in FIG. Set in FWI (bits b8-b5) and SFGI (bits b4-b1) in (interface byte). In addition, when starting communication from the IDLE state, information indicating the standby state type (IDLE state) among the elements included in the communication parameter CPI is stored in any of T1 to Tk (historical bytes) in the ATS shown in Figure 4. bit is set.

一方、例えば、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 IC chip 1 starts communication from the HALT state, information indicating the maximum frame size (FSC) (for example, "1111") among the elements included in the communication parameter CPH is Set in FSCI (bits b4-b1) in T0. In addition, when starting communication from the HALT state, information indicating the communication speed (DS) and communication speed (DR) among the elements included in the communication parameter CPH is changed to DS ( bits b7-b5) and DR (bits b3-b1). In addition, when starting communication from the HALT state, information indicating the maximum waiting time (FWT) and start frame guard time (SFGT) among the elements included in the communication parameter CPH is TB(1) in the ATS shown in Figure 4. FWI (bits b8 to b5) and SFGI (bits b4 to b1) in Furthermore, when starting communication from the HALT state, information indicating the standby state type (HALT state) among the elements included in the communication parameter CPH is set to any bit in T1 to Tk in the ATS shown in FIG. Ru.

図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)にセットされる。 FIG. 5 is a diagram illustrating an example of an ATQB encoding configuration (extended format defined by 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 the protocol information in ATQB shown in FIG. This is set in the BRC (bits b8 to b1) in the 10th byte. In addition, when starting communication from the IDLE state, information indicating the maximum frame size (FSC) among the elements included in the communication parameter CPI is stored in the FSCI (bit b8 ~b5). In addition, when starting communication from the IDLE state, information indicating the maximum waiting time (FWT) among the elements included in the communication parameter CPI is stored in the FWI (bit b8 ~b5). In addition, when starting communication from the IDLE state, information indicating the guard time (SFGT) of the start frame among the elements included in the communication parameter CPI is included in the SFGI ( bits b8 to b5).

一方、例えば、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 the HALT state, information indicating the communication speed capability (BRC) (for example, "00000100") among the elements included in the communication parameter CPH is Set in BRC (bits b8 to b1) in the 10th byte in the protocol information. In addition, when starting communication from the HALT state, information indicating the maximum frame size (FSC) among the elements included in the communication parameter CPH is stored in the FSCI (bit b8 ~b5). In addition, when starting communication from the HALT state, information indicating the maximum waiting time (FWT) among the elements included in the communication parameter CPH is set to FWI (bit b8 ~b5). In addition, when starting communication from the HALT state, information indicating the guard time (SFGT) of the start frame among the elements included in the communication parameter CPH is included in the SFGI ( bits b8 to b5).

以上のように、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 the communication parameter CPI when starting communication from the HALT state. Information indicating the CPH is transmitted to the external device 2 by a response signal. Here, with reference to FIGS. 6 and 7, a case where communication is started from the IDLE state and a case where communication is started 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 well known in ISO/IEC14443-3, so the explanation 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, the IC chip 1 is in the POWER-OFF state and no power is supplied when it is outside the operating magnetic field radiated by the external device 2, but when it enters the operating magnetic field. When this happens, power is supplied and the device transitions to IDLE state. In the IDLE state, if the IC chip 1 successfully receives REQA (Request Command Type A) or WUPA (Wake UP command Type A) from the external device 2 (that is, when starting communication from the IDLE state), the IC chip 1 performs the above-mentioned Among the elements included in the communication parameter CPI, ATQA including information indicating the size of the UID of the IC chip 1 is transmitted to the external device 2, and the state is changed to READY. In the READY state, the IC chip 1 transitions to the ACTIVE state when the UID of the IC chip 1 is selected by the external device 2. In the ACTIVE state, when the IC chip 1 receives a RATS (Request for Answer To Select) from the external device 2 (this case also applies when communication starts from the IDLE state through the ACTIVE state), the IC chip 1 performs the same operation as described above. Then, it transmits ATS including information indicating the maximum frame size (FSC), communication speed (DS), communication speed (DR), etc. among the elements included in the communication parameter CPI to the external device 2, 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. This HALT state is a state in which only WUPA can be received. In the HALT state, when the IC chip 1 normally receives WUPA from the external device 2 (that is, when starting communication from the HALT state), the IC chip 1 out of the elements included in the communication parameter CPH, as described above, Sends ATQA including information indicating the size of the UID to external device 2, and transitions to 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 RATS from the external device 2 (this also applies to the case where communication is started from the HALT state through the ACTIVE * state), the communication parameter CPH is set as described above. The ATS including information indicating the maximum frame size (FSC), communication speed (DS), communication speed (DR), etc. among the elements included in is transmitted to the external device 2, 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, as in Type A, power is supplied and the IC chip 1 transitions to the IDLE state. In the IDLE state, when the IC chip 1 normally receives REQB (Request Command Type B) or WUPB from the external device 2 (that is, when starting communication from the IDLE state), the IC chip 1 changes the communication parameter CPI to The ATQB, which includes information indicating communication speed capability (BRC), maximum frame size (FSC), etc. among the included elements, is transmitted to the external device 2, and transitions to the READY-REQUESTED state or 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 an HLTB (HaLT command, Type B) from the external device 2, it transitions to the HALT state. This HALT state is a state in which only WUPB can be received. In the HALT state, when the IC chip 1 normally receives WUPB from the external device 2 (that is, when starting communication from the HALT state), the IC chip 1 determines the communication speed capability among the elements included in the communication parameter CPH, as described above. (BRC) and maximum frame size (FSC), etc., to the external device 2, and transitions to the READY-REQUESTED state or 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 explained with reference to FIG. FIG. 8 is a flowchart showing an example of communication parameter transmission processing 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 determines whether the current state of the IC chip 1 is the IDLE state or the HALT state (step S1). If it is determined that the current state of the IC chip 1 is the IDLE state (step S1: IDLE state), the process advances to step S2. On the other hand, if it is determined 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. Next, the CPU 15 determines whether the communication parameter CPI corresponding to the IDLE state is set (that is, stored in the NVM 13) based on the search result in step S2 (step S3). If it is determined that the communication parameter CPI corresponding to the IDLE state is set (step S3: YES), for example, if a file managing 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 is not 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 it in the above-mentioned response signal (adjusts the data format as necessary), and advances the process to step S9. On the other hand, in step S5, the CPU 15 reads information indicating the default communication parameter CPD from the NVM 13, sets it in the above-mentioned response signal, and advances the process 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 a communication parameter CPH corresponding to the HALT state. For example, the presence or absence of a file that manages information indicating the communication parameter CPH is searched. Next, the CPU 15 determines whether the communication parameter CPH corresponding to the HALT state is set (that is, stored in the NVM 13) based on the search result in step S6 (step S7). If it is determined that the communication parameter CPH corresponding to the HALT state is set (step S7: YES), for example, if a file managing information indicating the communication parameter CPH is found, the process proceeds to step S8. On the other hand, if it is determined that the communication parameter CPH corresponding to the HALT state is not set (step S7: NO), the process moves 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 parameter CPH from the NVM 13, sets it in the above-mentioned response signal (adjusts the data format as necessary), and advances the process 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 the antenna, and ends the process. The process shown in FIG. 8 described above can be universally applied to the existing IC chip 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 explained above, according to the above embodiment, 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, while starting communication from the HALT state. Since the configuration is configured so that information indicating the communication parameter CPH is sent to the external device 2 by a response signal when starting the communication, two types of communication parameters corresponding to the two types of standby states, IDLE state and HALT state, are sent to the external device 2. can be presented to. Therefore, the external device 2 can communicate with the IC chip 1 by switching the communication parameter that is more suitable for the external device 2 out of the two types of communication parameters presented at different timings. Performance can be improved. Further, according to the above embodiment, when starting communication from the IDLE state, the IC chip 1 includes information indicating the IDLE state in the information indicating the communication parameter CPI and transmits it to the external device 2. Since the configuration is such that when starting communication, the information indicating the HALT state is included in the information indicating the communication parameter CPH and transmitted to the external device 2, the external device 2 immediately connects the IC chip 1 upon receiving the response signal from the IC chip 1. Since the current state of the chip 1 can be recognized, communication parameters can be switched 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 case where the IC chip 1 and the external device 2 perform contactless communication has been described, but the present invention is also applicable to the case where the IC chip 1 and the external device 2 perform contact communication. be. In this case, the IC chip 1 is in a first contact communication state when starting contact communication from a reception standby state (an example of a first standby state) of a cold reset (that is, a reset executed immediately after the IC chip 1 is activated). Information indicating communication parameters and a second communication when contact communication is started from a reception standby state (an example of a second standby state) of a warm reset (that is, a reset performed when the voltage and clock are in a stable state). and information indicating the parameters. When the IC chip 1 receives the cold reset and starts contact communication from the cold reset reception standby state, it transmits information indicating the first communication parameter to the external device 2, while the warm reset reception standby state When receiving the warm reset from , and starting contact communication, information indicating the second communication parameters is transmitted to the external device 2 .

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

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

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)

Citations (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
JP2011118640A (en) 2009-12-03 2011-06-16 Nec Tokin Corp Ic card

Patent Citations (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
JP2011118640A (en) 2009-12-03 2011-06-16 Nec Tokin Corp Ic card

Similar Documents

Publication Publication Date Title
KR100887083B1 (en) Ic module and cellular phone
TWI474645B (en) Systems and methods for providing nfc secure application support in battery-off mode when no nonvolatile memory write access is available
KR100871184B1 (en) Card, storage device, and control method of a memory system
JP4640859B2 (en) How to start a proactive session from an applet in a smart card
EP1564630A1 (en) IC card with built-in coprocessor for auxiliary arithmetic, and control method thereof
JP5149516B2 (en) IC card, portable terminal and control method of portable terminal
JP2007242024A (en) Ic card, portable terminal, and control method of portable terminal
US9214986B2 (en) Non-volatile memory for NFC router
EP2377291B1 (en) Portable mobile communication device and method of controlling near field communication
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
EP2830000B1 (en) Wireless card reader and method for storing data
JP7424536B1 (en) Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program
EP3236405B1 (en) Selecting an application on a card
EP2111012B1 (en) Reader/writer, communication processing device, communication processing method, data management system and communication system
CN101273369A (en) Smartcard power management
US8230233B2 (en) Information processing terminal and program for use therewith
JP4100160B2 (en) IC card and IC card data management method
JP2003044801A (en) Portable information processor provided with a plurality of information transmitting means
JP4590201B2 (en) Data carrier and data carrier program
KR100399603B1 (en) Smart card and method for writing/erasing and operating an os program the same
CN112613872A (en) Type 4NFC tag as protocol interface
CN113472548A (en) Electronic card control method, electronic card and terminal
JP2015125627A (en) Ic card and mobile electronic device
JP2006012026A (en) Mobile information storage medium and program therefor
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device

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