JPS60205689A - Portable medium - Google Patents

Portable medium

Info

Publication number
JPS60205689A
JPS60205689A JP59061360A JP6136084A JPS60205689A JP S60205689 A JPS60205689 A JP S60205689A JP 59061360 A JP59061360 A JP 59061360A JP 6136084 A JP6136084 A JP 6136084A JP S60205689 A JPS60205689 A JP S60205689A
Authority
JP
Japan
Prior art keywords
circuit
memory
signal
information
card
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
JP59061360A
Other languages
Japanese (ja)
Other versions
JPH0416833B2 (en
Inventor
Katsuhisa Hirokawa
広川 勝久
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 JP59061360A priority Critical patent/JPS60205689A/en
Publication of JPS60205689A publication Critical patent/JPS60205689A/en
Publication of JPH0416833B2 publication Critical patent/JPH0416833B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

PURPOSE:To protect information safely against alteration of content of memory, improper reading etc. by providing a control device that changes acceptable instruction signal. CONSTITUTION:An IC card has a built-in integrated circuit 2 and the circuit 2 makes exchange of information between external equipment through a terminal section 3. When a write instruction signal W51 or a read instruction signal R51 is given from a control circuit 4 to a memory 5, a write control signal W52 or read control signal R52 is generated only when the content of a memory circuit 11 is ''0'' or ''1'' signal. When a write instruction signal W61 or a read instruction signal R61 is given from the circuit 4 to a memory 6, a write control signal W62 or a read control signal R62 is generated to the memory 6 only when the content of the circuit 11 is ''1'' signal. Accordingly, executable instruction signal can be changed according to the content of the circuit 11.

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カードが開発
され、実用化されつつある。
[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.

このICカードは、演算などを行なうマイクロコンピュ
ータ(以下、単にマイコンと略称する)、暗証番号およ
び取引情報などを記憶するデータメモリ(FROM) 
、およびカード外との情報の授受を行なうインタフェイ
ス回路などからなる集積回路を内蔵しており、インタフ
ェイス回路および端子部を介してカード外の外部機器と
の間で情報交換を行なうようになっている。そして、集
積回路が提供する情報の入力、出力、記憶、演算などの
各機能は、端子部を介してカード外から命令信号を与え
ることにより選択的に実行可能となっている。
This IC card consists of a microcomputer (hereinafter simply referred to as microcomputer) that performs calculations, etc., and a data memory (FROM) that stores personal identification numbers, transaction information, etc.
It has a built-in integrated circuit consisting of a , interface circuit, etc. that exchanges information with the outside of the card, and information is exchanged with external equipment outside the card via the interface circuit and terminal section. ing. 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カード応用システムにお
いては上記の選択が適切に行われ得るが、誤操作または
関連機器の誤動作などにより、また更に他の応用システ
ムに誤って使用される場合などにおいては、上記の選択
が適切に行われることが保証されない。したがって、応
用システムの誤操作、誤動作などによる記憶内容の改ざ
ん、不正読出しなどに対して情報を安全に保護すること
ができないという問題があった。
By the way, 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 there are cases where it is used incorrectly in other application systems due to incorrect operation or malfunction of related equipment. In this case, it is not guaranteed that the above selection will be made appropriately. Therefore, there is a problem in that information cannot be safely protected from 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

[発明の概要] 本発明は上記目的を達成するために、受付可能な命令信
号を切換える切換制御手段を設けることにより、受付可
能な命令信号のみを受付は実行するようにしたものであ
る。
[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, reference numeral 1 denotes an IC card, which has an integrated circuit 2 built therein. Further, a terminal portion 3 is provided at a predetermined portion on the surface of the IC card 1, and this terminal portion 3 is electrically connected to the internal integrated circuit 2, and the card is externally connected via this terminal portion 3. Information is exchanged with external 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メモリ(たとえばPROM)5、第2メモリ(たと
えばPROM)6゜およびインタフェイス回路7から構
成されていて、カード外との情報交換時には、制御回路
4によって第1、第2メモリ5.6のいずれか一方が選
択され、インタフェイス回路7および制御回路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, PROM) as an information storage means connected to the control circuit 4. ) 5, a second memory (for example, PROM) 6°, and an interface circuit 7, and when exchanging information with the outside of the card, either the first or second memory 5.6 is selected by the control circuit 4. Information is written or read via the interface circuit 7 and 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に固定
情報を1込むと、その書込終了後に制御回路4が記憶回
路11に“1″信号を書込むものである。
FIG. 3 shows a switching control circuit for switching command signals that can be accepted under the above conditions, and this switching control circuit is provided within the control circuit 4, for example. In the figure, a storage circuit 11 stores switching control information, and in this embodiment, for example, a non-volatile memory is used, and the initial value is a "0'' signal. That is, the first and second
In the initial state where no information is written in the memory 5゜6, a 0°° signal is written, and when fixed information 1 is written into the first memory 5, the control circuit 4 is activated after the writing is completed. This is to write a "1" signal into the memory circuit 11.

インバータ回路12は記憶回路11の出力を反転する回
路である。アンド回路13は、インバータ回路12の出
力と制御回路4から出力される第1メモリ5に対する書
込命令信号Ws !との論理積をとり、第1メモリ5に
対する書込制御信号Ws 2を出力する。アンド回路1
4は、記憶回路11の出力と制御回路4から出力される
第2メモリ6に対する書込命令信号Ws 1との論理積
をとり、第2メモリ6に対する書込制御信号W62を出
力する。アンド回路15は、記憶回路11の出力と制御
回路4から出力される第1メモリ5に対する読出命令信
号R5Iとの論理積をとり、第1メモリ5に対する読出
制御信号RIi2を出力する。
The inverter circuit 12 is a circuit that inverts the output of the memory circuit 11. The AND circuit 13 outputs a write command signal Ws! to the first memory 5 which is output from the inverter circuit 12 and the control circuit 4. A write control signal Ws2 for the first memory 5 is output. AND circuit 1
4 performs an AND operation between the output of the storage circuit 11 and the write command signal Ws1 for the second memory 6 output from the control circuit 4, and outputs a write control signal W62 for the second memory 6. The AND circuit 15 performs a logical product of the output of the storage circuit 11 and the read command signal R5I for the first memory 5 output from the control circuit 4, and outputs a read control signal RIi2 for the first memory 5.

アンド回路16は、記憶回路11の出力と制御回路4か
ら出力される第2メモリ6に対する続出命令信号Rs1
どの論理積をとり、第2メモリ6に対する読出制御信号
R62を出力する。
The AND circuit 16 combines the output of the storage circuit 11 with a successive instruction signal Rs1 for the second memory 6 output from the control circuit 4.
Which AND is taken and the read control signal R62 for the second memory 6 is output.

このような構成において、制御回路4から第1メモリ5
に対する書込命令信号Ws sが出力された場合、記憶
回路11の内容が゛0″信号の場合に限って、第1メモ
リ5に対する書込制御信号Ws 2を発生させることが
できる。同様に、第1メモリ5に対する読出命令信号R
ssが出力された場合、記憶回路11の内容が゛1゛′
信号の場合に限って、第1メモリ5に対する読出制御信
号R52を発生させることができる。また、制御回路4
から第2メモリ6に対する書込命令信号Ws 1あるい
は読出命令信号Rssが出力された場合、記憶回路11
の内容が゛1″信号の場合に限って、第2メモリ6に対
する書込制御信号W62あるいは読出制御信号R62を
発生させることができる。なお、上記書込命令信号Wl
i1゜Ws lあるいは読出命令信号Rs t 、 R
61は、たとえば情報の書込時あるいは続出時、端子部
3を介してカード外から書込命令信号あるいは読出命令
信号を入力することにより、それを制御回路4が受入れ
、出力するようになっている。
In such a configuration, the first memory 5 is connected to the control circuit 4.
When the write command signal Ws s for the first memory 5 is output, the write control signal Ws 2 for the first memory 5 can be generated only when the content of the storage circuit 11 is the "0" signal.Similarly, Read command signal R for first memory 5
When ss is output, the contents of the memory circuit 11 become ``1''
Only in the case of a signal, the read control signal R52 for the first memory 5 can be generated. In addition, the control circuit 4
When the write command signal Ws1 or the read command signal Rss for the second memory 6 is output from the storage circuit 11
It is possible to generate the write control signal W62 or the read control signal R62 for the second memory 6 only when the content of the above-mentioned write command signal Wl is the "1" signal.
i1゜Ws l or read command signal Rs t, R
61 is configured so that, for example, when writing or continuously writing information, by inputting a write command signal or a read command signal from outside the card via the terminal section 3, the control circuit 4 receives and outputs the signal. There is.

以上説明したような構成であれば、記憶回路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. Further, it is possible to prevent information from being written to or read from the second memory 6 unless information is written to the first memory 5.

したがって、応用システムの誤操作、誤動作などによる
記憶内容の改ざん、不正読出しなどに対して情報を安全
に保護することが可能となる。更に、ICカードの応用
システムも、ICカードの発行時と運用時で上記のよう
に受付可能な命令信号が切換えられることを前提として
、セキュリティ上重要な情報はカード発行時にのみ書込
むことができるようになる。
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. 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メモリに対する情報
の書込みあるいは読出しの命令信号について説明したが
、その外に制御回路に対する演算の命令信号などをも含
めることができる。また、前述した命令信号の切換制御
は、制御回路内のマイコンでソフト的に行なうことも可
能である。更に、上記切換制御は、情報を安全に保護す
るため、必要に応じて可逆、非可逆のいずれかを選択す
ることが可能である。また、第9図に示す切換制御回路
は集積回路外に設けてもよい。
In the above embodiment, the instruction signal for writing or reading information to the first and second memories has been described, but in addition to this, it is also possible to include an instruction signal for calculation to the control circuit. Further, the above-mentioned command signal switching control can also be performed by software using a microcomputer within the control circuit. Furthermore, in order to safely protect information, the switching control described above can be selected as either reversible or irreversible as necessary. Further, the switching control circuit shown in FIG. 9 may be provided outside the integrated circuit.

また、前記実施例では、通貨取引装置のICカードとし
て用いられるICカードに適用した場合について説明し
たが、これに限らず、たとえばショッピングカード、キ
ャッシュカード、電話料金カードなど、他のメモリカー
ドとして用いられるICカードなどにも適用できる。
Further, in the above embodiment, the case where the IC card is applied to the IC card used as the IC card of the currency transaction device has been described, but the application is not limited to this, and the application can be applied to other memory cards such as shopping cards, cash cards, telephone bill cards, etc. It can also be applied to IC cards, etc.

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

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

図は本発明の一実施例を説明するためのもので、第1図
はICカードの外観斜視図、第2図は集積回路の構成図
、第3図は切換制御回路の構成図である。 1・・・ICカード、2・・・集積回路、3・・・端子
部、4・・・制御回路、5.6・・・メモリ、7・・・
インタフェイス回路、11・・・記憶回路、12・・・
インバータ回路、13〜16・・・アンド回路。 出願人代理人 弁理士 鈴江武彦 第1図 1 第2図 2) 第3図 1
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 part, 4... Control circuit, 5.6... Memory, 7...
Interface circuit, 11... Memory circuit, 12...
Inverter circuit, 13-16...AND circuit. Applicant's representative Patent attorney Takehiko Suzue Figure 1 1 Figure 2 2) Figure 3 1

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, which can receive command signals. 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.
JP59061360A 1984-03-29 1984-03-29 Portable medium Granted JPS60205689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59061360A JPS60205689A (en) 1984-03-29 1984-03-29 Portable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59061360A JPS60205689A (en) 1984-03-29 1984-03-29 Portable medium

