JPS6387296A - Portable medium - Google Patents

Portable medium

Info

Publication number
JPS6387296A
JPS6387296A JP62220682A JP22068287A JPS6387296A JP S6387296 A JPS6387296 A JP S6387296A JP 62220682 A JP62220682 A JP 62220682A JP 22068287 A JP22068287 A JP 22068287A JP S6387296 A JPS6387296 A JP S6387296A
Authority
JP
Japan
Prior art keywords
memory
circuit
information
card
portable medium
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.)
Pending
Application number
JP62220682A
Other languages
Japanese (ja)
Inventor
勝久 廣川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62220682A priority Critical patent/JPS6387296A/en
Publication of JPS6387296A publication Critical patent/JPS6387296A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、たとえば集積回路を内蔵したいわゆるICカ
ードと称される携帯可能媒体に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a portable medium, for example, a so-called IC card, which has a built-in integrated circuit.

[発明の技術的背景とその問題点] 一般に、たとえば通貨取引装置などにおける取引媒体と
して、いわゆるIDカードが用いられているが、最近、
この種のIDカードとして、いわゆるICカードが開発
され、実用化されつつある。このICカードは、演算な
どを行なうマイクロコンビ、−タ(以下、単にiイコン
と略称する)、暗証番号および取引情報などを記憶する
データメモリCPROM ) 、およびカード外との情
報の授受を行なうインタフェイス回路などからなる集積
回路を内蔵しておシ、インタ7工イス回路および端子部
を介してカード外の外部機器との間で情報交換を行なう
ようになっている。そして、集積回路が提供する情報の
入力、出力、記憶、演算などの各機能は、端子部を介し
てカード外から命令信号を与えることにより選択的に実
行可能となっている。
[Technical background of the invention and its problems] Generally, so-called ID cards are used as transaction media in currency transaction devices, etc., but recently,
As this type of ID card, a so-called IC card has been developed and is being put into practical use. This IC card consists of a microcombi card that performs calculations, a data memory (CPROM) that stores personal identification numbers, transaction information, etc., and an interface that sends and receives information from outside the card. It has a built-in integrated circuit consisting of a face circuit, etc., and information is exchanged with external equipment outside the card via an interface circuit and a terminal section. Each function such as inputting, outputting, storing, and calculating information provided by the integrated circuit can be selectively executed by applying a command signal from outside the card via the terminal section.

とζろで、このようなICカードにおける情報の入力、
出力、記憶、演算などの各機能は、情報を保護するため
に適切に選択され実行される必要がある。しかし、適正
に設計され運用されているICカード応用システムにお
いては上記の選択が適切忙行われ得るが、誤操作または
関連機器の誤動作などにより、マた更に他の応用システ
ムに誤って使用される場合などKbいては、上記の選択
が適切に行われることが保証されない。し九がって、応
用システムの誤操作、誤動作などによる記憶内容の改ざ
ん、不正読出しなどに対して情報を安全圧保護すること
ができないという問題があった。
Inputting information on such an IC card,
Functions such as output, storage, and computation must be appropriately selected and executed to protect information. However, in an IC card application system that is properly designed and operated, the above selection can be made appropriately, but due to incorrect operation or malfunction of related equipment, it may be used incorrectly in other application systems. etc., it is not guaranteed that the above selection will be made appropriately. As a result, there is a problem in that information cannot be safely protected against tampering or unauthorized reading of stored contents due to erroneous operation or malfunction of the application system.

[発明の目的] 本発明は上記事情に鑑みてなされたもので、その目的と
するところは、応用システムの誤操作、誤動作などによ
る記憶内容の改ざん、不正読出しなどに対して情報を安
全に保護することができる携帯可能媒体を提供すること
にある。
[Purpose of the Invention] The present invention has been made in view of the above circumstances, and its purpose is to safely protect information from falsification of memory contents due to erroneous operation or malfunction of an application system, unauthorized reading, etc. The objective is to provide a portable medium that can

