JP2018181092A - Electronic information storage medium, ic card, activation control method, and program - Google Patents

Electronic information storage medium, ic card, activation control method, and program Download PDF

Info

Publication number
JP2018181092A
JP2018181092A JP2017081935A JP2017081935A JP2018181092A JP 2018181092 A JP2018181092 A JP 2018181092A JP 2017081935 A JP2017081935 A JP 2017081935A JP 2017081935 A JP2017081935 A JP 2017081935A JP 2018181092 A JP2018181092 A JP 2018181092A
Authority
JP
Japan
Prior art keywords
controller
chip
command
communication
clf
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
JP2017081935A
Other languages
Japanese (ja)
Other versions
JP6863032B2 (en
Inventor
裕文 上口
Hirofumi Kamiguchi
裕文 上口
満里子 野地
Mariko Noji
満里子 野地
深谷 宗志
Muneyuki Fukaya
宗志 深谷
龍平 渡辺
Ryuhei Watanabe
龍平 渡辺
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 JP2017081935A priority Critical patent/JP6863032B2/en
Publication of JP2018181092A publication Critical patent/JP2018181092A/en
Application granted granted Critical
Publication of JP6863032B2 publication Critical patent/JP6863032B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic information storage medium, an IC card, an activation control method, and a program capable of activating or deactivating a CLF at appropriate timing, which cannot be conventionally performed.SOLUTION: An UIM card 14 transmits a request for activating or deactivating a CLF 13 to a baseband processor 11 by utilizing a response to a command received from the baseband processor 11. The baseband processor 11 instructs the CLF 13 to be activated or deactivated, and the CLF 13 transits from a deactivated state to an activated state, or transits from the activated state to the deactivated state.SELECTED DRAWING: Figure 4

Description

UIM(User Identity Module)カードとCLF(ContactLess Front-end)を搭載する携帯端末の技術分野に関し、特に、CLFを活性化または非活性化させる技術に関する。   The present invention relates to the technical field of a mobile terminal equipped with a UIM (User Identity Module) card and a CLF (ContactLess Front-end), and in particular to a technology for activating or deactivating the CLF.

複数のアプリケーションを搭載することが可能なUIMカードは、Java(登録商標)Card仕様、及びGlobalPlatform(登録商標)仕様に準拠した製品が事実上のデファクトスタンダードになっている。また、近年、UIMカードは、従来のICカードで使用されてきた、ISO7816に準拠するインターフェース(IF)に加え、SWP(Single Wire Protocol)のインターフェースを備えたNFC(Near Field radio Communication)対応UIMカード(以下、特段の記載が無い場合、本明細書内のUIMカードはNFC対応UIMカードを意味する)が普及している。一方、携帯端末においてもNFC対応携帯端末が普及してきた。NFC対応携帯端末(以下、特段の記載が無い場合、本明細書内の携帯端末はNFC対応携帯端末を意味する)は、CLFと呼ばれるICチップを内蔵しており、UIMカードとはSWPのインターフェースを介して接続されている。加えて、CLFには、非接触通信に用いるアンテナが接続され、CLFは、非接触通信プロトコル処理を担当する。これにより、非接触ICカードリーダにとって、UIMカードと携帯端末の組合せは、あたかも1枚の非接触ICカードのように振舞う。このように、非接触ICカードとして振舞う機能は、カードエミュレーションモードと呼ばれる。一方、CLFが搬送波を出力することで、UIMカードと携帯端末の組み合わせで非接触ICカードリーダとして動作し、非接触ICカードと通信することもできる。このように、非接触ICカードリーダとして振舞う機能は、リーダモードと呼ばれる。リーダモードの機能を用いると、例えば、携帯端末上のブラウザから特定のサービス(SNSサイトなど)へのログイン時に、リーダモードを起動して非接触ICカード(例えば、IDカード)からユーザIDを読み出し、そのユーザIDを用いてUIMカード内で生成した認証データを用いて認証することが可能となる。また、特許文献1には、リーダモードに設定された携帯端末がICタグに記録されているコードを読み取り、サーバに直接アクセスし、当該コードに対応するURLから欲しい画像等を得るシステムが開示されている。   A UIM card capable of loading a plurality of applications has virtually become a de facto standard of products conforming to the Java (registered trademark) Card specification and the Global Platform (registered trademark) specification. Also, in recent years, the UIM card is an NFC (Near Field Radio Communication) compatible UIM card provided with an interface of SWP (Single Wire Protocol) in addition to an interface (IF) conforming to ISO 7816 used in conventional IC cards. (Hereinafter, unless otherwise specified, the UIM card in this specification means an NFC compatible UIM card). On the other hand, NFC compatible portable terminals have become widespread also in portable terminals. The NFC compatible portable terminal (hereinafter, unless otherwise specified, the portable terminal in the present specification means an NFC compatible portable terminal) incorporates an IC chip called CLF, and an interface of SWP with the UIM card Connected through. In addition, an antenna used for contactless communication is connected to the CLF, and the CLF is in charge of contactless communication protocol processing. Thereby, for the noncontact IC card reader, the combination of the UIM card and the portable terminal behaves as if it were a single noncontact IC card. Thus, the function of acting as a noncontact IC card is called a card emulation mode. On the other hand, when the CLF outputs a carrier wave, the combination of the UIM card and the portable terminal can operate as a noncontact IC card reader and communicate with the noncontact IC card. Thus, the function of acting as a noncontact IC card reader is called a reader mode. When the reader mode function is used, for example, when logging in to a specific service (such as an SNS site) from a browser on a portable terminal, the reader mode is activated and the user ID is read from a noncontact IC card (for example, an ID card) It becomes possible to authenticate using the authentication data generated in the UIM card using the user ID. Further, Patent Document 1 discloses a system in which a portable terminal set in reader mode reads a code recorded in an IC tag, directly accesses a server, and obtains a desired image or the like from a URL corresponding to the code. There is.

特開2014−085757号公報JP, 2014-085757, A

ところで、携帯端末と非接触ICカードとの間の非接触通信において、通常、一連のコマンド及びレンスポンスのやりとりは、対向側にセキュリティ的な問題があっても、途中で中断されることなく最後まで実行される。このようなコマンド及びレンスポンスのやりとりにおいて、例えば携帯端末がリーダモードであるときに、対向側にセキュリティ的な問題が発生した場合、当該携帯端末に搭載されたCLFを非活性化することができれば、直ちに非接触通信を停止することが可能となり、より安全に利用することができる。CLFを非活性化する方法として、携帯端末のユーザによる中断操作と、CLF自身による中断とが考えられる。しかしながら、ユーザによる中断操作では、当該ユーザが判断を間違えた場合、通信状態に不整合が発生する可能性がある。一方、CLFからは、非接触通信においてやりとりされているコマンドを理解できないため、いつ中断すべきかの判断ができないという問題があった。   By the way, in non-contact communication between the portable terminal and the non-contact IC card, normally, even if there is a security problem on the opposite side, the exchange of a series of commands and responses is not interrupted halfway until the end To be executed. In the exchange of such commands and responses, for example, when a security problem occurs on the opposite side when the portable terminal is in the reader mode, if the CLF mounted on the portable terminal can be deactivated, It is possible to immediately stop contactless communication, and can be used more safely. As a method of deactivating the CLF, an interruption operation by the user of the portable terminal and an interruption by the CLF itself can be considered. However, in the interruption operation by the user, if the user makes a wrong determination, there is a possibility that the communication state may be inconsistent. On the other hand, since the CLF can not understand the command exchanged in the non-contact communication, there is a problem that it can not determine when it should be interrupted.

また、一般的にスマートフォンなどの携帯電話は使用時間を長くするために電力の消費を抑える必要がある。そのため、CLFにおいても非接触通信を行っていない間は、省電力モードに遷移し、CLFとUIMカード間のI/Oを非活性化することができる。携帯端末がカードエミュレーションモードであるときに、CLFとUIMカード間のI/Oが非活性化されている場合、CLFが非接触ICカードリーダからの搬送波を検知した際に当該I/Oを活性化し、UIMカードへコマンドを送信することができる。しかしながら、リーダモードにおいては、UIMカードからCLFへリーダモード開始を依頼する必要があり、この依頼は、CLFとUIMカード間のI/Oを通じてUIMカードからCLFへ送信される。現状、CLFとUIMカード間のI/Oは、CLFのみが活性化できるようになっているため、当該I/Oが非活性化されていた場合はリーダモードを開始できず、したがって、CLFは、いつでもUIMカードからリーダモード開始の依頼を受け付けられるよう、省電力モードに遷移できないという問題があった。また、リーダモードをサポートしているにもかかわらず、省電力モードに遷移するCLFが存在した場合、ユーザが要求するタイミングでリーダモードを開始できないという問題があった。   In addition, mobile phones such as smartphones generally need to reduce power consumption in order to extend usage time. Therefore, while non-contact communication is not performed also in the CLF, transition to the power saving mode can be performed, and I / O between the CLF and the UIM card can be deactivated. When the portable terminal is in the card emulation mode and the I / O between the CLF and the UIM card is inactivated, the I / O is activated when the CLF detects a carrier wave from the noncontact IC card reader. And send commands to the UIM card. However, in the reader mode, the UIM card needs to request the CLF to start the reader mode, and this request is transmitted from the UIM card to the CLF through I / O between the CLF and the UIM card. At present, I / O between the CLF and the UIM card can only activate the CLF, so the reader mode can not be started if the I / O is inactivated, so the CLF There is a problem that it is not possible to shift to the power saving mode so that a request for starting the reader mode can be accepted from the UIM card anytime. In addition, even though the reader mode is supported, there is a problem that when there is a CLF transitioning to the power saving mode, the reader mode can not be started at the timing requested by the user.

そこで、本発明は、このような問題等に鑑みてなされたものであり、従来できなかった適切なタイミングでCLFを活性化または非活性化することが可能な電子情報記憶媒体、ICカード、活性化制御方法、及びプログラムを提供することを目的とする。   Therefore, the present invention has been made in view of such problems and the like, and an electronic information storage medium capable of activating or deactivating CLF at an appropriate timing which could not be achieved conventionally, an IC card, an activation It is an object of the present invention to provide a computerized control method and program.

上記課題を解決するために、請求項1に記載の発明は、携帯端末のコントローラとの間で通信を行う第1通信手段と、外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2通信手段と、を備え、前記第1通信手段は、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とする。   In order to solve the above problems, the invention according to claim 1 is an IC chip having a function of performing non-contact communication between the first communication means for communicating with a controller of a portable terminal and the outside. And second communication means for communicating with the IC chip to be activated or deactivated in response to an instruction from the controller, the first communication means receiving the first communication means received from the controller. A request to activate or deactivate the IC chip is sent to the controller using a first response to the command of.

請求項2に記載の発明は、請求項1に記載の電子情報記憶媒体において、前記ICチップが活性化しているときに前記第1通信手段により前記コントローラから前記第1のコマンドが受信された場合、前記第2通信手段は、当該第1のコマンドに対応する第2のコマンドを前記ICチップへ送信し、当該第2のコマンドに対する第2のレスポンスを前記ICチップから受信し、前記ICチップから受信した前記第2のレスポンスから不正と判断された場合に、前記第1通信手段は、前記ICチップを非活性化させる要求を示す前記第1のレスポンスを前記コントローラへ送信することを特徴とする。   The invention according to claim 2 is the electronic information storage medium according to claim 1, wherein the first communication means receives the first command from the controller while the IC chip is activated. The second communication unit transmits a second command corresponding to the first command to the IC chip, receives a second response to the second command from the IC chip, and receives the second response from the IC chip. The first communication unit may transmit the first response indicating a request to inactivate the IC chip to the controller when it is determined that the second response received is incorrect. .

請求項3に記載の発明は、請求項1に記載の電子情報記憶媒体において、前記第1のコマンドは、前記携帯端末のタイマー機能により所定時間が経過したことを前記電子情報記憶媒体に知らせるためのコマンドであり、前記第1通信手段は、前記ICチップが活性化しているときに前記コントローラから前記第1のコマンドを受信した場合、前記ICチップを非活性化させる要求を示す前記第1のレスポンスを前記コントローラへ送信することを特徴とする。   The invention according to claim 3 is the electronic information storage medium according to claim 1, in which the first command notifies the electronic information storage medium that a predetermined time has elapsed by a timer function of the portable terminal. And the first communication means indicates a request to deactivate the IC chip when the first command is received from the controller while the IC chip is activated. Sending a response to the controller.

請求項4に記載の発明は、請求項1に記載の電子情報記憶媒体において、前記第1通信手段は、前記ICチップが非活性化しているときに前記コントローラから前記第1のコマンドを受信した場合、前記ICチップを活性化させる要求を示す前記第1のレスポンスを前記コントローラへ送信することを特徴とする。   The invention according to claim 4 is the electronic information storage medium according to claim 1, wherein the first communication means receives the first command from the controller when the IC chip is inactivated. In the case, the first response indicating a request to activate the IC chip is transmitted to the controller.

請求項5に記載の発明は、携帯端末のコントローラとの間で通信を行う第1通信手段と、外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2通信手段と、を備え、前記第1通信手段は、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とする。   The invention according to claim 5 is an IC chip having a function of performing non-contact communication between a first communication unit that communicates with a controller of a portable terminal and non-contact communication with the outside, and an instruction from the controller And second communication means for performing communication with the IC chip activated or deactivated according to the first communication means, wherein the first communication means receives a first response to a first command received from the controller. And transmitting to the controller a request to activate or deactivate the IC chip.

請求項6に記載の発明は、コンピュータにより実行される活性化制御方法であって、携帯端末のコントローラとの間で通信を行う第1通信ステップと、外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2ステップと、を含み、前記第1通信ステップにおいては、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とする。   The invention according to claim 6 is an activation control method executed by a computer, comprising a first communication step of performing communication with a controller of a portable terminal and a function of performing non-contact communication between the outside and the first communication step. An IC chip having a second step of communicating with the IC chip to be activated or deactivated according to an instruction from the controller, and in the first communication step, the controller A request for activating or deactivating the IC chip is transmitted to the controller using a first response to a first command received from the controller.

請求項7に記載の発明は、コンピュータを、携帯端末のコントローラとの間で通信を行う第1通信手段と、外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2通信手段として機能させ、前記第1通信手段は、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とする。   The invention according to claim 7 is an IC chip having a function of performing non-contact communication between a computer and a first communication unit that communicates with a controller of a portable terminal and the outside, the controller Function as a second communication unit for performing communication with the IC chip to be activated or deactivated in response to an instruction from the controller, the first communication unit being a first communication command for the first command received from the controller A request for activating or deactivating the IC chip is sent to the controller using a response.

本発明によれば、従来できなかった適切なタイミングでCLFを活性化または非活性化することができる。   According to the present invention, CLF can be activated or deactivated at an appropriate timing that has not been possible conventionally.

本実施形態に係る携帯端末の概要構成例を示すブロック図である。It is a block diagram showing an example of outline composition of a personal digital assistant concerning this embodiment. 接触型ICチップ14aのハードウェア構成例を示す図である。It is a figure showing the example of hardware constitutions of contact type IC chip 14a. UIMカード14とベースバンドプロセッサ11との間でProactiveコマンドが送受信される際の処理の流れの一例を示すシーケンス図である。FIG. 18 is a sequence diagram showing an example of a process flow when a Proactive command is transmitted and received between the UIM card 14 and the baseband processor 11. CLF13が活性化している場合において、不正によりCLF13を非活性化させるときの処理の流れの一例を示すシーケンス図である。When CLF13 is activated, it is a sequence diagram which shows an example of the flow of a process at the time of inactivating CLF13 by fraud. CLF13が活性化している場合において、所定時間の経過によりCLF13を非活性化させるときの処理の流れの一例を示すシーケンス図である。When CLF13 is activated, it is a sequence diagram showing an example of the flow of processing at the time of inactivating CLF13 by progress of predetermined time. CLF13が非活性化している場合において、非接触通信を必要とするコマンドの受信によりCLF13を活性化させるときの処理の流れの一例を示すシーケンス図である。When CLF13 is inactive, it is a sequence diagram which shows an example of the flow of a process at the time of activating CLF13 by reception of the command which requires non-contact communication.

以下、図面を参照して本発明の実施形態について詳細に説明する。以下に説明する実施形態は、携帯端末に対して本発明を適用した場合の実施の形態である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The embodiment described below is an embodiment when the present invention is applied to a portable terminal.

[1.携帯端末の構成及び機能概要]
先ず、図1等を参照して、本実施形態に係る携帯端末の構成及び機能概要について説明する。図1は、本実施形態に係る携帯端末の概要構成例を示すブロック図である。図1に示すように、携帯端末1は、NFC対応端末であり、ベースバンドプロセッサ11、バッテリー12、CLF13、及びUIMカード14等を備えて構成されている。その他、携帯端末1は、図示しないが、移動体無線通信部、操作・表示部、及び記憶部等を備える。また、携帯端末1はタイマー機能を有する。移動体無線通信部は、移動体通信ネットワークを利用した無線通信機能を有する。移動体通信ネットワークは、例えば、電話用回線交換ネットワーク、及びインターネットに接続するためのデータ通信用パケット交換ネットワークを含む。移動体無線通信部は、図示しないアンテナを介して、最寄りの基地局との間で無線通信を行い、当該基地局及び移動体通信ネットワークを介して他の携帯端末やサーバとの間で通信を行う。操作・表示部は、例えば、ユーザの指やペン等による操作指示を受け付ける入力機能と、情報を表示する画面を有するタッチパネルとを備える。操作・表示部は、ユーザからの操作指示を受け付け、その操作指示に応じた信号をベースバンドプロセッサ11へ出力する。記憶部は、例えば不揮発性メモリから構成され、オペレーティングシステム(Operating System、以下、「OS」という)、アプリケーションプログラム、及びブラウザプログラム等が記憶される。携帯端末1は、音声処理部及びスピーカを備えてもよい。なお、携帯端末1には、携帯電話機やスマートフォン等を適用できる。
[1. Configuration of Mobile Terminal and Outline of Function]
First, with reference to FIG. 1 etc., the structure and function outline | summary of the portable terminal which concern on this embodiment are demonstrated. FIG. 1 is a block diagram showing an example of a schematic configuration of a portable terminal according to the present embodiment. As shown in FIG. 1, the portable terminal 1 is an NFC compatible terminal, and is configured to include a baseband processor 11, a battery 12, a CLF 13, a UIM card 14 and the like. In addition, although not illustrated, the mobile terminal 1 includes a mobile wireless communication unit, an operation / display unit, a storage unit, and the like. Moreover, the portable terminal 1 has a timer function. The mobile wireless communication unit has a wireless communication function using a mobile communication network. Mobile communication networks include, for example, telephone circuit switched networks and data communication packet switched networks for connecting to the Internet. The mobile wireless communication unit performs wireless communication with the nearest base station via an antenna (not shown), and communicates with other portable terminals and servers via the base station and the mobile communication network. Do. The operation / display unit includes, for example, an input function for receiving an operation instruction from a user's finger or a pen, and a touch panel having a screen for displaying information. The operation / display unit receives an operation instruction from the user, and outputs a signal corresponding to the operation instruction to the baseband processor 11. The storage unit is configured of, for example, a non-volatile memory, and stores an operating system (hereinafter referred to as “OS”), an application program, a browser program, and the like. The portable terminal 1 may include an audio processing unit and a speaker. Note that a mobile phone, a smartphone, or the like can be applied to the mobile terminal 1.

ベースバンドプロセッサ11は、携帯端末1を制御するコントローラとしての機能を担う。ベースバンドプロセッサ11は、携帯端末1のユーザからの操作指示(例えば、操作・表示部を介した操作指示)に応じて各種処理を実行する。また、ベースバンドプロセッサ11は、CLF13を活性化または非活性化することができる。また、ベースバンドプロセッサ11は、ブラウザプログラムを実行することによりブラウザとして機能し、ユーザからの指示にしたがって移動体無線通信部及び移動体通信ネットワークを介して特定のサーバとの間で通信を行う。バッテリー12は、携帯端末1の電源であり、携帯端末1を動作させるための電力を外部から充電可能になっている。ベースバンドプロセッサ11は、バッテリー12から供給された電力をCLF13及びUIMカード14へ供給(電源供給)する。   The baseband processor 11 has a function as a controller that controls the mobile terminal 1. The baseband processor 11 executes various processes in response to an operation instruction from the user of the mobile terminal 1 (for example, an operation instruction via the operation / display unit). Also, the baseband processor 11 can activate or deactivate the CLF 13. Also, the baseband processor 11 functions as a browser by executing a browser program, and communicates with a specific server via a mobile wireless communication unit and a mobile communication network according to an instruction from a user. The battery 12 is a power source of the mobile terminal 1 and can charge the power for operating the mobile terminal 1 from the outside. The baseband processor 11 supplies (power supplies) the power supplied from the battery 12 to the CLF 13 and the UIM card 14.

CLF13は、NFCの規格で規定される非接触通信を行う機能を有する非接触型ICチップであり、図示しないが、CPU(Central Processing Unit)、所定のプログラムを記憶する不揮発性メモリ(例えばフラッシュメモリ等)、データを一時記憶するRAM(Random Access Memory)、UIMカード14との間のインターフェース(SWPのインターフェース)を担うI/Oポート(SWIO(Single Wire protocol Input/Output))、及びベースバンドプロセッサ11との間のインターフェースを担うI/Oポート等を備えている。また、CLF13には、非接触通信のフィールド内で、外部(非接触ICカード、または非接触ICカードリーダ)との間で非接触通信を行うためのアンテナ13aが接続されており、CLF13は、非接触通信プロトコル処理を担う。なお、携帯端末1がリーダモードにあるときは、CLF13は、外部の非接触ICカードとの間で非接触通信を行う。一方、携帯端末1がカードエミュレーションモードにあるときは、CLF13は、外部の非接触ICカードリーダとの間で非接触通信を行う。   The CLF 13 is a noncontact IC chip having a function of performing noncontact communication defined by the NFC standard, and although not shown, a CPU (Central Processing Unit), a non-volatile memory for storing a predetermined program (eg, flash memory) Etc.), RAM (Random Access Memory) for temporarily storing data, I / O port (SWIO (Single Wire protocol Input / Output)) having an interface with the UIM card 14 (SWP interface), and a baseband processor It has an I / O port etc. which takes on the interface between it and 11. In addition, an antenna 13a for performing noncontact communication with the outside (a noncontact IC card or a noncontact IC card reader) in the noncontact communication field is connected to the CLF 13, and the CLF 13 is It is responsible for contactless communication protocol processing. When the portable terminal 1 is in the reader mode, the CLF 13 performs noncontact communication with an external noncontact IC card. On the other hand, when the portable terminal 1 is in the card emulation mode, the CLF 13 performs noncontact communication with an external noncontact IC card reader.

