JP2004038796A - Multifunctional ic card and its control method - Google Patents

Multifunctional ic card and its control method Download PDF

Info

Publication number
JP2004038796A
JP2004038796A JP2002197801A JP2002197801A JP2004038796A JP 2004038796 A JP2004038796 A JP 2004038796A JP 2002197801 A JP2002197801 A JP 2002197801A JP 2002197801 A JP2002197801 A JP 2002197801A JP 2004038796 A JP2004038796 A JP 2004038796A
Authority
JP
Japan
Prior art keywords
functional unit
unit
command
functional
external interface
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
JP2002197801A
Other languages
Japanese (ja)
Other versions
JP4057360B2 (en
Inventor
Seiji Nakamura
中村 清治
Kazuya Iwata
岩田 和也
Isao Kato
加藤 勇雄
Tetsushi Kasahara
笠原 哲志
Tatsuya Adachi
足立 達也
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002197801A priority Critical patent/JP4057360B2/en
Publication of JP2004038796A publication Critical patent/JP2004038796A/en
Application granted granted Critical
Publication of JP4057360B2 publication Critical patent/JP4057360B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a multifunctional IC card and its control method capable of reducing electric power consumption when using the card as a simplex IC card by stopping a current of an unused functional unit. <P>SOLUTION: The multifunctional IC card can stop operation in units of function. In regard to a type enquiry command of the multifunctional IC card, it returns a response that it is a simplex IC card with only functional units that are not stopped to a host. By this, the host recognizes that a simplex IC card is connected, and it issues only commands to functional units that are not stopped. An external interface part of the multifunctional IC card does not transmit a command or the like to stopped functional units. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は多機能ICカード及びその制御方法に関する。
【0002】
【従来の技術】
近年、ICカードはパーソナルコンピュータのみならずデジタルスチールカメラ、PDA等の携帯情報機器の記憶媒体として注目されている。さらにはこの薄型のプラスチックパッケージに多機能を有するICカードも市場に登場している。
図13を用いて、従来の多機能ICカードについて説明する。
はじめに従来の多機能ICカードの構成について説明する。図13は従来の多機能ICカードの構成を示すブロック図である。図13において、101ホスト、1311は多機能ICカードである。ホスト101は入出力部102を有する。また、多機能ICカード1311は外部インターフェース部1313、第1の機能ユニット114、第2の機能ユニット115を有する。第1の機能ユニット114は入出力部125、入出力部125を通して情報を入出力する制御部126、制御部126により制御されて動作する機能動作部127を有する。同様に第2の機能ユニット115は入出力部128、入出力部128を通して情報を入出力する制御部129、制御部129により制御されて動作する機能動作部130を有する。
【0003】
次に従来の多機能ICカードの制御の概要について説明する。ホストからの第1の機能ユニット114、第2の機能ユニット115宛の指令は、ホスト101の入出力部102から多機能ICカード1311に入力される。多機能ICカード1311に入力された指令は、外部インターフェース部1313を経由して第1の機能ユニット114、第2の機能ユニット115に伝送される。
ホストから伝送されるコマンドに応じて、ICカードは多機能を発揮する。
【0004】
【発明が解決しようとする課題】
しかし、ICカードが多機能になる程、その回路が大規模になるため、ICカードの消費電力が増大するという問題があった。
例えばユーザが第1の機能ユニットのみを使用した場合にも、従来のICカードでは全回路(第1の機能ユニット及び第2の機能ユニット)が動作していた故に、無駄な電力を消費していたという問題があった。
【0005】
本発明は、ユーザが実際に使用する機能を発揮し、且つ不要な電力を消費しない多機能ICカード及びその制御方法を提供することを目的とする。
本発明は、実際に使用しない機能ユニットを停止させた状態で、外部装置(例えばホスト)との間で混乱を生じることなく通信を行う多機能ICカード及びその制御方法を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記課題を解決するため、本発明は下記の構成を有する。
請求項1に記載の発明は、複数の機能ユニットを有し、少なくとも1つの機能ユニットが、機能ユニット単位で動作停止可能であることを特徴とする多機能ICカードである。
「機能ユニット」とは、1つのまとまった商品機能を発揮する単位を意味する。即ち、取扱説明書にその説明が記載される程度のまとまった機能を意味する。例えば無線通信モジュール、メモリモジュール等である。ユーザが認識しない機能要素(例えばラッチ回路)より大きな単位である。
「動作停止」とは、機能ユニットがその商品機能を発揮しなくなった状態を言う。機能ユニットの一部の回路(例えば論理回路)が動作していても、機能ユニット全体としてその商品機能を発揮しなくなっていれば、動作停止である。
好ましくは、停止状態の機能ユニットの消費電力は、動作状態の機能ユニットの消費電力よりも大幅に小さい(例えば半分以下である。)。
【0007】
請求項2に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信された情報を入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送された情報を入力して外部に出力する外部インターフェース部と、を有し、前記外部インターフェース部は、動作の停止している前記機能ユニットに情報を伝送しないことを特徴とする多機能ICカードである。
「前記外部インターフェース部は、動作の停止している前記機能ユニットに情報を伝送しないこと」とは、外部インターフェース部が情報を出力しないこと、機能ユニットの入出力部が情報を入力しないこと、外部インターフェース部が情報を出力せず且つ機能ユニットの入出力部が情報を入力しないことのいずれでも良い。
【0008】
請求項3に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有し、前記機能ユニット部は、外部からのICカードのタイプの問い合わせコマンドに対して、動作の停止していない前記機能ユニットのみの存在を知らせるレスポンスを生成し、前記外部インターフェース部に出力することを特徴とする多機能ICカードである。
「ICカードのタイプ」とは、通信により伝送される、ICカードの機能を識別可能な任意の情報を意味する。例えば「11H」が8MBのメモリ(「H」は16進法を意味する。)、「12H」が16MBのメモリ、「21H」がBluetoothモジュールを示す場合、「11H」、「12H」、「21H」等はタイプの1種である。
【0009】
請求項4に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有し、前記機能ユニットが入力したコマンドが、他の前記機能ユニットの機能を停止させるコマンドであれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、他の前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカードである。
【0010】
請求項5に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有し、前記機能ユニットが入力したコマンドの順序が、他の前記機能ユニットの機能を停止させるコマンドの順序であれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、他の前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカードである。
【0011】
請求項6に記載の発明は、前記機能ユニットが入力したコマンドが、前記機能ユニットを初期状態に戻すリセットコマンドであれば、前記機能ユニットは前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送するようにすることを特徴とする請求項4又は5に記載の多機能ICカードである。
【0012】
請求項7に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有し、前記機能ユニットが入力したコマンドが、前記機能ユニットの機能を停止させるコマンドであれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカードである。
【0013】
請求項8に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有し、前記機能ユニットが入力したコマンドの順序が、前記機能ユニットの機能を停止させるコマンドの順序であれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカードである。
【0014】
請求項9に記載の発明は、他の前記機能ユニットが入力したコマンドが、他の前記機能ユニットを初期状態に戻すリセットコマンドであれば、他の前記機能ユニットは前記機能ユニットに状態信号を出力し、前記機能ユニットは前記制御信号を元に前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が前記機能ユニットにコマンドを伝送するようにすることを特徴とする請求項7又は8に記載の多機能ICカードである。
【0015】
請求項10に記載の発明は、複数の機能ユニットを有する多機能ICカードの制御方法であって、1つの機能ユニットを機能ユニット単位で動作停止する動作停止ステップを有することを特徴とする多機能ICカードの制御方法である。
【0016】
請求項11に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信された情報を入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送された情報を入力して外部に出力する外部インターフェース部と、を有するICカードの制御方法であって、前記外部インターフェース部から動作中の前記機能ユニットに情報を伝送する伝送ステップと、前記外部インターフェース部から動作の停止中の前記機能ユニットに情報を伝送しない停止ステップと、を有することを特徴とする多機能ICカードの制御方法である。
【0017】
請求項12に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットを有するICカードの制御方法であって、外部からのICカードのタイプの問い合わせコマンドを受信する受信ステップと、それに対して、動作の停止していない前記機能ユニットのみの存在を知らせるレスポンスを生成し、外部に送信する送信ステップと、を有することを特徴とする多機能ICカードの制御方法である。
【0018】
請求項13に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有するICカードの制御方法であって、前記機能ユニット及び他の前記機能ユニットが、他の前記機能ユニットの機能を停止させる停止コマンドを受信する受信ステップと、前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、前記受信ステップの後、他の前記機能ユニットの機能が停止する機能停止ステップと、を有することを特徴とする多機能ICカードの制御方法である。
【0019】
請求項14に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有するICカードの制御方法であって、前記機能ユニット及び他の前記機能ユニットが、他の前記機能ユニットの機能を停止させる順序でコマンドを受信する受信ステップと、前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、前記受信ステップの後、他の前記機能ユニットの機能が停止する機能停止ステップと、を有することを特徴とする多機能ICカードの制御方法である。
【0020】
請求項15に記載の発明は、前記機能ユニットが、前記機能ユニットを初期状態に戻すリセットコマンドを受信するリセットコマンド受信ステップと、前記リセットコマンド受信ステップの後、前記機能ユニットは前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送するようにするコマンド伝送再開ステップと、を更に有することを特徴とする請求項13又は14に記載の多機能ICカードの制御方法である。
【0021】
請求項16に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有するICカードの制御方法であって、前記機能ユニットが、前記機能ユニットの機能を停止させる停止コマンドを受信する受信ステップと、前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、前記受信ステップの後、前記機能ユニットの機能が停止する機能停止ステップと、を有することを特徴とする多機能ICカードの制御方法である。
【0022】
請求項17に記載の発明は、少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、を有するICカードの制御方法であって、前記機能ユニットが、前記機能ユニットの機能を停止させる順序でコマンドを受信する受信ステップと、前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、前記受信ステップの後、前記機能ユニットの機能が停止する機能停止ステップと、を有することを特徴とする多機能ICカードの制御方法である。
【0023】
請求項18に記載の発明は、他の前記機能ユニットが、他の前記機能ユニットを初期状態に戻すリセットコマンドを受信するリセットコマンド受信ステップと、前記リセットコマンド受信ステップの後、他の前記機能ユニットは前記機能ユニットに状態信号を伝送する状態信号伝送ステップと、前記状態信号伝送ステップの後、前記機能ユニットは前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送するようにするコマンド伝送再開ステップと、を更に有することを特徴とする請求項16又は17に記載の多機能ICカードの制御方法である。
【0024】
本発明は、動作の停止した使用しない機能ユニットが存在する場合、電流を停止させて電力消費を軽減することができる多機能ICカード及びその制御方法を実現できるという作用を有する。
本発明は、ユーザが実際に使用する機能を発揮し、且つ不要な電力を消費しない多機能ICカード及びその制御方法を実現出来るという作用を有する。
本発明は、実際に使用しない機能ユニットを停止させた状態で、外部装置(例えばホスト)との間で混乱を生じることなく通信を行う多機能ICカード及びその制御方法を実現出来るという作用を有する。
【0025】
【発明の実施の形態】
以下、本発明の実施をするための最良の形態を具体的に示した実施例について、図面とともに記載する。
【0026】
《実施例1》
図1〜3を用いて、本発明の実施例1の多機能ICカードについて説明する。はじめに実施例1の多機能ICカードの構成について説明する。図1は本発明の実施例1の多機能ICカードの構成を示すブロック図である。図1において、101はホスト(実施例1においてはコンピュータである。)、111は多機能ICカードである。ホスト101は入出力部102を有する。また、多機能ICカード111は機能ユニットON/OFF制御部112、外部インターフェース部113、第1の機能ユニット114、第2の機能ユニット115を有する。外部インターフェース部113は、入出力制御部121、ANDゲート133、134を有する。
第1の機能ユニット114は入出力部125、入出力部125を通して情報を入出力する制御部126、制御部126により制御されて動作する機能動作部127を有する。同様に第2の機能ユニット115は入出力部128、入出力部128を通して情報を入出力する制御部129、制御部129により制御されて動作する機能動作部130を有する。
【0027】
実施例1では、第1の機能ユニット114はBluetooth(登録商標)モジュール(無線通信モジュール)、第2の機能ユニット115はFlash Memoryモジュールである。
実施例1では、機能ユニットON/OFF制御部112は第1の機能ユニットのON/OFF制御スイッチ、及び第2の機能ユニットのON/OFF制御スイッチで構成されている。
【0028】
第1の機能ユニットのON/OFF制御スイッチをOFFにすると、第1の機能ユニット停止信号(Lowレベル)が、第1の機能ユニット114、第2の機能ユニット115の入出力部128、外部インターフェース部113の入出力制御部121並びにANDゲート133に伝送される。
上記第1の機能ユニット停止信号により、第1の機能ユニット114は動作を停止する。
上記第1の機能ユニット停止信号により、第2の機能ユニット115の入出力部128は、第1の機能ユニット114が停止していることを知る。例えば、ホスト101から2つの機能ユニット114、115のいずれもが処理不可能なコマンドを入力した場合、第1の機能ユニット停止信号を元に第1の機能ユニット114が停止していることを知ることができる故に、第2の機能ユニット115の入出力部128がレスポンスを返す。また、ホスト101からタイプを問い合わせるコマンドを入力した場合、第1の機能ユニット停止信号を元に第1の機能ユニット114が停止していることを知ることができる故に、第2の機能ユニット115の入出力部128が、第2の機能ユニット115のみが存在するというレスポンスを返す。
上記第1の機能ユニット停止信号により、ANDゲート133は外部インターフェース部113と第1の機能ユニット114との間の通信を停止させる。
【0029】
第2の機能ユニットのON/OFF制御スイッチをOFFにすると、第2の機能ユニット停止信号(Lowレベル)が、第2の機能ユニット115、第1の機能ユニット114の入出力部125、外部インターフェース部113の入出力制御部121並びにANDゲート134に伝送される。
これにより、第2の機能ユニット115は動作を停止し、他のブロックは、上記と同様の動作をする。
【0030】
次に実施例1の多機能ICカードの制御の概要について説明する。機能ユニットON/OFF制御部112の第1の機能ユニットのON/OFFスイッチがOFFされると、第1の機能ユニット114は停止し、その消費電力がほぼ0になる。具体的には、第1の機能ユニット114への電力供給が停止される、または第1の機能ユニット114へのクロック入力が停止される、またはその両方により、第1の機能ユニット114は停止する。CMOS構造のICでは、機能ユニットへのクロック入力を停止すると、その回路消費電力をほぼ0にすることができる。
同様に、機能ユニットON/OFF制御部112の第2の機能ユニットのON/OFFスイッチがOFFされると、第2の機能ユニット115は停止し、その消費電力がほぼ0になる。
【0031】
ホスト101のICカードスロットにICカード111を挿入すると、又はICカード111を挿入した状態でホスト101の電源を投入すると、ホスト101は、ICカード111にそのタイプを問い合わせる(タイプリクエストコマンドを送信する。)。
第1の機能ユニット114及び第2の機能ユニット115が共に動作している場合、第1の機能ユニット114内の入出力部125及び第2の機能ユニット内の入出力部128は、機能ユニットON/OFF制御部112からの情報(両機能ユニットが停止していないという情報)を元に第1の機能ユニット114のタイプ番号(例えば「21H」)及び第2の機能ユニット115のタイプ番号(例えば「11H」)を引数とするレスポンス(例えばタイプ番号のレスポンスを「86H」とすると、「86H 21H 11H」)を生成し、外部インターフェース113を通してホスト101に返す。(第1の機能ユニット114内の入出力部125及び第2の機能ユニット115内の入出力部128の両方がレスポンスを返しても、外部インターフェース部113内の入出力制御部121が任意で決められた機能ユニットからのレスポンスのみホスト101に返すので、データが壊れる心配はない。)ホスト101は、第1の機能ユニット114及び第2の機能ユニット115を有するICカードが接続されていることを認識する。
ホスト101は、外部インターフェース113を通して2つの機能ユニットにコマンド(又はコマンド及びデータ)を送信し、2つの機能ユニットは、外部インターフェース113を通してホスト101にレスポンス(又はレスポンス及びデータ)を返す。
【0032】
ホスト101が第1の機能ユニット114が停止しているICカード111に、そのタイプを問い合わせてきた場合、第2の機能ユニット115内の入出力部128は、外部インターフェース113を通してホスト101に第2の機能ユニット115のみであることを伝える。具体的には、ホスト101から多機能ICカード111にタイプの問い合わせがあると、第2の機能ユニット115内の入出力部128は、機能ユニットON/OFF制御部112から送られた第1の機能ユニット停止信号(Low)を元に、第2の機能ユニット115のタイプ番号(例えば「11H」)のみを引数とするレスポンス(例えば「86H 11H」)を返す。これにより、ホスト101は第2の機能ユニット115のみを有するICカードが接続されていることを認識する。
ホスト101は、外部インターフェース113を通して第2の機能ユニット115にコマンド(又はコマンド及びデータ)を送信し、第2の機能ユニット115は、外部インターフェース113を通してホスト101にレスポンス(又はレスポンス及びデータ)を返す。ホスト101は停止中の第1の機能ユニット114を認識していない故に、第1の機能ユニット宛のコマンドを出力しない。
【0033】
ホスト101とICカード111との間では、ホスト101をマスターとし、第1の機能ユニット114及び第2の機能ユニット115をスレーブとする通信が行われる。実施例においては、同期式通信を行うが、これに限られず、非同期通信であっても良い。外部インターフェース部113は、その通信を仲介する。実施例において、ホスト101と外部インターフェース部113との間の通信と、外部インターフェース部113と各機能ユニット114、115との間の通信とは、同一の通信方式を採用している。
外部インターフェース部113は、ホストから送られた全てのコマンドを全ての機能ユニット114、115に転送する(機能ユニットが動作を停止している場合を除く。)。外部インターフェース部113は、ICカード全体に関するコマンド(例えば、タイプの問い合わせコマンド)に対しても全ての機能ユニット114、115に転送する。外部インターフェース部113は、コマンド、データに対して、各機能ユニット114、115が生成したレスポンスを入力し、ホストに送信する。
【0034】
上述のように、第1の機能ユニット114及び第2の機能ユニット115が共に動作している場合、外部インターフェース113はホストからのコマンド、データを第1の機能ユニット114及び第2の機能ユニット115の両方に伝送する。又、第1の機能ユニット114及び第2の機能ユニット115から送られたレスポンス、データを入力し、ホスト101に送信する。
図1において、ホストから転送されたクロックは、ANDゲート133を通して入出力部125とANDゲート134を通して入出力部128に送られる。これにより、外部インターフェース部113と各機能ユニット114、115との間の通信が実行される。
【0035】
第1の機能ユニット114が停止している場合、外部インターフェース部113は第1の機能ユニット114との間のデータ伝送を停止する。具体的には、外部インターフェース部113が情報を出力せず、且つ動作を停止した第1の機能ユニット114にクロック信号を伝送しない。入出力制御部121は機能ユニットON/OFF制御部112から送られた第1の機能ユニット114停止信号(Lowレベル)を入力して、ホスト101から転送されたコマンド、データを出力しない。ANDゲート133は、機能ユニットON/OFF制御部112から送られた第1の機能ユニット114停止信号(Lowレベル)を入力して、ホスト101から転送されたクロックを阻止する。
外部インターフェース部113と各機能ユニット114、115との間の通信が非同期通信方式の場合は、ホスト101から転送されたクロックを、ANDゲート133を通して入出力部125に送り、ANDゲート134を通して入出力部128に送る。第1の機能ユニット114が停止している場合、外部インターフェース部113は第1の機能ユニット114に情報を出力しない。
外部インターフェース部113が第1の機能ユニット114との間のデータ転送を停止し、第1の機能ユニット114は機能を停止する。
第1の機能ブロック114が動作を停止することにより、省電力化を図ることが出来る。
【0036】
第1の機能ユニット114及び第2の機能ユニット115が共に動作している場合、ホスト101からコマンドを入力すると、そのコマンドの内容に応じて第1の機能ユニット114又は第2の機能ユニット115が処理を行い、レスポンスを返す。例えば、ホスト101から、データを無線通信で出力するコマンド及びデータを入力した場合、無線通信モジュールである第1の機能ユニット114はホストにレスポンス(ACK)を返し、ホストから送られたデータを送信する。例えば、ホスト101から、メモリからデータを読み出すコマンド及びデータを入力した場合、Flash Memoryモジュールである第2の機能ユニット115は、メモリからデータを読み出し、ホストにレスポンス及び読み出したデータを送信する。
【0037】
第1の機能ユニット114が停止している場合、機能ユニットON/OFF制御部112は第2の機能ユニット115に、第1の機能ユニット114停止信号(Lowレベル)を伝える。その後、多機能ICカードがホストからコマンドを受信すると、第2の機能ユニット115のみがレスポンスを返す。もし例えば、ホスト101から、データを無線通信で出力するコマンド及びデータを入力したならば(実際には、ホストが停止中の機能ユニット宛のコマンドを出力することはない。)、Flash Memoryモジュールである第2の機能ユニット115はホストにレスポンス(NACK)を返す。
【0038】
次に実施例1の多機能ICカードの機能ユニットの停止制御について説明する。本実施例の多機能ICカード111は、多機能ICカードに内蔵されている機能ユニットON/OFF制御部112の2個のスイッチをユーザが操作することにより機能ユニットを停止させる。
図2は本発明の実施例1の多機能ICカードの機能ユニットの停止制御のフローチャートである。まずステップ201で、機能ユニットON/OFF制御部112は、第1の機能ユニット114の停止命令か否か判断する。第1の機能ユニット114の停止命令である場合は(OFF状態)、ステップ202で外部インターフェース部113は、第1の機能ユニット114との間のデータ伝送を停止する。ステップ203で、第1の機能ユニット114は停止する。ステップ201で第1の機能ユニット114の停止命令でない場合は(ON状態)、ステップ204に進み、機能ユニットON/OFF制御部112からの情報に基づき第1の機能ユニット114は動作する。ステップ205で外部インターフェース部113は、第1の機能ユニット114との間のデータ伝送を実行する。
【0039】
ステップ206で、機能ユニットON/OFF制御部112は、第2の機能ユニット115の停止命令か否か判断する。第2の機能ユニット115の停止命令である場合は(OFF状態)、ステップ207で外部インターフェース部113は、第2の機能ユニット115との間のデータ伝送を停止する。ステップ208で第2の機能ユニット115は停止する。ステップ206で第2の機能ユニット115の停止命令でない場合は(ON状態)、ステップ209に進み、機能ユニットON/OFF制御部112からの情報に基づき第2の機能ユニット115は動作する。ステップ210で外部インターフェース部113は、第2の機能ユニット115との間のデータ伝送を実行する。
【0040】
次に実施例1の多機能ICカードのホストからのコマンドの制御について説明する。ホストは、まずはじめに接続されている機器が何であるかを認識するためのコマンドを発行する。認識後、その機器で処理可能なコマンドを発行する。
図3は本発明の実施例1の多機能ICカードがホストからコマンドを入力した場合の制御フローチャートである。まずステップ301で、ホスト101の入出力部102から多機能ICカード111の外部インターフェース部113に、多機能ICカードのタイプ問い合せコマンドが入力される。ステップ302で外部インターフェース部113の入出力制御部121は、第1の機能ユニット114が動作しているか否か判断する。動作している場合は、ステップ303に進む。ステップ303で外部インターフェース部113の入出力制御部121は、第2の機能ユニット115が動作しているか否か判断する。
【0041】
動作している場合(第1の機能ユニット114及び第2の機能ユニット115が共に動作している場合)は、ステップ304に進む。ステップ304で入出力制御部121は、両方の機能ユニット114及び115にコマンドを出力する。両機能ユニットの入出力部125及び128は、第1の機能ユニット114及び第2の機能ユニット115を有する多機能ICカードであるというレスポンスを、外部インターフェース部113を通してホスト101に出力する。
例えばタイプ番号のレスポンスを「86H」、第1の機能ユニット114のタイプ番号を「21H」、第2の機能ユニット115のタイプ番号を「11H」とすると、入出力部125及び128は、2つのタイプ番号を引数とするレスポンス「86H 21H 11H」を生成し、ホスト101に返す。
【0042】
これにより、ホスト101は、第1の機能ユニット114及び第2の機能ユニット115が接続されていることを認識する。ステップ305でホスト101から新たなコマンド(第1の機能ユニット114及び/又は第2の機能ユニット115宛のコマンド)が入力される。ステップ306で第1の機能ユニット114又は第2の機能ユニット115が、新たなコマンドに対しレスポンスを出力する。
【0043】
ステップ303で第2の機能ユニット115が停止している場合(第1の機能ユニット114は動作しているが、第2の機能ユニット115は停止している場合)は、ステップ307に進む。ステップ307で入出力制御部121は、第1の機能ユニット114にコマンドを出力する。第1の機能ユニット114の入出力部125は、第1の機能ユニット114を有するICカードであるというレスポンスを、外部インターフェース部113を通してホスト101に出力する。入出力部125は、第1の機能ユニット114のタイプ番号のみを引数とするレスポンス「86H 21H」を生成し、ホスト101に返す。
これにより、ホスト101は、第1の機能ユニット114のみが接続されていることを認識する。ステップ308でホスト101から新たなコマンド(第1の機能ユニット114宛のコマンド)が入力される。ステップ309で第1の機能ユニット114が、新たなコマンドに対しレスポンスを出力する。
【0044】
ステップ302で第1の機能ユニット114が停止している場合は、ステップ310に進む。ステップ310でステップ303と同様に、外部インターフェース部113の入出力制御部121は、第2の機能ユニット115が動作しているか否か判断する。動作している場合(第1の機能ユニット114は停止しているが、第2の機能ユニット115は動作している場合)は、ステップ311に進む。ステップ311で入出力制御部121は、第2の機能ユニット115にコマンドを出力する。第2の機能ユニット115の入出力部128は、第2の機能ユニット115を有するICカードであるというレスポンスを外部インターフェース部113を通してホスト101に出力する。入出力部128は、第2の機能ユニット115のタイプ番号のみを引数とするレスポンス「86H 11H」を生成し、ホスト101に返す。
これにより、ホスト101は、第2の機能ユニット115のみが接続されていることを認識する。ステップ312でホスト101から新たなコマンド(第2の機能ユニット115宛のコマンド)が入力される。ステップ313で第2の機能ユニット115が、新たなコマンドに対しレスポンスを出力する。
【0045】
ステップ303で第2の機能ユニット115が停止している場合(第1の機能ユニット114及び第2の機能ユニット115が共に停止している場合)は、ステップ314に進む。ステップ314で入出力制御部121は、どの機能ユニットにもコマンドを出力しないため、多機能ICカード111はレスポンスを出力しない。ホスト101は、何も接続されていないことを認識する。ホスト101は、何のコマンドも出力しない。
上述の様に、外部インターフェース部113が動作している機能ブロックのみの存在をホストに知らせることにより、その後、混乱を生じることなく(例えば、ホストが停止中の機能ユニットに宛ててコマンドを出力することなく)、ホスト101とICカード111との間の通信を実行できる。全ての機能ユニットが停止している場合は、無駄な通信を実行しない(省電力になる。)。
【0046】
本実施例においては、第1の機能ユニット114を停止させる場合について述べたが、これに代えて第2の機能ユニット115を停止させる場合も同様の効果を有する。
本発明の実施例1は、従来の多機能ICカードに機能ユニットON/OFF制御部を追加することにより、使用しない機能ユニットの電流を停止することができ、且つホストとの通信において混乱を生じない簡単な構成の省電力の多機能ICカードを実現した。
本実施例においては、ユーザが機能ユニットON/OFF制御部を操作しているが、メーカーが出荷時に設定することとしても良い(ユーザは変更不可)。(通常、外部インターフェース部及び機能ユニット内の入出力部、制御部は1つの半導体になる。これを単体カードの半導体として流用することが可能となる。)
【0047】
《実施例2》
図4〜6を用いて、本発明の実施例2の多機能ICカードについて説明する。はじめに実施例2の多機能ICカードの構成について説明する。図4は本発明の実施例2の多機能ICカードの構成を示すブロック図である。
実施例1と異なる点は、他の機能ユニットが動作しているか停止しているかを判断する第2の機能ユニット状態判断部401及び第1の機能ユニット状態判断部402を追加したこと、第2の機能ユニット状態判断部401及び第1の機能ユニット状態判断部402の出力信号を入出力制御部121、ANDゲート433、434に伝送していること、及びホスト101が機能ユニットに停止コマンドを送ることが出来ることである。
【0048】
それ以外の点において、実施例2の多機能ICカードは、実施例1と同一である。図4において、実施例1(図1)と同様の構成要素には同様の符号を付し、説明を省略する。
第1の機能ユニット114の入出力部125は第2の機能ユニット状態判断部401を有し、第2の機能ユニット115の入出力部128は第1の機能ユニット状態判断部402を有する。
実施例2では、第1の機能ユニット114はBluetooth(登録商標)モジュール(無線通信モジュール)、第2の機能ユニット115はFlash Memoryモジュールである。
【0049】
次に実施例2の多機能ICカードの制御の概要について説明する。機能ユニットON/OFF制御部112の2つのスイッチは共にONであるとする。
ホスト101から第1の機能ユニット114への停止コマンドが発行されると、第2の機能ユニット115の第1の機能ユニット状態判断部402は、第1の機能ユニット114の停止コマンドを傍受して、第1の機能ユニット停止信号(Low)を外部インターフェース413に出力する。(第2の機能ユニット115が停止した時は、この信号はHighになる。)
【0050】
外部インターフェース部413は第1の機能ユニット停止信号(Low)を入力すると、第1の機能ユニット114との間のデータ転送を停止する。具体的には、ANDゲート433は、ホストから転送されたクロックを阻止する。さらに入出力制御部121は、ホストから転送されたコマンド、データを出力しない。これにより、外部インターフェース部413は、第1の機能ユニット114との間の通信を停止する。
外部インターフェース部413が第1の機能ユニット114との間のデータ転送を停止し、第1の機能ユニット114は機能を停止する。具体的には、第1の機能ユニット114にはホストからのクロックが入力されないため、第1の機能ユニット114は内部の各ブロックにこのクロックを送ることができない。つまり、このクロックを使用する回路は動作しない。しかし、ホストからのクロックを使用しない回路は動作可能である。
第1の機能ユニット114が機能を停止することにより、省電力化を図ることが出来る。
実施例のように同期転送方式の通信を停止する場合は、外部インターフェース部413が情報を出力せず、且つ動作を停止した機能ユニットにクロック信号を伝送しない。非同期転送方式の通信を停止する場合は、外部インターフェース部413が情報を出力しない。
第1の機能ユニット144が停止している場合でも、機能ユニットON/OFF制御部112の2つのスイッチは共にONであるので、ホスト101は第1の機能ユニット114及び第2の機能ユニット115を有する多機能ICカードであると認識している。
【0051】
次に実施例2の多機能ICカードの機能ユニットの停止制御について説明する。本実施例の多機能ICカード411は、多機能ICカードに内蔵されている機能ユニットON/OFF制御部112の2個のスイッチをユーザが操作することにより機能ユニットを停止させる。さらに、本実施例の多機能ICカード411は、ホストから停止命令を入力することにより機能ユニットを停止させる。
図5は本発明の実施例2の多機能ICカードの第1の機能ユニットの停止制御のフローチャートである。まずステップ501で、ホスト101の入出力部102から多機能ICカード111の外部インターフェース部413を経由して第1の機能ユニット114に、第1の機能ユニット114の停止コマンドが入力される。ステップ502で第1の機能ユニット114はレスポンス(ACK)を出力する。ステップ501、502の処理を第2の機能ユニット115は傍受している。ステップ503で第2の機能ユニット115の第1の機能ユニット状態判断部402は、外部インターフェース部413に第1の機能ユニット停止信号を出力する。ステップ504で外部インターフェース部413は、第1の機能ユニット114との間のデータ伝送を停止する。ステップ505で、第1の機能ユニット114は停止する。
【0052】
次に実施例2の多機能ICカードのホストからのコマンドの制御について説明する。ホストは、まずはじめに接続されている機器が何であるかを認識するためのコマンドを発行する。認識後、その機器で処理可能なコマンドを発行する。
機能ユニットON/OFF制御部112のスイッチがOFF状態になっている場合、実施例2のICカードは、実施例1と同様に、ホストからのタイプの問い合わせコマンドに対して、動作している機能ユニットのみの存在を知らせる。
本実施例の多機能ICカード411は、ホストからの機能ユニット停止コマンドに基づいて機能ユニットが動作を停止する場合、実施例1(図3)と異なり、多機能ICカードのタイプ問い合せコマンドが入力されると、第1の機能ユニット114及び第2の機能ユニット115は、たとえ停止している機能ユニットが存在しても、第1の機能ユニット114及び第2の機能ユニット115を有する多機能ICカードであるというレスポンスを出力する(ただし、停止している機能ユニットはレスポンスを出力しない。)。
【0053】
図6は本発明の実施例2の多機能ICカードの機能ユニットの再起動制御のフローチャートである(第1の機能ユニット114は停止中であり、第2の機能ユニット115は動作中である。)。
まずステップ601で、ホスト101の入出力部102から多機能ICカード111の第2の機能ユニット115に、第2の機能ユニット115のリセットコマンドが入力される。ステップ602で第2の機能ユニット115はレスポンス(ACK)を出力する。ステップ603で第2の機能ユニット115の第1の機能ユニット状態判断部402は、外部インターフェース部413に第1の機能ユニット114へのデータ伝送を許可する(第1の機能ユニット停止信号を非アクティブ(Highレベル)にする。)。ステップ604で外部インターフェース部413は、第1の機能ユニット114との間のデータ伝送を再開する。ステップ605で第1の機能ユニット114が再起動する。
ステップ606でホスト101の入出力部102から多機能ICカード111の第1の機能ユニット114に第1の機能ユニット114のリセットコマンドが入力される。ステップ607で第1の機能ユニット114はレスポンス(ACK)を出力する。なお、ステップ606、607は第1の機能ユニット114を初期状態に戻すための動作である。
【0054】
本実施例においては、第1の機能ユニット114を停止させる場合について述べたが、これに代えて第2の機能ユニット115を停止させる場合も同様の効果を有する。
本発明の実施例2は、多機能ICカードに機能ユニットON/OFF制御部、第1の機能ユニット状態判断部及び第2の機能ユニット状態判断部を追加することにより、使用しない機能ユニットの電流を停止することができる簡単な構成の省電力の多機能ICカードを実現した。又、外部インターフェース部と停止した機能ユニットとの間の通信の停止及び再開を混乱を生じることなく実行出来る多機能ICカードを実現した。
本実施例においては、ユーザが機能ユニットON/OFF制御部を操作しているが、メーカーが出荷時に設定することとしても良い(ユーザは変更不可)。(通常、外部インターフェース部及び機能ユニット内の入出力部、制御部は1つの半導体になる。これを単体カードの半導体として流用することが可能となる。)
【0055】
《実施例3》
図7〜9を用いて、本発明の実施例3の多機能ICカードについて説明する。
はじめに実施例3の多機能ICカードの構成について説明する。図7は本発明の実施例3の多機能ICカードの構成を示すブロック図である。
実施例2と異なる点は、他の機能ユニットの状態を入力し、且つ機能ユニット自身の状態を他の機能ユニットに出力する機能ユニット状態判断部701、702を追加したこと、機能ユニット状態判断部701、702の出力信号を入出力制御部121、ANDゲート733、734に伝送していることである。
それ以外の点において、実施例3の多機能ICカードは実施例2と同一である。図7において、実施例2(図4)と同様の構成要素には同様の符号を付し、説明を省略する。
実施例3では、第1の機能ユニット114はBluetooth(登録商標)モジュール(無線通信モジュール)、第2の機能ユニット115はFlash Memoryモジュールである。
【0056】
次に実施例3の多機能ICカードの制御の概要について説明する。機能ユニットON/OFF制御部112の2つのスイッチは共にONであるとする。
ホスト101から第1の機能ユニット114への停止コマンドが発行されると、第1の機能ユニット114の状態判断部701は、第1の機能ユニット停止信号(Low)を外部インターフェース部713に出力する。(第2の機能ユニット115が停止した時はこの信号はHighになる。)
外部インターフェース部713は第1の機能ユニット停止信号(Low)を入力すると、第1の機能ユニット114との間のデータ転送を停止する。具体的には、ANDゲート733は、ホストから転送されたクロックを阻止する。さらに入出力制御部121は、ホストから転送されたコマンド、データを出力しない。これにより、外部インターフェース部713は、第1の機能ユニット114との間の通信を停止する。
外部インターフェース部713が第1の機能ユニット114との間のデータ転送を停止し、第1の機能ユニット114が機能を停止する。具体的には、第1の機能ユニット114にはホストからのクロックが入力されないため、第1の機能ユニット114は内部の各ブロックにこのクロックを送ることができない。つまり、このクロックを使用する回路は動作しない。しかし、ホストからのクロックを使用しない回路は動作可能である(例えば、第1の機能ユニット114が機能を停止していても、機能ユニット状態判断部701は、機能ユニット状態判断部702からの第2の機能ユニット115が初期状態であることを示す信号を受信し、外部インターフェース部713へ第1の機能ユニット114のデータ伝送許可信号を出力できる。)。
第1の機能ユニット114が機能を停止することにより、省電力化を図ることが出来る。
実施例のように同期転送方式の通信を停止する場合は、外部インターフェース部713が情報を出力せず、且つ動作を停止した機能ユニットにクロック信号を伝送しない。非同期転送方式の通信を停止する場合は、外部インターフェース部713が情報を出力しない。
第1の機能ユニット144が停止している場合でも、機能ユニットON/OFF制御部112の2つのスイッチは共にONであるので、ホスト101は第1の機能ユニット114及び第2の機能ユニット115を有する多機能ICカードであると認識している。
【0057】
次に実施例3の多機能ICカードの機能ユニットの停止制御について説明する。本実施例の多機能ICカード711は、多機能ICカードに内蔵されている機能ユニットON/OFF制御部112の2個のスイッチをユーザが操作することにより機能ユニットを停止させる。さらに、本実施例の多機能ICカード711はホストからの停止命令を入力することにより機能ユニットを停止させる。
図8は本発明の実施例3の多機能ICカードの第1の機能ユニットの停止制御のフローチャートである。まず、ステップ801で、ホスト101の入出力部102から多機能ICカード711の外部インターフェース部713を経由して第1の機能ユニット114に、第1の機能ユニット114の停止コマンドが入力される。ステップ802で、第1の機能ユニット114はレスポンス(ACK)を出力する。ステップ803で、第1の機能ユニット114の機能ユニット状態判断部701は、外部インターフェース部713に第1の機能ユニット停止信号を出力する。ステップ804で外部インターフェース部713は第1の機能ユニット114との間のデータ伝送を停止する。ステップ805で、第1の機能ユニット114は停止する(後述する一部のブロックを除く。)。
【0058】
次に実施例3の多機能ICカードの機能ユニットの再起動制御について説明する。図9は本発明の実施例3の多機能ICカードの機能ユニットの再起動制御のフローチャートである(第1の機能ユニット114は停止中であり、第2の機能ユニットは動作中である。)。
まず、ステップ901で、ホスト101の入出力部102から多機能ICカード711の第2の機能ユニット115に、第2の機能ユニット115のリセットコマンドが入力される。ステップ902で、第2の機能ユニット115はレスポンス(ACK)を出力する。ステップ903で、第2の機能ユニット115の機能ユニット状態判断部702は、第1の機能ユニット114の機能ユニット状態判断部701へ、第2の機能ユニット115が初期状態であることを示す信号(例えば、Lowレベル)を出力する。ステップ904で第1の機能ユニット114の機能ユニット状態判断部701は、外部インターフェース713へデータ伝送許可信号(Highレベル)を出力する。(上述したように第1の機能ユニット114は停止しているが、一部のブロックは動作可能である。例えば、第2の機能ユニット115の機能ユニット状態判断部702からの第2の機能ユニット115が初期状態であることを示す信号等を、第1の機能ユニット114の機能ユニット状態判断部701は処理できる。)ステップ905で、外部インターフェース部713と第1の機能ユニット114との間のデータ伝送が再開される。具体的には、ANDゲート733は、ホスト101から転送されたクロックを第1の機能ユニット114に転送し、且つ入出力制御部121は第1の機能ユニット114とのデータ伝送を再開する。ステップ906で第1の機能ユニット114が再起動する。
ステップ907でホスト101の入出力部102から多機能ICカード711の第1の機能ユニット114に第1の機能ユニット114のリセットコマンドが入力される。ステップ908で第1の機能ユニット114はレスポンス(ACK)を出力する。なお、ステップ907、908は第1の機能ユニット114を初期状態に戻すための動作である。
【0059】
本実施例においては、第1の機能ユニット114を停止させる場合について述べたが、これに代えて第2の機能ユニット115を停止させる場合も同様の効果を有する。
本発明の実施例3は、多機能ICカードに機能ユニットON/OFF制御部、すべての機能ユニットに機能ユニット状態判断部を追加することにより、使用しない機能ユニットの電流を停止することができる簡単な構成の省電力の多機能ICカードを実現した。又、外部インターフェース部と停止した機能ユニットとの間の通信の停止及び再開を混乱を生じることなく実行出来る多機能ICカードを実現した。
本実施例においては、ユーザが機能ユニットON/OFF制御部を操作しているが、メーカーが出荷時に設定することとしても良い(ユーザは変更不可)。(通常、外部インターフェース部及び機能ユニット内の入出力部、制御部は1つの半導体になる。これを単体カードの半導体として流用することが可能となる。)
【0060】
《実施例4》
図10〜12を用いて、本発明の実施例4の多機能ICカードについて説明する。
はじめに実施例4の多機能ICカードの構成について説明する。図10は本発明の実施例4の多機能ICカードの構成を示すブロック図である。
実施例2と異なる点は、第2の機能ユニット状態判断部1001及び第1の機能ユニット状態判断部1002が、ホスト101から多機能ICカード1011へ発行するコマンドの順序によって他の機能ユニットを停止させるかを判断していること、及びホスト101の持つコマンドとして停止コマンドが規定されていないため、ホスト101が機能ユニットに停止コマンドを送ることが出来ないことである。
それ以外の点において、実施例4の多機能ICカードは、実施例2と同一である。図10において、実施例2(図4)と同様の構成要素には同様の符号を付し、説明を省略する。
実施例4では、第1の機能ユニット114はBluetooth(登録商標)モジュール(無線通信モジュール)、第2の機能ユニット115はFlash Memoryモジュールである。
【0061】
次に実施例4の多機能ICカードの機能ユニットの停止制御について説明する。機能ユニットON/OFF制御部112の2つのスイッチは共にONであるとする。多機能ICカード1011は、ホスト101から多機能ICカードへ発行するコマンドの順序により機能ユニットを停止させる。
はじめに、両方の機能ユニットを同時に使用する場合について説明する。図11は本発明の実施例4の多機能ICカードの状態の変化を示す図(両方の機能ユニットを同時に使用する場合)である。まず第1の機能ユニット114及び第2の機能ユニット115は第1の状態(初期状態)である。ホストから多機能ICカードへ第1の機能ユニット114の初期化コマンドが入力されると、第1の機能ユニット114は第2の状態になる。次にホストから多機能ICカードへ第2の機能ユニット115の初期化コマンドが入力されると、第2の機能ユニット115は第2の状態になる。さらにホストから多機能ICカードへ全体に関する初期設定コマンドが入力されると、第1の機能ユニット114及び第2の機能ユニット115は第3の状態(動作可能状態)になる。
【0062】
次に、第2の機能ユニット115のみを使用する場合について説明する。図12は本発明の実施例4の多機能ICカードの状態の変化を示す図(第2の機能ユニット115のみを使用する場合)である。まず第1の機能ユニット114及び第2の機能ユニット115は第1の状態(初期状態)である。ホストから多機能ICカードへ第2の機能ユニット115の初期化コマンドが入力されると、第2の機能ユニット115は第2の状態になる。次にホストから多機能ICカードへ全体に関する初期設定コマンドが入力されると、第2の機能ユニット115は第3の状態(動作可能状態)になる。
同時に第2の機能ユニット115の第1の機能ユニット状態判断部902は、ホスト101から多機能ICカードへ発行するコマンドの順序に基づいて第1の機能ユニット114を停止させる。具体的には、第1の機能ユニット停止信号(Lowレベル)を入力すると、入出力制御部121は、ホスト101から転送されたコマンド、データを第1の機能ユニット114に出力せず、且つANDゲート1033は、ホスト101からの転送クロックを阻止する。これにより、外部インターフェース部1013は、第1の機能ユニット114との間の通信を停止する。
外部インターフェース部1013が第1の機能ユニット114との間のデータ転送を停止し、第1の機能ユニット114は機能を停止する。具体的には、第1の機能ユニット114にはホストからのクロックが入力されないため、第1の機能ユニット114は内部の各ブロックにこのクロックを送ることができない。つまり、このクロックを使用する回路は動作しない。しかし、ホストからのクロックを使用しない回路は動作可能である。
たとえ機能ユニットが停止していても、ホストは第1の機能ユニット114及び第2の機能ユニット115を有する多機能ICカードであると認識している。第1の機能ユニット114が動作を停止することにより、省電力化を図ることが出来る。実施例の様に同期転送方式の通信を停止する場合は、外部インターフェース部が情報を出力せず、且つ動作を停止した機能ユニットにクロック信号を伝送しない。非同期転送方式の通信を停止する場合は、外部インターフェース部が情報を出力しない。
【0063】
本実施例においては、第1の機能ユニット114を停止させる場合について述べたが、これに代えて第2の機能ユニット115を停止させる場合も同様の効果を有する。
本実施例においては、実施例3の構成(図7)と本実施例の制御方法(図11、12)を組み合わせても同様の効果を得ることができる。
本発明の実施例4は、ホストに機能ユニットを停止させるコマンドが規定されていない場合でも、ICカードで使用しない機能ユニットを判断し、使用しない機能ユニットの電流を停止することができる簡単な構成の省電力の多機能ICカードを実現した。
本実施例においては、ユーザが機能ユニットON/OFF制御部を操作しているが、メーカーが出荷時に設定することとしても良い(ユーザは変更不可)。(通常、外部インターフェース部及び機能ユニット内の入出力部、制御部は1つの半導体になる。これを単体カードの半導体として流用することが可能となる。)
【0064】
【発明の効果】
本発明によれば、使用しない機能ユニットの電流を停止することにより消費電力を削減することができる多機能ICカード及びその制御方法を実現できるという効果が得られる。
本発明によれば、ユーザが実際に使用する機能を発揮し、且つ不要な電力を消費しない多機能ICカード及びその制御方法を実現出来るという有利な効果が得られる。
本発明によれば、ユーザが実際に使用しない機能ユニットを停止させた状態で、外部装置(例えばホスト)との間で混乱を生じることなく通信を行う多機能ICカード及びその制御方法を実現出来るという有利な効果が得られる。
本発明によれば、ホストに機能ユニットを停止させるコマンドが規定されていなくても、使用しない機能ユニットを判断し、その機能ユニットの電流を停止することにより消費電力を削減することができる多機能ICカード及びその制御方法を実現できるという効果が得られる。
【図面の簡単な説明】
【図1】本発明の実施例1の多機能ICカードの構成を示すブロック図
【図2】本発明の実施例1の多機能ICカードの機能ユニットの停止制御のフローチャート
【図3】本発明の実施例1の多機能ICカードのホストからのコマンド制御のフローチャート
【図4】本発明の実施例2の多機能ICカードの構成を示すブロック図
【図5】本発明の実施例2の多機能ICカードの第1の機能ユニットの停止制御のフローチャート
【図6】本発明の実施例2の多機能ICカードの機能ユニットの再起動制御のフローチャート(第1の機能ユニットは停止中、第2の機能ユニットは動作中の場合)
【図7】本発明の実施例3の多機能ICカードの構成を示すブロック図
【図8】本発明の実施例3の多機能ICカードの第1の機能ユニットの停止制御のフローチャート
【図9】本発明の実施例3の多機能ICカードの機能ユニットの再起動制御のフローチャート(第1の機能ユニットは停止中、第2の機能ユニットは動作中の場合)
【図10】本発明の実施例4の多機能ICカードの構成を示すブロック図
【図11】本発明の実施例4の多機能ICカードの状態の変化を示す図(両方の機能ユニットを同時に使用する場合)
【図12】本発明の実施例4の多機能ICカードの状態の変化を示す図(第2のの機能ユニットのみを使用する場合)
【図13】従来のの多機能ICカードの構成を示すブロック図
【符号の説明】
101 ホスト
102 入出力部
111、411、711、1011、1311 多機能ICカード
112 機能ユニットON/OFF制御部
113、413、713、1013、1313 外部インターフェース部
114 第1の機能ユニット
115 第2の機能ユニット
121 入出力制御部
125、128 入出力部
126、129 制御部
127、130 機能動作部
131、132 入出力バッファ
133、134、433、434、733、734、1033、1034
ANDゲート
401、1001 第2の機能ユニット状態判断部
402、1002 第1の機能ユニット状態判断部
701、702 機能ユニット状態判断部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a multifunctional IC card and a control method thereof.
[0002]
[Prior art]
2. Description of the Related Art In recent years, IC cards have attracted attention as storage media for not only personal computers but also portable information devices such as digital still cameras and PDAs. Furthermore, IC cards having multifunctionality in this thin plastic package have also appeared on the market.
A conventional multifunctional IC card will be described with reference to FIG.
First, the configuration of a conventional multifunctional IC card will be described. FIG. 13 is a block diagram showing a configuration of a conventional multifunctional IC card. Referring to FIG. 13, reference numeral 101 denotes a multifunction IC card. The host 101 has an input / output unit 102. The multi-function IC card 1311 has an external interface unit 1313, a first function unit 114, and a second function unit 115. The first functional unit 114 includes an input / output unit 125, a control unit 126 for inputting / outputting information through the input / output unit 125, and a function operation unit 127 controlled and operated by the control unit 126. Similarly, the second functional unit 115 includes an input / output unit 128, a control unit 129 for inputting / outputting information through the input / output unit 128, and a function operation unit 130 controlled and operated by the control unit 129.
[0003]
Next, an outline of control of a conventional multifunctional IC card will be described. Commands from the host addressed to the first functional unit 114 and the second functional unit 115 are input from the input / output unit 102 of the host 101 to the multi-function IC card 1311. The command input to the multi-function IC card 1311 is transmitted to the first function unit 114 and the second function unit 115 via the external interface unit 1313.
The IC card performs multiple functions according to a command transmitted from the host.
[0004]
[Problems to be solved by the invention]
However, there is a problem that the power consumption of the IC card increases because the circuit becomes larger as the IC card has more functions.
For example, even when the user uses only the first functional unit, the conventional IC card consumes unnecessary power because all the circuits (the first functional unit and the second functional unit) are operating. There was a problem.
[0005]
SUMMARY OF THE INVENTION An object of the present invention is to provide a multifunctional IC card which exhibits functions actually used by a user and does not consume unnecessary power, and a control method thereof.
SUMMARY OF THE INVENTION An object of the present invention is to provide a multi-function IC card for performing communication with an external device (for example, a host) without causing confusion while a functional unit that is not actually used is stopped, and a control method thereof. I do.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention has the following configurations.
The invention according to claim 1 is a multifunctional IC card having a plurality of functional units, wherein at least one of the functional units can stop operation in units of functional units.
“Functional unit” refers to a unit that exhibits one integrated product function. In other words, it means a set of functions whose description is described in the instruction manual. For example, a wireless communication module, a memory module, and the like. This is a larger unit than a functional element (for example, a latch circuit) that is not recognized by the user.
“Stop operation” refers to a state in which the functional unit has stopped exhibiting its product function. Even if some circuits (for example, a logic circuit) of the functional unit are operating, if the function function as a whole does not exhibit its product function, the operation is stopped.
Preferably, the power consumption of the functional unit in the stopped state is significantly smaller (for example, less than half) than the power consumption of the functional unit in the operating state.
[0007]
According to a second aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and information transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received information and outputting the information to the outside, wherein the external interface unit does not transmit information to the functional unit whose operation is stopped. is there.
"The external interface unit does not transmit information to the functional unit whose operation is stopped" means that the external interface unit does not output information, that the input / output unit of the functional unit does not input information, Either the interface unit does not output the information and the input / output unit of the functional unit does not input the information.
[0008]
According to a third aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received response and outputting the response to the outside, wherein the functional unit unit is configured to operate only with respect to the IC card type inquiry command from the outside, without stopping the operation of the functional unit. A multi-function IC card that generates a response notifying the existence of the external interface and outputs the response to the external interface unit.
The “type of IC card” means any information transmitted by communication and capable of identifying the function of the IC card. For example, if “11H” indicates an 8 MB memory (“H” means hexadecimal notation), “12H” indicates a 16 MB memory, and “21H” indicates a Bluetooth module, “11H”, “12H”, “21H” "Is one of the types.
[0009]
According to a fourth aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting and outputting the received response to the outside, and when the command input by the functional unit is a command for stopping the function of another of the functional units, the functional unit is A multi-function IC card, wherein a control signal is sent to an interface unit, and thereafter, the external interface unit does not transmit a command to another functional unit according to the control signal.
[0010]
According to a fifth aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received response and outputting the response to the outside, wherein the order of commands input by the functional unit is an order of commands for stopping the functions of the other functional units, The multi-function IC card is characterized in that the unit sends a control signal to the external interface unit, and thereafter, the external interface unit does not transmit a command to another functional unit according to the control signal.
[0011]
According to a sixth aspect of the present invention, when the command input by the functional unit is a reset command for returning the functional unit to an initial state, the functional unit stops transmitting the control signal to the external interface unit. 6. The multi-function IC card according to claim 4, wherein the external interface unit transmits a command to another functional unit thereafter.
[0012]
According to a seventh aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received response and outputting the response to the outside, and when the command input by the functional unit is a command for stopping the function of the functional unit, the functional unit is the external interface unit. A multi-function IC card, wherein the external interface unit does not transmit a command to the functional unit according to the control signal.
[0013]
According to the invention described in claim 8, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting and outputting the received response to the outside, and if the order of commands input by the functional unit is an order of commands to stop the function of the functional unit, the functional unit A multi-function IC card, wherein a control signal is sent to the external interface unit, and thereafter, the external interface unit does not transmit a command to the functional unit according to the control signal.
[0014]
According to a ninth aspect of the present invention, when the command input by the other functional unit is a reset command for returning the other functional unit to an initial state, the other functional unit outputs a status signal to the functional unit. The function unit stops transmitting the control signal to the external interface unit based on the control signal, and thereafter, the external interface unit transmits a command to the function unit. Item 9. A multifunctional IC card according to item 7 or 8.
[0015]
According to a tenth aspect of the present invention, there is provided a method for controlling a multi-function IC card having a plurality of function units, the method comprising an operation stop step of stopping operation of one function unit for each function unit. This is an IC card control method.
[0016]
According to an embodiment of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and information transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. A transmission step of transmitting information from the external interface unit to the operating functional unit, the method comprising: And a stop step of not transmitting information to the functional unit whose operation is stopped from a unit.
[0017]
According to a twelfth aspect of the present invention, there is provided a method for controlling an IC card having a plurality of functional units including at least one functional unit whose operation can be stopped, and a receiving step of receiving an external IC card type inquiry command. And a transmission step of generating a response notifying the presence of only the functional unit whose operation has not stopped and transmitting the response to the outside, and a multi-function IC card control method.
[0018]
According to a thirteenth aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received response and outputting the response to the outside, comprising: a stop command for causing the functional unit and the other functional unit to stop the functions of the other functional units. And a command stopping step in which after the receiving step, the functional unit sends a control signal to the external interface unit, and thereafter the external interface unit does not transmit a command to another functional unit. , After the receiving step, the function of the other functional units is stopped It is a multifunctional IC card control method characterized in that it comprises a stop step.
[0019]
According to a fourteenth aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. And an external interface unit for inputting the received response and outputting the response to the outside, wherein the function unit and the other function unit stop in order that the functions of the other function units are stopped. A receiving step of receiving a command, and after the receiving step, a command stopping step in which the functional unit sends a control signal to the external interface unit, and thereafter the external interface unit does not transmit a command to another functional unit. And after the receiving step, the functions of the other functional units are stopped It is a multifunctional IC card control method characterized by having a outages step.
[0020]
The invention according to claim 15 is characterized in that the functional unit receives a reset command for returning the functional unit to an initial state, and after the reset command receiving step, the functional unit sends the reset command to the external interface unit. 15. A command transmission restarting step in which the transmission of the control signal is stopped, and then the external interface unit transmits a command to another of the functional units. Is a method for controlling a multifunctional IC card.
[0021]
According to an embodiment of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received response and outputting the response to an external device, wherein the functional unit receives a stop command for stopping the function of the functional unit; and After the receiving step, the functional unit sends a control signal to the external interface unit, and thereafter, a command stop step for preventing the external interface unit from transmitting a command to the functional unit; And a function stopping step in which the function of the function is stopped. It is a multi-function IC card control method of that.
[0022]
According to a seventeenth aspect of the present invention, a plurality of functional units including at least one functional unit whose operation can be stopped and a command transmitted from the outside are input, transmitted to the plurality of functional units, and transmitted from the functional unit. An external interface unit for inputting the received response and outputting the response to the outside, comprising: a receiving step in which the functional unit receives a command in an order to stop the function of the functional unit; After the receiving step, the functional unit sends a control signal to the external interface unit, and thereafter, a command stop step for preventing the external interface unit from transmitting a command to the functional unit; A function stop step for stopping the function of the unit. It is a multi-function IC card control method of the.
[0023]
The invention according to claim 18, wherein the other functional unit receives a reset command for receiving a reset command for returning the other functional unit to an initial state, and the other functional unit after the reset command receiving step. A status signal transmitting step of transmitting a status signal to the functional unit, and after the status signal transmitting step, the functional unit stops transmitting the control signal to the external interface unit. 18. The method according to claim 16, further comprising: a command transmission restarting step of transmitting a command to the functional unit.
[0024]
The present invention has an effect of realizing a multifunctional IC card capable of reducing the power consumption by stopping the current when there is an unused functional unit whose operation has been stopped, and a control method thereof.
The present invention has an effect that a multifunctional IC card that exhibits functions actually used by a user and does not consume unnecessary power and a control method thereof can be realized.
The present invention has an effect of realizing a multifunctional IC card for performing communication with an external device (for example, a host) without causing confusion while a functional unit that is not actually used is stopped, and a control method thereof. .
[0025]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment that specifically shows the best mode for carrying out the present invention will be described with reference to the drawings.
[0026]
<< Example 1 >>
First Embodiment A multifunctional IC card according to a first embodiment of the present invention will be described with reference to FIGS. First, the configuration of the multi-function IC card according to the first embodiment will be described. FIG. 1 is a block diagram showing the configuration of the multi-function IC card according to the first embodiment of the present invention. In FIG. 1, reference numeral 101 denotes a host (a computer in the first embodiment), and reference numeral 111 denotes a multi-function IC card. The host 101 has an input / output unit 102. The multi-function IC card 111 has a function unit ON / OFF control unit 112, an external interface unit 113, a first function unit 114, and a second function unit 115. The external interface unit 113 has an input / output control unit 121 and AND gates 133 and 134.
The first functional unit 114 includes an input / output unit 125, a control unit 126 for inputting / outputting information through the input / output unit 125, and a function operation unit 127 controlled and operated by the control unit 126. Similarly, the second functional unit 115 includes an input / output unit 128, a control unit 129 for inputting / outputting information through the input / output unit 128, and a function operation unit 130 controlled and operated by the control unit 129.
[0027]
In the first embodiment, the first functional unit 114 is a Bluetooth (registered trademark) module (wireless communication module), and the second functional unit 115 is a Flash Memory module.
In the first embodiment, the functional unit ON / OFF control unit 112 includes an ON / OFF control switch of the first functional unit and an ON / OFF control switch of the second functional unit.
[0028]
When the ON / OFF control switch of the first functional unit is turned off, the first functional unit stop signal (Low level) is output to the input / output unit 128 of the first functional unit 114, the second functional unit 115, and the external interface. The signal is transmitted to the input / output control unit 121 of the unit 113 and the AND gate 133.
The first functional unit 114 stops operating in response to the first functional unit stop signal.
Based on the first functional unit stop signal, the input / output unit 128 of the second functional unit 115 knows that the first functional unit 114 is stopped. For example, when a command that neither of the two functional units 114 and 115 can process is input from the host 101, it is known that the first functional unit 114 is stopped based on the first functional unit stop signal. Therefore, the input / output unit 128 of the second functional unit 115 returns a response. Also, when a command for inquiring the type is input from the host 101, it is possible to know that the first functional unit 114 is stopped based on the first functional unit stop signal. The input / output unit 128 returns a response indicating that only the second functional unit 115 exists.
In response to the first functional unit stop signal, the AND gate 133 stops communication between the external interface unit 113 and the first functional unit 114.
[0029]
When the ON / OFF control switch of the second functional unit is turned off, the second functional unit stop signal (Low level) is output to the second functional unit 115, the input / output unit 125 of the first functional unit 114, and the external interface. The signal is transmitted to the input / output control unit 121 of the unit 113 and the AND gate 134.
As a result, the second functional unit 115 stops operating, and the other blocks perform the same operation as described above.
[0030]
Next, an outline of control of the multi-function IC card according to the first embodiment will be described. When the ON / OFF switch of the first functional unit of the functional unit ON / OFF control unit 112 is turned off, the first functional unit 114 stops and its power consumption becomes almost zero. Specifically, the power supply to the first functional unit 114 is stopped, the clock input to the first functional unit 114 is stopped, or both, the first functional unit 114 is stopped. . In an IC having a CMOS structure, when the clock input to the functional unit is stopped, the circuit power consumption can be reduced to almost zero.
Similarly, when the ON / OFF switch of the second functional unit of the functional unit ON / OFF control unit 112 is turned off, the second functional unit 115 stops and its power consumption becomes almost zero.
[0031]
When the IC card 111 is inserted into the IC card slot of the host 101, or when the power of the host 101 is turned on with the IC card 111 inserted, the host 101 inquires the IC card 111 of its type (transmits a type request command). .).
When both the first functional unit 114 and the second functional unit 115 are operating, the input / output unit 125 in the first functional unit 114 and the input / output unit 128 in the second functional unit turn on the functional unit ON. The type number of the first functional unit 114 (for example, “21H”) and the type number of the second functional unit 115 (for example, based on information from the / OFF control unit 112 (information that both functional units are not stopped) A response with “11H” as an argument (for example, if the response of the type number is “86H”, “86H 21H 11H”) is generated and returned to the host 101 through the external interface 113. (Even if both the input / output unit 125 in the first functional unit 114 and the input / output unit 128 in the second functional unit 115 return a response, the input / output control unit 121 in the external interface unit 113 arbitrarily determines the response. Since only the response from the given functional unit is returned to the host 101, there is no risk of data corruption.) The host 101 confirms that the IC card having the first functional unit 114 and the second functional unit 115 is connected. recognize.
The host 101 transmits a command (or command and data) to two functional units through the external interface 113, and the two functional units return a response (or response and data) to the host 101 through the external interface 113.
[0032]
When the host 101 inquires of the IC card 111 in which the first functional unit 114 is stopped about its type, the input / output unit 128 in the second functional unit 115 transmits the second type to the host 101 through the external interface 113. That only the functional unit 115 is provided. Specifically, when there is a type inquiry from the host 101 to the multi-function IC card 111, the input / output unit 128 in the second functional unit 115 sends the first input from the functional unit ON / OFF control unit 112. Based on the functional unit stop signal (Low), a response (for example, “86H 11H”) having only the type number (for example, “11H”) of the second functional unit 115 is returned. Thus, the host 101 recognizes that an IC card having only the second functional unit 115 is connected.
The host 101 transmits a command (or command and data) to the second functional unit 115 through the external interface 113, and the second functional unit 115 returns a response (or response and data) to the host 101 through the external interface 113. . Since the host 101 does not recognize the stopped first functional unit 114, it does not output a command addressed to the first functional unit.
[0033]
Communication between the host 101 and the IC card 111 is performed with the host 101 as a master and the first functional unit 114 and the second functional unit 115 as slaves. In the embodiment, the synchronous communication is performed. However, the communication is not limited to this, and may be an asynchronous communication. The external interface unit 113 mediates the communication. In the embodiment, the communication between the host 101 and the external interface unit 113 and the communication between the external interface unit 113 and each of the functional units 114 and 115 adopt the same communication method.
The external interface unit 113 transfers all commands sent from the host to all the functional units 114 and 115 (except when the functional units have stopped operating). The external interface unit 113 also transfers a command (for example, a type inquiry command) relating to the entire IC card to all the functional units 114 and 115. The external interface unit 113 receives responses generated by the functional units 114 and 115 for commands and data, and transmits the responses to the host.
[0034]
As described above, when the first functional unit 114 and the second functional unit 115 are operating together, the external interface 113 transmits commands and data from the host to the first functional unit 114 and the second functional unit 115. To both. Also, the response and data sent from the first functional unit 114 and the second functional unit 115 are input and transmitted to the host 101.
In FIG. 1, the clock transferred from the host is sent to the input / output unit 125 through the AND gate 133 and to the input / output unit 128 through the AND gate 134. Thereby, communication between the external interface unit 113 and each of the functional units 114 and 115 is executed.
[0035]
When the first functional unit 114 is stopped, the external interface unit 113 stops data transmission with the first functional unit 114. Specifically, the external interface unit 113 does not output information and does not transmit a clock signal to the first functional unit 114 that has stopped operating. The input / output control unit 121 receives the first functional unit 114 stop signal (Low level) sent from the functional unit ON / OFF control unit 112 and does not output the command and data transferred from the host 101. The AND gate 133 receives the first function unit 114 stop signal (Low level) sent from the function unit ON / OFF control unit 112 and blocks the clock transferred from the host 101.
When the communication between the external interface unit 113 and each of the functional units 114 and 115 is an asynchronous communication system, the clock transferred from the host 101 is sent to the input / output unit 125 through the AND gate 133 and input / output through the AND gate 134. To the unit 128. When the first functional unit 114 is stopped, the external interface unit 113 does not output information to the first functional unit 114.
The external interface unit 113 stops transferring data to and from the first functional unit 114, and the first functional unit 114 stops functioning.
By stopping the operation of the first functional block 114, power saving can be achieved.
[0036]
When the first functional unit 114 and the second functional unit 115 are operating together, when a command is input from the host 101, the first functional unit 114 or the second functional unit 115 is operated according to the content of the command. Performs processing and returns a response. For example, when a command and data for outputting data by wireless communication are input from the host 101, the first functional unit 114, which is a wireless communication module, returns a response (ACK) to the host and transmits the data sent from the host. I do. For example, when a command and data for reading data from the memory are input from the host 101, the second functional unit 115, which is a Flash Memory module, reads data from the memory and transmits a response and the read data to the host.
[0037]
When the first function unit 114 is stopped, the function unit ON / OFF control unit 112 transmits a first function unit 114 stop signal (Low level) to the second function unit 115. Thereafter, when the multifunctional IC card receives a command from the host, only the second functional unit 115 returns a response. For example, if a command for outputting data by wireless communication and data are input from the host 101 (the host does not actually output a command addressed to a functional unit that is stopped), the Flash Memory module uses the Flash Memory module. One second functional unit 115 returns a response (NACK) to the host.
[0038]
Next, stop control of the functional unit of the multifunctional IC card according to the first embodiment will be described. The multifunctional IC card 111 according to the present embodiment stops the functional unit when the user operates two switches of the functional unit ON / OFF control unit 112 built in the multifunctional IC card.
FIG. 2 is a flowchart of the stop control of the functional unit of the multifunctional IC card according to the first embodiment of the present invention. First, in step 201, the functional unit ON / OFF control unit 112 determines whether or not the instruction is a stop instruction for the first functional unit 114. If the instruction is a stop instruction of the first functional unit 114 (OFF state), the external interface unit 113 stops data transmission with the first functional unit 114 in step 202. In step 203, the first functional unit 114 stops. If the instruction is not a stop instruction of the first functional unit 114 in step 201 (ON state), the process proceeds to step 204, where the first functional unit 114 operates based on information from the functional unit ON / OFF control unit 112. In step 205, the external interface unit 113 performs data transmission with the first functional unit 114.
[0039]
In step 206, the functional unit ON / OFF control unit 112 determines whether the instruction is a stop instruction for the second functional unit 115. If the instruction is a stop instruction for the second functional unit 115 (OFF state), the external interface unit 113 stops data transmission with the second functional unit 115 in step 207. In step 208, the second functional unit 115 stops. If it is not an instruction to stop the second functional unit 115 in step 206 (ON state), the process proceeds to step 209, and the second functional unit 115 operates based on information from the functional unit ON / OFF control unit 112. In step 210, the external interface unit 113 performs data transmission with the second functional unit 115.
[0040]
Next, control of a command from the host of the multifunctional IC card according to the first embodiment will be described. First, the host issues a command for recognizing what the connected device is. After recognition, a command that can be processed by the device is issued.
FIG. 3 is a control flowchart when the multifunctional IC card according to the first embodiment of the present invention inputs a command from the host. First, in step 301, a multifunction IC card type inquiry command is input from the input / output unit 102 of the host 101 to the external interface unit 113 of the multifunction IC card 111. In step 302, the input / output control unit 121 of the external interface unit 113 determines whether the first functional unit 114 is operating. If so, the process proceeds to step 303. In step 303, the input / output control unit 121 of the external interface unit 113 determines whether the second functional unit 115 is operating.
[0041]
When it is operating (when both the first functional unit 114 and the second functional unit 115 are operating), the process proceeds to step 304. In step 304, the input / output control unit 121 outputs a command to both functional units 114 and 115. The input / output units 125 and 128 of both functional units output a response to the host 101 via the external interface unit 113 that the card is a multifunctional IC card having the first functional unit 114 and the second functional unit 115.
For example, if the response of the type number is “86H”, the type number of the first functional unit 114 is “21H”, and the type number of the second functional unit 115 is “11H”, the input / output units 125 and 128 A response “86H 21H 11H” with the type number as an argument is generated and returned to the host 101.
[0042]
Thereby, the host 101 recognizes that the first functional unit 114 and the second functional unit 115 are connected. In step 305, a new command (a command addressed to the first functional unit 114 and / or the second functional unit 115) is input from the host 101. In step 306, the first functional unit 114 or the second functional unit 115 outputs a response to the new command.
[0043]
When the second functional unit 115 is stopped in step 303 (when the first functional unit 114 is operating but the second functional unit 115 is stopped), the process proceeds to step 307. In step 307, the input / output control unit 121 outputs a command to the first functional unit 114. The input / output unit 125 of the first functional unit 114 outputs a response indicating that the card is an IC card having the first functional unit 114 to the host 101 through the external interface unit 113. The input / output unit 125 generates a response “86H 21H” using only the type number of the first functional unit 114 as an argument, and returns the response to the host 101.
Thereby, the host 101 recognizes that only the first functional unit 114 is connected. In step 308, a new command (a command addressed to the first functional unit 114) is input from the host 101. In step 309, the first functional unit 114 outputs a response to the new command.
[0044]
If the first functional unit 114 has stopped in step 302, the process proceeds to step 310. In step 310, similarly to step 303, the input / output control unit 121 of the external interface unit 113 determines whether the second functional unit 115 is operating. When it is operating (when the first functional unit 114 is stopped but the second functional unit 115 is operating), the process proceeds to step 311. In step 311, the input / output control unit 121 outputs a command to the second functional unit 115. The input / output unit 128 of the second functional unit 115 outputs a response indicating that the IC card has the second functional unit 115 to the host 101 via the external interface unit 113. The input / output unit 128 generates a response “86H 11H” using only the type number of the second functional unit 115 as an argument, and returns the response to the host 101.
Thereby, the host 101 recognizes that only the second functional unit 115 is connected. In step 312, a new command (a command addressed to the second functional unit 115) is input from the host 101. In step 313, the second functional unit 115 outputs a response to the new command.
[0045]
If the second functional unit 115 is stopped in step 303 (the first functional unit 114 and the second functional unit 115 are both stopped), the process proceeds to step 314. In step 314, since the input / output control unit 121 does not output a command to any functional unit, the multi-function IC card 111 does not output a response. The host 101 recognizes that nothing is connected. The host 101 does not output any command.
As described above, by notifying the host of the presence of only the function block in which the external interface unit 113 is operating, the command is thereafter output without confusion (for example, the host outputs a command addressed to the stopped functional unit). Communication between the host 101 and the IC card 111 can be executed. When all the functional units are stopped, unnecessary communication is not executed (power is saved).
[0046]
In this embodiment, the case where the first functional unit 114 is stopped has been described. However, the same effect can be obtained when the second functional unit 115 is stopped instead.
According to the first embodiment of the present invention, by adding a functional unit ON / OFF control unit to a conventional multifunctional IC card, it is possible to stop the current of unused functional units and cause confusion in communication with the host. A power-saving multifunctional IC card with a simple configuration has been realized.
In this embodiment, the user operates the functional unit ON / OFF control unit, but the manufacturer may set it at the time of shipment (the user cannot change it). (Normally, the external interface unit, the input / output unit in the functional unit, and the control unit are one semiconductor. This can be used as the semiconductor of the single card.)
[0047]
<< Example 2 >>
Second Embodiment A multifunctional IC card according to a second embodiment of the present invention will be described with reference to FIGS. First, the configuration of the multifunctional IC card according to the second embodiment will be described. FIG. 4 is a block diagram showing the configuration of the multi-function IC card according to the second embodiment of the present invention.
The difference from the first embodiment is that a second functional unit status determining unit 401 and a first functional unit status determining unit 402 for determining whether another functional unit is operating or stopped are added. That the output signals of the functional unit state determining unit 401 and the first functional unit state determining unit 402 are transmitted to the input / output control unit 121 and the AND gates 433 and 434, and that the host 101 sends a stop command to the functional unit. That is what you can do.
[0048]
Otherwise, the multi-function IC card of the second embodiment is the same as that of the first embodiment. In FIG. 4, the same components as those in the first embodiment (FIG. 1) are denoted by the same reference numerals, and description thereof will be omitted.
The input / output unit 125 of the first functional unit 114 has a second functional unit status determining unit 401, and the input / output unit 128 of the second functional unit 115 has a first functional unit status determining unit 402.
In the second embodiment, the first functional unit 114 is a Bluetooth (registered trademark) module (wireless communication module), and the second functional unit 115 is a Flash Memory module.
[0049]
Next, an outline of control of the multifunction IC card according to the second embodiment will be described. It is assumed that both switches of the functional unit ON / OFF control unit 112 are ON.
When a stop command is issued from the host 101 to the first functional unit 114, the first functional unit state determination unit 402 of the second functional unit 115 intercepts the stop command of the first functional unit 114. And outputs the first functional unit stop signal (Low) to the external interface 413. (When the second functional unit 115 is stopped, this signal becomes High.)
[0050]
Upon input of the first functional unit stop signal (Low), the external interface unit 413 stops data transfer with the first functional unit 114. Specifically, AND gate 433 blocks a clock transferred from the host. Further, the input / output control unit 121 does not output commands and data transferred from the host. As a result, the external interface unit 413 stops communication with the first functional unit 114.
The external interface unit 413 stops data transfer with the first functional unit 114, and the first functional unit 114 stops functioning. Specifically, since the clock from the host is not input to the first functional unit 114, the first functional unit 114 cannot send this clock to each internal block. That is, a circuit using this clock does not operate. However, a circuit that does not use a clock from the host can operate.
By stopping the function of the first functional unit 114, power saving can be achieved.
When the communication of the synchronous transfer method is stopped as in the embodiment, the external interface unit 413 does not output information and does not transmit a clock signal to the functional unit whose operation has been stopped. When stopping the communication of the asynchronous transfer method, the external interface unit 413 does not output information.
Even when the first functional unit 144 is stopped, since the two switches of the functional unit ON / OFF control unit 112 are both ON, the host 101 sets the first functional unit 114 and the second functional unit 115 It recognizes that it is a multifunctional IC card having.
[0051]
Next, stop control of the functional unit of the multifunctional IC card according to the second embodiment will be described. The multifunctional IC card 411 according to the present embodiment stops the functional unit when the user operates two switches of the functional unit ON / OFF control unit 112 built in the multifunctional IC card. Further, the multifunctional IC card 411 of this embodiment stops the functional unit by inputting a stop command from the host.
FIG. 5 is a flowchart of stop control of the first functional unit of the multifunctional IC card according to the second embodiment of the present invention. First, in step 501, a stop command for the first functional unit 114 is input from the input / output unit 102 of the host 101 to the first functional unit 114 via the external interface unit 413 of the multi-function IC card 111. In step 502, the first functional unit 114 outputs a response (ACK). The second functional unit 115 intercepts the processing of steps 501 and 502. In step 503, the first functional unit state determination unit 402 of the second functional unit 115 outputs a first functional unit stop signal to the external interface unit 413. In step 504, the external interface unit 413 stops data transmission with the first functional unit 114. At step 505, the first functional unit 114 stops.
[0052]
Next, control of a command from the host of the multifunctional IC card according to the second embodiment will be described. First, the host issues a command for recognizing what the connected device is. After recognition, a command that can be processed by the device is issued.
When the switch of the functional unit ON / OFF control unit 112 is in the OFF state, the IC card according to the second embodiment operates in response to a type inquiry command from the host similarly to the first embodiment. Signal the presence of a unit only.
Unlike the first embodiment (FIG. 3), the multifunctional IC card 411 according to the present embodiment is different from the first embodiment (FIG. 3) when the functional unit stops operating based on a functional unit stop command from the host. Then, the first functional unit 114 and the second functional unit 115 become a multifunctional IC having the first functional unit 114 and the second functional unit 115 even if there is a stopped functional unit. Outputs a response indicating that the card is a card (however, a stopped functional unit does not output a response).
[0053]
FIG. 6 is a flowchart of the restart control of the functional unit of the multifunctional IC card according to the second embodiment of the present invention (the first functional unit 114 is stopped, and the second functional unit 115 is operating. ).
First, in step 601, a reset command for the second functional unit 115 is input from the input / output unit 102 of the host 101 to the second functional unit 115 of the multi-function IC card 111. In step 602, the second functional unit 115 outputs a response (ACK). In step 603, the first functional unit state determination unit 402 of the second functional unit 115 allows the external interface unit 413 to transmit data to the first functional unit 114 (the first functional unit stop signal is deactivated). (High level).) In step 604, the external interface unit 413 restarts data transmission with the first functional unit 114. In step 605, the first functional unit 114 is restarted.
In step 606, a reset command for the first functional unit 114 is input from the input / output unit 102 of the host 101 to the first functional unit 114 of the multi-function IC card 111. In step 607, the first functional unit 114 outputs a response (ACK). Steps 606 and 607 are operations for returning the first functional unit 114 to the initial state.
[0054]
In this embodiment, the case where the first functional unit 114 is stopped has been described. However, the same effect can be obtained when the second functional unit 115 is stopped instead.
In the second embodiment of the present invention, by adding a functional unit ON / OFF control unit, a first functional unit status determining unit, and a second functional unit status determining unit to a multifunctional IC card, the current of the unused functional unit is reduced. A power-saving multi-function IC card with a simple configuration capable of stopping the operation is realized. Further, a multifunctional IC card capable of stopping and restarting communication between the external interface unit and the stopped functional unit without causing confusion has been realized.
In this embodiment, the user operates the functional unit ON / OFF control unit, but the manufacturer may set it at the time of shipment (the user cannot change it). (Normally, the external interface unit, the input / output unit in the functional unit, and the control unit are one semiconductor. This can be used as the semiconductor of the single card.)
[0055]
<< Example 3 >>
Third Embodiment A multifunctional IC card according to a third embodiment of the present invention will be described with reference to FIGS.
First, the configuration of the multifunctional IC card according to the third embodiment will be described. FIG. 7 is a block diagram showing a configuration of a multifunctional IC card according to Embodiment 3 of the present invention.
The difference from the second embodiment is that functional unit status determining units 701 and 702 for inputting the status of other functional units and outputting the status of the functional unit itself to other functional units are added. That is, the output signals of 701 and 702 are transmitted to the input / output control unit 121 and the AND gates 733 and 734.
Otherwise, the multifunctional IC card of the third embodiment is the same as the second embodiment. 7, the same components as those in the second embodiment (FIG. 4) are denoted by the same reference numerals, and description thereof will be omitted.
In the third embodiment, the first functional unit 114 is a Bluetooth (registered trademark) module (wireless communication module), and the second functional unit 115 is a Flash Memory module.
[0056]
Next, an outline of control of the multifunctional IC card according to the third embodiment will be described. It is assumed that both switches of the functional unit ON / OFF control unit 112 are ON.
When the host 101 issues a stop command to the first functional unit 114, the state determination unit 701 of the first functional unit 114 outputs a first functional unit stop signal (Low) to the external interface unit 713. . (When the second functional unit 115 is stopped, this signal becomes High.)
Upon input of the first functional unit stop signal (Low), the external interface unit 713 stops data transfer with the first functional unit 114. Specifically, the AND gate 733 blocks the clock transferred from the host. Further, the input / output control unit 121 does not output commands and data transferred from the host. Accordingly, the external interface unit 713 stops communication with the first functional unit 114.
The external interface unit 713 stops transferring data to and from the first functional unit 114, and the first functional unit 114 stops functioning. Specifically, since the clock from the host is not input to the first functional unit 114, the first functional unit 114 cannot send this clock to each internal block. That is, a circuit using this clock does not operate. However, a circuit that does not use the clock from the host is operable (for example, even if the first functional unit 114 has stopped functioning, the functional unit The signal indicating that the second functional unit 115 is in the initial state can be received, and the data transmission permission signal of the first functional unit 114 can be output to the external interface unit 713.)
By stopping the function of the first functional unit 114, power saving can be achieved.
When the communication of the synchronous transfer method is stopped as in the embodiment, the external interface unit 713 does not output information and does not transmit a clock signal to the functional unit whose operation has been stopped. When stopping the communication of the asynchronous transfer method, the external interface unit 713 does not output information.
Even when the first functional unit 144 is stopped, since the two switches of the functional unit ON / OFF control unit 112 are both ON, the host 101 sets the first functional unit 114 and the second functional unit 115 It recognizes that it is a multifunctional IC card having.
[0057]
Next, stop control of the functional unit of the multifunctional IC card according to the third embodiment will be described. The multifunctional IC card 711 of this embodiment stops the functional unit by operating the two switches of the functional unit ON / OFF control unit 112 built in the multifunctional IC card by the user. Further, the multifunctional IC card 711 of this embodiment stops a functional unit by inputting a stop command from a host.
FIG. 8 is a flowchart of stop control of the first functional unit of the multifunctional IC card according to the third embodiment of the present invention. First, in step 801, a stop command for the first functional unit 114 is input from the input / output unit 102 of the host 101 to the first functional unit 114 via the external interface unit 713 of the multi-function IC card 711. In step 802, the first functional unit 114 outputs a response (ACK). In step 803, the functional unit state determination unit 701 of the first functional unit 114 outputs a first functional unit stop signal to the external interface unit 713. In step 804, the external interface unit 713 stops transmitting data to and from the first functional unit 114. In step 805, the first functional unit 114 stops (excluding some blocks described later).
[0058]
Next, restart control of the functional unit of the multifunctional IC card according to the third embodiment will be described. FIG. 9 is a flowchart of the restart control of the functional unit of the multi-function IC card according to the third embodiment of the present invention (the first functional unit 114 is stopped and the second functional unit is operating). .
First, in step 901, a reset command for the second functional unit 115 is input from the input / output unit 102 of the host 101 to the second functional unit 115 of the multi-function IC card 711. In step 902, the second functional unit 115 outputs a response (ACK). In step 903, the functional unit state determination unit 702 of the second functional unit 115 sends a signal (indicating that the second functional unit 115 is in the initial state) to the functional unit state determination unit 701 of the first functional unit 114. For example, a low level is output. In step 904, the functional unit state determination unit 701 of the first functional unit 114 outputs a data transmission permission signal (High level) to the external interface 713. (As described above, the first functional unit 114 is stopped, but some blocks are operable. For example, the second functional unit from the functional unit status determination unit 702 of the second functional unit 115 The functional unit state determination unit 701 of the first functional unit 114 can process a signal or the like indicating that the first functional unit 115 is in the initial state.) In step 905, a signal between the external interface unit 713 and the first functional unit 114 is generated. Data transmission is resumed. Specifically, the AND gate 733 transfers the clock transferred from the host 101 to the first functional unit 114, and the input / output control unit 121 restarts data transmission with the first functional unit 114. In step 906, the first functional unit 114 is restarted.
In step 907, a reset command for the first functional unit 114 is input from the input / output unit 102 of the host 101 to the first functional unit 114 of the multi-function IC card 711. In step 908, the first functional unit 114 outputs a response (ACK). Steps 907 and 908 are operations for returning the first functional unit 114 to the initial state.
[0059]
In this embodiment, the case where the first functional unit 114 is stopped has been described. However, the same effect can be obtained when the second functional unit 115 is stopped instead.
In the third embodiment of the present invention, by adding a function unit ON / OFF control unit to a multi-function IC card and a function unit status determination unit to all function units, it is possible to easily stop the current of unused function units. A power-saving multifunctional IC card having a simple configuration has been realized. Further, a multifunctional IC card capable of stopping and restarting communication between the external interface unit and the stopped functional unit without causing confusion has been realized.
In this embodiment, the user operates the functional unit ON / OFF control unit, but the manufacturer may set it at the time of shipment (the user cannot change it). (Normally, the external interface unit, the input / output unit in the functional unit, and the control unit are one semiconductor. This can be used as the semiconductor of the single card.)
[0060]
<< Example 4 >>
Fourth Embodiment A multifunctional IC card according to a fourth embodiment of the present invention will be described with reference to FIGS.
First, the configuration of the multifunctional IC card according to the fourth embodiment will be described. FIG. 10 is a block diagram showing a configuration of a multi-function IC card according to Embodiment 4 of the present invention.
The difference from the second embodiment is that the second functional unit status determining unit 1001 and the first functional unit status determining unit 1002 stop other functional units according to the order of commands issued from the host 101 to the multi-function IC card 1011. That is, the host 101 cannot send a stop command to the functional unit because the stop command is not specified as a command of the host 101.
In other respects, the multi-function IC card of the fourth embodiment is the same as that of the second embodiment. 10, the same components as those of the second embodiment (FIG. 4) are denoted by the same reference numerals, and the description will be omitted.
In the fourth embodiment, the first functional unit 114 is a Bluetooth (registered trademark) module (wireless communication module), and the second functional unit 115 is a Flash Memory module.
[0061]
Next, stop control of the functional unit of the multifunctional IC card according to the fourth embodiment will be described. It is assumed that both switches of the functional unit ON / OFF control unit 112 are ON. The multifunctional IC card 1011 stops the functional units according to the order of commands issued from the host 101 to the multifunctional IC card.
First, a case where both functional units are used simultaneously will be described. FIG. 11 is a diagram showing a change in the state of the multifunctional IC card according to the fourth embodiment of the present invention (when both functional units are used simultaneously). First, the first functional unit 114 and the second functional unit 115 are in a first state (initial state). When an initialization command for the first functional unit 114 is input from the host to the multi-function IC card, the first functional unit 114 enters the second state. Next, when the initialization command for the second functional unit 115 is input from the host to the multi-function IC card, the second functional unit 115 enters the second state. Further, when an initialization command for the whole is input from the host to the multi-function IC card, the first functional unit 114 and the second functional unit 115 enter the third state (operable state).
[0062]
Next, a case where only the second functional unit 115 is used will be described. FIG. 12 is a diagram illustrating a change in the state of the multifunctional IC card according to the fourth embodiment of the present invention (when only the second functional unit 115 is used). First, the first functional unit 114 and the second functional unit 115 are in a first state (initial state). When the initialization command of the second functional unit 115 is input from the host to the multi-function IC card, the second functional unit 115 enters the second state. Next, when an initial setting command for the whole is input from the host to the multi-function IC card, the second functional unit 115 enters the third state (operable state).
At the same time, the first functional unit status determination unit 902 of the second functional unit 115 stops the first functional unit 114 based on the order of commands issued from the host 101 to the multi-function IC card. Specifically, when the first functional unit stop signal (Low level) is input, the input / output control unit 121 does not output the command and data transferred from the host 101 to the first functional unit 114 and AND The gate 1033 blocks a transfer clock from the host 101. Accordingly, the external interface unit 1013 stops communication with the first functional unit 114.
The external interface unit 1013 stops data transfer to and from the first functional unit 114, and the first functional unit 114 stops functioning. Specifically, since the clock from the host is not input to the first functional unit 114, the first functional unit 114 cannot send this clock to each internal block. That is, a circuit using this clock does not operate. However, a circuit that does not use a clock from the host can operate.
Even if the functional units are stopped, the host recognizes that the host is a multifunctional IC card having the first functional unit 114 and the second functional unit 115. By stopping the operation of the first functional unit 114, power saving can be achieved. When stopping the communication of the synchronous transfer method as in the embodiment, the external interface unit does not output information and does not transmit a clock signal to the functional unit whose operation has been stopped. When the communication of the asynchronous transfer method is stopped, the external interface unit does not output information.
[0063]
In this embodiment, the case where the first functional unit 114 is stopped has been described. However, the same effect can be obtained when the second functional unit 115 is stopped instead.
In this embodiment, the same effect can be obtained by combining the configuration of Embodiment 3 (FIG. 7) and the control method of this embodiment (FIGS. 11 and 12).
Embodiment 4 of the present invention is a simple configuration that can determine a functional unit not used in an IC card and stop current of the unused functional unit even when a command for stopping the functional unit is not specified in the host. Power-saving multifunctional IC card.
In this embodiment, the user operates the functional unit ON / OFF control unit, but the manufacturer may set it at the time of shipment (the user cannot change it). (Normally, the external interface unit, the input / output unit in the functional unit, and the control unit are one semiconductor. This can be used as the semiconductor of the single card.)
[0064]
【The invention's effect】
According to the present invention, there is obtained an effect that a multifunctional IC card capable of reducing power consumption by stopping the current of an unused functional unit and a control method thereof can be realized.
Advantageous Effects of Invention According to the present invention, there is obtained an advantageous effect that a multifunctional IC card which exhibits functions actually used by a user and does not consume unnecessary power and a control method thereof can be realized.
According to the present invention, it is possible to realize a multi-function IC card that performs communication with an external device (for example, a host) without causing confusion while a functional unit not actually used by a user is stopped, and a control method thereof. The advantageous effect described above can be obtained.
According to the present invention, even if a command for stopping a functional unit is not specified in the host, a function unit that is not used is determined, and power consumption can be reduced by stopping current of the functional unit. The effect that an IC card and its control method can be realized is obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a multifunctional IC card according to a first embodiment of the present invention.
FIG. 2 is a flowchart of stop control of a functional unit of the multifunctional IC card according to the first embodiment of the present invention.
FIG. 3 is a flowchart of command control from a host of the multi-function IC card according to the first embodiment of the present invention.
FIG. 4 is a block diagram illustrating a configuration of a multi-function IC card according to a second embodiment of the present invention.
FIG. 5 is a flowchart of stop control of a first functional unit of the multifunctional IC card according to the second embodiment of the present invention.
FIG. 6 is a flowchart of the restart control of the functional unit of the multi-function IC card according to the second embodiment of the present invention (when the first functional unit is stopped and the second functional unit is operating).
FIG. 7 is a block diagram illustrating a configuration of a multifunction IC card according to a third embodiment of the present invention.
FIG. 8 is a flowchart of stop control of a first functional unit of the multifunctional IC card according to the third embodiment of the present invention.
FIG. 9 is a flowchart of the restart control of the functional unit of the multifunctional IC card according to the third embodiment of the present invention (when the first functional unit is stopped and the second functional unit is operating).
FIG. 10 is a block diagram showing a configuration of a multi-function IC card according to a fourth embodiment of the present invention.
FIG. 11 is a diagram showing a change in the state of the multifunctional IC card according to the fourth embodiment of the present invention (when both functional units are used at the same time).
FIG. 12 is a diagram showing a change in the state of the multifunctional IC card according to the fourth embodiment of the present invention (when only the second functional unit is used).
FIG. 13 is a block diagram showing a configuration of a conventional multifunctional IC card.
[Explanation of symbols]
101 Host
102 Input / output unit
111, 411, 711, 1011, 1311 Multi-function IC card
112 Function unit ON / OFF control unit
113, 413, 713, 1013, 1313 External interface unit
114 first functional unit
115 second functional unit
121 I / O control unit
125, 128 input / output unit
126, 129 control unit
127, 130 Function operation unit
131, 132 I / O buffer
133, 134, 433, 434, 733, 734, 1033, 1034
AND gate
401, 1001 second functional unit status determination unit
402, 1002 First functional unit status determination unit
701, 702 Functional unit status judgment unit