[発明の概要コ 本発明は上記目的を達成するために1受付可能な命令信
号を切換える切換制御手段を設けることにより、受付可
能な命令信号のみを受付は実行するようにしたものであ
る。
[Summary of the Invention] In order to achieve the above object, the present invention provides a switching control means for switching the command signals that can be accepted, so that only the command signals that can be accepted are accepted.

[発明の実施例] 以下、本発明の一実施例について図面を参照して説明す
る。
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図において、1はICカードであシ、集積回路2を
内蔵している。また、ICカード1の表面所定部位には
端子部3が設けられていて、この端子部3は内部の集積
回路2と電気的に接続されており、この端子部3を介し
てカード外の外部機器との間で情報交換を行なうように
なっている。
In FIG. 1, 1 is an IC card, which has an integrated circuit 2 built therein. Further, a terminal section 3 is provided at a predetermined portion on the surface of the IC card 1, and this terminal section 3 is electrically connected to the internal integrated circuit 2, and is connected to an external device outside the card via this terminal section 3. Information is exchanged with devices.

そして、集積回路2が提供する情報の入力、出力、記憶
、演算などの各機能は、端子部3を介してカード外から
電文形式の命令信号を与えるか、あるいは特定端子への
命令信号を与えることにより選択的に実行可能となって
いる。
Each function such as input, output, storage, and calculation of information provided by the integrated circuit 2 is performed by giving a command signal in the form of a message from outside the card via the terminal section 3, or by giving a command signal to a specific terminal. This makes it possible to execute it selectively.

第2図は集積回路2の構成を示すもので、演算などを行
なうマイコンなどを主体に構成される制御回路4、この
制御回路4にそれぞれ接続される情報記憶手段としての
第1メモリ(たとえばFROM ) j、第2メモリ(
たとえばFROM ) 6、およびインタフェイス回路
1から構成されていて、カード外との情報交換時には、
制御回路4によって第1、第2メモリ5.6のいずれか
一方が選択され、インタフェイス回路2および制御回路
4を介して情報の書込みあるいは読出しが行われる。
FIG. 2 shows the configuration of the integrated circuit 2, which includes a control circuit 4 mainly composed of a microcomputer that performs calculations, etc., and a first memory (for example, FROM) connected to the control circuit 4 as an information storage means. ) j, second memory (
For example, it consists of a FROM (FROM) 6 and an interface circuit 1, and when exchanging information with outside the card,
Either one of the first and second memories 5.6 is selected by the control circuit 4, and information is written or read via the interface circuit 2 and the control circuit 4.

上記第1メモリ5は、たとえばカードの発行時に固定情
報(たとえばカード発行者の発行者暗証番号、カード利
用者の利用者暗証番号など)を書込み、書込みの終了後
は読出しのみが受付けられるものとし、また第2メモリ
6は、上記の第1メモリ5への固定情報の書込み終了後
に情報(たとえば取引情報など)の書込みまたは読出し
が可能となるよう設定されている。
For example, the first memory 5 writes fixed information (for example, the card issuer's issuer PIN number, the card user's user PIN number, etc.) when the card is issued, and after the writing is completed, only reading can be accepted. Further, the second memory 6 is set so that information (for example, transaction information) can be written or read after the fixed information has been written to the first memory 5 described above.

第3図は上記条件で受付可能な命令信号の切換えを行な
うための切換制御回路を示しておシ、仁の切換制御回路
はたとえば前記制御回路4内に設けられる。図において
、記憶回路11は、切換制御情報を記憶するもので、こ
の実施例ではたとえが不揮発性メモリを用いておシ、初
期値を@0”信号としである。すなわち、第1、第2メ
モリ5゜6に何ら情報が書込まれていない初期状態時は
@0”信号が書込まれていて、第1メモリ5に固定情報
を書込むと、その書込終了後に制御回路4が記憶回路1
1に@1”信号を書込むもので“ある。
FIG. 3 shows a switching control circuit for switching command signals that can be accepted under the above conditions.The switching control circuit shown in FIG. In the figure, a storage circuit 11 stores switching control information, and in this embodiment, a non-volatile memory is used as an example, and the initial value is set to an @0'' signal. That is, the first and second In the initial state when no information is written in the memory 5.6, the @0'' signal is written, and when fixed information is written in the first memory 5, the control circuit 4 stores it after the writing is completed. circuit 1
It writes the @1" signal to 1.

インバータ回路12は記憶回路11の出力を反転する回
路である。アンド回路13は、インバータ回路12の出
力と制御回路4から出力される第1メモリ5に対する書
込命令信号WS1との論理積をと)、第1メモリ5に対
する書込制御信号Ws!を出力する。アンド回路14は
、記憶回路1zの出力と制御回路4から出力される第2
メモリ6に対する書込命令信号W61との論理積をと9
、第2メモリ6に対する書込制御信号W4tを出力する
。アンド回路15は、記憶回路11の出力と制御回路4
から出力される第1メモリ5に対する読出命令信号R5
1との論理積をとシ、第1メモリ5に対する読出制御信
号RSSを出力する。アンド回路16は、記憶回路11
の出力と制御回路4から出力される第2メモリ6に対す
る読出命令信号alllとの論理積をとり、第2メモリ
6に対する読出制御信号R@zを出力する。
The inverter circuit 12 is a circuit that inverts the output of the memory circuit 11. The AND circuit 13 calculates the logical product of the output of the inverter circuit 12 and the write command signal WS1 for the first memory 5 output from the control circuit 4), and the write control signal Ws! for the first memory 5! Output. The AND circuit 14 combines the output of the memory circuit 1z and the second output from the control circuit 4.
The AND with the write command signal W61 for the memory 6 is
, outputs a write control signal W4t to the second memory 6. The AND circuit 15 connects the output of the memory circuit 11 and the control circuit 4.
Read command signal R5 for the first memory 5 output from
1 and outputs a read control signal RSS to the first memory 5. The AND circuit 16 is the memory circuit 11
and the read command signal alll for the second memory 6 output from the control circuit 4, and output the read control signal R@z for the second memory 6.

このような構成において、制御回路4から第1メモI)
5’IC対する書込命令信号Ws1が出力された場合、
記憶回路11の内容が′0”信号の場合に限りて、第1
メモリ5に対する書込制御信号Ws!を発生させること
ができる。同様に、第1メモリ5に対する読出命令信号
RStが出力された場合、記憶回路z1の内容が1”信
号の場合に限って、第1メモリ5に対する続出制御信号
Ratを発生させることができる。また、制御回路4か
ら第2メモリ6に対する会込命令信号W61あるいは読
出命令信号R81が出力された場合、記憶回路11の内
容が″1”信号の場合に限って、第2メモリ6に対する
書込制御信号W6zあるいは読出制御信号Ramを発生
させることができる。なお、上記書込命令信号W61 
* Wetあるいは読出命令信号R8l5R411は、
たとえば情報の書込時あるいは読出時、端子部3を介し
てカード外から書込命令信号あるいは読出命令信号を入
力することにより、それを制御回路4が受入れ、出力す
るようになりている。
In such a configuration, the first memo I) from the control circuit 4
When the write command signal Ws1 for 5'IC is output,
Only when the content of the memory circuit 11 is a '0' signal, the first
Write control signal Ws for memory 5! can be generated. Similarly, when the read command signal RSt for the first memory 5 is output, the successive reading control signal Rat for the first memory 5 can be generated only when the content of the storage circuit z1 is a 1'' signal. , when the write command signal W61 or the read command signal R81 to the second memory 6 is output from the control circuit 4, the write control to the second memory 6 is performed only when the content of the storage circuit 11 is a "1" signal. The signal W6z or the read control signal Ram can be generated.
*Wet or read command signal R8l5R411 is
For example, when writing or reading information, a write command signal or a read command signal is input from outside the card via the terminal section 3, and the control circuit 4 accepts and outputs it.