また、非接触通信に関し、CLF13は、通信可能な状態と通信不可能な状態を持つ。通信可能な状態を「活性化状態」、通信不可能な状態を「非活性化状態」という。CLF13は、ベースバンドプロセッサ11からの指示に応じて活性化(Activated)、または非活性化(Deactivated)する(つまり、活性化状態から非活性化状態に遷移、または非活性化状態から活性化状態に遷移する)。つまり、CLF13を外側から活性化させたり非活性化させることは、ベースバンドプロセッサ11のみが行うことができる。   In addition, regarding contactless communication, the CLF 13 has a communicable state and a communicable state. The communicable state is referred to as "activation state", and the non-communicable state is referred to as "deactivation state". The CLF 13 is activated (activated) or deactivated (deactivated) in response to an instruction from the baseband processor 11 (that is, transition from the activation state to the deactivation state, or from the activation state to the activation state) Transition to That is, only the baseband processor 11 can activate or deactivate the CLF 13 from the outside.

UIMカード14は、UICC(Universal Integrated Circuit Card)の一つであり、従来のSIM(Subscriber Identity Module)カードをベースに機能を拡張された接触型ICチップ14aを搭載する。なお、UIMカード14は、NFC対応UIMカードであり、本発明のICカードの一例である。また、接触型ICチップ14aは、本発明の電子情報記憶媒体の一例である。なお、接触型ICチップ14aは、携帯端末1の回路基板上に直接組み込まれて構成されるようにしてもよく、例えばeUICC(Embedded Universal Integrated Circuit Card)として、携帯端末1から容易に取り外しや取り換えができないように携帯端末1と一体的に搭載されてもよい。   The UIM card 14 is one of a Universal Integrated Circuit Card (UICC), and mounts a contact-type IC chip 14a whose function is expanded based on a conventional SIM (Subscriber Identity Module) card. The UIM card 14 is an NFC compatible UIM card, and is an example of the IC card of the present invention. The contact IC chip 14a is an example of the electronic information storage medium of the present invention. The contact type IC chip 14a may be configured to be directly incorporated on the circuit board of the portable terminal 1. For example, as an eUICC (Embedded Universal Integrated Circuit Card), the contact type IC chip 14a may be easily removed or replaced from the portable terminal 1. It may be integrally mounted with the portable terminal 1 so that it can not be done.