Claims (18)

複数の機能ユニットを有し、
少なくとも1つの機能ユニットが、機能ユニット単位で動作停止可能であることを特徴とする多機能ICカード。
Has multiple functional units,
A multifunctional IC card wherein at least one functional unit can be stopped for each functional unit.
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信された情報を入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送された情報を入力して外部に出力する外部インターフェース部と、
を有し、
前記外部インターフェース部は、動作の停止している前記機能ユニットに情報を伝送しないことを特徴とする多機能ICカード。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs information transmitted from the outside and transmits the information to the plurality of functional units, and inputs information transmitted from the functional unit and outputs the information to the outside;
Has,
The multifunctional IC card according to claim 1, wherein the external interface unit does not transmit information to the functional unit in which the operation is stopped.
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有し、
前記機能ユニット部は、外部からのICカードのタイプの問い合わせコマンドに対して、動作の停止していない前記機能ユニットのみの存在を知らせるレスポンスを生成し、前記外部インターフェース部に出力することを特徴とする多機能ICカード。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
Has,
The functional unit unit generates a response notifying the presence of only the functional unit whose operation is not stopped in response to an external IC card type inquiry command, and outputs the response to the external interface unit. Multifunctional IC card.
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有し、
前記機能ユニットが入力したコマンドが、他の前記機能ユニットの機能を停止させるコマンドであれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、他の前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカード。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
Has,
If the command input by the functional unit is a command to stop the function of another functional unit, the functional unit sends a control signal to the external interface unit, and then the external interface unit performs another control according to the control signal. A multi-function IC card, wherein a command is not transmitted to said functional unit.
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有し、
前記機能ユニットが入力したコマンドの順序が、他の前記機能ユニットの機能を停止させるコマンドの順序であれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、他の前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカード。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
Has,
If the order of commands input by the functional unit is the order of commands to stop the functions of the other functional units, the functional unit sends a control signal to the external interface unit, and then the external interface unit A multifunctional IC card which does not transmit a command to another functional unit according to a signal.
前記機能ユニットが入力したコマンドが、前記機能ユニットを初期状態に戻すリセットコマンドであれば、前記機能ユニットは前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送するようにすることを特徴とする請求項4又は5に記載の多機能ICカード。If the command input by the functional unit is a reset command for returning the functional unit to the initial state, the functional unit stops transmitting the control signal to the external interface unit, and then the external interface unit transmits another control signal to the external interface unit. The multifunctional IC card according to claim 4, wherein a command is transmitted to the functional unit. 少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有し、
前記機能ユニットが入力したコマンドが、前記機能ユニットの機能を停止させるコマンドであれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカード。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
Has,
If the command input by the functional unit is a command to stop the function of the functional unit, the functional unit sends a control signal to the external interface unit, and then the external interface unit transmits the control unit according to the control signal. A multifunctional IC card characterized in that a command is not transmitted to the IC card.
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有し、
前記機能ユニットが入力したコマンドの順序が、前記機能ユニットの機能を停止させるコマンドの順序であれば、前記機能ユニットは前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部は前記制御信号に従って、前記機能ユニットにコマンドを伝送しないようにすることを特徴とする多機能ICカード。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
Has,
If the order of the command input by the functional unit is the order of the command to stop the function of the functional unit, the functional unit sends a control signal to the external interface unit, and then the external interface unit follows the control signal. A multi-function IC card, wherein a command is not transmitted to the functional unit.
他の前記機能ユニットが入力したコマンドが、他の前記機能ユニットを初期状態に戻すリセットコマンドであれば、他の前記機能ユニットは前記機能ユニットに状態信号を出力し、前記機能ユニットは前記制御信号を元に前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が前記機能ユニットにコマンドを伝送するようにすることを特徴とする請求項7又は8に記載の多機能ICカード。If the command input by the other functional unit is a reset command for returning the other functional unit to an initial state, the other functional unit outputs a status signal to the functional unit, and the functional unit outputs the control signal. 9. The multi-function according to claim 7, wherein the transmission of the control signal to the external interface unit is stopped based on the following, and then the external interface unit transmits a command to the functional unit. IC card. 複数の機能ユニットを有する多機能ICカードの制御方法であって、
1つの機能ユニットを機能ユニット単位で動作停止する動作停止ステップを有することを特徴とする多機能ICカードの制御方法。
A method for controlling a multifunctional IC card having a plurality of functional units,
A method for controlling a multifunctional IC card, comprising an operation stopping step of stopping operation of one functional unit in units of functional units.
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信された情報を入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送された情報を入力して外部に出力する外部インターフェース部と、
を有するICカードの制御方法であって、
前記外部インターフェース部から動作中の前記機能ユニットに情報を伝送する伝送ステップと、
前記外部インターフェース部から動作停止中の前記機能ユニットに情報を伝送しない停止ステップと、
を有することを特徴とする多機能ICカードの制御方法。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs information transmitted from the outside and transmits the information to the plurality of functional units, and inputs information transmitted from the functional unit and outputs the information to the outside;
A method for controlling an IC card having
A transmission step of transmitting information from the external interface unit to the operating functional unit;
A stopping step of not transmitting information from the external interface unit to the functional unit that is inactive,
A control method for a multi-function IC card, comprising:
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットを有するICカードの制御方法であって、
外部からのICカードのタイプの問い合わせコマンドを受信する受信ステップと、
それに対して、動作の停止していない前記機能ユニットのみの存在を知らせるレスポンスを生成し、外部に送信する送信ステップと、
を有することを特徴とする多機能ICカードの制御方法。
A method for controlling an IC card having a plurality of functional units including at least one functional unit that can be stopped, comprising:
A receiving step of receiving an external IC card type inquiry command;
On the other hand, a transmission step of generating a response notifying the presence of only the functional unit whose operation has not been stopped and transmitting the response to the outside,
A control method for a multi-function IC card, comprising:
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有するICカードの制御方法であって、
前記機能ユニット及び他の前記機能ユニットが、他の前記機能ユニットの機能を停止させる停止コマンドを受信する受信ステップと、
前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、
前記受信ステップの後、他の前記機能ユニットの機能が停止する機能停止ステップと、
を有することを特徴とする多機能ICカードの制御方法。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
A method for controlling an IC card having
A receiving step in which the functional unit and the other functional unit receive a stop command for stopping a function of the other functional unit;
After the receiving step, a command stopping step in which the functional unit sends a control signal to the external interface unit, and thereafter the external interface unit does not transmit a command to another functional unit.
After the receiving step, a function stopping step in which the functions of the other functional units are stopped;
A control method for a multi-function IC card, comprising:
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有するICカードの制御方法であって、
前記機能ユニット及び他の前記機能ユニットが、他の前記機能ユニットの機能を停止させる順序でコマンドを受信する受信ステップと、
前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、
前記受信ステップの後、他の前記機能ユニットの機能が停止する機能停止ステップと、
を有することを特徴とする多機能ICカードの制御方法。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
A method for controlling an IC card having
A receiving step in which the functional unit and the other functional units receive commands in an order to stop the functions of the other functional units;
After the receiving step, a command stopping step in which the functional unit sends a control signal to the external interface unit, and thereafter the external interface unit does not transmit a command to another functional unit.
After the receiving step, a function stopping step in which the functions of the other functional units are stopped;
A control method for a multi-function IC card, comprising:
前記機能ユニットが、前記機能ユニットを初期状態に戻すリセットコマンドを受信するリセットコマンド受信ステップと、
前記リセットコマンド受信ステップの後、前記機能ユニットは前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送するようにするコマンド伝送再開ステップと、
を更に有することを特徴とする請求項13又は14に記載の多機能ICカードの制御方法。
A reset command receiving step in which the functional unit receives a reset command for returning the functional unit to an initial state;
After the reset command receiving step, the functional unit stops transmitting the control signal to the external interface unit, and thereafter, the command transmission restarting step in which the external interface unit transmits a command to another functional unit. When,
The method of controlling a multi-function IC card according to claim 13, further comprising:
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有するICカードの制御方法であって、
前記機能ユニットが、前記機能ユニットの機能を停止させる停止コマンドを受信する受信ステップと、
前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、
前記受信ステップの後、前記機能ユニットの機能が停止する機能停止ステップと、
を有することを特徴とする多機能ICカードの制御方法。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
A method for controlling an IC card having
A receiving step of receiving the stop command for stopping the function of the functional unit,
After the receiving step, a command stopping step in which the functional unit sends a control signal to the external interface unit, and thereafter, the external interface unit does not transmit a command to the functional unit;
After the receiving step, a function stopping step in which the function of the functional unit is stopped;
A control method for a multi-function IC card, comprising:
少なくとも1つの動作停止可能な機能ユニットを含む複数の機能ユニットと、
外部から送信されたコマンドを入力して複数の前記機能ユニットに伝送し、前記機能ユニットから伝送されたレスポンスを入力して外部に出力する外部インターフェース部と、
を有するICカードの制御方法であって、
前記機能ユニットが、前記機能ユニットの機能を停止させる順序でコマンドを受信する受信ステップと、
前記受信ステップの後、前記機能ユニットが前記外部インターフェース部に制御信号を送り、その後前記外部インターフェース部が前記機能ユニットにコマンドを伝送しないようにするコマンド停止ステップと、
前記受信ステップの後、前記機能ユニットの機能が停止する機能停止ステップと、
を有することを特徴とする多機能ICカードの制御方法。
A plurality of functional units including at least one deactivating functional unit;
An external interface unit that inputs a command transmitted from the outside, transmits the command to the plurality of functional units, inputs a response transmitted from the functional unit, and outputs the response to the outside,
A method for controlling an IC card having
A receiving step in which the functional unit receives a command in an order to stop the function of the functional unit;
After the receiving step, a command stopping step in which the functional unit sends a control signal to the external interface unit, and thereafter, the external interface unit does not transmit a command to the functional unit;
After the receiving step, a function stopping step in which the function of the functional unit is stopped;
A control method for a multi-function IC card, comprising:
他の前記機能ユニットが、他の前記機能ユニットを初期状態に戻すリセットコマンドを受信するリセットコマンド受信ステップと、
前記リセットコマンド受信ステップの後、他の前記機能ユニットは前記機能ユニットに状態信号を伝送する状態信号伝送ステップと、
前記状態信号伝送ステップの後、前記機能ユニットは前記外部インターフェース部への前記制御信号の伝送を止めて、その後前記外部インターフェース部が他の前記機能ユニットにコマンドを伝送するようにするコマンド伝送再開ステップと、
を更に有することを特徴とする請求項16又は17に記載の多機能ICカードの制御方法。
A reset command receiving step in which the other functional unit receives a reset command for returning the other functional units to an initial state;
After the reset command receiving step, the other functional units transmit a status signal to the functional unit, and a status signal transmitting step;
After the status signal transmission step, the functional unit stops transmitting the control signal to the external interface unit, and thereafter, a command transmission restarting step in which the external interface unit transmits a command to another of the functional units. When,
18. The method for controlling a multi-function IC card according to claim 16, further comprising:
JP2002197801A 2002-07-05 2002-07-05 Multi-function IC card and control method thereof Expired - Fee Related JP4057360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002197801A JP4057360B2 (en) 2002-07-05 2002-07-05 Multi-function IC card and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002197801A JP4057360B2 (en) 2002-07-05 2002-07-05 Multi-function IC card and control method thereof

