JP2691039B2 - Magnetic card encoder - Google Patents

Magnetic card encoder

Info

Publication number
JP2691039B2
JP2691039B2 JP1334945A JP33494589A JP2691039B2 JP 2691039 B2 JP2691039 B2 JP 2691039B2 JP 1334945 A JP1334945 A JP 1334945A JP 33494589 A JP33494589 A JP 33494589A JP 2691039 B2 JP2691039 B2 JP 2691039B2
Authority
JP
Japan
Prior art keywords
card
magnetic card
magnetic
code
data
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.)
Expired - Fee Related
Application number
JP1334945A
Other languages
Japanese (ja)
Other versions
JPH03198260A (en
Inventor
研治 園田
Original Assignee
株式会社プライム
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 株式会社プライム filed Critical 株式会社プライム
Priority to JP1334945A priority Critical patent/JP2691039B2/en
Publication of JPH03198260A publication Critical patent/JPH03198260A/en
Application granted granted Critical
Publication of JP2691039B2 publication Critical patent/JP2691039B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気カードに所望のデータを書き込んだ
り、書き込まれたデータを読み取る磁気カードエンコー
ダに関する。
The present invention relates to a magnetic card encoder for writing desired data on a magnetic card and for reading the written data.

〔従来の技術〕[Conventional technology]

この種の磁気カードエンコーダは、キャッシュカード
や会員カード等として発行する磁気カードに各種データ
を書き込んだり、その磁気カードに書き込まれたデータ
を読み取って所定のサービスを提供するなどの目的で使
用されている。
This type of magnetic card encoder is used for writing various data on a magnetic card issued as a cash card, a membership card, or the like, or reading data written on the magnetic card to provide a predetermined service. I have.

しかし、この磁気カードエンコーダによって、誰もが
自由にデータを書き込んだり、読み取ったりできると、
磁気カードが偽造・変造されたり不正発行されるおそれ
がある。
However, with this magnetic card encoder, anyone can freely write and read data,
There is a risk that the magnetic card will be forged, altered or illegally issued.

そこで、本出願人は、発行する磁気カードに書き込む
データの様式を定めた所定のフォーマット情報と、当該
磁気カードには書き込まれない特定の判別コードが記録
されたスタートアップカードを使用し、当該カードの判
別コードを読み取って、これが予め設定された所定のコ
ードと一致した場合に、磁気カードの書込処理や読取処
理が可能になるセキュリティ機能を設けた磁気カードエ
ンコーダを提案した(特開昭61−129775号)。
Therefore, the applicant uses a start-up card in which predetermined format information that defines the format of the data to be written in the issued magnetic card and a specific discrimination code that is not written in the magnetic card are used. A magnetic card encoder provided with a security function that reads a discrimination code and, when the discrimination code matches a preset predetermined code, enables a writing process and a reading process of the magnetic card (Japanese Patent Laid-Open No. 61-61). No. 129775).

また、その読取処理を行う際には、スタートアップカ
ードから読み取ったフォーマット情報のうち、当該スタ
ートアップカードを使用して発行する磁気カードに共通
し書き込まれる固定データと、磁気カードから読み込ん
だ固定データとを比較して、両者が一致した場合にのみ
当該磁気カードのデータ内容を読取表示すると共に、そ
の後のデータ処理を行えるようにして、二重のセキュリ
ティ機能を持たせている。
In addition, when performing the reading process, among the format information read from the startup card, the fixed data commonly written to the magnetic card issued by using the startup card and the fixed data read from the magnetic card are stored. By comparison, the data contents of the magnetic card are read and displayed only when they match, and the subsequent data processing can be performed, thereby providing a double security function.

つまり、磁気カードエンコーダで発行する磁気カード
には、スタートアップカードに記録されたフォーマット
情報の固定データが共通して書き込まれるようにし、そ
の固定データが書き込まれた磁気カードのデータ内容だ
けが読取処理できるセキュリティ機能を付加している。
That is, the fixed data of the format information recorded in the startup card is written in common to the magnetic card issued by the magnetic card encoder, and only the data content of the magnetic card in which the fixed data is written can be read and processed. A security function is added.

これにより、磁気カードのデータ内容を知ることがで
きるのは、スタートアップカードの使用を許された特定
人に限られ、それ以外の第三者がそのデータ内容を知っ
て、勝手に同一内容の磁気カードを発行することができ
ないようになっている しかし、スタートアップカードを保有しない第三者の
不正行為は防止できても、スタートアップカードを保有
する者の不正行為は防止できないという問題が残されて
いた。
As a result, the data content of the magnetic card can be known only to the specific person who is permitted to use the startup card, and other third parties can know the data content and use the same magnetic content without permission. However, it is not possible to issue a card.However, there is a problem that even if it is possible to prevent fraudulent acts by a third party who does not have a startup card, it is not possible to prevent fraudulent acts by those who have a startup card. .

即ち、スタートアップカードの保有者が自らの責任で
発行する磁気カードと同一内容の磁気カードを勝手に複
製するという行為の防止は不可能であるが、他人が発行
する磁気カードの内容を読み取って、これと同一内容の
磁気カードを複製する不正行為の防止もできないという
問題があった。
That is, it is impossible to prevent the act of the owner of the startup card duplicating a magnetic card with the same contents as the magnetic card issued at its own risk, but by reading the contents of the magnetic card issued by another person, There is a problem that it is not possible to prevent fraudulent acts of copying a magnetic card having the same contents as this.

つまり、同種のスタートアップカードを複数人が保有
して、夫々が個々別々に磁気カードを発行している場合
には、自己のスタートアップカードを使用して、他人が
発行した磁気カードの内容を読み取り、それと同一内容
の磁気カードを勝手に複製するおそれがあった。
In other words, if multiple people have the same type of startup card, and each one issues a magnetic card separately, use their own startup card to read the contents of the magnetic card issued by another person, There was a risk of duplicating a magnetic card with the same contents as that.

殊に、同種のスタートアップカードを多数の人が使用
している場合には、不正を行った者の特定が困難である
から、不正行為を抑制する心理的効果が薄らいでしま
う。
In particular, when a large number of people use the same type of startup card, it is difficult to identify the person who has committed fraud, and the psychological effect of suppressing fraud is weakened.

なお、各スタートアップカードに、各保有者ごとに異
なる識別コードを記憶して、発行する磁気カードにその
識別コードが書き込まれるようにすれば、磁気カードの
不正発行に使用したスタートアップカードの保有者を突
き止めることが可能になるから、不正行為を抑制する心
理的効果がある程度期待できるが、磁気カードの不正発
行を実際に阻止することはできない。
In addition, if a different identification code for each holder is stored in each startup card and the identification code is written on the issued magnetic card, the owner of the startup card used for illegal issuing of the magnetic card can be identified. Since it is possible to find out, it is possible to expect a certain psychological effect of suppressing fraudulent activities, but it is not possible to actually prevent illegal issuance of magnetic cards.

また、不正発行した磁気カードを使用後に焼却するな
どして滅却すれば、その不正が露顕することもないの
で、不正行為を抑制する心理的効果もあまり期待できな
いのが実情である。
In addition, if a magnetic card that has been illegally issued is destroyed by burning it after use, the fraud will not be revealed. Therefore, the psychological effect of suppressing fraud cannot be expected so much.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

そこで、本発明は、磁気カードの不正発行を心理的に
抑制するのみならず、実際に阻止できるようにすること
を目的とし、その目的を達成するために、磁気カードエ
ンコーダの読取処理や書込処理を可能にするスタートア
ップカードが複数枚存在する場合に、各スタートアップ
カードを使用して発行される磁気カードに、当該各スタ
ートアップカードごとに異なる固有のコードを書き込ん
で、磁気カードの発行に供したスタートアップカードを
特定できるようにすると共に、各スタートアップカード
で発行された磁気カードの内容は、当該磁気カードを発
行したスタートアップカードを使用しなければ読み取れ
ないようにすることを技術的課題としている。
Therefore, an object of the present invention is not only to psychologically suppress the illegal issuance of a magnetic card, but also to actually prevent the illegal issuance of the magnetic card. When there are multiple start-up cards that enable processing, a unique code that is different for each start-up card is written on the magnetic card that is issued by using each start-up card, and the magnetic card is issued. A technical issue is to enable the startup card to be specified and to prevent the contents of the magnetic card issued by each startup card from being read without using the startup card that issued the magnetic card.

〔課題を解決するための手段〕[Means for solving the problem]

この課題を解決するために、本発明は、発行する磁気
カードに書き込むデータの様式を定めた所定のフォーマ
ット情報と、当該磁気カードには書き込まれない特定の
判別コードが記録されたスタートアップカードを使用
し、当該カードの判別コードを読み取って、これが予め
設定された所定のモードと一致した場合に、磁気カード
の書込処理や読取処理が可能になる磁気カードエンコー
ダにおいて、前記スタートアップカードに記録した当該
カード固有のセキュリティコードを一時記憶する記憶手
段と、その一時記憶したセキュリティコードを発行する
磁気カードに書き込む書込手段と、当該セキュリティコ
ードが書き込まれた磁気カードについてのみ読取処理を
実行する判定手段とを具備したことを特徴とする。
In order to solve this problem, the present invention uses a start-up card in which predetermined format information that defines the format of data to be written in a magnetic card to be issued and a specific identification code that is not written in the magnetic card are recorded. Then, when the discrimination code of the card is read, and when this matches the preset predetermined mode, the magnetic card encoder that enables the writing process and the reading process of the magnetic card is recorded in the start-up card. Storage means for temporarily storing a security code unique to the card, writing means for writing the temporarily stored security code in a magnetic card, and determining means for executing a reading process only for the magnetic card in which the security code is written. Is provided.

〔作用〕[Action]

本発明による磁気カードエンコーダは、まず、スター
トアップカードを使用して、当該カードに記録されたフ
ォーマット情報と、判別コードと、当該カードに固有の
セキュリティコードとを読み取り、その読み取った判別
コードが当該磁気カードエンコーダに予め設定されてい
る所定のコードと一致した場合に、磁気カードの書込処
理や読取処理が可能な状態となる。
The magnetic card encoder according to the present invention first uses a startup card to read the format information recorded on the card, the discrimination code, and the security code unique to the card, and the read discrimination code is the magnetic code. When the code matches a predetermined code preset in the card encoder, the magnetic card becomes ready for writing and reading.

この状態で、新規に発行する磁気カードの書込処理を
実行すると、当該磁気カードに、スタートアップカード
から読み取ったフォーマット情報の様式に従って所定の
データが書き込まれると同時に、スタートアップカード
に固有のセキュリティコードも書き込まれる。
In this state, if you write the newly issued magnetic card, the specified data will be written to the magnetic card according to the format of the format information read from the startup card, and at the same time, the security code unique to the startup card will be displayed. Written.

したがって、磁気カードに書き込まれたセキュリティ
コードを調べれば、当該磁気カードがどのスターアップ
カードを使用して発行されたかが判明する。
Therefore, by checking the security code written on the magnetic card, it becomes clear which star-up card was used to issue the magnetic card.

つまり、磁気カードの発行に供してスタートアップカ
ードが特定できる。
In other words, the startup card can be specified by issuing the magnetic card.

また、磁気カードの読取処理は、当該磁気カードに書
き込まれたセキュリティコードと同一のセキュリティコ
ードが記録されたスタートアップカードによって、磁気
カードエンコーダが読取処理の可能な状態になっている
場合のみ実行される。
Further, the reading process of the magnetic card is executed only when the magnetic card encoder is ready for the reading process by the startup card in which the same security code as the security code written in the magnetic card is recorded. .

すなわち、磁気カードエンコーダが、磁気カードに書
き込まれているセキュリティコードと別異のセキュリテ
ィコードを記録したスターアップカードによって読取処
理の可能な状態になっている場合には、磁気カードの読
取処理が実行されない。
In other words, if the magnetic card encoder is in a read-enabled state by a star-up card that has a security code that is different from the security code written on the magnetic card, the read processing of the magnetic card is executed. Not done.

したがって、磁気カードに書き込まれた内容は、当該
磁気カードを発行したスタートアップカードを使用しな
ければ読み取れないから、スタートアップカードを保有
する者が、それ以外の別異のスタートアップカードで発
行された磁気カードの記録内容を読み取って、当該カー
ドと同一内容の磁気カードを複製することはできない。
Therefore, the contents written on the magnetic card cannot be read unless the startup card that issued the magnetic card is used, and the person who owns the startup card cannot read the magnetic card issued by another startup card. It is not possible to duplicate the magnetic card with the same contents as the card by reading the recorded contents of.

つまり、磁気カードの不正発行が確実に阻止される。 That is, the illegal issuance of the magnetic card is surely prevented.

〔実施例〕〔Example〕

以下、本発明を、図面に示す実施例に基づいて具体的
に説明する。
Hereinafter, the present invention will be specifically described based on embodiments shown in the drawings.

第1図は、本発明による磁気カードエンコーダの一実
施例を示す外観図、第2図はそのフローシート、第3図
はスタートアップカードの記録内容を示す説明図、第4
図は発行された磁気カードの記録内容を示す説明図、第
5図は処理手順を示すフローチャートである。
FIG. 1 is an external view showing an embodiment of a magnetic card encoder according to the present invention, FIG. 2 is its flow sheet, FIG. 3 is an explanatory view showing recorded contents of a startup card, and FIG.
FIG. 5 is an explanatory diagram showing the recorded contents of the issued magnetic card, and FIG. 5 is a flowchart showing the processing procedure.

図中、1は磁気カードエンコーダであり、例えばプラ
スチックにより一体成形されたケース体2と、該ケース
体2の上面に配設された平板状のキーボード3と、該キ
ーボード3の後方に配設されたディスプレイ装置4と、
ケース体2の左側面に配設されたキースイッチ5と、ケ
ース体の右側部に配設されたカード挿通部6とから構成
されている。
In the drawing, reference numeral 1 denotes a magnetic card encoder, for example, a case body 2 integrally formed of plastic, a flat keyboard 3 provided on an upper surface of the case body 2, and a rear side of the keyboard 3. Display device 4,
The key switch 5 is provided on the left side surface of the case body 2, and the card insertion part 6 is provided on the right side portion of the case body.

カード挿通部6には、磁気カードNCの挿入排出を行う
カード挿入口7及び8が前後に形成されその内部にはカ
ード挿入口7又は8から挿入された磁気カードNCを自動
的に搬送するカード搬送機構9(第2図に図示)と、磁
気カードNCの磁気記録部10に摺接して所望のデータを書
き込み又は書き込まれたデータを読み取る書込・読取兼
用の磁気ヘッド11が配設されている。
The card insertion portion 6 is provided with card insertion slots 7 and 8 for inserting and ejecting the magnetic card NC, and a card for automatically conveying the magnetic card NC inserted from the card insertion slot 7 or 8 therein. A transfer mechanism 9 (shown in FIG. 2) and a write / read magnetic head 11 for writing desired data or reading written data by sliding contact with a magnetic recording unit 10 of the magnetic card NC are provided. I have.

なお、12は磁気カードNCの挿入方向を明示するサンプ
ルカード13を所定の向きに嵌合させるための凹部であ
る。
Reference numeral 12 denotes a concave portion for fitting the sample card 13 indicating the insertion direction of the magnetic card NC in a predetermined direction.

スタートアップカードSの磁気記録部10には、例えば
第3図に示すように、1桁目と71桁目に始め符号及び終
わり符号を兼ねた特定の判別コードAC1,AC2(例えば
「$EE」及び「$FF」)を記録している。
In the magnetic recording unit 10 of the startup card S, for example, as shown in FIG. 3, specific discrimination codes AC1 and AC2 (for example, "$ EE" and "$ FF") is recorded.

また、2桁目から70桁目までに固定データDP1及びDP2
と、自由に入力可能な可変データDVとからなるフォーマ
ット情報Fが記録され、72桁目に水平冗長符号(LRC)
が記録されている。
Fixed data DP1 and DP2 from the 2nd digit to the 70th digit
And format information F consisting of variable data DV that can be input freely are recorded, and the 72nd digit horizontal redundancy code (LRC).
Is recorded.

Cは、各スタートアップカード毎に異なる当該カード
固有のセキュリティコードであって、例えば、4桁のキ
ャラクタ「1234」からなり、前記可変データDVの領域内
に記録されている。
C is a security code unique to each startup card, which is unique to the card, and is composed of, for example, a 4-digit character "1234", and is recorded in the area of the variable data DV.

なお、セキュリティコードCの前後には、当該キャラ
クタを、固定データDP1,DP2と区別してセキュリティコ
ードCであると判別する特定のキャラクタ「“」「”」
が付されている。
Before and after the security code C, a specific character ““ ”“ ”” that distinguishes the character as the security code C by distinguishing it from the fixed data DP1 and DP2.
Is attached.

一方、磁気カードエンコーダ1には、第2図に示す如
く、インターフェイス回路21,演算装置22及び記憶装置2
3を有するマイクロコンピュータでなる制御装置20が配
設されている。
On the other hand, as shown in FIG. 2, the magnetic card encoder 1 includes an interface circuit 21, an arithmetic unit 22, and a storage unit 2.
A control device 20, which is a microcomputer having a microcomputer 3, is provided.

ここで、インターフェイス回路21には、その入力側に
キーボード3,キースイッチ5が接続されると共に、磁気
カード11からの読取信号が入力されるようになされ、出
力側にはディスプレイ装置4,カード搬送機構9のモータ
24,磁気ヘッド11の駆動回路25及び外部プリンタ26等が
接続されている。
Here, a keyboard 3 and a key switch 5 are connected to the input side of the interface circuit 21, and a read signal from the magnetic card 11 is input to the interface circuit 21. Mechanism 9 motor
24, a drive circuit 25 for the magnetic head 11, an external printer 26 and the like are connected.

演算処理装置22は、スタートアップカードSが挿通さ
れたときに、該スタートアップカードSの磁気記録部10
の可変データ領域に書き込まれているセキュリティコー
ドCを磁気ヘッド11からの読取信号に基づいて演算処理
し、記憶装置23に記憶する。
When the startup card S is inserted, the arithmetic processing unit 22 has a magnetic recording unit 10 for the startup card S.
The security code C written in the variable data area is processed based on the read signal from the magnetic head 11 and stored in the storage device 23.

そして、キーボード3からの入力信号に基づいてカー
ド書込モードに設定された際に、磁気カードNCの磁気記
録部10に前記セキュリティコードCの書込処理を実行す
る。
Then, when the card write mode is set based on the input signal from the keyboard 3, the security code C is written in the magnetic recording unit 10 of the magnetic card NC.

ここで、磁気カードNCの磁気記録部10に書き込まれる
記録内容を第4図に基づいて説明すると、1桁目と71桁
目に、前記スタートアップカードの判別コードAC1,AC2
とは異なる組合せの始め符号及び終わり符号(例えば
「$FF」及び($FF」)を記録し、2桁目から70桁目に
はスタートアップカードSのフォーマット情報に基づい
て固定データDP1,DP2及び可変データDVを記録し、72桁
目に水平冗長符号(LRC)を記録する。
Here, the recording contents written in the magnetic recording unit 10 of the magnetic card NC will be described with reference to FIG. 4, at the first digit and the 71st digit, the discrimination codes AC1 and AC2 of the start-up card.
The start code and the end code (for example, “$ FF” and ($ FF ”) of a combination different from the above are recorded, and the fixed data DP1, DP2 and the fixed data DP1, DP2 and The variable data DV is recorded, and the horizontal redundancy code (LRC) is recorded at the 72nd digit.

そして、記憶装置23に記憶されたスタートアップカー
ドSのセキュリティコードCと同一のセキュリティコー
ドC′を、刻時信号を記録する73桁目以降の領域(例え
ば73桁目から76桁目)DTに記録する。
Then, a security code C'which is the same as the security code C of the start-up card S stored in the storage device 23 is recorded in the area after the 73rd digit (for example, 73rd digit to 76th digit) where the clock signal is recorded. To do.

また、キーボード3からの入力信号に基づいてカード
読取モードに設定された場合には、磁気カードNCに書き
込まれているセキュリティコードC′と記憶装置23に記
憶されているスタートアップカードSのセキュリティコ
ードCの一致/不一致を判定する演算処理を行い、一致
する場合には該磁気カードNCの記録データの読取処理を
実行して、記録データの内容をディスプレイ装置4に表
示し、不一致の場合には記憶装置23に一時記憶された該
記録データを消去する処理を行う。
Further, when the card reading mode is set based on the input signal from the keyboard 3, the security code C ′ written in the magnetic card NC and the security code C of the startup card S stored in the storage device 23 are set. Is performed to determine whether or not the data match, and if they match, the recording data of the magnetic card NC is read to display the content of the recording data on the display device 4. If they do not match, the data is stored. A process of erasing the recording data temporarily stored in the device 23 is performed.

なお、記録装置23には、スタートアップカードSの判
別コードAC1,AC2に符合する所定のコードが記憶される
と共に、演算処理装置22において磁気カードNCの磁気記
録部の73桁目から76桁目の領域にセキュリティコード
C′を書込み、その領域に書き込まれた当該コードを読
み取れるように、カード搬送機構9,磁気ヘッド11等を制
御する処理プログラムが記憶されている。
It should be noted that the recording device 23 stores predetermined codes corresponding to the discrimination codes AC1 and AC2 of the startup card S, and the arithmetic processing device 22 stores the 73rd to 76th digits of the magnetic recording portion of the magnetic card NC. A processing program for controlling the card transport mechanism 9, the magnetic head 11, etc. is stored so that the security code C ′ can be written in the area and the code written in the area can be read.

以下、第5図に示すフローチャートにしたがって、演
算処理装置22の処理手順を説明する。
Hereinafter, the processing procedure of the arithmetic processing unit 22 will be described with reference to the flowchart shown in FIG.

キースィッチ5をオンすると、装置が起動されて第5
図に示す処理の実行が開始され、まずステップ(1)で
駆動回路25をカード読取モードに設定してからステップ
(2)に移行する。
When the key switch 5 is turned on, the device is activated and the fifth
Execution of the processing shown in the figure is started. First, in step (1), the drive circuit 25 is set to the card reading mode, and then the process proceeds to step (2).

ステップ(2)では、スタートアップカードSがカー
ド挿通部6に挿通されたか否かを判定し、挿通されない
ときはステップ(1)に戻ってそのまま待機し、挿通さ
れたときはステップ(3)に移行する。
In step (2), it is determined whether or not the startup card S has been inserted into the card insertion portion 6, and when it is not inserted, the process returns to step (1) and waits as it is, and when it is inserted, the process proceeds to step (3). To do.

ステップ(3)では、カード搬送機構9のモータ24を
起動してスタートアップカードSを自動的に搬送すると
同時に、該スタートアップカードSの磁気記録部10に記
録されているフォーマット情報Fと、判別コードAC1,AC
2と、セキュリティコードCとを読み取り、これを記憶
装置23内のバッファメモリに一時記憶して、該スタート
アップカードSを排出する。
In step (3), the motor 24 of the card transport mechanism 9 is activated to automatically transport the startup card S, and at the same time, the format information F recorded in the magnetic recording unit 10 of the startup card S and the discrimination code AC1. , AC
2 and the security code C are read, this is temporarily stored in the buffer memory in the storage device 23, and the startup card S is ejected.

次いで、ステップ(4)に移行して、前記判別コード
AC1,AC2と記憶装置23に予め記憶されている所定のコー
ドと一致するか否かを判断する。
Then, the process proceeds to step (4) and the discrimination code
It is determined whether or not AC1 and AC2 match a predetermined code stored in the storage device 23 in advance.

そして、判別コードAC1,AC2が所定のコードと一致し
ない場合、即ち当該カードがスタートアップカードSで
ないと判断された場合にはステップ(5)に移行し、デ
ィスプレイ装置にエラーメッセージを表示してから前記
バッファメモリの記憶内容を消去し、ステップ(1)に
戻る。
When the discrimination codes AC1 and AC2 do not match the predetermined codes, that is, when it is determined that the card is not the start-up card S, the process proceeds to step (5), an error message is displayed on the display device, and The stored contents of the buffer memory are erased, and the process returns to step (1).

また、ステップ(4)において、判別コードAC1,AC2
が所定のコードと一致した場合、即ち当該カードがスタ
ートアップカードSであると判断された場合にはステッ
プ(6)に移行して、前記バッファメモリに記憶された
データの内、フォーマット情報Fとセキュリティコード
Cを記憶装置23に記憶してからステップ(7)に移行す
る。
In step (4), the discrimination codes AC1 and AC2
If it matches the predetermined code, that is, if the card is determined to be the start-up card S, the process proceeds to step (6), in which the format information F and the security are stored in the buffer memory. After the code C is stored in the storage device 23, the process proceeds to step (7).

ステップ(7)では、キーボード3上のカード書込み
モード設定キーK1又はカード読取モード設定キーK2のい
ずれが押されたかを判定し、カード書込みモード設定キ
ーK1が押された場合にはステップ(8)に移行して、装
置をカード書込みモードに設定して、前記フォーマット
情報Fにしたがってキーボード3から所望のデータを入
力してからステップ(9)に移行する。
In step (7), it is determined which of the card writing mode setting key K1 and the card reading mode setting key K2 on the keyboard 3 has been pressed. If the card writing mode setting key K1 has been pressed, step (8) Then, the apparatus is set to the card writing mode, desired data is input from the keyboard 3 in accordance with the format information F, and then the processing shifts to step (9).

ステップ(9)では、カード挿通部6に磁気カードNC
が挿通されたか否かを判定し、磁気カードNCが非挿通状
態にあるときは磁気カードNCが挿通されるまで待機し、
磁気カードNCが挿通されるとステップ(10)に移行す
る。
In step (9), the magnetic card NC is inserted into the card insertion part 6.
Determines whether or not has been inserted, and when the magnetic card NC is in a non-inserted state, waits until the magnetic card NC is inserted,
When the magnetic card NC is inserted, the process proceeds to step (10).

ステップ(10)では、カード挿通部6に挿通された磁
気カードNCの磁気記録部10に、前記フォーマット情報F
にしたがってキーボード3から入力された所望の入力デ
ータと、前記ステップ(6)で記憶されたスタートアッ
プカードSのセキュリティコードCを、磁気ヘッド11を
介して磁気記録する。
In step (10), the format information F is recorded in the magnetic recording unit 10 of the magnetic card NC inserted in the card insertion unit 6.
The desired input data input from the keyboard 3 and the security code C of the start-up card S stored in step (6) are magnetically recorded via the magnetic head 11 according to the above.

このとき、セキュリティコードCは、磁気カードの磁
気記録部の固定データ及び所望の可変データが記録され
る領域以外の領域DT及びDT(始め符号AC1が記録される
手前側の領域又は終わり符号AC2が記録された後ろ側の
領域)に書き込まれ、磁気カードNCのデータの記録容量
を低下させずに、セキュリティ機能を付加することがで
きる。
At this time, the security code C includes areas DT and DT other than the area in which the fixed data and the desired variable data of the magnetic recording portion of the magnetic card are recorded (the area on the front side where the start code AC1 is recorded or the end code AC2 is It is written in the recorded area on the back side), and a security function can be added without reducing the data recording capacity of the magnetic card NC.

また、このセキュリティコードが書き込まれる領域の
データは、通常の磁気カードエンコーダでは有効なデー
タとして取り扱われないので、セキュリティコードを第
三者に知られることもなく、セキュリティの信頼性を高
めることができる。
Further, since the data in the area in which the security code is written is not treated as valid data by the usual magnetic card encoder, the security code can be improved without the knowledge of the security code by a third party. .

次いで、ステップ(11)では、ギーボード3上の終了
キーK3が押されたか否かを判定し、終了キーK3が押され
た場合にはステップ(12)へ移行して処理を終了し、押
されない場合にはステップ(7)に戻る。
Next, in step (11), it is determined whether or not the end key K3 on the ghee board 3 is pressed. If the end key K3 is pressed, the process proceeds to step (12) to end the process and not press the key. If so, return to step (7).

また、前記ステップ(7)でカード読取モード設定キ
ーK2が押された場合には、ステップ(13)に移行し装置
をカード読取モードに設定してステップ(14)に移行す
る。
When the card reading mode setting key K2 is pressed in step (7), the process proceeds to step (13), the device is set to the card reading mode, and the process proceeds to step (14).

ステップ(14)では、磁気カード挿通部6に磁気カー
ドNCが挿通されたか否かを判定し、磁気カードNCが非挿
通状態にあるときは磁気カードNCが挿通されるまで待機
し、磁気カードNCが挿通されるとステップ(15)に移行
する。
In step (14), it is determined whether or not the magnetic card NC has been inserted into the magnetic card insertion portion 6, and when the magnetic card NC is in the non-inserted state, it waits until the magnetic card NC is inserted, and the magnetic card NC When is inserted, the process proceeds to step (15).

ステップ(15)では、磁気カードNCの磁気記録部10に
書き込まれている記録データとセキュリティコードC′
を磁気ヘッド11を介して読み取り、これを記憶装置23内
のバッファメモリに一時記憶してステップ(16)に移行
する。
In step (15), the recording data and the security code C ′ written in the magnetic recording unit 10 of the magnetic card NC are recorded.
Is read via the magnetic head 11 and is temporarily stored in the buffer memory in the storage device 23, and the process proceeds to step (16).

ステップ(16)では、前記セキュリティコードC′
と、前記ステップ(6)で記憶されているスタートアッ
プカードSのセキュリティコードCとの一致/不一致を
判定して、一致する場合にはステップ(17)に移行す
る。
In step (16), the security code C '
Then, a match / mismatch with the security code C of the startup card S stored in step (6) is determined, and if they match, the process proceeds to step (17).

ステップ(17)では、バッファメモリに一時記憶され
ている前記磁気カードNCの記憶データをディスプレイ装
置4に表示してからステップ(11)に移行する。
In step (17), the stored data of the magnetic card NC temporarily stored in the buffer memory is displayed on the display device 4, and then the process proceeds to step (11).

ステップ(16)でセキュリティコードが不一致である
と判定された場合には、ステップ(18)に移行する。
If it is determined in step (16) that the security codes do not match, the process proceeds to step (18).

ステップ(18)では、ディスプレイ装置4に所定のエ
ラー表示を行うと同時に、例えば「ピッ,ピッ,ピッ」
の連続音でエラー音を発して、バッファメモリの記憶内
容を消去してからステップ(11)に移行する。
In step (18), a predetermined error is displayed on the display device 4, and at the same time, for example, "pip, pip, pip"
An error sound is emitted as a continuous sound of, the stored contents of the buffer memory are erased, and then the process proceeds to step (11).

次に、動作について説明すると、磁気カードNCにデー
タを書込む場合には、まず磁気カードエンコーダのキー
スイッチ5をオン状態にする。
Next, the operation will be described. When writing data to the magnetic card NC, first, the key switch 5 of the magnetic card encoder is turned on.

この状態になると、演算処理装置22で第5図の演算処
理が実行開始される。
In this state, the arithmetic processing unit 22 starts executing the arithmetic processing shown in FIG.

そこでまず、スタートアップカードSをカード挿通部
に挿通すると、その磁気記録部10の所定領域に記録され
ているフォーマット情報Fと、判別コードAC1,AC2と、
セキュリティコードCとが読み取られて、判別コードが
所定のコードと一致すると判定された場合に、前記フォ
ーマット情報FとセキュリティコードCが記憶装置23の
所定の領域に記憶されて、磁気カードへのデータの書き
込みが可能な状態となる〔ステップ(1)〜(6)〕。
Therefore, first, when the startup card S is inserted into the card insertion portion, the format information F recorded in the predetermined area of the magnetic recording portion 10, the discrimination codes AC1 and AC2,
When the security code C is read and it is determined that the discrimination code matches the predetermined code, the format information F and the security code C are stored in a predetermined area of the storage device 23, and data for the magnetic card is stored. Is enabled [steps (1) to (6)].

次いで、キーボード3上のカード書込みモード設定キ
ーK1を押し、所望の可変データをキーボード3から入力
した後に、未使用の磁気カードNCを挿通すると、該磁気
カードNCの磁気記録部10の所定の記録領域に、前記可変
データ及び固定データと、前記スタートアップカードS
のセキュリティコードCとが自動的に書き込まれて、新
たに磁気カードNCを発行することができる〔ステップ
(8)〜(10)〕。
Next, when the card write mode setting key K1 on the keyboard 3 is pressed to input desired variable data from the keyboard 3 and an unused magnetic card NC is inserted, predetermined recording of the magnetic recording unit 10 of the magnetic card NC is performed. In the area, the variable data and fixed data, and the start-up card S
The security code C is automatically written and a new magnetic card NC can be issued [steps (8) to (10)].

そして、磁気カードNCの記録データの読み取りを行う
場合は、キーボード3上のカード読取モード設定キーK2
を押して、記録データを読み取ろうとする磁気カードNC
を挿通口に挿通すると、その磁気記録部10の所定の領域
に記録されている記録データとセキュリティコードC′
が読み取られる。
When reading the recorded data of the magnetic card NC, the card reading mode setting key K2 on the keyboard 3 is read.
Magnetic card NC that tries to read recorded data by pressing
When the card is inserted through the insertion port, the recording data and the security code C ′ recorded in a predetermined area of the magnetic recording unit 10 are inserted.
Is read.

そして、読み取られたセキュリティコードC′が、記
憶装置23に記憶されたスタートアップカードSのセキュ
リティコードCと一致する場合には、当該磁気カードNC
の記録データがディスプレイ装置4に表示され、その内
容を読み取ることが可能となる。
When the read security code C ′ matches the security code C of the startup card S stored in the storage device 23, the magnetic card NC
The recorded data of is displayed on the display device 4, and the contents can be read.

一方、セキュリティコードC′及びCが不一致である
と判定された場合には、ディスプレイ装置4にエラーメ
ッセージ等が表示され、記録データの内容を読み取るこ
とができない〔ステップ(13)〜(18)〕。
On the other hand, when it is determined that the security codes C'and C do not match, an error message or the like is displayed on the display device 4, and the contents of the recorded data cannot be read [steps (13) to (18)]. .

したがって、セキュリティコードの異なるスタートア
ップカードを有する者による磁気カードNCの不正発行を
確実に阻止することができる。
Therefore, it is possible to reliably prevent the illegal issuing of the magnetic card NC by a person who has a startup card with a different security code.

また、各磁気カードNCに書き込まれたセキュリティコ
ードを調べれば、当該磁気カードがどのスタートアップ
カードを使用し用て発行されたかが判明し、磁気カード
の発行に供したスタートアップカードを特定できるの
で、スタートアップカードを保有する者による磁気カー
ドの不正発行を心理的に抑制することができる。
Also, by checking the security code written on each magnetic card NC, it is possible to determine which startup card was used to issue the magnetic card, and the startup card used for issuing the magnetic card can be identified. It is possible to psychologically suppress illegal issuance of a magnetic card by a person who holds the card.

なお、上記実施例においては、スタートアップカード
SのセキュリティコードCを、フォーマット情報の可変
データ記録領域内(第2桁〜第70桁)に書き込む場合を
説明したが、磁気カードNCと同様に、固定データ及び可
変データが記録される領域以外の領域DT及びDTに書き込
む場合であってもよい。
In the above embodiment, the case where the security code C of the startup card S is written in the variable data recording area (2nd digit to 70th digit) of the format information has been described. However, like the magnetic card NC, it is fixed. The writing may be performed in the areas DT and DT other than the area in which the data and the variable data are recorded.

また、磁気カードの搬送手段は、カード搬送機構9に
よる自動送りに限らず手動送りであってもよい。
The magnetic card transporting means is not limited to automatic feeding by the card transporting mechanism 9 and may be manual feeding.

〔発明の効果〕〔The invention's effect〕

以上述べたように、本発明による磁気カードエンコー
ダは、新規に発行する磁気カードに、スタートアップカ
ードに固有のセキュリティコードを書き込んでいるの
で、当該セキュリティコードを調べれば、当該磁気カー
ドがどのスタートアップカードを使用して発行されたか
が判明するので、スタートアップカードを保有する者に
よる不正行為を心理的に抑制できるという効果がある。
As described above, the magnetic card encoder according to the present invention writes the security code unique to the startup card in the newly issued magnetic card. Since it is known whether the card was issued by using it, there is an effect that it is possible to psychologically suppress fraudulent activity by a person who has a startup card.

また、スタートアップカードに記録されているセキュ
リティコードと、磁気カードに書き込まれているセキュ
リティコードとが一致する場合にのみ、当該磁気カード
の読取処理を実行して記録データを読み取ることがで
き、セキュリティコードが相違する別異のスタートアッ
プカードを使用して当該磁気カードの記録データを読み
取ることはできないので、別異のスタートアップカード
を保有する者による当該磁気カードの不正発行を確実に
阻止することができるという優れた効果がある。
In addition, only when the security code recorded on the startup card and the security code written on the magnetic card match, the reading process of the magnetic card can be executed to read the recorded data. Since it is not possible to read the recorded data of the magnetic card by using a different start-up card that differs in, it is possible to surely prevent illegal issuing of the magnetic card by a person who owns a different start-up card. It has an excellent effect.

さらに、セキュリティコードを、磁気カードの始め符
号と終わり符号との間以外の領域に書き込む場合には、
通常のデータの記録容量を低下させずに、セキュリティ
機能を付加することができるという効果もある。
Furthermore, when writing the security code in the area other than between the start code and the end code of the magnetic card,
There is also an effect that a security function can be added without reducing the normal data recording capacity.

また、この場合、通常の磁気カードエンコーダでは、
カードの始め符号と終わり符号との間以外の領域に書き
込まれた記録データは読み取らないか、或いは読み取っ
てもその内容を無視することが多いので、カードに記録
されたセキュリティコードを第三者に知られる確率も低
く、セキュリティの信頼性を高めることできるという効
果がある。
Also, in this case, with a normal magnetic card encoder,
Since the recorded data written in the area other than the area between the start code and the end code of the card is not read, or even if it is read, the contents are often ignored, the security code recorded on the card can be sent to a third party. The probability of being known is low, and the security reliability can be increased.

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

第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はそのフローシート、第3図はスター
トアップカードの記録内容を示す説明図、第4図は発行
された磁気カードの記録内容を示す説明図、第5図は処
理手順を示すフローチャートである。 符号の説明 1……磁気カードエンコーダ、3……キーボード、 4……ディスプレイ装置、5……キースイッチ、 6……カード挿通部、9……カード搬送機構、 10……磁気記録部、11……磁気ヘッド、 S……スタートアップカード、F……フォーマット情
報、AC1,AC2……判別コード、DP1,DP2……固定データ、
DV……可変データ C,C′……セキュリティコード、 NC……磁気カード、20……制御装置、 21……インターフェイス回路、22……演算処理装置、23
……記憶装置
FIG. 1 is an external view showing an example of a magnetic card encoder according to the present invention, FIG. 2 is a flow sheet thereof, FIG. 3 is an explanatory view showing recorded contents of a start-up card, and FIG. 4 is recording of an issued magnetic card. FIG. 5 is an explanatory diagram showing the contents, and FIG. 5 is a flowchart showing the processing procedure. Explanation of symbols 1 ... Magnetic card encoder, 3 ... Keyboard, 4 ... Display device, 5 ... Key switch, 6 ... Card insertion part, 9 ... Card transport mechanism, 10 ... Magnetic recording part, 11 ... … Magnetic head, S… Startup card, F… Format information, AC1, AC2… Discrimination code, DP1, DP2… Fixed data,
DV: Variable data C, C '... Security code, NC: Magnetic card, 20 ... Control unit, 21 ... Interface circuit, 22 ... Arithmetic processing unit, 23
……Storage device

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】発行する磁気カード(NC)に書き込むデー
タの様式を定めた所定のフォーマット情報(F)と、当
該磁気カード(NC)には書き込まれない特定の判別コー
ド(AC1,AC2)が記録されたスタートアップカード
(S)を使用し、当該カードの判別コード(AC1,AC2)
を読み取って、これが予め設定された所定のコードと一
致した場合に、磁気カード(NC)の書込処理や読取処理
が可能になる磁気カードエンコーダにおいて、前記スタ
ートアップカード(S)に記録した当該カード(S)固
有のセキュリティコード(C)を一時記憶する記憶手段
と、その一時記憶したセキュリティコード(C)を発行
する磁気カード(NC)に書き込む書込手段と、当該セキ
ュリティコード(C)が書き込まれた磁気カード(NC)
についてのみ読取処理を実行する判定手段とを具備した
ことを特徴とする磁気カードエンコーダ。
1. A predetermined format information (F) that defines the format of data to be written in the issued magnetic card (NC) and a specific discrimination code (AC1, AC2) that is not written in the magnetic card (NC). Use the recorded start-up card (S) to identify the card (AC1, AC2)
In the magnetic card encoder capable of performing the writing process and the reading process of the magnetic card (NC) when it is read and the code matches the preset predetermined code, the card recorded on the start-up card (S) (S) Storage means for temporarily storing the unique security code (C), writing means for writing the temporarily stored security code (C) in the magnetic card (NC), and writing the security code (C) Magnetic card (NC)
A magnetic card encoder, comprising: a determination unit that executes a reading process only for the magnetic card encoder.
JP1334945A 1989-12-26 1989-12-26 Magnetic card encoder Expired - Fee Related JP2691039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1334945A JP2691039B2 (en) 1989-12-26 1989-12-26 Magnetic card encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1334945A JP2691039B2 (en) 1989-12-26 1989-12-26 Magnetic card encoder

Publications (2)

Publication Number Publication Date
JPH03198260A JPH03198260A (en) 1991-08-29
JP2691039B2 true JP2691039B2 (en) 1997-12-17

Family

ID=18282993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1334945A Expired - Fee Related JP2691039B2 (en) 1989-12-26 1989-12-26 Magnetic card encoder

Country Status (1)

Country Link
JP (1) JP2691039B2 (en)

Also Published As

Publication number Publication date
JPH03198260A (en) 1991-08-29

Similar Documents

Publication Publication Date Title
US4864109A (en) Electronic bankbook and transaction system for use therewith
KR910000619B1 (en) A portable storage medium processing system
US4322613A (en) Method for tamper-proofing magnetic stripe card reader
EP0195112A2 (en) A magnetic card discriminator
EP0160833A1 (en) Individual discrimination card
JP2691039B2 (en) Magnetic card encoder
JPH0449154B2 (en)
JP2578512B2 (en) Magnetic card encoder
JP2706163B2 (en) Magnetic card encoder
JP2945778B2 (en) Magnetic card encoder
JP3886197B2 (en) Electronic document circulation check system
JPS5890281A (en) Controlling method of magnetic card
JPH04217065A (en) Information processor system by information card
JPH1021354A (en) Device and method for preventing card illegal usage
JPH01106365A (en) Magnetic card issuing device
JPS63245790A (en) Automatically balloting apparatus
JPH0659753B2 (en) Method for determining the effectiveness of operating media
JPH0696513A (en) Setting change system of reader writer device using magnetic card
JPS63265386A (en) Card dispenser
JPS63255723A (en) Applied electronic instrument
JPH0650875U (en) IC card
JPH0335380A (en) Prepaid card processor
JPH0935017A (en) Magnetic card reader
JP2000163532A (en) Fingerprint register device and ic card
JPS6356775A (en) Portable storage medium processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970729

LAPS Cancellation because of no payment of annual fees