JPS6385889A - Memory card - Google Patents
Memory cardInfo
- Publication number
- JPS6385889A JPS6385889A JP61230843A JP23084386A JPS6385889A JP S6385889 A JPS6385889 A JP S6385889A JP 61230843 A JP61230843 A JP 61230843A JP 23084386 A JP23084386 A JP 23084386A JP S6385889 A JPS6385889 A JP S6385889A
- Authority
- JP
- Japan
- Prior art keywords
- data
- card
- memory
- memory card
- storage section
- 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
Links
- 230000015654 memory Effects 0.000 claims abstract description 31
- 238000013500 data storage Methods 0.000 claims abstract description 9
- 230000003287 optical effect Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明はメモリカード、特に複数種類のメモリカードに
対してデータの読出し書込みを行なうホストコンピュー
タに用いるメモリカードに関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a memory card, and particularly to a memory card used in a host computer that reads and writes data to and from a plurality of types of memory cards.
(従来の技術)
近年、新しい情報メディアとしてメモリカードが普及し
ている。このメモリカードは情報記録媒体として磁気あ
るいは光記録媒体を用いたものから、最近では大容量の
ICメモリ素子を用いたものまで広く普及している。こ
れらのメモリカードに対しては、ホストコンピュータに
よってデータの読出し書込みが行なわれる。(Prior Art) In recent years, memory cards have become popular as a new information medium. Memory cards have been widely used ranging from those using magnetic or optical recording media as information recording media to those using large-capacity IC memory elements. Data is read from and written to these memory cards by a host computer.
(発明が解決しようとする問題点)
しかしながら、従来のメモリカードには、同一のホスト
コンピュータで複数種類のメモリカードを取扱うことが
困難であるという問題点がある。(Problems to be Solved by the Invention) However, conventional memory cards have a problem in that it is difficult to handle multiple types of memory cards with the same host computer.
前述のようにたくさんの種類のメモリカードの普及に伴
い、複数種類のメモリカードを統一して取扱うことので
きるシステムが望まれている。As mentioned above, with the spread of many types of memory cards, there is a desire for a system that can handle multiple types of memory cards in a unified manner.
例えば社員用のIDカードとして用いられるメモリカー
ドの場合、タイムレコーダを介してホストコンピュータ
からのアクセスを行なうことになる。現在、このような
IDカードには、様々なフォーマットのものが存在し、
使用するフォーマットをあらかじめホストコンピュータ
に入力しておき、このフォーマットに従ったアクセスを
行なわねばならないのが現状である。もしフォーマット
の異なるIDカードを使用することにした場合は、あら
ためて新たなフォーマットをホストコンピュータに人力
しなおさねばならない。For example, in the case of a memory card used as an ID card for employees, it is accessed from a host computer via a time recorder. Currently, such ID cards exist in various formats.
Currently, the format to be used must be input into the host computer in advance, and access must be performed in accordance with this format. If you decide to use an ID card with a different format, you will have to re-enter the new format manually into the host computer.
そこで本発明は、同一のホストコンピュータで容易に複
数種類のメモリカードを扱うことが可能となるメモリカ
ードを提供することを目的とする。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a memory card that allows the same host computer to easily handle multiple types of memory cards.
(問題点を解決するための手段)
本発明は、複数種類のメモリカードに対してデータの読
出し書込みを行なうホストコンピュータに用いるメモリ
カードにおいて、記録すべきデータを記憶させる主記憶
部と、そのメモリカードの種類をホストコンピュータに
識別させるためのデータを記憶させる識別データ記憶部
と、を設け、同一のホストコンピュータで容易に複数種
類のメモリカードを扱うことができるようにしたもので
ある。(Means for Solving the Problems) The present invention provides a memory card for use in a host computer that reads and writes data to and from multiple types of memory cards, which includes a main memory section for storing data to be recorded, and a main memory section for storing data to be recorded. The present invention includes an identification data storage section that stores data for allowing the host computer to identify the type of card, so that the same host computer can easily handle a plurality of types of memory cards.
(作 用)
ホストコンピュータは、識別データ記憶部内のデータを
読込むことにより、現在アクセス中のメモリカードの種
類を認識することができる。したがって、この認識結果
に基づいて主記憶部のアクセスを行なうことができる。(Function) The host computer can recognize the type of memory card currently being accessed by reading the data in the identification data storage section. Therefore, the main storage section can be accessed based on this recognition result.
(実施例)
以下本発明を図示する2つの実施例に基づいて説明する
。(Example) The present invention will be described below based on two illustrated examples.
第1の実施例
第1図は本発明をICカードに適用した一実施例のブロ
ック図である。このICカードは、従来のICカードと
同様に、メモリ1、アドレスカウンタ2、制御回路3、
およびセレクタ4を有するが、その他に更に識別レジス
タ5を備えているのが特徴である。制御回路3には、コ
ントロールライン6を介してホストコンピュータから制
御信号が与えられ、この制御信号に基づいてメモリ1、
アドレスカウンタ2、セレクタ4、識別レジスタ5が制
御される。一方、データライン7を介してホストコンピ
ュータからこれらのメモリ、カウンタ、レジスタにデー
タ(アドレスデータを含む)が与えられ、また、これら
のメモリ、カウンタ。First Embodiment FIG. 1 is a block diagram of an embodiment in which the present invention is applied to an IC card. Like conventional IC cards, this IC card has a memory 1, an address counter 2, a control circuit 3,
and a selector 4, and is further characterized by an identification register 5. A control signal is given to the control circuit 3 from the host computer via the control line 6, and based on this control signal, the memory 1,
Address counter 2, selector 4, and identification register 5 are controlled. On the other hand, data (including address data) is supplied from the host computer to these memories, counters, and registers via the data line 7, and these memories and counters also receive data (including address data).
レジスタからのデータは、セレクタ4によって選択され
、データライン7を介してホストコンピュータに与えら
れる。Data from the register is selected by selector 4 and provided to the host computer via data line 7.
ユーザがこのICカードを利用する場合は、識別レジス
タ5にこのICカードの種類を識別するための識別デー
タを書込んで初期化してやればよい。このICカードは
複数のI10ポートををしている。すなわち、データラ
イン7上のデータを、メモリ1に与えるのか、アドレス
カウンタ2に与えるのか、あるいは識別レジスタ5に与
えるのか、をポートアドレスを指定することによって区
別できる。そこで、この初期化を行なう場合には、識別
レジスタ5を指定するポートアドレスを与え、識別レジ
スタ5に識別データを書込めばよい。When a user uses this IC card, he/she may initialize it by writing identification data for identifying the type of this IC card into the identification register 5. This IC card has multiple I10 ports. That is, it is possible to distinguish whether the data on the data line 7 is to be applied to the memory 1, the address counter 2, or the identification register 5 by specifying the port address. Therefore, when performing this initialization, it is sufficient to give a port address specifying the identification register 5 and write identification data to the identification register 5.
このような初期化がなされていれば、ホストコンピュー
タを読出すことにより、現在アクセス中のメモリカード
の種類を認識することができる。If such initialization is performed, the type of memory card currently being accessed can be recognized by reading the data from the host computer.
従って、この種類に応じたアドレス値をアドレスカウン
タ2に与え、メモリ1に対するデータの書込み/読出し
を行なうことができる。また、必要に応じて識別レジス
タ5に新たな識別データを書込めば、初期化の再設定を
行なうことができる。Therefore, it is possible to write/read data to/from memory 1 by giving an address value corresponding to this type to address counter 2. In addition, by writing new identification data into the identification register 5 as needed, initialization can be reset.
なお、上述の実施例ではI10100識別レジスタを用
いたメモリカードについて説明したが、メモリバス方式
のメモリカードにも本発明を適用できることは勿論であ
る。また、RAMタイプのメモリカードだけでなく、R
OMタイプのメモリカードにも適用できる。In the above embodiment, a memory card using an I10100 identification register has been described, but it goes without saying that the present invention can also be applied to a memory bus type memory card. In addition to RAM type memory cards, R
It can also be applied to OM type memory cards.
第2の実施例
第2図および第3図は本発明を磁気メモリカード、特に
個人用のIDカードに適用した一実施例における記録フ
ォーマット図である。第2図はIDデータを書込む前の
IDカード上の磁気ストライブの一般的なフォーマット
である。この例では、磁気ストライブは72バイトの記
憶領域から成る。第1バイト目には始め符号が、第2バ
イト目には識別マークが、第71バイト目には終り符号
が、第72バイト目には水平パリティチェックデータ(
L P G)が書込まれるため、IDデータのために実
際に利用できる記録領域は、第3バイト目〜第70バイ
ト目までである。Second Embodiment FIGS. 2 and 3 are recording format diagrams in an embodiment in which the present invention is applied to a magnetic memory card, particularly a personal ID card. FIG. 2 is a typical format of a magnetic stripe on an ID card before writing ID data. In this example, the magnetic stripe consists of 72 bytes of storage. The first byte contains the start code, the second byte contains the identification mark, the 71st byte contains the end code, and the 72nd byte contains the horizontal parity check data (
Since LPG) is written, the recording area that can actually be used for ID data is from the 3rd byte to the 70th byte.
第3図(a)、 (b)は実際にIDデータを書込ん
だ後のフォーマットを示す。両者ではフォーマットが異
なり、別な種類のIDカードを形成している。すなわち
、同図(a)のフォーマットでは、IDデータを書込む
ためのID領域8は、第8バイト目〜第13バイト目ま
での合計6バイトであるのに対し、同図(b)のフォー
マットでは、ID領域8は、第13バイト目〜第16バ
イト目までの合計4バイトである。このように両者では
、ID領域8の開始位置およびデータ長が異なる。FIGS. 3(a) and 3(b) show the format after actually writing the ID data. Both have different formats and form different types of ID cards. That is, in the format shown in FIG. 5(a), the ID area 8 for writing ID data is a total of 6 bytes from the 8th byte to the 13th byte, whereas in the format shown in FIG. Here, the ID area 8 has a total of 4 bytes from the 13th byte to the 16th byte. In this way, the starting position and data length of the ID area 8 are different between the two.
そこで本実施例では、ID領域8とは別に、開始位置記
録領域9とデータ長記録領域10とを設け、これらの各
領域にそのIDカードについてのID領域の開始位置と
データ長とを記録するようにしている。ただ、記録領域
9,10を設ける位置はあらかじめ定位置に定めておく
必要がある(この例では第4バイト目〜第7バイト目)
。Therefore, in this embodiment, a start position recording area 9 and a data length recording area 10 are provided separately from the ID area 8, and the start position and data length of the ID area for the ID card are recorded in each of these areas. That's what I do. However, the positions where the recording areas 9 and 10 will be provided must be determined in advance (in this example, the 4th byte to the 7th byte).
.
このように、記録領域9,10にID領域8の開始位置
およびデータ長を記録しておくことにより、どのような
種類のIDカードについても読取りが可能となる。すな
わち、ホストコンピュータは読取用の端末装置(例えば
タイムレコーダ)を介して常に第4バイト目〜第7バイ
ト目を読取ることにより、そのIDカードのID領域8
に関する位置情報を認識することができる。第3図(a
)のIDカードでは、ID領域8は第8バイト目から始
まり6バイトの長さであることが認識でき、同図(b)
のIDカードでは、第13バイト目から始まり4バイト
の長さであることが認識できる。By recording the start position and data length of the ID area 8 in the recording areas 9 and 10 in this manner, it becomes possible to read any type of ID card. That is, the host computer constantly reads the 4th to 7th bytes through a reading terminal device (for example, a time recorder) to read the ID area 8 of the ID card.
location information can be recognized. Figure 3 (a
), it can be recognized that ID area 8 starts from the 8th byte and is 6 bytes long, as shown in Figure (b).
In the ID card, it can be recognized that the length starts from the 13th byte and is 4 bytes long.
従って従来のIDカードのように、IDカードのフォー
マットが変わるごとに、ホストコンピュータにフォーマ
ット情報の入力を行なう必要はなくなる。また、タイム
レコーダにこのフォーマット情報を格納するレジスタを
設ける必要がなくなる。Therefore, unlike conventional ID cards, there is no need to input format information into the host computer every time the format of the ID card changes. Furthermore, there is no need to provide a register for storing this format information in the time recorder.
なお、本実施例では磁気記録式のIDカードについて説
明したが、光記録式のIDカードについても同様に実施
可能である。In this embodiment, a magnetic recording type ID card has been described, but an optical recording type ID card can be similarly implemented.
以上のとおり本発明によれば、メモリカードにおいて、
主記憶部の他にそのメモリカードの種類をホストコンピ
ュータに識別させるためのデータ記憶部を設けるように
したため、同一のホストコンピュータで容品に複数種類
のメモリカードを扱うことができるようになる。As described above, according to the present invention, in a memory card,
In addition to the main storage section, a data storage section for allowing the host computer to identify the type of memory card is provided, so that the same host computer can handle multiple types of memory cards in a package.
第1図は本発明をICカードに適用した一実施例のブロ
ック図、第2図および第3図は本発明をIDカードに適
用した一実施例における記録フォーマット図である。
1・・・メモリ、2・・・アドレスカウンタ、3・・・
制御回路、4・・・セレクタ、5・・・識別レジスタ、
6・・・コントロールライン、7・・・データライン、
8・・・ID領域、9・・・開始位置記録領域、1o・
・・データ長記録領域。
出願人代理人 佐 藤 −雄
第 1 図
(b)
第3 ロ
手続補正書
昭和61年10月29日FIG. 1 is a block diagram of an embodiment in which the invention is applied to an IC card, and FIGS. 2 and 3 are recording format diagrams in an embodiment in which the invention is applied to an ID card. 1...Memory, 2...Address counter, 3...
control circuit, 4... selector, 5... identification register,
6...Control line, 7...Data line,
8... ID area, 9... Start position recording area, 1o.
...Data length recording area. Applicant's agent: Yu Sato Figure 1 (b) 3 B Written amendment to the procedure October 29, 1985
Claims (7)
/書込みを行なうホストコンピュータに用いるメモリカ
ードであって、記録すべきデータを記憶させる主記憶部
と、そのメモリカードの種類を前記ホストコンピュータ
に識別させるためのデータを記憶させる識別データ記憶
部と、を備えることを特徴とするメモリカード。1. A memory card used in a host computer that reads/writes data to/from multiple types of memory cards, the main storage unit storing data to be recorded and the type of the memory card being identified by the host computer. An identification data storage section that stores data on the memory card.
憶部がレジスタを有することを特徴とする特許請求の範
囲第1項記載のメモリカード。2. 2. The memory card according to claim 1, wherein the main storage section has an IC memory element, and the identification data storage section has a register.
ータから切換えてアクセスされるように構成されている
ことを特徴とする特許請求の範囲第2項記載のメモリカ
ード。3. 3. The memory card according to claim 2, wherein the IC memory element and the register are configured to be switched and accessed by a host computer.
報記録媒体上に形成されていることを特徴とする特許請
求の範囲第1項記載のメモリカード。4. 2. The memory card according to claim 1, wherein the main storage section and the identification data storage section are formed on a magnetic or optical information recording medium.
の記録領域を示すデータを記憶させることを特徴とする
特許請求の範囲第4項記載のメモリカード。5. 5. The memory card according to claim 4, wherein the identification data storage section stores data indicating a recording area of specific data in the main storage section.
ドであり、識別データ記憶部に、主記憶部内のIDデー
タ記録領域を示すデータを記憶させることを特徴とする
特許請求の範囲第5項記載のメモリカード。6. 6. The memory card according to claim 5, wherein the memory card is used as an ID card, and the identification data storage section stores data indicating an ID data recording area in the main storage section.
ータ記録領域の開始位置およびデータ長を用いることを
特徴とする特許請求の範囲第6項記載のメモリカード。7. 7. The memory card according to claim 6, wherein the start position and data length of the ID data recording area are used as the data indicating the ID data recording area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61230843A JPS6385889A (en) | 1986-09-29 | 1986-09-29 | Memory card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61230843A JPS6385889A (en) | 1986-09-29 | 1986-09-29 | Memory card |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6385889A true JPS6385889A (en) | 1988-04-16 |
Family
ID=16914155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61230843A Pending JPS6385889A (en) | 1986-09-29 | 1986-09-29 | Memory card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6385889A (en) |
-
1986
- 1986-09-29 JP JP61230843A patent/JPS6385889A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2854636B2 (en) | Apparatus and method for issuing portable medium | |
JPH0758500B2 (en) | Portable electronic device | |
KR870004362A (en) | Portable electronics | |
KR870005309A (en) | Portable electronics | |
JP2529868B2 (en) | Recording method of information recording medium | |
JPS6385889A (en) | Memory card | |
JP3641693B2 (en) | IC card and method of using the same | |
JP2808358B2 (en) | IC card | |
JP2537200B2 (en) | Portable electronic devices | |
JP2598056B2 (en) | Portable electronic devices | |
JPS62100569U (en) | ||
JP3358668B2 (en) | IC card | |
JP2609645B2 (en) | Portable electronic devices | |
JP4465746B2 (en) | Storage device adapter and connection method using the same | |
JP2565717B2 (en) | IC card | |
JPH05225406A (en) | Ic card extension device | |
JPS63145582A (en) | Data storage system | |
JPS63103494A (en) | Loading method for integrated circuit cartridge onto electronic equipment | |
JPH05325537A (en) | Method and device for accessing memory card | |
JPS63301388A (en) | Ic card | |
KR0118343Y1 (en) | Memory card control device | |
JPH02236754A (en) | Information processor | |
JPH06139131A (en) | Memory card device | |
JPH06161882A (en) | Ic card | |
JPH01118978A (en) | Ic card |