図2は、接触型ICチップ14aのハードウェア構成例を示す図である。図2に示すように、接触型ICチップ14aは、CPU141、RAM142、ROM(Read Only Memory)143、不揮発性メモリ144、及びI/O回路145を備えて構成される。CPU141は、ROM143または不揮発性メモリ144に記憶された各種プログラムを実行するプロセッサ(コンピュータ)であり、本発明における第1通信手段、及び第2通信手段の一例である。不揮発性メモリ144には、例えばフラッシュメモリが適用される。不揮発性メモリ144に記憶される各種プログラム及びデータの一部は、ROM143に記憶されてもよい。なお、不揮発性メモリ144は、「Electrically Erasable Programmable Read-Only Memory」であってもよい。本実施形態において、ROM143または不揮発性メモリ144との何れかに記憶されるプログラムには、OS、本発明のプログラム、アプリケーションプログラム等が含まれる。なお、本発明のプログラムは、OS内に組み込まれてもよいし、或いは、OSとは独立したミドルウェアとしてインストールされてもよい。   FIG. 2 is a diagram showing an example of the hardware configuration of the contact type IC chip 14a. As shown in FIG. 2, the contact type IC chip 14 a includes a CPU 141, a RAM 142, a ROM (Read Only Memory) 143, a non-volatile memory 144, and an I / O circuit 145. The CPU 141 is a processor (computer) that executes various programs stored in the ROM 143 or the nonvolatile memory 144, and is an example of a first communication unit and a second communication unit in the present invention. For example, a flash memory is applied to the non-volatile memory 144. A part of various programs and data stored in the non-volatile memory 144 may be stored in the ROM 143. The nonvolatile memory 144 may be an “Electrically Erasable Programmable Read-Only Memory”. In the present embodiment, the programs stored in either the ROM 143 or the non-volatile memory 144 include an OS, a program of the present invention, an application program, and the like. The program of the present invention may be incorporated in the OS or may be installed as middleware independent of the OS.

ここで、アプリケーションプログラムは、UIMカード14においてアプリケーションインスタンス(これを、「アプリケーション」という)の機能を実現するためのプログラムである。アプリケーションは、アプリケーションプログラム等をメモリに展開して実行可能な状態にインストール(搭載)されたモジュールである。例えば、UIMカード14内のアプリケーションは、リーダモード開始依頼をCLF13へ送信すると、CLF13は搬送波を出力する。これにより、アプリケーションは、対向する非接触ICカードを検出できれば(非接触ICカードから応答があれば)、アプリケーションからCLF13を介して非接触ICカードへコマンドを送信し、そのレスポンスをCLF13を介して受信することが可能となる。   Here, the application program is a program for realizing the function of an application instance (referred to as an “application”) in the UIM card 14. An application is a module in which an application program or the like is expanded in a memory and installed (mounted) in an executable state. For example, when the application in the UIM card 14 transmits a reader mode start request to the CLF 13, the CLF 13 outputs a carrier wave. Thus, if the application can detect the opposing noncontact IC card (if there is a response from the noncontact IC card), the application transmits a command from the application to the noncontact IC card via the CLF 13 and the response via the CLF 13 It becomes possible to receive.

I/O回路145には、ISO7816等によって定められたC1〜C8の8個の端子が備えられている。或いは、I/O回路145には、C4とC8の端子を除く6個の端子が備えられている。C1端子は電源端子(VCC)であり、C5端子はグランド端子(GND)である。また、C2端子は、リセット端子(RST)であり、ベースバンドプロセッサ11とのインターフェースのリセット信号を入力するために用いられる。また、C3端子は、クロック端子(CLK)であり、ベースバンドプロセッサ11とのインターフェースのクロックを入力するために用いられる。また、C7端子は、ベースバンドプロセッサ11との間のインターフェースを担う端子であり、UIMカード14とベースバンドプロセッサ11との間の通信(T=0プロトコル通信)のために用いられる。また、C6端子は、CLF13との間のインターフェースを担う端子(SWIO)であり、CLF13との間の通信(SWP/HCI(Host Controller Interface)通信)のために用いられる。   The I / O circuit 145 is provided with eight terminals C1 to C8 defined by ISO 7816 or the like. Alternatively, the I / O circuit 145 is provided with six terminals except for the terminals C4 and C8. The C1 terminal is a power supply terminal (VCC), and the C5 terminal is a ground terminal (GND). The C2 terminal is a reset terminal (RST), and is used to input a reset signal of the interface with the baseband processor 11. The C3 terminal is a clock terminal (CLK), and is used to input a clock for interfacing with the baseband processor 11. The C7 terminal is a terminal that carries an interface with the baseband processor 11, and is used for communication (T = 0 protocol communication) between the UIM card 14 and the baseband processor 11. The C6 terminal is a terminal (SWIO) that carries an interface with the CLF 13 and is used for communication with the CLF 13 (SWP / HCI (Host Controller Interface) communication).

CPU141は、I/O回路145のC6端子を介してCLF13との間で通信(第2通信手段による通信)を行うとともに、I/O回路145のC7端子を介してベースバンドプロセッサ11との間で通信(第1通信手段による通信)を行うことができる。本実施形態では、CPU141は、ベースバンドプロセッサ11から受信したコマンド(第1のコマンドの一例)に対するレスポンス(第1のレスポンスの一例)を利用して、CLF13を活性化または非活性化させる要求をベースバンドプロセッサ11へ送信する。これにより、ベースバンドプロセッサ11は、CLF13に対して活性化または非活性化の指示を行うことになる。その結果、CLF13は、非活性化状態から活性化状態に遷移、または活性化状態から非活性化状態に遷移することになる。   The CPU 141 performs communication (communication by the second communication means) with the CLF 13 via the C6 terminal of the I / O circuit 145, and between the baseband processor 11 via the C7 terminal of the I / O circuit 145 Communication (communication by the first communication means) can be performed. In the present embodiment, the CPU 141 uses the response (one example of the first response) to the command (one example of the first command) received from the baseband processor 11 to request the activation or deactivation of the CLF 13. Transmit to baseband processor 11. As a result, the baseband processor 11 instructs the CLF 13 to activate or deactivate. As a result, CLF 13 transitions from the non-activation state to the activation state, or transitions from the activation state to the non-activation state.

ここで、ベースバンドプロセッサ11から受信したコマンドに対するレスポンスとして、例えばETSI TS102 223で規定されているCAT(Card Application Toolkit)機能の一つであるProactiveコマンドを適用するとよい。Proactiveコマンドは、UIMカード14から、ベースバンドプロセッサ11(または上記ネットワーク上のサーバ)に対して、各種操作要求(例えば、携帯端末1に指定の文字を表示させる要求や音を鳴らす要求など)や情報送信を行うためのコマンドである。   Here, as a response to the command received from the baseband processor 11, for example, a Proactive command which is one of CAT (Card Application Toolkit) functions defined in the ETSI TS 102 223 may be applied. The Proactive command is a request from the UIM card 14 to the baseband processor 11 (or a server on the network) for various operation requests (for example, a request for displaying specified characters on the mobile terminal 1, a request for playing a sound, etc.) It is a command for transmitting information.

図3は、UIMカード14とベースバンドプロセッサ11との間でProactiveコマンドが送受信される際の処理の流れの一例を示すシーケンス図である。図3の例では、ベースバンドプロセッサ11は、所定のコマンドをUIMカード14へ送信する(ステップS1)。UIMカード14は、ベースバンドプロセッサ11からコマンドを受信すると、当該コマンドに応じた処理において所定の条件を満たす場合に、当該コマンドに対するレスポンスとして、“91XX”を示すレスポンス(以下、「SW91XX」という)をベースバンドプロセッサ11へ送信する(ステップS2)。ここで、“91XX”は、Proactiveコマンドの送信要求を示すステータスワード(SW)である。つまり、“91XX”は、UIMカード14からProactiveコマンドを送りたいことを示す。また、上記所定の条件を満たす場合の例として、以下の(i)〜(iii)が挙げられる。   FIG. 3 is a sequence diagram showing an example of the flow of processing when a Proactive command is transmitted and received between the UIM card 14 and the baseband processor 11. In the example of FIG. 3, the baseband processor 11 transmits a predetermined command to the UIM card 14 (step S1). When the UIM card 14 receives a command from the baseband processor 11, a response indicating "91XX" as a response to the command (hereinafter referred to as "SW91XX") when a predetermined condition is satisfied in processing according to the command. Are transmitted to the baseband processor 11 (step S2). Here, "91XX" is a status word (SW) indicating a request for transmission of a Proactive command. That is, "91XX" indicates that the UIM card 14 wants to send a Proactive command. Moreover, the following (i)-(iii) are mentioned as an example in the case of satisfy | filling the said predetermined conditions.

(i)CLF13が活性化している場合において、上記所定のコマンド(例えば、認証依頼を示すコマンド)に応じてUIMカード14からCLF13へ送信されたコマンドに対するレスポンスから不正と判断(不正を検知)した場合   (i) In the case where the CLF 13 is activated, it is determined that fraud is detected (detection of fraud) from the response to the command transmitted from the UIM card 14 to the CLF 13 according to the predetermined command (for example, a command indicating an authentication request) If

(ii)CLF13が活性化している場合において、ベースバンドプロセッサ11から受信した上記所定のコマンドが携帯端末1のタイマー機能により所定時間が経過したことをUIMカード14に知らせるためのコマンド(以下、「通知コマンド」という)である場合   (ii) When the CLF 13 is activated, a command for notifying the UIM card 14 that the predetermined command received from the baseband processor 11 has passed a predetermined time by the timer function of the portable terminal 1 (hereinafter referred to as “ In the case of "notify command"

(iii)CLF13が非活性化している場合において、ベースバンドプロセッサ11から受信した上記所定のコマンドがCLF13による非接触通信を必要とするコマンドである場合   (iii) In the case where the CLF 13 is inactivated, the above predetermined command received from the baseband processor 11 is a command requiring non-contact communication by the CLF 13

ベースバンドプロセッサ11は、UIMカード14からSW91XX を受信すると、FETCHコマンドをUIMカード14へ送信する(ステップS3)。UIMカード14は、ベースバンドプロセッサ11からFETCHコマンドを受信すると、当該FETCHコマンドに対するレスポンスとして、Proactiveコマンド、及び“9000”(正常終了)を示すレスポンス(以下、「SW9000」という)をベースバンドプロセッサ11へ送信する(ステップS4)。本実施形態では、Proactiveコマンドは、CLF13を活性化または非活性化させる要求を示す。つまり、UIMカード14は、ベースバンドプロセッサ11から受信した所定のコマンドに対するレスポンスを利用して、CLF13を活性化または非活性化させる要求をベースバンドプロセッサ11へ送信することになる。ベースバンドプロセッサ11は、UIMカード14からProactiveコマンド及びSW9000を受信すると、Proactiveコマンドに応じた処理を行い、当該処理の結果を示すTERMINAL RESPONSEコマンドをUIMカード14へ送信する(ステップS5)。本実施形態では、Proactiveコマンドに応じた処理において、ベースバンドプロセッサ11は、CLF13を活性化または非活性化する指示をCLF13へ送信し、そのレスポンスをCLF13から受信する。UIMカード14は、ベースバンドプロセッサ11からTERMINAL RESPONSEコマンドを受信すると、当該TERMINAL RESPONSEコマンドに対するレスポンスとして、SW9000をベースバンドプロセッサ11へ送信する(ステップS6)。   When the baseband processor 11 receives the SW 91XX from the UIM card 14, it transmits a FETCH command to the UIM card 14 (step S3). When the UIM card 14 receives the FETCH command from the baseband processor 11, as a response to the FETCH command, the UIM card 14 transmits a Proactive command and a response indicating “9000” (normal end) (hereinafter referred to as “SW 9000”) as the baseband processor 11 It transmits to (step S4). In the present embodiment, the Proactive command indicates a request to activate or deactivate CLF 13. That is, the UIM card 14 transmits a request for activating or deactivating the CLF 13 to the baseband processor 11 using a response to a predetermined command received from the baseband processor 11. When the baseband processor 11 receives the Proactive command and the SW 9000 from the UIM card 14, the baseband processor 11 performs a process according to the Proactive command, and transmits a TERMINAL RESPONSE command indicating the result of the process to the UIM card 14 (step S5). In the present embodiment, in the processing according to the Proactive command, the baseband processor 11 transmits an instruction to activate or deactivate the CLF 13 to the CLF 13 and receives a response from the CLF 13. Upon receiving the TERMINAL RESPONSE command from the baseband processor 11, the UIM card 14 transmits SW 9000 to the baseband processor 11 as a response to the TERMINAL RESPONSE command (step S6).

[2.CLF13を活性化または非活性化させるときの動作]
次に、CLF13を活性化または非活性化させるときの動作について、実施例1〜3に分けて説明する。
[2. Operation when activating or deactivating CLF 13]
Next, the operation for activating or deactivating the CLF 13 will be described separately in Examples 1 to 3.

(実施例1)
実施例1は、CLF13が活性化している場合において、不正の検知によりCLF13を非活性化させるときの例である。図4は、CLF13が活性化している場合において、不正によりCLF13を非活性化させるときの処理の流れの一例を示すシーケンス図である。
Example 1
Example 1 is an example of deactivating CLF 13 by detecting fraud when CLF 13 is activated. FIG. 4 is a sequence diagram showing an example of the flow of processing when the CLF 13 is inactivated due to fraud when the CLF 13 is activated.

図4において、ベースバンドプロセッサ11は、認証依頼を示すコマンド(以下、「認証コマンド」という)をUIMカード14へ送信する(ステップS11)。UIMカード14は、ベースバンドプロセッサ11から認証コマンド(第1のコマンドの一例)を受信すると、リーダモード開始依頼をCLF13へ送信する(ステップS12)。   In FIG. 4, the baseband processor 11 transmits a command indicating an authentication request (hereinafter, referred to as an “authentication command”) to the UIM card 14 (step S11). When the UIM card 14 receives the authentication command (an example of the first command) from the baseband processor 11, the UIM card 14 transmits a reader mode start request to the CLF 13 (step S12).

CLF13は、UIMカード14からリーダモード開始依頼を受信すると、搬送波を出力する(ステップS13)。こうして、非接触通信のフィールド内で当該搬送波を受信した非接触ICカードから出力された応答は、CLF13を介してUIMカード14へ送信される(ステップS14,S15)。これにより、UIMカード14は、非接触ICカードを検出する。   When the CLF 13 receives the reader mode start request from the UIM card 14, the CLF 13 outputs a carrier wave (step S13). Thus, the response output from the contactless IC card that has received the carrier wave in the field of contactless communication is transmitted to the UIM card 14 via the CLF 13 (steps S14 and S15). Thereby, the UIM card 14 detects the noncontact IC card.

UIMカード14は、非接触ICカードを検出すると、認証コマンド(第1のコマンドに対応する第2のコマンドの一例)をCLF13へ送信する(ステップS16)。CLF13は、UIMカード14から認証コマンドを受信すると、当該認証コマンドを非接触ICカードへ送信(つまり、非接触通信で送信)する(ステップS17)。非接触ICカードは、UIMカード14から認証コマンドを受信すると、認証に必要な情報(例えば、IDや有効期限など)を読み出して、当該情報を含むレスポンスをCLF13へ送信する(ステップS18)。CLF13は、非接触ICカードからレスポンスを受信すると、当該レスポンスをUIMカード14へ送信する(ステップS19)。   When detecting the noncontact IC card, the UIM card 14 transmits an authentication command (an example of a second command corresponding to the first command) to the CLF 13 (step S16). When the CLF 13 receives the authentication command from the UIM card 14, the CLF 13 transmits the authentication command to the noncontact IC card (that is, transmits it by noncontact communication) (step S17). When receiving the authentication command from the UIM card 14, the noncontact IC card reads out information (for example, an ID, an expiration date, etc.) necessary for authentication, and transmits a response including the information to the CLF 13 (step S18). When the CLF 13 receives a response from the noncontact IC card, the CLF 13 transmits the response to the UIM card 14 (step S19).

UIMカード14は、CLF13からレスポンス(第2のコマンドに対する第2のレスポンスの一例)を受信すると、認証処理を行う(ステップS20)。UIMカード14は、認証処理において認証OKと判断した場合、認証OKを示すレスポンス(認証コマンドに対するレスポンス)をベースバンドプロセッサ11へ送信することになる(図示せず)。一方、UIMカード14は、認証処理において認証NG(すなわち、認証コマンドに対するレスポンスから不正)と判断(例えば、IDが一致しない、或いは有効期限が経過している場合、不正と判断)した場合(つまり、所定の条件を満たす場合としての上記(i)の場合)、上記認証コマンドに対するレスポンスとして、SW91XXをベースバンドプロセッサ11へ送信する(ステップS21)。なお、不正の判断は、例えば意図しないレスポンスがあった場合に行われてもよい。具体的には、(i)所定時間内にレスポンスがない場合、(ii)不正な端末又はICカードが検出された場合(ICカードやICカードリーダの個別情報を認証コマンドのレスポンスにて取得しUIMカード14で検証する場合)、または、(iii)認証プロセスにおいて乱数を取得する場合に以前受信した乱数と同じ値が返送された場合、不正と判断される。   When the UIM card 14 receives a response (an example of a second response to the second command) from the CLF 13, the UIM card 14 performs an authentication process (step S20). When the UIM card 14 determines that the authentication is OK in the authentication process, the UIM card 14 transmits a response indicating the authentication OK (a response to the authentication command) to the baseband processor 11 (not shown). On the other hand, when the UIM card 14 determines that authentication NG (that is, from the response to the authentication command is incorrect) in the authentication process (for example, if the IDs do not match or the expiration date has passed, it is determined to be incorrect) (that is, SW91XX is transmitted to the baseband processor 11 as a response to the authentication command in the case of the above (i) in the case where the predetermined condition is satisfied (step S21). Note that the judgment of fraud may be made, for example, when there is an unintended response. Specifically, (i) there is no response in a predetermined time, and (ii) an illegal terminal or IC card is detected (the individual information of the IC card or IC card reader is acquired by the response of the authentication command) In the case of verification by the UIM card 14) or (iii) in the case of obtaining a random number in the authentication process, it is determined that the same value as the previously received random number is returned.

ベースバンドプロセッサ11は、UIMカード14からSW91XXを受信すると、FETCHコマンドをUIMカード14へ送信する(ステップS22)。UIMカード14は、ベースバンドプロセッサ11からFETCHコマンドを受信すると、上述したように、CLF13を非活性化させる要求(以下、「非活性化要求」という)を示すProactiveコマンド及びSW9000をベースバンドプロセッサ11へ送信する(ステップS23)。ベースバンドプロセッサ11は、非活性化要求を示すProactiveコマンド及びSW9000を受信すると、CLF13を非活性化させる指示(以下、「非活性化指示」という)をCLF13へ送信する(ステップS24)。CLF13は、ベースバンドプロセッサ11から非活性化指示を受信すると、非活性化を示すレスポンスをベースバンドプロセッサ11へ送信する(ステップS25)。こうして、CLF13は、非活性化する。   When the baseband processor 11 receives the SW 91 XX from the UIM card 14, the baseband processor 11 transmits a FETCH command to the UIM card 14 (step S 22). When the UIM card 14 receives the FETCH command from the baseband processor 11, as described above, the Proactive command indicating the request to deactivate the CLF 13 (hereinafter referred to as "deactivation request") and the SW 9000 baseband processor 11 It transmits to (step S23). When the baseband processor 11 receives the Proactive command indicating the deactivation request and the SW 9000, the baseband processor 11 transmits an instruction to deactivate the CLF 13 (hereinafter, referred to as “deactivation instruction”) to the CLF 13 (step S24). When the CLF 13 receives the deactivation instruction from the baseband processor 11, the CLF 13 transmits a response indicating deactivation to the baseband processor 11 (step S25). Thus, the CLF 13 is inactivated.

ベースバンドプロセッサ11は、CLF13から非活性化を示すレスポンスを受信すると、TERMINAL RESPONSEコマンドをUIMカード14へ送信する(ステップS26)。UIMカード14は、ベースバンドプロセッサ11からTERMINAL RESPONSEコマンドを受信すると、SW9000をベースバンドプロセッサ11へ送信する(ステップS27)。   When the baseband processor 11 receives a response indicating inactivation from the CLF 13, the baseband processor 11 transmits a TERMINAL RESPONSE command to the UIM card 14 (step S26). Upon receiving the TERMINAL RESPONSE command from the baseband processor 11, the UIM card 14 transmits an SW 9000 to the baseband processor 11 (step S27).

実施例1によれば、UIMカード14においてCLF13から受信されたレスポンス(認証コマンドに対するレスポンス)から不正と判断された場合に、CLF13の非活性化要求を示すレスポンスがUIMカード14からベースバンドプロセッサ11へ送信されるように構成したので、非接触ICカード側にセキュリティ的な問題が発生した場合にCLF13を非活性化して、セキュリティを担保することができる。   According to the first embodiment, when the UIM card 14 determines that the response is a fraudulent response from the response received from the CLF 13 (a response to the authentication command), the response indicating the CLF 13 inactivation request is transmitted from the UIM card 14 to the baseband processor 11. In the case where a security problem occurs on the noncontact IC card side, the CLF 13 can be inactivated to secure security.

(実施例2)
実施例2は、CLF13が活性化している場合において、所定時間の経過によりCLF13を非活性化させるときの例である。図5は、CLF13が活性化している場合において、所定時間の経過によりCLF13を非活性化させるときの処理の流れの一例を示すシーケンス図である。なお、実施例2は、携帯端末1がリーダモードにあるときとカードエミュレーションモードにあるときとのどちらにも適用可能である。また、実施例2では、携帯端末1のタイマー機能により経過時間が計測される。
(Example 2)
Example 2 is an example when CLF 13 is inactivated, and CLF 13 is inactivated after lapse of a predetermined time. FIG. 5 is a sequence diagram showing an example of the flow of processing when the CLF 13 is inactivated as the predetermined time elapses when the CLF 13 is activated. The second embodiment is applicable to both the case where the portable terminal 1 is in the reader mode and the case where it is in the card emulation mode. In the second embodiment, the elapsed time is measured by the timer function of the portable terminal 1.

図5において、ベースバンドプロセッサ11は、計測された経過時間を監視し、基準時点(例えば、ユーザから操作指示があった時点)から所定時間(例えば、30秒)が経過した場合に、所定時間が経過したことを知らせるための通知コマンドをUIMカード14へ送信する(ステップS31)。なお、通知コマンドは所定時間間隔で送信される。UIMカード14は、ベースバンドプロセッサ11から通知コマンド(第1のコマンドの一例)を受信した場合(つまり、所定の条件を満たす場合としての上記(ii)の場合)、上記通知コマンドに対するレスポンスとして、SW91XXをベースバンドプロセッサ11へ送信する(ステップS32)。なお、ステップS33〜ステップS38の処理は、図4に示すステップS22〜ステップS27の処理と同様である。   In FIG. 5, the baseband processor 11 monitors the measured elapsed time, and when a predetermined time (for example, 30 seconds) has elapsed from a reference time (for example, a time when an operation instruction is issued from the user), Is sent to the UIM card 14 (step S31). The notification command is transmitted at predetermined time intervals. When the UIM card 14 receives a notification command (an example of a first command) from the baseband processor 11 (that is, in the case of the above (ii) as a case where a predetermined condition is satisfied), as a response to the notification command, The SW 91XX is transmitted to the baseband processor 11 (step S32). The process of step S33 to step S38 is the same as the process of step S22 to step S27 shown in FIG.

実施例2によれば、UIMカード14においてベースバンドプロセッサ11から通知コマンドが受信された場合に、FETCHコマンドの送受信を経て、CLF13の非活性化要求を示すレスポンスがUIMカード14からベースバンドプロセッサ11へ送信されるように構成したので、適切なタイミングでCLF13を非活性化して、省電力モードに遷移させることができる。   According to the second embodiment, when the notification command is received from the baseband processor 11 in the UIM card 14, the response indicating the deactivation request of the CLF 13 is transmitted from the UIM card 14 to the baseband processor 11 through transmission and reception of the FETCH command. Since it is configured to be transmitted to the terminal device, the CLF 13 can be deactivated at an appropriate timing to shift to the power saving mode.

なお、実施例2では、携帯端末1のタイマー機能を用いて、ベースバンドプロセッサ11は所定時間が経過した場合に通信コマンドをUIMカード14へ送信する例について説明したが、これに似た例として、ベースバンドプロセッサ11はUIMカード14が実際に携帯端末1に挿入されるかを確認するために、STATUSコマンドを所定時間間隔(例えば、30秒間隔)でUIMカード14に送信するようになっている。この場合において、STATUSコマンドの受信回数をUIMカード14内にて設定し(例えば、5回)、UIMカード14が当該設定回数を超えてSTATUSコマンドを受信した場合、STATUSコマンドのレスポンスとして、SW91XXをベースバンドプロセッサ11へ送信(図5のステップS32で送信)するように構成してもよく、この場合も、図5のステップS33〜ステップS38の処理が行われる。このように構成しても、適切なタイミングでCLF13を非活性化して、省電力モードに遷移させることができる。   In the second embodiment, an example in which the baseband processor 11 transmits a communication command to the UIM card 14 when a predetermined time has elapsed using the timer function of the portable terminal 1 has been described, but an example similar to this is described. The baseband processor 11 is configured to transmit a STATUS command to the UIM card 14 at predetermined time intervals (for example, every 30 seconds) in order to confirm whether the UIM card 14 is actually inserted into the portable terminal 1. There is. In this case, when the number of receptions of the STATUS command is set in the UIM card 14 (for example, 5 times) and the UIM card 14 receives the STATUS command after the set number of times, SW91XX is received as a response of the STATUS command. It may be configured to transmit to the baseband processor 11 (send in step S32 in FIG. 5), and also in this case, the processing in step S33 to step S38 in FIG. 5 is performed. Even with this configuration, the CLF 13 can be deactivated at an appropriate timing to shift to the power saving mode.

(実施例3)
実施例3は、CLF13が非活性化している場合において、非接触通信を必要とするコマンドの受信によりCLF13を活性化させるときの例である。図6は、CLF13が非活性化している場合において、非接触通信を必要とするコマンドの受信によりCLF13を活性化させるときの処理の流れの一例を示すシーケンス図である。
(Example 3)
The third embodiment is an example of activating the CLF 13 by receiving a command requiring non-contact communication, when the CLF 13 is inactivated. FIG. 6 is a sequence diagram showing an example of a process flow when activating the CLF 13 by receiving a command requiring non-contact communication when the CLF 13 is inactivated.

図6において、ベースバンドプロセッサ11は、非接触通信を必要とするコマンドをUIMカード14へ送信する(ステップS41)。CLF13が非活性化しているときに、UIMカード14は、ベースバンドプロセッサ11から非接触通信を必要とするコマンド(第1のコマンドの一例)を受信した場合(つまり、所定の条件を満たす場合としての上記(iii)の場合)、上記コマンドに対するレスポンスとして、SW91XXをベースバンドプロセッサ11へ送信する(ステップS42)。ここで、UIMカード14は、I/O回路145のC6端子の電圧レベルから、CLF13が非活性状態にあることを判断する。   In FIG. 6, the baseband processor 11 transmits a command requiring non-contact communication to the UIM card 14 (step S41). When the UIM card 14 receives a command (an example of a first command) requiring non-contact communication from the baseband processor 11 when the CLF 13 is inactivated (that is, a case where a predetermined condition is satisfied) In the case of (iii) above, the SW 91XX is transmitted to the baseband processor 11 as a response to the command (step S42). Here, the UIM card 14 determines from the voltage level of the C6 terminal of the I / O circuit 145 that the CLF 13 is in the inactive state.

ベースバンドプロセッサ11は、UIMカード14からSW91XXを受信すると、FETCHコマンドをUIMカード14へ送信する(ステップS43)。UIMカード14は、ベースバンドプロセッサ11からFETCHコマンドを受信すると、CLF13を活性化させる要求(以下、「活性化要求」という)を示すProactiveコマンド及びSW9000をベースバンドプロセッサ11へ送信する(ステップS44)。ベースバンドプロセッサ11は、活性化要求を示すProactiveコマンド及びSW9000を受信すると、CLF13を活性化させる指示(以下、「活性化指示」という)をCLF13へ送信する(ステップS45)。CLF13は、ベースバンドプロセッサ11から活性化指示を受信すると、活性化を示すレスポンスをベースバンドプロセッサ11へ送信する(ステップS46)。こうして、CLF13は、活性化する。   When the baseband processor 11 receives the SW 91 XX from the UIM card 14, the baseband processor 11 transmits a FETCH command to the UIM card 14 (step S 43). When the UIM card 14 receives the FETCH command from the baseband processor 11, the UIM card 14 transmits, to the baseband processor 11, a Proactive command indicating a request for activating the CLF 13 (hereinafter referred to as "activation request") and SW 9000 (step S44). . When the baseband processor 11 receives the Proactive command indicating the activation request and the SW 9000, the baseband processor 11 transmits an instruction to activate the CLF 13 (hereinafter, referred to as "activation instruction") to the CLF 13 (step S45). When the CLF 13 receives the activation instruction from the baseband processor 11, it transmits a response indicating the activation to the baseband processor 11 (step S46). Thus, the CLF 13 is activated.

ベースバンドプロセッサ11は、CLF13から活性化を示すレスポンスを受信すると、TERMINAL RESPONSEコマンドをUIMカード14へ送信する(ステップS47)。UIMカード14は、ベースバンドプロセッサ11からTERMINAL RESPONSEコマンドを受信すると、SW9000をベースバンドプロセッサ11へ送信する(ステップS48)。その後、図4に示すステップS11〜ステップS15の処理と同様、ステップS49〜ステップS52の処理が行われる。   When the baseband processor 11 receives a response indicating activation from the CLF 13, the baseband processor 11 transmits a TERMINAL RESPONSE command to the UIM card 14 (step S47). Upon receiving the TERMINAL RESPONSE command from the baseband processor 11, the UIM card 14 transmits an SW 9000 to the baseband processor 11 (step S48). Thereafter, the processes of steps S49 to S52 are performed as in the processes of steps S11 to S15 shown in FIG.

実施例3によれば、UIMカード14においてCLF13が非活性化しているときにベースバンドプロセッサ11から非接触通信を必要とするコマンドが受信された場合に、FETCHコマンドの送受信を経て、CLF13の非活性化要求を示すレスポンスがUIMカード14からベースバンドプロセッサ11へ送信されるように構成したので、CLF13が非活性化中であっても、迅速にCLF13を活性化することができる。   According to the third embodiment, when a command requiring non-contact communication is received from the baseband processor 11 when the CLF 13 in the UIM card 14 is inactivated, transmission and reception of the FETCH command are performed, and the non-CLF 13 is not transmitted. Since the response indicating the activation request is transmitted from the UIM card 14 to the baseband processor 11, the CLF 13 can be rapidly activated even while the CLF 13 is in the inactive state.

以上説明したように、上記実施形態によれば、UIMカード14は、ベースバンドプロセッサ11から受信したコマンドに対するレスポンスを利用して、CLF13を活性化または非活性化させる要求をベースバンドプロセッサ11へ送信するように構成したので、従来できなかった適切なタイミングでCLFを活性化または非活性化することができる。   As described above, according to the above embodiment, the UIM card 14 transmits a request to activate or deactivate the CLF 13 to the baseband processor 11 using a response to a command received from the baseband processor 11. Therefore, CLF can be activated or deactivated at an appropriate timing that has not been possible conventionally.

なお、上記実施形態においては、Proactiveコマンドを利用して、UIMカード14からベースバンドプロセッサ11に対して、活性化または非活性化させる要求を行うように構成したが、これ以外の方法で、UIMカード14からベースバンドプロセッサ11に対して、活性化または非活性化させる要求を行うように構成しても構わない。   In the above embodiment, the UIM card 14 is configured to make a request to activate or deactivate the baseband processor 11 using the Proactive command. The card 14 may be configured to request the baseband processor 11 to be activated or deactivated.

1 携帯端末
11 ベースバンドプロセッサ
12 バッテリー
13 CLF
14 UIMカード
141 CPU
142 RAM
143 ROM
144 不揮発性メモリ
145 I/O回路
1 Mobile terminal 11 Base band processor 12 Battery 13 CLF
14 UIM Card 141 CPU
142 RAM
143 ROM
144 Nonvolatile Memory 145 I / O Circuit

Claims (7)

携帯端末のコントローラとの間で通信を行う第1通信手段と、
外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2通信手段と、
を備え、
前記第1通信手段は、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とする電子情報記憶媒体。
First communication means for communicating with a controller of the portable terminal;
A second communication unit configured to perform communication with an IC chip having a function of performing contactless communication with an external device, the IC chip being activated or deactivated according to an instruction from the controller;
Equipped with
The first communication means transmits, to the controller, a request to activate or deactivate the IC chip using a first response to a first command received from the controller. Information storage medium.
前記ICチップが活性化しているときに前記第1通信手段により前記コントローラから前記第1のコマンドが受信された場合、前記第2通信手段は、当該第1のコマンドに対応する第2のコマンドを前記ICチップへ送信し、当該第2のコマンドに対する第2のレスポンスを前記ICチップから受信し、
前記ICチップから受信した前記第2のレスポンスから不正と判断された場合に、前記第1通信手段は、前記ICチップを非活性化させる要求を示す前記第1のレスポンスを前記コントローラへ送信することを特徴とする請求項1に記載の電子情報記憶媒体。
When the first command is received from the controller by the first communication unit while the IC chip is activated, the second communication unit transmits a second command corresponding to the first command. Send to the IC chip and receive a second response to the second command from the IC chip,
When it is determined that the second response received from the IC chip is incorrect, the first communication unit transmits the first response indicating a request to deactivate the IC chip to the controller. An electronic information storage medium according to claim 1, characterized by:
前記第1のコマンドは、前記携帯端末のタイマー機能により所定時間が経過したことを前記電子情報記憶媒体に知らせるためのコマンドであり、
前記第1通信手段は、前記ICチップが活性化しているときに前記コントローラから前記第1のコマンドを受信した場合、前記ICチップを非活性化させる要求を示す前記第1のレスポンスを前記コントローラへ送信することを特徴とする請求項1に記載の電子情報記憶媒体。
The first command is a command for notifying the electronic information storage medium that a predetermined time has elapsed by the timer function of the portable terminal.
When the first communication means receives the first command from the controller while the IC chip is activated, the first response indicating the request to inactivate the IC chip is sent to the controller. The electronic information storage medium according to claim 1, wherein the electronic information storage medium is transmitted.
前記第1通信手段は、前記ICチップが非活性化しているときに前記コントローラから前記第1のコマンドを受信した場合、前記ICチップを活性化させる要求を示す前記第1のレスポンスを前記コントローラへ送信することを特徴とする請求項1に記載の電子情報記憶媒体。   The first communication unit sends the first response indicating a request to activate the IC chip to the controller when the first command is received from the controller while the IC chip is inactivated. The electronic information storage medium according to claim 1, wherein the electronic information storage medium is transmitted. 携帯端末のコントローラとの間で通信を行う第1通信手段と、
外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2通信手段と、
を備え、
前記第1通信手段は、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とするICカード。
First communication means for communicating with a controller of the portable terminal;
A second communication unit configured to perform communication with an IC chip having a function of performing contactless communication with an external device, the IC chip being activated or deactivated according to an instruction from the controller;
Equipped with
The first communication means transmits a request to activate or deactivate the IC chip to the controller using a first response to a first command received from the controller. card.
コンピュータにより実行される活性化制御方法であって、
携帯端末のコントローラとの間で通信を行う第1通信ステップと、
外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2ステップと、
を含み、
前記第1通信ステップにおいては、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とする活性化制御方法。
A computer implemented activation control method comprising:
A first communication step of communicating with the controller of the portable terminal;
A second step of performing communication with an IC chip having a function of performing non-contact communication with the outside, the IC chip being activated or deactivated according to an instruction from the controller;
Including
In the first communication step, a request for activating or deactivating the IC chip is transmitted to the controller using a first response to a first command received from the controller. Activation control method.
コンピュータを、
携帯端末のコントローラとの間で通信を行う第1通信手段と、
外部との間で非接触通信を行う機能を有するICチップであって、前記コントローラからの指示に応じて活性化または非活性化するICチップとの間で通信を行う第2通信手段として機能させ、
前記第1通信手段は、前記コントローラから受信した第1のコマンドに対する第1のレスポンスを利用して、前記ICチップを活性化または非活性化させる要求を前記コントローラへ送信することを特徴とするプログラム。
Computer,
First communication means for communicating with a controller of the portable terminal;
An IC chip having a function of performing non-contact communication with an external device, which functions as a second communication unit for performing communication with the IC chip that is activated or deactivated according to an instruction from the controller ,
The program is characterized in that the first communication means transmits a request to activate or deactivate the IC chip to the controller using a first response to a first command received from the controller. .
JP2017081935A 2017-04-18 2017-04-18 Electronic information storage medium, IC card, activation control method, and program Active JP6863032B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017081935A JP6863032B2 (en) 2017-04-18 2017-04-18 Electronic information storage medium, IC card, activation control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017081935A JP6863032B2 (en) 2017-04-18 2017-04-18 Electronic information storage medium, IC card, activation control method, and program

Publications (2)

Publication Number Publication Date
JP2018181092A true JP2018181092A (en) 2018-11-15
JP6863032B2 JP6863032B2 (en) 2021-04-21

Family

ID=64276765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017081935A Active JP6863032B2 (en) 2017-04-18 2017-04-18 Electronic information storage medium, IC card, activation control method, and program

Country Status (1)

Country Link
JP (1) JP6863032B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012033163A (en) * 2010-07-09 2012-02-16 Dainippon Printing Co Ltd Communication apparatus, communication method and communication processing program
JP2012141754A (en) * 2010-12-28 2012-07-26 Dainippon Printing Co Ltd Ic chip, processing method in ic chip, processing program for ic chip, and portable terminal
JP2012194926A (en) * 2011-03-17 2012-10-11 Toshiba Corp Portable electronic equipment and ic card
JP2016057824A (en) * 2014-09-09 2016-04-21 株式会社東芝 Ic card, ic module and portable terminal
JP2017058857A (en) * 2015-09-15 2017-03-23 株式会社東芝 IC card and IC module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012033163A (en) * 2010-07-09 2012-02-16 Dainippon Printing Co Ltd Communication apparatus, communication method and communication processing program
JP2012141754A (en) * 2010-12-28 2012-07-26 Dainippon Printing Co Ltd Ic chip, processing method in ic chip, processing program for ic chip, and portable terminal
JP2012194926A (en) * 2011-03-17 2012-10-11 Toshiba Corp Portable electronic equipment and ic card
JP2016057824A (en) * 2014-09-09 2016-04-21 株式会社東芝 Ic card, ic module and portable terminal
JP2017058857A (en) * 2015-09-15 2017-03-23 株式会社東芝 IC card and IC module

Also Published As

Publication number Publication date
JP6863032B2 (en) 2021-04-21

Similar Documents

Publication Publication Date Title
JP4539071B2 (en) Portable wireless communication device.
US8630585B2 (en) Method and apparatus for communicating with external interface device using contactless
EP2221984A1 (en) Wireless communication device for providing at least one near field communication service
JP6680304B2 (en) Information processing apparatus, information processing method, and program
US20160234784A1 (en) Communication apparatus, control method for communication apparatus, communication system, and program
EP2437200A2 (en) Method and apparatus for detecting insertion of SIM card in a portable terminal
EP2377291B1 (en) Portable mobile communication device and method of controlling near field communication
EP3170322B1 (en) Electronic device, controller and control method for nfc
JP2010218450A (en) Mobile electronic apparatus and mobile terminal system
CN105556492A (en) Near field communication (NFC) data transfer
CN101515814A (en) Enhanced near field communication device and realization method thereof
JP6863032B2 (en) Electronic information storage medium, IC card, activation control method, and program
JP5516323B2 (en) IC chip, IC chip initialization method, IC chip processing program, portable terminal
US11652512B2 (en) Fast NFC processing
JP5724694B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROCESSING PROGRAM
US9418254B2 (en) Integrated circuit film and method for manipulating the same
JP2012093857A (en) Ic chip, memory initialization method for ic chip, processing program for ic chip, and portable terminal
JP6766505B2 (en) Electronic information storage medium, judgment method, and judgment program
EP2202675A1 (en) Reader/writer and authentication system using the reader/writer
JP2013097526A (en) Ic chip, processing method in ic chip, processing program for ic chip, and ic card
JP5724701B2 (en) IC chip, processing method in IC chip, IC chip processing program, and portable terminal
EP2400369B1 (en) A method for polling a universal integrated circuit card and an integrated circuit having an independent polling circuit
JP2008135852A (en) Subscriber authentication module, non-contact ic chip, authentication vector generating device, mobile communication system, and authentication vector generating method
JP2008113110A (en) Short-distance radio device and short-distance radio communication system, and communication capability control method thereof
JP2009187495A (en) Information processing unit, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210315

R150 Certificate of patent or registration of utility model

Ref document number: 6863032

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150