以上説明したような構成であれば、記憶回路11の内容
により実行可能な命令信号を切換えることができ、これ
により第1メモリ5の記憶内容を書込んだ後に追加書込
みあるいは内容修正などを行なうことを防止でき、情報
を安全に保護することができる。また、第1メモリ5に
情報を書込まない限シ第2メモリ6に対する情報の書込
みあるいは続出しを行なえないようにすることができる
。したがって、応用システムの誤操作、誤動作などによ
る記憶内容の改ざん、不正読出しなどに対して情報を安
全に保護することが可能となる。
With the configuration described above, executable command signals can be switched depending on the contents of the memory circuit 11, and thereby additional writing or content modification can be performed after writing the stored contents of the first memory 5. can be prevented and information can be safely protected. Furthermore, unless information is written to the first memory 5, writing or continuous output of information to the second memory 6 can be prevented. Therefore, it is possible to safely protect information from tampering or unauthorized reading of stored contents due to erroneous operation or malfunction of the application system.

更に、ICカードの応用システムも、ICカードの発行
時と運用時で上記のように受付可能な命令信号が切換え
られることを前提として、セキーリティ上重要な情報は
カード発行時にのみ書込むことができるようになる。
Furthermore, in IC card application systems, information important for security can only be written when the card is issued, assuming that the command signals that can be accepted are switched as described above between when the IC card is issued and when it is operated. It becomes like this.

なお、前記実施例では、第1.第2メモリに対する情報
の書込みあるいは読出しの命令信号について説明したが
、その外に制御回路に対する演算p命令信号などをも含
めることができる。また、竹述した命令信号の切換制御
は、制御回路内のマイコンでソフト的に行なうことも可
能である。更、′C1上記切換制御は、情報を安全に保
護するため、各要に応じて可逆、非可逆のいずれかを選
択する二とが可能である。また、第3図に示す切換制御
回路は集積回路外に設けてもよい。
Note that in the above embodiment, the first. Although the command signal for writing or reading information to the second memory has been described, it is also possible to include an operation p command signal for the control circuit. Further, the above-mentioned command signal switching control can also be performed by software using a microcomputer within the control circuit. Further, in order to safely protect information, the above switching control 'C1 can select either reversible or irreversible depending on each requirement. Further, the switching control circuit shown in FIG. 3 may be provided outside the integrated circuit.