Publications (2)

Publication Number Publication Date
JPS60205689A true JPS60205689A (en) 1985-10-17
JPH0416833B2 JPH0416833B2 (en) 1992-03-25

Family

ID=13168911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59061360A Granted JPS60205689A (en) 1984-03-29 1984-03-29 Portable medium

Country Status (1)

Country Link
JP (1) JPS60205689A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62123587A (en) * 1985-11-25 1987-06-04 Nec Corp Memory cell card
US6371377B2 (en) 1997-12-10 2002-04-16 Fujitsu Limited Card type recording medium and access control method for card type recording medium and computer-readable recording medium having access control program for card type recording medium recorded

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62123587A (en) * 1985-11-25 1987-06-04 Nec Corp Memory cell card
US6371377B2 (en) 1997-12-10 2002-04-16 Fujitsu Limited Card type recording medium and access control method for card type recording medium and computer-readable recording medium having access control program for card type recording medium recorded

Also Published As

Publication number Publication date
JPH0416833B2 (en) 1992-03-25

Similar Documents

Publication Publication Date Title
JPS63204493A (en) Portable electronic device
JPS609308B2 (en) electronic card
JPS6049942B2 (en) data processing equipment
JPH02210590A (en) Portable data carrier for storing and processing data
KR910009097B1 (en) Ic card
US20030120945A1 (en) Program writable IC card and method thereof
JPS60205690A (en) Portable medium
JPS60205689A (en) Portable medium
JPS61211787A (en) Ic card
JPS6387296A (en) Portable medium
JP3195122B2 (en) Check method of instruction format given to IC card
JPH07113960B2 (en) IC card
KR20000012675A (en) Card reader
JPH0253154A (en) Portable electronic equipment
JPS6376035A (en) Ic card
JPS5864585A (en) Paper money discriminator
JPS6387295A (en) Portable medium
JPS63288383A (en) Integrated circuit card
JPS63192180A (en) Portable electronic equipment
JPS63229542A (en) Electronic card
JPH04153097A (en) Ic card
JPH02156390A (en) Portable electronic device
EP0268140A2 (en) Hardware cartridge representing verifiable, use-once authorization
JPS6175984A (en) Integrated circuit card
JPS63228282A (en) Portable electronic equipment