[go: up one dir, main page]

JP2023039526A - Contactless communication device, contactless chip, and upper layer message processing method - Google Patents

Contactless communication device, contactless chip, and upper layer message processing method Download PDF

Info

Publication number
JP2023039526A
JP2023039526A JP2021146685A JP2021146685A JP2023039526A JP 2023039526 A JP2023039526 A JP 2023039526A JP 2021146685 A JP2021146685 A JP 2021146685A JP 2021146685 A JP2021146685 A JP 2021146685A JP 2023039526 A JP2023039526 A JP 2023039526A
Authority
JP
Japan
Prior art keywords
application
communication device
upper layer
collision
processing
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
JP2021146685A
Other languages
Japanese (ja)
Other versions
JP7468486B2 (en
Inventor
美幸 金田
Miyuki Kaneda
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 JP2021146685A priority Critical patent/JP7468486B2/en
Publication of JP2023039526A publication Critical patent/JP2023039526A/en
Application granted granted Critical
Publication of JP7468486B2 publication Critical patent/JP7468486B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

Figure 2023039526000001

【課題】アンチコリジョン処理で用いられるデバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを,カレントになるアプリケーションに基づいて決定する非接触通信デバイスを提供する。
【解決手段】非接触通信デバイス1は,暗黙的にカレントにするアプリケーションを示すアプリケーション情報を記憶したメモリ21と,アンチコリジョン処理において,上位層メッセージを格納したデバイス選択コマンドを受信すると,アプリケーション情報をメモリ21から検索し,メモリ21から検索できたアプリケーション情報で示されるアプリケーションに上位層メッセージを引き渡して処理させるアンチコリジョン手段10を備える。
【選択図】図7

Figure 2023039526000001

Kind Code: A1 A contactless communication device is provided that determines an application to which an upper layer message stored in a device selection command used in anticollision processing is delivered, based on the current application.
A non-contact communication device 1 receives a memory 21 storing application information indicating an application to be made current implicitly, and upon receiving a device selection command storing an upper layer message in anticollision processing, the contactless communication device 1 stores the application information. An anti-collision means 10 is provided for retrieving from the memory 21 and passing the upper layer message to the application indicated by the application information retrieved from the memory 21 for processing.
[Selection drawing] Fig. 7

Description

本発明は,非接触通信に対応した非接触チップを実装した非接触通信デバイスに関する。 The present invention relates to a contactless communication device mounted with a contactless chip compatible with contactless communication.

NFC規格(NFC: Near field communication)に対応した非接触チップは,非接触ICカードまたはスマートフォンなどの様々なデバイスに実装されている。ここでは,非接触チップを実装したデバイスを非接触通信デバイスと呼んでいる。 Contactless chips compatible with the NFC standard (NFC: Near field communication) are mounted in various devices such as contactless IC cards and smartphones. Here, a device mounted with a contactless chip is called a contactless communication device.

NFC規格で規定されている非接触通信規格は1つではない。NFC規格で規定された非接触通信規格には,ISO/IEC18092(例えば,Felica(登録商標))に加え,ISO/IEC14443_TypeAおよびISO/IEC14443_TypeBがある。 The NFC standard defines more than one contactless communication standard. Contactless communication standards defined by the NFC standard include ISO/IEC14443_TypeA and ISO/IEC14443_TypeB in addition to ISO/IEC18092 (for example, Felica (registered trademark)).

ISO/IEC14443_TypeBは,日本国内において,高いセキュリティが要求される用途で利用されている。例えば,日本国内において,ISO/IEC14443_TypeBは,マイナンバーカード,パスポートおよび運転免許証などで利用されている。 ISO/IEC14443_TypeB is used in Japan for applications that require high security. For example, in Japan, ISO/IEC14443_TypeB is used for my number cards, passports, driver's licenses, and the like.

図8は,ISO/IEC14443_TypeBのアンチコリジョン処理を説明する図である。なお,ISO/IEC14443_TypeBでは,アンチコリジョン処理を初期化および衝突防止と呼んでいる。 FIG. 8 is a diagram for explaining anti-collision processing of ISO/IEC14443_TypeB. In ISO/IEC14443_TypeB, anticollision processing is called initialization and anticollision.

ISO/IEC14443_TypeBのアンチコリジョン処理において,非接触通信デバイスの最初の状態はPOWER-OFF状態S20である。POWER-OFF状態S20は,非接触通信デバイスに実装された非接触チップに電力が供給されていない状態である。すなわち,POWER-OFF状態S20において,非接触通信デバイスは,動作磁界を発生するPCD(Proximity Coupling Device)の近傍にない。 In the ISO/IEC14443_TypeB anti-collision process, the initial state of the contactless communication device is the POWER-OFF state S20. The POWER-OFF state S20 is a state in which power is not supplied to the contactless chip mounted on the contactless communication device. That is, in the POWER-OFF state S20, the contactless communication device is not in the vicinity of the PCD (Proximity Coupling Device) that generates the operating magnetic field.

動作磁界を発生するPCDの近傍に非接触通信デバイスが置かれると,非接触チップに電力が供給される。非接触通信デバイスの状態は,POWER-OFF状態S20からIDLE状態S21に遷移する。IDLE状態S21において,非接触通信デバイスは,リクエストコマンド(REQB)を認識する。IDLE状態S21において非接触通信デバイスが,AFI(Application Family Identifier)が一致するリクエストコマンド(または,AFIが「0」のリクエストコマンド)を認識すると,非接触通信デバイスの状態は,IDLE状態S21からREADY-REQUESTED状態S22に遷移する。 Power is supplied to the contactless chip when the contactless communication device is placed in the vicinity of the PCD that produces the operating magnetic field. The state of the contactless communication device transitions from the POWER-OFF state S20 to the IDLE state S21. In IDLE state S21, the contactless communication device recognizes a request command (REQB). When the contactless communication device recognizes a request command whose AFI (Application Family Identifier) matches (or a request command whose AFI is “0”) in the IDLE state S21, the state of the contactless communication device changes from the IDLE state S21 to READY. - Transition to the REQUESTED state S22.

リクエストコマンドを認識した非接触通信デバイスは,READY-REQUESTED状態S22において,リクエストコマンドの応答であるリクエスト応答(ATQB)を送出する。リクエスト応答を送出すると,非接触通信デバイスの状態は,READY-REQUESTED状態S22からREADY-DECLARED状態S23に遷移する。 The contactless communication device that has recognized the request command sends out a request response (ATQB) as a response to the request command in the READY-REQUESTED state S22. When the request response is sent, the state of the contactless communication device transitions from READY-REQUESTED state S22 to READY-DECLARED state S23.

READY-DECLARED状態S23において,非接触通信デバイスは,非接触通信デバイスを選択するコマンドであるデバイス選択コマンド(ATTRIB)を少なくとも認識できる。非接触チップが保持しているPUPI(Pseudo-Unique PICC Identifier)と一致するPUPIを含むデバイス選択コマンドを非接触通信デバイスが受信すると,非接触通信デバイスの状態は,READY-REQUESTED状態S23から活性化状態S24(ACTIVE状態)に遷移する。活性化状態S24は,アプリケーションのコマンドを受け付ける状態である。 In the READY-DECLARED state S23, the contactless communication device can at least recognize a device selection command (ATTRIB), which is a command to select the contactless communication device. When the contactless communication device receives a device selection command including a PUPI (Pseudo-Unique PICC Identifier) that matches the PUPI held by the contactless chip, the state of the contactless communication device is activated from the READY-REQUESTED state S23. It transitions to state S24 (ACTIVE state). The activated state S24 is a state in which application commands are accepted.

このように,ISO/IEC14443_TypeBにおいて,アプリケーションのコマンドを受け付ける活性化状態S24に非接触通信デバイスの状態を遷移させるコマンドはデバイス選択コマンドになる。ISO/IEC14443_TypeBでは,オプションの情報として上位層に引き渡す上位層メッセージをデバイス選択コマンドに格納できる。上位層に引き渡す上位層メッセージを格納したデバイス選択コマンドの応答には上位層メッセージの処理結果を含ませることができる。 As described above, in ISO/IEC14443_TypeB, the command for changing the state of the non-contact communication device to the activated state S24 that accepts the application command is the device selection command. In ISO/IEC14443_TypeB, an upper layer message to be passed to the upper layer as optional information can be stored in the device selection command. A response to the device selection command storing the upper layer message to be passed to the upper layer can include the processing result of the upper layer message.

このように,デバイス選択コマンドには上位層に引き渡す上位層メッセージを格納できる。しかし,この上位層メッセージの具体的な使用方法は,ISO/IEC14443_TypeBでは定義されていない。例えば,特許文献1では,ファイルの指定情報(ファイルの識別情報)を上位層メッセージとしてデバイス選択コマンドに格納させている。また,特許文献2では,相互認証コマンドの少なくとも一部を上位層メッセージとしてデバイス選択コマンドに格納している。更に,特許文献3では,TVL構造のコマンドを上位層メッセージとしてデバイス選択コマンドに格納している。 Thus, the device selection command can store an upper layer message to be passed to the upper layer. However, the specific method of using this upper layer message is not defined in ISO/IEC14443_TypeB. For example, in Patent Document 1, file designation information (file identification information) is stored in a device selection command as an upper layer message. Further, in Patent Document 2, at least part of the mutual authentication command is stored in the device selection command as an upper layer message. Furthermore, in Patent Document 3, a TVL structure command is stored in a device selection command as an upper layer message.

特開2010-238080号公報Japanese Patent Application Laid-Open No. 2010-238080 特開2010-225055号公報JP 2010-225055 A 特開2012-064048号公報JP 2012-064048 A

デバイス選択コマンドに格納された上位層メッセージは上位層のアプリケーションに引き渡すデータになるが,非接触通信デバイスを認識して活性化状態にするアンチコリジョン処理を実行している時点で,アプリケーションは選択されていない。よって,デバイス選択コマンドに格納された上位層メッセージをアプリケーションに引き渡すには,この上位層メッセージを引き渡すアプリケーションを明確にしておく必要がある。 The upper-layer message stored in the device selection command becomes the data to be passed to the upper-layer application. not Therefore, in order to pass the upper layer message stored in the device selection command to the application, it is necessary to clarify the application to which this upper layer message is passed.

非接触通信デバイスでは,カレントになるアプリケーションに設定されたセキュリティが適用される。このため,デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを,カレントになるアプリケーションに基づいて決定できることが望ましいと考えられる。 The contactless communication device applies the security set for the application that becomes current. Therefore, it would be desirable to be able to determine the application to which the upper layer message contained in the device selection command is passed based on the current application.

そこで,本発明では,アンチコリジョン処理で用いられるデバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを,カレントになるアプリケーションに基づいて決定する非接触通信デバイスを提供する。また,本発明では,この非接触通信デバイスに実装する非接触ICチップを提供する。更に,本発明では,アンチコリジョン処理で用いられるデバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを,カレントになるアプリケーションに基づいて決定する方法を提供する。 Therefore, the present invention provides a non-contact communication device that determines an application to which an upper layer message stored in a device selection command used in anticollision processing is passed based on the current application. The present invention also provides a contactless IC chip to be mounted on this contactless communication device. Furthermore, the present invention provides a method of determining, based on the current application, the application to which the upper layer message stored in the device selection command used in anticollision processing is delivered.

上述した課題を解決する第1発明に係る非接触通信デバイスは,暗黙的にカレントにするアプリケーションを把握できるように,暗黙的にカレントにするアプリケーションを示すアプリケーション情報を記憶したメモリを備える。また,前記非接触通信デバイスは,デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを,暗黙的にカレントになるアプリケーションに基づいて決定できるように,アンチコリジョン処理において,上位層メッセージを格納したデバイス選択コマンドを受信すると,前記アプリケーション情報を前記メモリから検索し,前記メモリから検索できた前記アプリケーション情報で示されるアプリケーションに上位層メッセージを引き渡して処理させるアンチコリジョン手段を備える。 A non-contact communication device according to a first aspect of the present invention for solving the above-described problems includes a memory storing application information indicating an implicit current application so that an implicit current application can be grasped. Further, the contactless communication device stores the upper layer message in anti-collision processing so that the application to which the upper layer message stored in the device selection command is passed can be implicitly determined based on the current application. An anti-collision means is provided for, upon receiving a device selection command, retrieving the application information from the memory and delivering an upper layer message to the application indicated by the application information retrieved from the memory for processing.

第1発明に係る非接触通信デバイスでは,暗黙的にカレントにするアプリケーションを,アンチコリジョン処理が終了して活性化状態になったときに暗黙的にカレントにするデフォルトアプリケーションにできる。この場合,第1発明に係る非接触通信デバイスにおいて,アンチコリジョン処理が終了して活性化状態になったときに暗黙的にカレントにするデフォルトアプリケーションを示す前記アプリケーション情報を前記メモリに記憶させる。また,前記アンチコリジョン手段は,前記デフォルトアプリケーションを示す前記アプリケーション情報のみを前記メモリから検索できた場合,前記デフォルトアプリケーションに上位層メッセージを引き渡して処理させる。 In the contactless communication device according to the first aspect of the invention, the application that is implicitly made current can be the default application that is implicitly made current when the anti-collision process is completed and the device is activated. In this case, in the contactless communication device according to the first aspect of the invention, the memory stores the application information indicating the default application implicitly made current when the anticollision process is finished and the anticollision process is finished and the anticollision process is activated. Further, when only the application information indicating the default application can be retrieved from the memory, the anti-collision means hands over the upper layer message to the default application for processing.

第1発明に係る非接触通信デバイスでは,暗黙的にカレントにするアプリケーションを,アンチコリジョン処理において暗黙的にカレントするアンチコリジョン用アプリケーションにできる。この場合,第1発明に係る非接触通信デバイスにおいて,アンチコリジョン処理において暗黙的にカレントするアンチコリジョン用アプリケーションを示す前記アプリケーション情報を前記メモリに記憶させる。また,前記アンチコリジョン手段は,前記デフォルトアプリケーションを示す前記アプリケーション情報を検索できたか否かに係わらず,前記アンチコリジョン用アプリケーションを示す前記アプリケーション情報を前記メモリから検索できた場合,前記アンチコリジョン用アプリケーションに上位層メッセージを引き渡して処理させる。 In the contactless communication device according to the first invention, the implicit current application can be an anti-collision application that is implicitly current in anti-collision processing. In this case, in the non-contact communication device according to the first invention, the memory stores the application information indicating the anti-collision application implicitly current in the anti-collision process. Further, the anti-collision means, regardless of whether or not the application information indicating the default application has been retrieved, if the application information indicating the anti-collision application can be retrieved from the memory, the anti-collision application hand over the upper layer message for processing.

第2発明に係る非接触チップは,第1発明に係る非接触通信デバイスに実装する非接触チップである。第1発明に係る非接触通信デバイスの構成要素は,前記非接触通信デバイスに実装する非接触チップに備えさせることができる。よって,本発明では,前記非接触通信デバイスに実装する非接触チップについても特許権を請求する。 A contactless chip according to the second invention is a contactless chip to be mounted on the contactless communication device according to the first invention. The constituent elements of the contactless communication device according to the first invention can be provided in a contactless chip mounted on the contactless communication device. Therefore, in the present invention, a patent right is also claimed for the contactless chip mounted on the contactless communication device.

第3発明に係る上位層メッセージの処理方法は,非接触通信デバイスにおいてアンチコリジョン処理を実行する手段が実行する手順として,手順a,手順bおよび手順cを含む。前記手順aにおいて,前記手段は,アンチコリジョン処理において,上位層メッセージを格納したデバイス選択コマンドを受信する。デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを,暗黙的にカレントになるアプリケーションに基づいて決定できるように,前記手順bにおいて,前記手段は,暗黙的にカレントにするアプリケーションを示すアプリケーション情報をメモリから検索し,前記手順cにおいて,前記手段は,メモリから検索した前記アプリケーション情報で示されるアプリケーションに上位層メッセージを引き渡して処理させる。 A method for processing an upper layer message according to a third aspect of the present invention includes procedure a, procedure b, and procedure c as procedures executed by means for executing anticollision processing in a contactless communication device. In the procedure a, the means receives a device selection command containing an upper layer message in anticollision processing. In step b, the means includes application information indicating the implicitly current application so that the application to which the upper layer message stored in the device selection command is delivered can be determined based on the implicitly current application. is retrieved from the memory, and in the procedure c, the means hands over the upper layer message to the application indicated by the application information retrieved from the memory for processing.

第3発明に係る上位層メッセージの処理方法では,暗黙的にカレントにするアプリケーションを,アンチコリジョン処理が終了して活性化状態になったときに暗黙的にカレントにするデフォルトアプリケーションにできる。この場合,前記手順bにおいて,前記手段は,アンチコリジョン処理が終了して活性化状態になったときに暗黙的にカレントにするデフォルトアプリケーションを示すアプリケーション情報のみをメモリから検索すると,前記手順cにおいて,前記デフォルトアプリケーションに上位層メッセージを引き渡して処理させる。 In the upper-layer message processing method according to the third aspect of the present invention, the application that is implicitly made current can be made the default application that is implicitly made current when the anti-collision process ends and the application is activated. In this case, in the procedure b, the means retrieves from the memory only the application information indicating the default application that is implicitly made current when the anti-collision process is completed and activated, and in the procedure c, , to pass the upper layer message to the default application for processing.

第3発明に係る上位層メッセージの処理方法では,暗黙的にカレントにするアプリケーションを,アンチコリジョン処理において暗黙的にカレントするアンチコリジョン用アプリケーションにできる。この場合,前記手順bにおいて,前記手段は,アンチコリジョン処理において暗黙的にカレントするアンチコリジョン用アプリケーションを示すアプリケーション情報をメモリから検索すると,前記手順cにおいて,前記手段は,前記デフォルトアプリケーションを示す前記アプリケーション情報を検索できたか否かに係わらず,前記アンチコリジョン用アプリケーションに上位層メッセージを引き渡して処理させる。 In the upper layer message processing method according to the third aspect of the present invention, an application that is implicitly made current can be an anticollision application that is implicitly made current in anticollision processing. In this case, in the procedure b, the means searches the memory for the application information indicating the anti-collision application implicitly current in the anti-collision process, and in the procedure c, the means indicates the default application. The upper layer message is passed to the anti-collision application for processing regardless of whether the application information can be retrieved.

本発明の課題を解決するため,本発明では,暗黙的にカレントになるアプリケーションを示すアプリケーション情報を非接触通信デバイスのメモリに記憶させ,アンチコリジョン処理で用いられるデバイス選択コマンドに含まれる上位層メッセージを引き渡すアプリケーションを,メモリに記憶されたアプリケーション情報に基づいて決定している。 In order to solve the problem of the present invention, in the present invention, application information indicating an application that implicitly becomes current is stored in the memory of a contactless communication device, and an upper layer message included in a device selection command used in anticollision processing is stored. based on application information stored in memory.

非接触通信デバイスを説明する図。The figure explaining a contactless communication device. 非接触通信デバイスのハードウェア構成図を示した図。The figure which showed the hardware block diagram of a non-contact communication device. 非接触通信デバイスの階層構造を示した図。The figure which showed the hierarchical structure of a contactless communication device. 非接触通信デバイスの機能ブロック図を示した図。The figure which showed the functional block diagram of a non-contact communication device. 非接触通信デバイスのファイル構造の一例を図示した図。The figure which illustrated an example of the file structure of a contactless communication device. 非接触通信デバイスのアンチコリジョン手段が使用する情報を図示し図。FIG. 4 illustrates the information used by the anti-collision means of the contactless communication device; 非接触通信デバイスのアンチコリジョン手段の動作を説明する図。The figure explaining operation|movement of the anti-collision means of a contactless communication device. ISO/IEC14443-TypeBのアンチコリジョン処理を説明する図。The figure explaining the anti-collision processing of ISO/IEC14443-TypeB.

ここから,本発明に係る実施形態について記載する。本実施形態は,本発明の理解を容易にするためのものであり,本発明は,本実施形態に限定されるものではない。また,特に断りのない限り,図面は,本発明の理解を容易にするために描かれた模式的な図である。 Embodiments according to the present invention will now be described. This embodiment is intended to facilitate understanding of the present invention, and the present invention is not limited to this embodiment. In addition, unless otherwise specified, the drawings are schematic diagrams drawn to facilitate understanding of the present invention.

本実施形態に係る非接触通信デバイス1について説明する。図1は,本実施形態に係る非接触通信デバイス1を説明する図である。本実施形態に係る非接触通信デバイス1は,ISO/IEC14443_TypeBに対応したデバイスである。PCD6(Proximity Coupling Device)は,非接触通信デバイス1に電力を誘導結合で供給し,かつ,非接触通信デバイス1とデータ交換を行う読み書き装置である。非接触通信デバイス1は,コイルアンテナ1aとこれに接続した非接触チップ2を内蔵し,PCD6が送信したコマンドを処理する。 A non-contact communication device 1 according to this embodiment will be described. FIG. 1 is a diagram illustrating a contactless communication device 1 according to this embodiment. The non-contact communication device 1 according to this embodiment is a device compatible with ISO/IEC14443_TypeB. The PCD 6 (Proximity Coupling Device) is a read/write device that supplies power to the contactless communication device 1 by inductive coupling and exchanges data with the contactless communication device 1 . The non-contact communication device 1 incorporates a coil antenna 1a and a non-contact chip 2 connected thereto, and processes commands sent by the PCD 6. FIG.

図1では,非接触通信デバイス1を非接触ICカードとして図示しているが,非接触ICカードは非接触通信デバイス1の1つの形態にしか過ぎない。非接触通信デバイス1は,コイルアンテナ1aとこれに接続した非接触チップ2を実装した媒体であればよい。非接触通信デバイス1の形状をスティック状またはコイン状にもできる。また,非接触チップ2を実装したスマートフォンなどのモバイル端末も非接触通信デバイス1の形態に含まれる。 Although FIG. 1 illustrates the contactless communication device 1 as a contactless IC card, the contactless IC card is only one form of the contactless communication device 1 . The contactless communication device 1 may be a medium on which a coil antenna 1a and a contactless chip 2 connected thereto are mounted. The shape of the contactless communication device 1 can also be stick-like or coin-like. Also, mobile terminals such as smartphones on which the contactless chip 2 is mounted are also included in the form of the contactless communication device 1 .

図2では,非接触通信デバイス1のハードウェア構成図を図示している。図2では,非接触通信に係る非接触通信デバイス1の回路のみを図示している。図2で図示したごとく,非接触通信デバイス1は,コイルアンテナ1aを備えている。コイルアンテナ1aには非接触チップ2が接続している。ISO/IEC14443_TypeBに対応するために,コイルアンテナ1aは13.56MHの周波数に調整されている。 FIG. 2 shows a hardware configuration diagram of the contactless communication device 1. As shown in FIG. In FIG. 2, only the circuit of the non-contact communication device 1 related to non-contact communication is illustrated. As shown in FIG. 2, the contactless communication device 1 has a coil antenna 1a. A contactless chip 2 is connected to the coil antenna 1a. In order to comply with ISO/IEC14443_TypeB, the coil antenna 1a is tuned to a frequency of 13.56MHz.

図2で図示した非接触チップ2は,電源回路22,変調回路24,復調回路23,CPU20(Central Processing Unit)およびメモリ21を備えている。電源回路22は,PCD6が発振する搬送波から非接触チップ2の動作電力を発生させる回路である。変調回路24は,PCD6が発振する搬送波にデータを載せる処理を行う回路である。復調回路23は,PCD6が発振する搬送波に載せられたデータを復元する処理を行う回路である。CPU20は,非接触チップ2の中心的な処理装置である。メモリ21は,電気的に書き換え可能な不揮発性メモリである。 The non-contact chip 2 illustrated in FIG. 2 includes a power supply circuit 22, a modulation circuit 24, a demodulation circuit 23, a CPU 20 (Central Processing Unit), and a memory 21. FIG. The power supply circuit 22 is a circuit that generates operating power for the contactless chip 2 from a carrier wave oscillated by the PCD 6 . The modulation circuit 24 is a circuit that carries out processing to put data on the carrier wave that the PCD 6 oscillates. The demodulation circuit 23 is a circuit that performs processing to restore the data carried on the carrier wave that the PCD 6 oscillates. A CPU 20 is a central processing unit of the contactless chip 2 . The memory 21 is an electrically rewritable nonvolatile memory.

図2で図示したごとく,電源回路22,復調回路23および変調回路24それぞれはコイルアンテナ1aと接続している。また,電源回路22,復調回路23および変調回路24に加えて,メモリ21がCPU20と接続している。なお,図2では,非接触チップ2が備える一部の回路のみを図示している。非接触チップ2には,図2で図示した回路以外に,非接触チップ2の動作に必要な様々な回路を備える。例えば,非接触チップ2は,電気的に書き換え可能なメモリ21以外に,読取専用の不揮発性メモリおよび揮発性メモリを備える。 As shown in FIG. 2, the power supply circuit 22, demodulation circuit 23 and modulation circuit 24 are each connected to the coil antenna 1a. In addition to the power supply circuit 22 , the demodulation circuit 23 and the modulation circuit 24 , the memory 21 is connected to the CPU 20 . Note that FIG. 2 shows only a part of the circuits provided in the contactless chip 2 . The contactless chip 2 is provided with various circuits necessary for the operation of the contactless chip 2 in addition to the circuits illustrated in FIG. For example, the contactless chip 2 includes a read-only nonvolatile memory and a volatile memory in addition to the electrically rewritable memory 21 .

図3では,非接触通信デバイス1の階層構造3を図示している。非接触通信デバイス1の階層構造3は,物理層(ハードウェア)30,物理層(電波)31,データリンク層32,トランスポート層33およびアプリケーション層34を含む。物理層(ハードウェア)30は,ISO/IEC14443_Part1で規定された層である。物理層(電波)31は,ISO/IEC14443_Part2で規定された層である。データリンク層32は,ISO/IEC14443_Part3で規定された層である。データリンク層32は,アンチコリジョン処理(初期化および衝突防止)を実行する層になる。トランスポート層33は,ISO/IEC14443_Part4で規定された層になる。トランスポート層33は,伝送プロトコルを実行する層になる。アプリケーション層34は,ISO/IEC7816_Part4などで規定されている。例えば,アプリケーション層34は,ISO/IEC7816_Part4で規定されたコマンドAPDU(Application Protocol Data Unit)を処理する層になる。 In FIG. 3, the hierarchical structure 3 of the contactless communication device 1 is illustrated. The hierarchical structure 3 of the contactless communication device 1 includes a physical layer (hardware) 30, a physical layer (radio waves) 31, a data link layer 32, a transport layer 33 and an application layer . A physical layer (hardware) 30 is a layer defined by ISO/IEC14443_Part1. A physical layer (radio waves) 31 is a layer defined by ISO/IEC14443_Part2. The data link layer 32 is a layer defined by ISO/IEC14443_Part3. The data link layer 32 is the layer that performs anticollision processing (initialization and anticollision). The transport layer 33 is a layer defined by ISO/IEC14443_Part4. The transport layer 33 is a layer that executes transmission protocols. The application layer 34 is defined by ISO/IEC7816_Part4 or the like. For example, the application layer 34 is a layer that processes command APDUs (Application Protocol Data Units) defined by ISO/IEC7816_Part4.

図3で図示した非接触通信デバイス1の階層構造3において,物理層(ハードウェア)30および物理層(電波)31は,コイルアンテナ1aおよび非接触チップ2により実現される。データリンク層32,トランスポート層33およびアプリケーション層34は,非接触チップ2に実装されるコンピュータプログラムにより実現される。 In the hierarchical structure 3 of the contactless communication device 1 shown in FIG. 3, a physical layer (hardware) 30 and a physical layer (radio waves) 31 are realized by the coil antenna 1a and the contactless chip 2. FIG. The data link layer 32 , transport layer 33 and application layer 34 are implemented by computer programs implemented on the contactless chip 2 .

図4は,本実施形態に係る非接触通信デバイス1の機能ブロック図を図示している。本実施形態に係る非接触通信デバイス1は,データリンク層32に係る処理を実行する手段として,アンチコリジョン手段10を備えている。アンチコリジョン手段10は,非接触チップ2のCPU20を動作させるコンピュータプログラムで実現される。本実施形態に係るアンチコリジョン手段10は,データリンク層32に係る処理として,ISO/IEC14443-TypeBで規定されたアンチコリジョン処理に係る処理を実行する。 FIG. 4 illustrates a functional block diagram of the contactless communication device 1 according to this embodiment. The non-contact communication device 1 according to this embodiment includes anti-collision means 10 as a means for executing processing related to the data link layer 32 . The anti-collision means 10 is implemented by a computer program that operates the CPU 20 of the contactless chip 2 . The anti-collision means 10 according to the present embodiment executes processing related to anti-collision processing defined by ISO/IEC14443-Type B as processing related to the data link layer 32 .

ISO/IEC14443-TypeBで規定されたアンチコリジョン処理で使用するコマンドの一つに,PCD6が非接触通信デバイスを選択するときに用いるデバイス選択コマンドがある。ISO/IEC14443-TypeBでは,デバイス選択コマンドのことをATTRIBと呼んでいる。デバイス選択コマンドには,上位層に処理させる上位層メッセージを格納させることができる。ISO/IEC14443-TypeBでは,デバイス選択コマンドの上層階層フィールドに上位層メッセージを格納する。 One of the commands used in the anti-collision processing defined by ISO/IEC14443-Type B is a device selection command used when the PCD 6 selects a contactless communication device. The device selection command is called ATTRIB in ISO/IEC14443-TypeB. The device selection command can contain an upper layer message to be processed by the upper layer. In ISO/IEC14443-Type B, an upper layer message is stored in the upper layer field of the device selection command.

非接触通信デバイス1の場合,デバイス選択コマンドに格納された上位層メッセージを引き渡す階層は,データリンク層32の上層になるアプリケーション層34になる。図4では,デフォルトアプリケーション12とアンチコリジョン用アプリケーション11がアプリケーション層34に実装されている。 In the case of the contactless communication device 1 , the layer to which the upper layer message stored in the device selection command is delivered is the application layer 34 which is the layer above the data link layer 32 . In FIG. 4, the default application 12 and the anticollision application 11 are implemented in the application layer 34 .

アンチコリジョン処理はデータリンク層32に係る処理になる。このため,アンチコリジョン処理の実行中は,アプリケーション層34のアプリケーションを選択していない状態である。よって,デバイス格納コマンドに格納された上位層メッセージを引き渡す階層がアプリケーション層34になる場合,この上位層メッセージを引き渡すアプリケーションを明確にしなければならない。 Anti-collision processing is processing related to the data link layer 32 . Therefore, the application of the application layer 34 is not selected during execution of anti-collision processing. Therefore, when the layer that delivers the upper layer message stored in the device storage command is the application layer 34, the application that delivers this upper layer message must be clarified.

このことを鑑みて,本実施形態に係る非接触通信デバイス1が備えるアンチコリジョン手段10は,デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションを暗黙的に選択するアプリケーションにするように構成されている。 In view of this, the anti-collision means 10 provided in the non-contact communication device 1 according to the present embodiment is configured to implicitly select an application that delivers the upper layer message stored in the device selection command. ing.

非接触通信デバイス1の場合,暗黙的に選択するアプリケーションの一つとして,活性化状態S24になると暗黙的に選択するアプリケーションがある。本実施形態では,アンチコリジョン処理が終了して非接触通信デバイス1が活性化状態S24になったときに暗黙的に選択するアプリケーションをデフォルトアプリケーション12と呼んでいる。デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションをデフォルトアプリケーション12にすることで,デフォルトアプリケーション12に設定された認証処理をアンチコリジョン処理で済ませておくことができる。 In the case of the contactless communication device 1, one of the applications implicitly selected is an application implicitly selected when the activation state S24 is reached. In this embodiment, an application that is implicitly selected when the anti-collision process is completed and the non-contact communication device 1 is in the activated state S24 is called a default application 12 . By setting the default application 12 as the application that delivers the upper layer message stored in the device selection command, the authentication processing set in the default application 12 can be completed with the anti-collision processing.

また,非接触通信デバイス1の場合,暗黙的に選択するアプリケーションの一つとして,アンチコリジョン処理において暗黙的に選択するアプリケーションがある。本実施形態では,アンチコリジョン処理で暗黙的に選択するアプリケーションをアンチコリジョン用アプリケーション11と呼んでいる。デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションをアンチコリジョン用アプリケーション11にすることで,アンチコリジョン用アプリケーション11に設定された認証処理をアンチコリジョン処理で済ませておくことができる。 In the case of the non-contact communication device 1, one of the implicitly selected applications is an implicitly selected application in the anti-collision process. In this embodiment, an application implicitly selected for anticollision processing is called an anticollision application 11 . By setting the anti-collision application 11 as the application that delivers the upper layer message stored in the device selection command, the authentication processing set in the anti-collision application 11 can be completed with the anti-collision processing.

図5では,非接触通信デバイス1のファイル構造4の一例を図示している。非接触通信デバイス1のファイル構造4は,非接触通信デバイス1のメモリ21に格納されたファイルの構造である。図5で図示したごとく,非接触通信デバイス1のファイル構造4は,ファイル構造4の根幹となる主ファイルMF(Master File)と,アプリケーションを格納する専用ファイルDF(dedicated file)を含む。 FIG. 5 shows an example of the file structure 4 of the contactless communication device 1. As shown in FIG. The file structure 4 of the contactless communication device 1 is the structure of files stored in the memory 21 of the contactless communication device 1 . As illustrated in FIG. 5, the file structure 4 of the non-contact communication device 1 includes a main file MF (Master File) that is the basis of the file structure 4 and a dedicated file DF (dedicated file) that stores applications.

図5では,非接触通信デバイス1のファイル構造4を,主ファイルMFの配下に専用ファイルDFを配置する階層構造にしているが,非接触通信デバイス1のファイル構造4は図5の構造に限定されない。非接触通信デバイス1のファイル構造4は,主ファイルMFとは独立して専用ファイルDFを配置する構造にもできる。 In FIG. 5, the file structure 4 of the contactless communication device 1 has a hierarchical structure in which the dedicated file DF is arranged under the main file MF, but the file structure 4 of the contactless communication device 1 is limited to the structure shown in FIG. not. The file structure 4 of the contactless communication device 1 can also have a structure in which the dedicated file DF is arranged independently of the main file MF.

図5で図示したファイル構造4では,非接触通信デバイス1の全体に係るセキュリティ機能を有しているアプリケーションは主ファイルMFになる。よって,図5で図示したファイル構造4では,主ファイルMFがアンチコリジョン用アプリケーション11になる。この場合,主ファイルMFに関連付けられた認証処理をアンチコリジョ手続きで行える。また,図5で図示したファイル構造では,専用ファイルDFの1つがデフォルトアプリケーション12になる。この場合,専用ファイルDFに設定された認証処理をアンチコリジョ手続きで行える。 In the file structure 4 illustrated in FIG. 5, the application having the security function for the entire contactless communication device 1 is the main file MF. Therefore, in the file structure 4 shown in FIG. 5, the main file MF becomes the anti-collision application 11 . In this case, the authentication process associated with the main file MF can be performed by the anticollision procedure. Also, in the file structure shown in FIG. 5, one of the dedicated files DF becomes the default application 12 . In this case, the authentication processing set in the dedicated file DF can be performed by the anticollision procedure.

このように,本実施形態に係る非接触通信デバイス1では,暗黙的にカレントになるアプリケーションは,デフォルトアプリケーション12とアンチコリジョン用アプリケーション11である。当然のことながら,暗黙的にカレントになるアプリケーションは,デフォルトアプリケーション12のみの場合もある。また,暗黙的にカレントになるアプリケーションは,アンチコリジョン用アプリケーション11のみの場合もある。 Thus, in the non-contact communication device 1 according to this embodiment, the default application 12 and the anti-collision application 11 are implicitly current applications. Naturally, the default application 12 may be the only application that implicitly becomes current. In some cases, the application that implicitly becomes current is only the anti-collision application 11 .

データリンク層32に係るアンチコリジョン処理は,アプリケーション層34に格納されたアプリケーションの選択より前に実行される。このため,デフォルトアプリケーション12とアンチコリジョン用アプリケーション11の両方が非接触通信デバイス1に格納されている場合,デバイス選択コマンドに格納された上位層メッセージを引き渡すアプリケーションはアンチコリジョン用アプリケーション11になる。 Anti-collision processing related to the data link layer 32 is performed prior to selection of applications stored in the application layer 34 . Therefore, when both the default application 12 and the anti-collision application 11 are stored in the contactless communication device 1, the anti-collision application 11 is the application that delivers the upper layer message stored in the device selection command.

図6は,非接触通信デバイス1のアンチコリジョン手段10が使用する情報を図示している。非接触通信デバイス1に実装されたメモリ21には,暗黙的に選択するアプリケーションを示すアプリケーション情報が記憶される。アンチコリジョン用アプリケーション11が非接触通信デバイス1に格納される場合,アンチコリジョン用アプリケーション情報13がメモリ21に記憶される。また,デフォルトアプリケーション12が非接触通信デバイス1に格納される場合,デフォルトアプリケーション情報14がメモリ21に記憶される。 FIG. 6 illustrates information used by the anti-collision means 10 of the contactless communication device 1 . A memory 21 installed in the non-contact communication device 1 stores application information indicating an implicitly selected application. When the anticollision application 11 is stored in the contactless communication device 1 , the anticollision application information 13 is stored in the memory 21 . Also, when the default application 12 is stored in the contactless communication device 1 , default application information 14 is stored in the memory 21 .

なお,アプリケーション情報は,アプリケーションの種別(アンチコリジョン用アプリケーション11またはデフォルトアプリケーション12)示すTagを有するTLV構造のデータにできる。このTLV構造のデータのValueには,アプリケーションに対応する専用ファイルの名称またはファイル識別子など,アプリケーションを指定するためのデータが格納される。 The application information can be data of a TLV structure having a tag indicating the type of application (anti-collision application 11 or default application 12). Data for designating an application, such as the name of a dedicated file corresponding to the application or a file identifier, is stored in the Value of the data of this TLV structure.

図7では,非接触通信デバイス1のアンチコリジョン手段10の動作を説明する図である。図7の説明は,本発明に係る上位層メッセージの処理方法に係る説明も兼ねている。非接触通信デバイス1が備えるアンチコリジョン手段10は,ISO14443_TypeBで規定されたアンチコリジョン処理に係る一連の処理を実行するが,図7では,デバイス選択コマンドに格納できる上位層メッセージに関連する処理のみ図示している。 FIG. 7 is a diagram for explaining the operation of the anti-collision means 10 of the contactless communication device 1. FIG. The description of FIG. 7 also serves as a description of the method of processing upper layer messages according to the present invention. The anti-collision means 10 provided in the non-contact communication device 1 executes a series of processes related to anti-collision processing specified by ISO14443_TypeB. showing.

非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S1において,PCD6から受信したデバイス選択コマンドを処理する際,デバイス選択コマンドに上位層メッセージが格納されているか確認する。 The anti-collision means 10 provided in the contactless communication device 1 confirms whether an upper layer message is stored in the device selection command when processing the device selection command received from the PCD 6 in step S1 of FIG.

デバイス選択コマンドに上位層メッセージが格納されていない場合,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S10に進み,上位層メッセージの処理結果のないデバイス選択コマンドの応答を送信して,図7の手順は終了する。 If no upper layer message is stored in the device selection command, the anti-collision means 10 provided in the contactless communication device 1 proceeds to step S10 in FIG. 7 and transmits a response to the device selection command without the upper layer message processing result. Then, the procedure of FIG. 7 ends.

デバイス選択コマンドに上位層メッセージが格納されている場合,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S2に進み,アプリケーション情報をメモリ21から検索する。 If an upper layer message is stored in the device selection command, the anti-collision means 10 provided in the contactless communication device 1 proceeds to step S2 in FIG. 7 and searches the memory 21 for application information.

非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S3において,アンチコリジョン用アプリケーション情報13を検索できたか確認する。アンチコリジョン用アプリケーション情報13を検索できた場合,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S4に進み,デバイス選択コマンドに格納されている上位層メッセージをアンチコリジョン用アプリケーション11に引き渡して処理させる。アンチコリジョン用アプリケーション11は,図7の手順S5において,アンチコリジョン手段10から引き渡された上位層メッセージを処理する。アンチコリジョン用アプリケーション11が,アンチコリジョン手段10から引き渡された上位層メッセージに係る処理を完了すると,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S9に進み,アンチコリジョン用アプリケーション11から引き渡された上位層メッセージの処理結果を含ませたデバイス選択コマンドの応答を送信して,図7の手順は終了する。 The anti-collision means 10 provided in the contactless communication device 1 confirms whether or not the anti-collision application information 13 has been retrieved in step S3 of FIG. If the anti-collision application information 13 can be retrieved, the anti-collision means 10 provided in the contactless communication device 1 proceeds to step S4 in FIG. handed over for processing. The anticollision application 11 processes the upper layer message handed over from the anticollision means 10 in step S5 of FIG. When the anti-collision application 11 completes the processing related to the upper layer message handed over from the anti-collision means 10, the anti-collision means 10 provided in the contactless communication device 1 proceeds to step S9 in FIG. The device selection command response including the result of processing the upper layer message passed from 11 is transmitted, and the procedure of FIG. 7 ends.

図7の手順S3において,アンチコリジョン用アプリケーション11のアプリケーション情報を検索できない場合,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S6において,デフォルトアプリケーション情報14を検索できたか確認する。 If the application information of the anti-collision application 11 cannot be retrieved in step S3 of FIG. 7, the anti-collision means 10 provided in the contactless communication device 1 checks whether the default application information 14 has been retrieved in step S6 of FIG. .

デフォルトアプリケーション情報14を検索できた場合,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S7において,デフォルトアプリケーション12に,デバイス選択コマンドに格納されている上位層メッセージを引き渡して処理させる。デフォルトアプリケーション12は,図7の手順S8において,アンチコリジョン手段10から引き渡された上位層メッセージを処理する。デフォルトアプリケーション12が上位層メッセージに係る処理を完了すると,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S9に進み,デフォルトアプリケーション12から引き渡された上位層メッセージの処理結果を含ませたデバイス選択コマンドの応答を送信して,図7の手順は終了する。 If the default application information 14 can be retrieved, the anti-collision means 10 provided in the contactless communication device 1 passes the upper layer message stored in the device selection command to the default application 12 in step S7 of FIG. Let The default application 12 processes the upper layer message handed over from the anticollision means 10 in step S8 of FIG. When the default application 12 completes the processing related to the upper layer message, the anti-collision means 10 provided in the contactless communication device 1 proceeds to step S9 in FIG. A response to the selected device selection command is transmitted, and the procedure in FIG. 7 ends.

図7の手順S3において,デフォルトアプリケーション12のアプリケーション情報51を検索できない場合,非接触通信デバイス1が備えるアンチコリジョン手段10は,図7の手順S10に進み,上位層メッセージの処理結果のないデバイス選択コマンドの応答を送信して,図7の手順は終了する。 If the application information 51 of the default application 12 cannot be retrieved in step S3 of FIG. 7, the anti-collision means 10 provided in the contactless communication device 1 proceeds to step S10 of FIG. A response to the command is sent, and the procedure in FIG. 7 ends.

図7で図示した手順によれば,暗黙的に選択するアプリケーションが非接触通信デバイス1に設定されている場合,アンチコリジョン手段10は,デバイス選択コマンドに格納された上位層メッセージを暗黙的アプリケーションに引き渡して処理させる動作を行う。 According to the procedure illustrated in FIG. 7, when the application to be implicitly selected is set in the contactless communication device 1, the anti-collision means 10 sends the upper layer message stored in the device selection command to the implicit application. Performs an action to hand over and process.

暗黙的に選択するアプリケーションとしてアンチコリジョン用アプリケーション11が少なくとも非接触通信デバイス1に格納されている場合,デフォルトアプリケーション12のみが非接触通信デバイス1に格納されているか否かに係わらず,図7の手順S4および手順S5が実行される。そして,図7の手順S9において,アンチコリジョン用アプリケーション11が上位層メッセージを処理した処理結果を含むデバイス選択コマンドの応答が送信される。 When at least the anti-collision application 11 is stored in the non-contact communication device 1 as an implicitly selected application, regardless of whether only the default application 12 is stored in the non-contact communication device 1, the application shown in FIG. Procedures S4 and S5 are performed. Then, in step S9 of FIG. 7, a response to the device selection command including the result of processing the upper layer message by the anti-collision application 11 is transmitted.

また,暗黙的に選択するアプリケーションとして,アンチコリジョン用アプリケーション11が非接触通信デバイス1に格納されておらず,デフォルトアプリケーション12のみが非接触通信デバイス1に格納されている場合,図7の手順S7および手順S8が実行される。そして,図7の手順S9において,デフォルトアプリケーション12が上位層メッセージを処理した処理結果を含むデバイス選択コマンドの応答が送信される。 Further, when the anti-collision application 11 is not stored in the non-contact communication device 1 as an implicitly selected application, and only the default application 12 is stored in the non-contact communication device 1, step S7 in FIG. And step S8 is executed. Then, in step S9 of FIG. 7, a device selection command response including the result of processing the upper layer message by the default application 12 is transmitted.

1 非接触通信デバイス
10 アンチコリジョン手段
11 アンチコリジョン用アプリケーション
12 デフォルトアプリケーション
13 アンチコリジョン用アプリケーション情報
14 デフォルトアプリケーション情報
2 非接触チップ
20 CPU
21 メモリ
3 階層構造
32 データリンク層
34 アプリケーション層
REFERENCE SIGNS LIST 1 contactless communication device 10 anticollision means 11 anticollision application 12 default application 13 anticollision application information 14 default application information 2 contactless chip 20 CPU
21 memory 3 hierarchical structure 32 data link layer 34 application layer

Claims (7)

暗黙的にカレントにするアプリケーションを示すアプリケーション情報を記憶したメモリと,アンチコリジョン処理において,上位層メッセージを格納したデバイス選択コマンドを受信すると,前記アプリケーション情報を前記メモリから検索し,前記メモリから検索できた前記アプリケーション情報で示されるアプリケーションに上位層メッセージを引き渡して処理させるアンチコリジョン手段を備えたことを特徴とする非接触通信デバイス。 A memory storing application information indicating an application to be made current implicitly, and upon receiving a device selection command storing an upper layer message in anti-collision processing, the application information can be retrieved from the memory. and anti-collision means for handing over an upper layer message to an application indicated by said application information for processing. アンチコリジョン処理が終了して活性化状態になったときに暗黙的にカレントにするデフォルトアプリケーションを示す前記アプリケーション情報を前記メモリに記憶し,前記アンチコリジョン手段は,前記デフォルトアプリケーションを示す前記アプリケーション情報のみを前記メモリから検索できた場合,前記デフォルトアプリケーションに上位層メッセージを引き渡して処理させることを特徴とする,請求項1に記載した非接触通信デバイス。 The application information indicating the default application that is implicitly made current when the anti-collision process is completed and activated, is stored in the memory, and the anti-collision means stores only the application information indicating the default application. can be retrieved from the memory, the contactless communication device according to claim 1, wherein the upper layer message is handed over to the default application for processing. アンチコリジョン処理において暗黙的にカレントするアンチコリジョン用アプリケーションを示す前記アプリケーション情報を前記メモリに記憶し,前記アンチコリジョン手段は,前記デフォルトアプリケーションを示す前記アプリケーション情報を検索できたか否かに係わらず,前記アンチコリジョン用アプリケーションを示す前記アプリケーション情報を前記メモリから検索できた場合,前記アンチコリジョン用アプリケーションに上位層メッセージを引き渡して処理させることを特徴とする,請求項2に記載した非接触通信デバイス。 The application information indicating the anti-collision application that is implicitly current in the anti-collision process is stored in the memory, and the anti-collision means retrieves the application information indicating the default application regardless of whether or not the application information indicates the default application. 3. The contactless communication device according to claim 2, wherein, when the application information indicating the anticollision application can be retrieved from the memory, the upper layer message is handed over to the anticollision application for processing. 請求項1から請求項3のいずれか1項に記載した非接触通信デバイスに実装する非接触チップ。 A contactless chip to be mounted on the contactless communication device according to any one of claims 1 to 3. 非接触通信デバイスにおいてアンチコリジョン処理を実行する手段が,アンチコリジョン処理において,上位層メッセージを格納したデバイス選択コマンドを受信する手順a,前記手段が,暗黙的にカレントにするアプリケーションを示すアプリケーション情報をメモリから検索する手順b,前記手段が,メモリから検索した前記アプリケーション情報で示されるアプリケーションに上位層メッセージを引き渡して処理させる手順cを含むことを特徴とする上位層メッセージの処理方法。 A step a in which a means for performing anti-collision processing in a contactless communication device receives a device selection command containing an upper layer message in anti-collision processing, the means receives application information indicating an application to be implicitly made current A method of processing an upper layer message, comprising: a procedure b for retrieving from a memory; and a procedure c for passing the upper layer message to an application indicated by the application information retrieved from the memory for processing. 前記手順bにおいて,前記手段は,アンチコリジョン処理が終了して活性化状態になったときに暗黙的にカレントにするデフォルトアプリケーションを示すアプリケーション情報のみをメモリから検索すると,前記手順cにおいて,前記デフォルトアプリケーションに上位層メッセージを引き渡して処理させることを特徴とする,請求項5に記載した上位層メッセージの処理方法。 In the procedure b, the means retrieves from the memory only the application information indicating the default application that is implicitly made current when the anti-collision process ends and becomes active. 6. The method of processing an upper layer message according to claim 5, wherein the upper layer message is handed over to an application for processing. 前記手順bにおいて,前記手段は,アンチコリジョン処理において暗黙的にカレントするアンチコリジョン用アプリケーションを示すアプリケーション情報をメモリから検索すると,前記手順cにおいて,前記手段は,前記デフォルトアプリケーションを示す前記アプリケーション情報を検索できたか否かに係わらず,前記アンチコリジョン用アプリケーションに上位層メッセージを引き渡して処理させることを特徴とする,請求項6に記載した上位層メッセージの処理方法。 In step b, the means searches the memory for application information indicating an anti-collision application implicitly current in anti-collision processing. 7. The method of processing an upper layer message according to claim 6, wherein the upper layer message is handed over to the anti-collision application for processing regardless of whether retrieval is successful.
JP2021146685A 2021-09-09 2021-09-09 Contactless communication device, contactless chip and method for processing upper layer messages Active JP7468486B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021146685A JP7468486B2 (en) 2021-09-09 2021-09-09 Contactless communication device, contactless chip and method for processing upper layer messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021146685A JP7468486B2 (en) 2021-09-09 2021-09-09 Contactless communication device, contactless chip and method for processing upper layer messages

Publications (2)

Publication Number Publication Date
JP2023039526A true JP2023039526A (en) 2023-03-22
JP7468486B2 JP7468486B2 (en) 2024-04-16

Family

ID=85613853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021146685A Active JP7468486B2 (en) 2021-09-09 2021-09-09 Contactless communication device, contactless chip and method for processing upper layer messages

Country Status (1)

Country Link
JP (1) JP7468486B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010238080A (en) * 2009-03-31 2010-10-21 Toshiba Corp Medium processing apparatus, medium processing method, and non-contact communication medium
JP2012008888A (en) * 2010-06-25 2012-01-12 Toshiba Corp Communication system, communication method, and portable electronic equipment
WO2018198813A1 (en) * 2017-04-28 2018-11-01 ソニー株式会社 Communication device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010238080A (en) * 2009-03-31 2010-10-21 Toshiba Corp Medium processing apparatus, medium processing method, and non-contact communication medium
JP2012008888A (en) * 2010-06-25 2012-01-12 Toshiba Corp Communication system, communication method, and portable electronic equipment
WO2018198813A1 (en) * 2017-04-28 2018-11-01 ソニー株式会社 Communication device and method

Also Published As

Publication number Publication date
JP7468486B2 (en) 2024-04-16

Similar Documents

Publication Publication Date Title
JPH05307655A (en) Remotely distinguishable small-sized card
CN100388294C (en) Contact data communication device, sending and receiving device and method
US8123136B2 (en) Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices
US20080284572A1 (en) Data control system, control server, data control method, and program
KR102624022B1 (en) Communication devices and methods
JP2023039526A (en) Contactless communication device, contactless chip, and upper layer message processing method
EP2717193B1 (en) IC card, portable electronic device, and reader/ writer
WO2021052866A1 (en) Method for managing a multi-application contactless device
JP5444138B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PORTABLE ELECTRONIC DEVICE
US12073280B2 (en) IC card, IC card processing system, and computer-readable storage medium
JP4590201B2 (en) Data carrier and data carrier program
JP2006012026A (en) Portable information storage medium and program thereof
JP2024173082A (en) Electronic information storage medium, IC chip, IC card, reception block processing method, and program
US7014119B2 (en) Method of manufacturing smart cards
JP7585412B1 (en) Portable electronic device and IC card
JP7435577B2 (en) Proximity IC card, contactless chip, and command execution management method
US20110090044A1 (en) Information processing apparatus, communication apparatus, and program
JP7424536B1 (en) Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program
JP4698942B2 (en) Portable information storage medium
JP2005301657A (en) IC card storing a plurality of command tables in rewritable memory and command execution method
JP2016035771A (en) Non-contact portable electronic device and issuing method of non-contact portable electronic device
JP5875772B2 (en) Portable electronic device, control method for portable electronic device, and processing system for portable electronic device
AU2002254795B2 (en) Method of manufacturing smart cards
JP2005228189A (en) Portable information storage medium and program thereof
JP2021099632A (en) Ic card and control program for ic card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230530

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20231102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231201

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: 20240305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240318

R150 Certificate of patent or registration of utility model

Ref document number: 7468486

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150