また、前記実施例では、通貨取引装置のIDカードとし
て用いられるICカードに適用した場合(Cついて説明
したが、これに限らず、たとえばシ1ツビングカード、
キャッシュカード、電話料金カードなど、他のメモリカ
ードとして用いられるICカードなどくも適用できる。
In addition, in the above embodiment, the case where the application is applied to an IC card used as an ID card of a currency transaction device (C was described, but it is not limited to this, for example, a transaction card,
The present invention can also be applied to other IC cards used as memory cards, such as cash cards and telephone bill cards.

[発明の効果] 以上詳述したように本発明によれば、応用システムの誤
操作、誤動作などによる記憶内容の改ざん、不正読出し
などに対して情報を安全に保護することができる携帯可
能媒体を提供できる。
[Effects of the Invention] As detailed above, the present invention provides a portable medium that can safely protect information from falsification of stored contents or unauthorized reading due to erroneous operation or malfunction of an application system. can.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の一実施例を説明するためのもので、第1図
はICカードの外観斜視図、第2図は集積回路の構成図
、第3図は切換制御回路の構成図である。 1・・・ICカード、2・・・集積回路、3・・・端子
部、4・・・制御回路、5,6・・・メモリ、7・・・
インタ7工イス回路、11・・・記憶回路、12・・・
インバータ回路、13〜16・・・アンド回路。
The drawings are for explaining one embodiment of the present invention; FIG. 1 is an external perspective view of an IC card, FIG. 2 is a configuration diagram of an integrated circuit, and FIG. 3 is a configuration diagram of a switching control circuit. DESCRIPTION OF SYMBOLS 1... IC card, 2... Integrated circuit, 3... Terminal section, 4... Control circuit, 5, 6... Memory, 7...
Inter 7 chair circuit, 11... memory circuit, 12...
Inverter circuit, 13-16...AND circuit.

Claims (6)

【特許請求の範囲】[Claims] (1) 少なくとも情報記憶手段および外部との情報交
換手段を有する集積回路を備え、前記各手段は外部から
与えられる命令信号により選択的に動作させることがで
きる携帯可能媒体において、受付可能な命令信号を切換
える切換制御手段を設けたことを特徴とする携帯可能媒
体。
(1) A portable medium comprising an integrated circuit having at least an information storage means and an information exchange means with the outside, each of said means being able to be selectively operated by a command signal given from the outside; A portable medium characterized in that it is provided with a switching control means for switching.
(2) 前記切換制御手段は、前記集積回路内に記憶さ
れた切換制御情報により受付可能な命令信号の切換えを
行なうことを特徴とする特許請求の範囲第1項記載の携
帯可能媒体。
(2) The portable medium according to claim 1, wherein the switching control means switches the command signals that can be accepted based on switching control information stored in the integrated circuit.
(3) 前記切換制御手段は、前記集積回路内に設けら
れていることを特徴とする特許請求の範囲第1項記載の
携帯可能媒体。
(3) The portable medium according to claim 1, wherein the switching control means is provided within the integrated circuit.
(4) 前記切換制御手段は、前記集積回路外に設けら
れていることを特徴とする特許請求の範囲第1項記載の
携帯可能媒体。
(4) The portable medium according to claim 1, wherein the switching control means is provided outside the integrated circuit.
(5) 前記切換制御手段による受付可能な命令信号の
切換えは可逆的であることを特徴とする特許請求の範囲
第1項記載の携帯可能媒体。
(5) The portable medium according to claim 1, wherein the switching of command signals that can be accepted by the switching control means is reversible.
(6) 前記切換制御手段による受付可能な命令信号の
切換えは非可逆的であることを特徴とする特許請求の範
囲第1項記載の携帯可能媒体。
(6) The portable medium according to claim 1, wherein the switching of command signals that can be accepted by the switching control means is irreversible.
JP62220682A 1987-09-03 1987-09-03 Portable medium Pending JPS6387296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62220682A JPS6387296A (en) 1987-09-03 1987-09-03 Portable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62220682A JPS6387296A (en) 1987-09-03 1987-09-03 Portable medium

Publications (1)

Publication Number Publication Date
JPS6387296A true JPS6387296A (en) 1988-04-18

Family

ID=16754819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62220682A Pending JPS6387296A (en) 1987-09-03 1987-09-03 Portable medium

Country Status (1)

Country Link
JP (1) JPS6387296A (en)

Similar Documents

Publication Publication Date Title
JPS63204493A (en) Portable electronic device
JPS63253493A (en) Information recording system
JPH02210590A (en) Portable data carrier for storing and processing data
JPS6049942B2 (en) data processing equipment
KR910009097B1 (en) Ic card
JPS60205690A (en) Portable medium
JPS60205688A (en) Portable medium
JPS6387296A (en) Portable medium
JPS60205689A (en) Portable medium
JPS61211787A (en) Ic card
JP3195122B2 (en) Check method of instruction format given to IC card
JPH07113960B2 (en) IC card
JPS6376035A (en) Ic card
JPS59116838A (en) Read and write control system for card information
JPS6387295A (en) Portable medium
JP2505003B2 (en) IC card with auxiliary memory
JP3054119B2 (en) Portable electronic devices
JPS63229542A (en) Electronic card
JPH01147686A (en) Portable electronic device
JP3222619B2 (en) Information recording medium using key
JPS63192180A (en) Portable electronic equipment
JPH04199290A (en) Information writing system
JPH0877316A (en) Ic card with display function and information processor using same
JPS63228282A (en) Portable electronic equipment
JPH02287782A (en) Ic card processing system