Publications (2)

Publication Number Publication Date
JP2004038796A true JP2004038796A (en) 2004-02-05
JP4057360B2 JP4057360B2 (en) 2008-03-05

Family

ID=31705474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002197801A Expired - Fee Related JP4057360B2 (en) 2002-07-05 2002-07-05 Multi-function IC card and control method thereof

Country Status (1)

Country Link
JP (1) JP4057360B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006218810A (en) * 2005-02-14 2006-08-24 Konica Minolta Business Technologies Inc Image forming device
WO2007049455A1 (en) * 2005-10-28 2007-05-03 Matsushita Electric Industrial Co., Ltd. Semiconductor memory card

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006218810A (en) * 2005-02-14 2006-08-24 Konica Minolta Business Technologies Inc Image forming device
JP4539358B2 (en) * 2005-02-14 2010-09-08 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus
WO2007049455A1 (en) * 2005-10-28 2007-05-03 Matsushita Electric Industrial Co., Ltd. Semiconductor memory card

Also Published As

Publication number Publication date
JP4057360B2 (en) 2008-03-05

Similar Documents

Publication Publication Date Title
KR101565357B1 (en) Systems, methods, and apparatuses for handling timeouts
US9342131B2 (en) USB hub and control method of USB hub
KR20180050728A (en) Bridging and virtualizing input / output signals on multi-node networks
US20190034106A1 (en) Power down mode for universal flash storage (ufs)
KR20160147926A (en) Usb power delivery controller sharing
CN104272388A (en) Ultra-deep power-down mode for memory devices
KR20120096858A (en) Remote wakeup of application processor of mobile device
KR20060132847A (en) Multi-module circuit card with inter-module direct memory access
KR20150087668A (en) Device for routing wakeup signal using physical layer for low power, method thereof, and data processing system having same
KR101936765B1 (en) Electronic device, micro controller and method for controlling thereof
KR102151178B1 (en) Serial communication apparatus and method thereof
JP2010086524A (en) Bridge device with function to save power
CN103870429A (en) High-speed-signal processing board based on embedded GPU
US20130040702A1 (en) Sd switch box in a cellular handset
JP2015170292A (en) semiconductor device
US20210389371A1 (en) Debug data communication system for multiple chips
JP2008130074A (en) Integrated hub control chip
US7321980B2 (en) Software power control of circuit modules in a shared and distributed DMA system
JP4057360B2 (en) Multi-function IC card and control method thereof
KR20200093106A (en) Semiconductor integrated circuit and operation method thereof
US20180343302A1 (en) Data management circuit with network functions and network-based data management method
JP2010055265A (en) System lsi, control method of system lsi, program, and storage medium
US20170177219A1 (en) Method of operating storage device using serial interface and method of operating data processing system including the same
TWI459187B (en) Computer system
KR20150020843A (en) Data storage device and data processing system including the same

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050524

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050705

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070822

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071213

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121221

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131221

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees