JPS61129775A - Magnetic card encoder - Google Patents

Magnetic card encoder

Info

Publication number
JPS61129775A
JPS61129775A JP59249630A JP24963084A JPS61129775A JP S61129775 A JPS61129775 A JP S61129775A JP 59249630 A JP59249630 A JP 59249630A JP 24963084 A JP24963084 A JP 24963084A JP S61129775 A JPS61129775 A JP S61129775A
Authority
JP
Japan
Prior art keywords
magnetic card
recorded
card
information
magnetic
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
JP59249630A
Other languages
Japanese (ja)
Other versions
JPH0673220B2 (en
Inventor
Kenji Sonoda
研治 園田
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.)
AMETSUKUSU KK
Original Assignee
AMETSUKUSU KK
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 AMETSUKUSU KK filed Critical AMETSUKUSU KK
Priority to JP59249630A priority Critical patent/JPH0673220B2/en
Publication of JPS61129775A publication Critical patent/JPS61129775A/en
Publication of JPH0673220B2 publication Critical patent/JPH0673220B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent copy and forgery of card and to easily change the fixed data by making so that writing process can be done on a new card only when the code recorded on the master magnetic card coincide with a specific code. CONSTITUTION:When the writing process is finished, the mode is changed to confirmation mode, and a drive circuit 12 of magnetic head 5b is switched to the read side. Then commend to insert a magnetic card 6 is displayed on a character display part 3. When the magnetic card 6 is again inserted to a insertion part 5, the written information on the recording part 6a of the magnetic card 6 is read out, and is checked whether it coincide it with the recorded information or not. When they coincide, the information is displayed on the character display part 3 us it is and a check mark is indicated, and all the process is completed. When they do not coincide, a special mark is indicated at the character position which does not coincide, and the information of inconsistence is visibly displayed, together with acoustic alarm sound. In this way, forgery and copying of a magnetic card are prevented, and change of fixed data can be done easily.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気記録部を有する磁気カードに記録情報を
書き込む磁気カードエンコーダに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic card encoder for writing recorded information onto a magnetic card having a magnetic recording section.

〔従来技術とその問題点〕[Prior art and its problems]

一般に磁気カードは、身分証明書用の[Dカード、タイ
ムカード、入室管理カード等に使用され、磁気カードの
磁気記録部に記録した社名、個人名、登録ナンバー等の
記録情報を磁気カードリーダで読み取ることにより、所
定のデータ処理を行うようにしている。
Magnetic cards are generally used for ID cards, time cards, room entry control cards, etc. Recorded information such as company name, personal name, registration number, etc. recorded in the magnetic recording part of the magnetic card can be read using a magnetic card reader. By reading the data, predetermined data processing is performed.

ところで、新規に磁気カードを発行する場合は磁気カー
ドエンコーダを使用して未使用の磁気カードの磁気記録
部に記録情報を書き込むこと゛としているが、その磁気
カードエンコーダを誰でも操作できるとすれば、磁気カ
ードの偽造や勝手な複製がなされるという危惧が大であ
る。
By the way, when issuing a new magnetic card, a magnetic card encoder is used to write recorded information into the magnetic recording section of an unused magnetic card, but what if anyone could operate the magnetic card encoder? There is a great concern that magnetic cards may be forged or copied without permission.

また、特定の者のみが操作可能なように管理して偽造、
複製等を防止する場合にも、前記記録情報の全てを一々
入力することは極めて面倒であり、誤操作も多くなると
いう新たな問題がある。
In addition, we manage and forge products so that only specific people can operate them.
Even in the case of preventing duplication, etc., it is extremely troublesome to input all of the recorded information one by one, and there is a new problem in that it increases the number of erroneous operations.

そこで、従来の磁気カードエンコーダにおいては、操作
者専用rDカードを挿通しなければ作動しないようにす
ると共に、第5図に示す記録情報Klのうち実際に書き
換えを必要としない固定データAを予めリードオンリメ
モリに記憶しておき、登録ナンバー等カード毎に異なる
データの入力を必要とする可変データB゛のみをキーホ
ードを使用して入力するようにしているのが一般的であ
る。
Therefore, in the conventional magnetic card encoder, it does not operate unless the rD card dedicated to the operator is inserted, and fixed data A that does not actually require rewriting is read in advance from among the recorded information Kl shown in Fig. 5. Generally, only the variable data B', which is stored in the only memory and requires input of different data for each card, such as the registration number, is entered using a keyboard.

しかしながら、このような従来の磁気カードエンコーダ
にあっては、リードオンリメモリに固定データを予め記
憶しておくので、一旦書き込んだ固定データの変更が不
可能であり、固定データを変更すべく予め多種の回置デ
ータを記憶させてお(ためには、メモリの記憶容量を増
大させなければならず、コストアップの要因となるとい
う問題点があった。
However, in such conventional magnetic card encoders, fixed data is stored in read-only memory in advance, so it is impossible to change the fixed data once written. In order to store the rotation data, the storage capacity of the memory must be increased, which poses a problem of increasing costs.

この点を解決するために、出願人は、固定データをリー
ドオンリメモリに記憶するのではなく、別途マスター磁
気カードに記録しておき、該マスター磁気カードを複数
種用意することにより、メモリの容量を増やすことなく
固定データの変更を可能にした磁気カードエンコーダを
提案した(特願昭59−152111号参照)。
In order to solve this problem, the applicant did not store fixed data in a read-only memory, but recorded it on a separate master magnetic card, and by preparing multiple types of master magnetic cards, the applicant increased the memory capacity. proposed a magnetic card encoder that made it possible to change fixed data without increasing data (see Japanese Patent Application No. 152,111/1982).

しかし、この磁気カードエンコーダによって新規発行カ
ードに記録される内容は、可変データの部分を除いてマ
スター磁気カードの記録内容と何ら異なるところがない
から、マスター磁気カードを使用しなくても当該磁気カ
ードを用いることによって同一カードを複製することが
可能となる。
However, the content recorded on a newly issued card by this magnetic card encoder is no different from the content recorded on the master magnetic card except for variable data, so you can use the magnetic card without using the master magnetic card. By using this, it becomes possible to duplicate the same card.

したがって、偽造や複製を完全に防止するためには、少
なくともマスター磁気カードと操作者専用TDカードの
二aimのカードを管理しなければならないという不便
があった。
Therefore, in order to completely prevent forgery and duplication, it is inconvenient that at least two aim cards, the master magnetic card and the operator-dedicated TD card, must be managed.

〔発明の目的〕[Purpose of the invention]

そこで本発明は、固定データを記録したマスター磁気カ
ードに操作者専用IDカードの機能を持たせることによ
り磁気カードの複製、偽造を防止することができ、且つ
容易に固定データの変更を行うことができる磁気力〜ド
エンコーダを提供することを目的とする。
Therefore, the present invention makes it possible to prevent copying and counterfeiting of magnetic cards by providing a master magnetic card on which fixed data is recorded with the function of an ID card for exclusive use of the operator, and also makes it possible to easily change the fixed data. The purpose is to provide a magnetic force decoder that can be used.

〔発明の構成〕[Structure of the invention]

この目的を達成するために、本発明は、磁気記録部を有
する磁気カードに記録情報を書き込む磁気カードエンコ
ーダにおいて、前記記録情報の書換不能な固定データ及
び自由に入力可能な可変データ記録領域をフォーマット
情報として記録すると共に当該磁気カードがマスター磁
気カードであるか否かの判別を行うための所定の暗号コ
ードを記録したマスター磁気カードと、該マスター磁気
カードの前記フォーマット情報及び暗号コードを読み取
る読取手段と、該読取手段により読み取った暗号コード
が所定のコードと一致するか否かの判断を行う判定手段
と、該判定手段により一致すると判断された場合に前記
フォーマット情報を記憶する記憶手段と、該記憶手段に
記憶したフォーマット情報の可変データ記録領域へ所望
データを入力する入力部と、該入力部より入力されたデ
ータ及び前記固定データを磁気カードに書き込む書込手
段とを具備することを特徴とする。
In order to achieve this object, the present invention provides a magnetic card encoder that writes recorded information on a magnetic card having a magnetic recording section, in which fixed data that cannot be rewritten and a variable data recording area that can be input freely are formatted. A master magnetic card on which a predetermined encryption code is recorded for recording information and determining whether the magnetic card is a master magnetic card, and a reading means for reading the format information and encryption code of the master magnetic card. a determining means for determining whether or not the encrypted code read by the reading means matches a predetermined code; a storage means for storing the format information when the determining means determines that the code matches the predetermined code; It is characterized by comprising an input section for inputting desired data into a variable data recording area of format information stored in a storage means, and a writing means for writing the data input from the input section and the fixed data onto a magnetic card. do.

〔発明の作用〕[Action of the invention]

本発明によれば、マスター磁気カードに記録された暗号
コードが所定のコードと一致した場合にのみ新規カード
への書込処理を行い得るように成されているので、マス
ター磁気カードを使用しなければ新規カードを発行する
ことができず、また前記暗号コードは新規カードには書
き込まれないので、該新規カードによって磁気カードエ
ンコーダを操作することはできない。
According to the present invention, writing to a new card can be performed only when the encryption code recorded on the master magnetic card matches a predetermined code, so that the master magnetic card must be used. In this case, a new card cannot be issued, and since the encryption code is not written on the new card, the magnetic card encoder cannot be operated with the new card.

また、マスター磁気カードには書換不能な固定データが
記録されているので、これを複数種用意することによっ
て、メモリの記憶容量を増やすことなく、多数の固定デ
ータの変更を容易に行うことができる。
In addition, since fixed data that cannot be rewritten is recorded on the master magnetic card, by preparing multiple types of master magnetic cards, it is possible to easily change a large amount of fixed data without increasing the memory storage capacity. .

〔実施例〕〔Example〕

以下、本発明による磁気カードエンコーダを図面に示す
具体的な実施例に基づいて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A magnetic card encoder according to the present invention will be described below based on specific embodiments shown in the drawings.

第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はその制御装置の一例を示すブロック
図である。
FIG. 1 is an external view showing an example of a magnetic card encoder according to the present invention, and FIG. 2 is a block diagram showing an example of its control device.

図中1はケース体、2はケース体1の上面に形成された
平板上のキーボード、3はキーボード2の後方に形成さ
れた例えば液晶で構成された文字表示部、4はケース体
1の左側面に設けられたキースイッチ、5はケース体1
の上面右側部に設けられた磁気カード挿通部である。
In the figure, 1 is a case body, 2 is a keyboard on a flat plate formed on the top surface of the case body 1, 3 is a character display section formed at the rear of the keyboard 2 and is made up of, for example, a liquid crystal, and 4 is the left side of the case body 1. Key switch provided on the surface, 5 is the case body 1
This is a magnetic card insertion part provided on the right side of the top surface.

キーボード2には、仮名、アルファベント等の選択キー
2aと、その右側に配列されたファンクションキー2b
とが形成され、ファンクションキー2b中には書込スイ
ッチ2C及びテンキー等が設けられている。
The keyboard 2 has selection keys 2a such as kana, alpha bent, etc., and function keys 2b arranged on the right side of the selection keys 2a.
A write switch 2C, a numeric keypad, etc. are provided in the function key 2b.

磁気カード挿通部5には、磁気カード6を案内する案内
溝5aと、磁気カード6の磁気記録部6aに摺接してこ
れに記録情報を書き込み又は磁気記録部6aに書き込ま
れた記録情報を読み出す一つの書込・続出兼用磁気ヘッ
ド5bが設けられている。
The magnetic card insertion section 5 has a guide groove 5a for guiding the magnetic card 6, and a guide groove 5a for slidingly contacting the magnetic recording section 6a of the magnetic card 6 to write recorded information thereon or read recorded information written in the magnetic recording section 6a. One magnetic head 5b for both writing and continuous output is provided.

ここで、磁気カード6としては、マスター磁気カード6
Mと、それに記録されたフォーマット情報及び所望の可
変データでなる記録情報を記録するIDカード等に使用
する未使用磁気カード6Nとを用意し、マスター磁気カ
ード6Mの磁気記録部6aには1.第4図に示すように
例えばデータの2折目から70折目に固定データAと入
力用擬似データ(例えば※)Cが記録された可変データ
記録領域Bとからなるフォーマット情報F1が記録され
ると共に、データの1折目及び71折目に始め符号及び
終わり符号を兼ねた暗号コード(例えばr$EEJ及び
r$FFJ)Dが記録されている。
Here, the magnetic card 6 is a master magnetic card 6.
M and an unused magnetic card 6N used for an ID card or the like to record recorded information consisting of format information and desired variable data recorded thereon, and the magnetic recording section 6a of the master magnetic card 6M has 1. As shown in FIG. 4, for example, format information F1 consisting of fixed data A and variable data recording area B in which input pseudo data (for example *) C is recorded is recorded from the 2nd fold to the 70th fold of the data. At the same time, an encryption code (for example, r$EEJ and r$FFJ) D, which also serves as a start code and an end code, is recorded on the 1st and 71st folds of the data.

而して、キーボード2から出力される出力信号及びキー
スイッチ4のスイ・ノチ信号が、第2図に示す制御装置
7に供給される。
Thus, the output signal output from the keyboard 2 and the switch signal from the key switch 4 are supplied to the control device 7 shown in FIG.

この制御装置7は、別人ばイ/ターフェイス回路8.演
算処理装置9及び記憶装置10を少なくとも有するマイ
クロコンピュータ11で構成されている。
This control device 7 includes a separate user interface circuit 8. It is composed of a microcomputer 11 having at least an arithmetic processing unit 9 and a storage device 10.

ここで、前記インターフェイス回路8には、その入力側
にキーボード2及びキースイッチ4が接続されると共に
、その出力側に磁気へソド5bの駆動回路121文字表
示部3及びプリンタ13が夫々接続されている。
Here, the interface circuit 8 has a keyboard 2 and a key switch 4 connected to its input side, and a drive circuit 121 for the magnetic head 5b, a character display section 3, and a printer 13 to its output side. There is.

また、前記演算処理装置9は、マスター磁気カード6M
に記録された暗号コードD、フォーマ。
Further, the arithmetic processing device 9 includes a master magnetic card 6M.
Encryption code D recorded in Forma.

ト情報Fl及びキーボード2からの入力データに基づき
所定の演算処理を実行して、フォーマント情報Flを記
憶すると共に入力データ(可変データ)を記憶し、これ
らを記録情報として未使用の磁気カード6Nの磁気記録
部6aに記録する書込処理を実行する。
A predetermined calculation process is executed based on the formant information Fl and the input data from the keyboard 2, and the input data (variable data) is stored as well as the formant information Fl, and these are stored as recorded information on the unused magnetic card 6N. A write process for recording in the magnetic recording section 6a is executed.

更に、前記記憶装置10は、マスター磁気カード6Mの
暗号コードDと一致する所定のコードを記録していると
共に、演算処理装置9の演算処理に必要な処理プログラ
ム及び演算処理過程で必要な処理データを記憶しており
、また演算処理結果を一時記憶する。
Furthermore, the storage device 10 records a predetermined code that matches the encryption code D of the master magnetic card 6M, and also stores processing programs necessary for the arithmetic processing of the arithmetic processing unit 9 and processing data necessary for the arithmetic processing process. It also temporarily stores the results of arithmetic processing.

以下、演算処理装置9の処理手頃を第3図に示す流れ図
を伴って説明する。
The processing performed by the arithmetic processing unit 9 will be explained below with reference to the flowchart shown in FIG.

キースイッチ4がオン状態になると、第3図に示す処理
が実行開始されて、まずステップ(1)で磁気ヘッド5
bが続出側となるように駆動回路12を続出モードに設
定してから、ステップ(2)で文字表示部3に例えばr
lnsert 5tartup card  ! J等
のマスター磁気カード挿通指示を表示し、ステップ(3
)に移行して磁気カード6が挿通されるまで待機する。
When the key switch 4 is turned on, the process shown in FIG.
After setting the drive circuit 12 to the successive mode so that b is on the successive side, in step (2), for example, r is displayed on the character display section 3.
lnsert 5 tartup card! Display the instruction to insert a master magnetic card such as J, and then proceed to step (3).
) and waits until the magnetic card 6 is inserted.

磁気カード6が挿通されると、ステップ(4)に移行し
て該磁気カード6の磁気記録部6aに記録されたデータ
を読み取り、これを記憶装置10内のバッファメモリに
一時記憶するつ 次いで、ステップ(5)に移行し、前記データの所定領
域に記録された暗号コードDが予め記憶されている所定
のコードと一致するか否かを判断する。
When the magnetic card 6 is inserted, the process moves to step (4) to read the data recorded in the magnetic recording section 6a of the magnetic card 6 and temporarily store it in the buffer memory in the storage device 10. Proceeding to step (5), it is determined whether the encryption code D recorded in the predetermined area of the data matches a predetermined code stored in advance.

そして、暗号コードDが所定のコードと一致しない場合
、即ち当該磁気カード6がマスター磁気カード6Mでな
いと判断された場合には、ステ。
Then, if the encryption code D does not match the predetermined code, that is, if it is determined that the magnetic card 6 is not the master magnetic card 6M, step.

ブ(6)に移行して、文字表示部3にエラー表示をして
から前記バッファメモリの内容を消去し、ステップ+2
1に戻る。
The process moves to step (6), displays an error on the character display section 3, erases the contents of the buffer memory, and then proceeds to step +2.
Return to 1.

またステップ(5)において、暗号コードDが所定のコ
ードと一致した場合、即ち当該磁気カード6がマスター
磁気カード6Mであると判断された場合には、ステップ
(7)に移行してバッファメモリに記憶された記憶内容
のうちフォーマント情報[1のみを記憶袋W10の所定
の記憶領域に記憶し、ステップ(8)に移行して該フォ
ーマット情報FTを所定時間(例えば1秒間)表示した
後、ステップ(9)でフォーマット清報F1の登録完了
を示すrc。
Further, in step (5), if the encryption code D matches the predetermined code, that is, if it is determined that the magnetic card 6 is the master magnetic card 6M, the process moves to step (7) and the data is stored in the buffer memory. Among the stored contents, only the formant information [1] is stored in a predetermined storage area of the memory bag W10, and after proceeding to step (8) and displaying the format information FT for a predetermined period of time (for example, 1 second), rc indicating completion of registration of format report F1 in step (9).

piedJ等のメツセージを表示してステップ(10)
へ移行する。
Display the message such as piedJ and step (10)
Move to.

このとき、前記フォーマ7ト情報FIは記録装置10に
固定されるので、キースイ・ノチ4をオフ状態にしない
限り、他のマスター磁気カードを挿通しても該フォーマ
ット清報Fiが蒼き換えられることはない。
At this time, the format information FI is fixed to the recording device 10, so unless the key switch 4 is turned off, the format information FI will not be changed even if another master magnetic card is inserted. There isn't.

ステップ(10)では、駆動回路12を、磁気ヘッド5
bから記録情報を書き込む書込モードに切り換える書込
スイッチ2Cが押下されたか否かを判断する。
In step (10), the drive circuit 12 is connected to the magnetic head 5.
It is determined whether the write switch 2C for switching to a write mode in which recording information is written from b is pressed.

そして、書込スイッチ2Cが押下された場合には、ステ
ップ(11)に移行して駆動回路12を書込モードに切
り換え、ステップ(12)に移行し、記憶装置10に記
憶されたフォーマット情報FI中の可変データ記録領域
に対応するバッファメモリの記憶内容を文字表示部3に
表示すると共に、所定のカーソル制御を行って、カーソ
ル位置を可変データ記憶領域の先頭位置に移動させる。
If the write switch 2C is pressed, the process proceeds to step (11), where the drive circuit 12 is switched to the write mode, and the process proceeds to step (12), where the format information FI stored in the storage device 10 is The storage contents of the buffer memory corresponding to the variable data storage area therein are displayed on the character display section 3, and predetermined cursor control is performed to move the cursor position to the beginning position of the variable data storage area.

次いでステップ(13)に移行して、キーボード2から
のキー入力による可変データを順次記憶装置10内のバ
ッファメモリに記憶すると共に、文字表示部3に表示す
る。
Next, the process proceeds to step (13), in which variable data based on key input from the keyboard 2 is sequentially stored in the buffer memory in the storage device 10 and displayed on the character display section 3.

次いで、ステップ(14)に移行して、キーボード2か
らの入力が完了したか否かを判定する。この場合の判定
は、可変データの入力を完了したことを示す所定の書込
完了キーが押下されたか否かで判定し、押下されないと
きには押下されるまで待機し、押下されたときはそのと
きのバッファメモリの記憶内容が記憶装置10の所定の
記憶領域に記憶されてステップ(15)へ移行する。
Next, the process moves to step (14), and it is determined whether input from the keyboard 2 has been completed. In this case, the determination is made based on whether or not a predetermined write completion key indicating that the input of variable data has been completed is pressed. If it is not pressed, the system waits until it is pressed, and when it is pressed, the The storage contents of the buffer memory are stored in a predetermined storage area of the storage device 10, and the process moves to step (15).

このステップ(15)では、未使用の磁気カード6Nが
挿通されたか否かを判定し、磁気カード6Nが挿通され
ないときは挿通されるまで待機し、挿通されるとステッ
プ(16)に移行する。
In this step (15), it is determined whether or not an unused magnetic card 6N has been inserted. If the magnetic card 6N is not inserted, the process waits until it is inserted, and when it is inserted, the process moves to step (16).

このステップ(16)では、固定データAと可変データ
とを前記未使用の磁気カード6Nに書き込み、ステップ
(17)に移行する。
In this step (16), fixed data A and variable data are written into the unused magnetic card 6N, and the process moves to step (17).

このステップ(17)では、前記ステップ(16)で書
き込まれた書き込み情報を確認する確認モードに設定し
、磁気ヘッド5bの駆動回路12を続出側に切り換える
In step (17), a confirmation mode is set to confirm the written information written in step (16), and the drive circuit 12 of the magnetic head 5b is switched to the continuous output side.

次いで、ステップ(18)に移行して、磁気カード6N
を磁気カード挿通部5に再挿通させる再挿通指示(例え
ば、r6=VerifyJの文字)を文字表示部3に表
示部せてからステップ(19)に移行する。
Next, proceed to step (18) and insert the magnetic card 6N.
After displaying on the character display section 3 a re-insertion instruction (for example, the characters r6=VerifyJ) for reinserting the card into the magnetic card insertion section 5, the process moves to step (19).

このステップ(19)では、ステップ(15)と同様に
磁気カード挿通部5に磁気カード6Nが挿通されたか否
かを判定し、磁気カード6Nが非澤遣状態であるときに
は、磁気カード6Nが挿通されるまで待機し、磁気カー
ド6Nが挿通されるとステップ(20)に移行する。
In this step (19), similarly to step (15), it is determined whether or not the magnetic card 6N is inserted into the magnetic card insertion part 5. If the magnetic card 6N is in the non-loading state, the magnetic card 6N is inserted. When the magnetic card 6N is inserted, the process moves to step (20).

このステップ(20)では、磁気カード6Nに書き込ま
れた書込情報を磁気へンド5bを介して読み出し、これ
を一時バッファメモリに記憶すると共に、記憶装置10
に記憶された前記フォーマット情報及び可変データでな
る記録情報を呼び出し両者を比較照合して一致するか否
かを判定する。
In this step (20), the write information written on the magnetic card 6N is read out via the magnetic head 5b and stored in the temporary buffer memory, and the storage device 10
The format information and the recorded information consisting of the variable data stored in the memory are called and compared and verified to determine whether or not they match.

このとき、両者が一致する場合にはステップ(22)に
移行し、不一致の場合にはステップ(23)に移行する
At this time, if the two match, the process moves to step (22), and if they do not match, the process moves to step (23).

ステップ(22)では、文字表示部3に書込情報(=続
出情報)をそのまま表示すると共に、チェック表示(例
えば、「0=CheckJの文字)を表示させ、ステッ
プ(24)に移行してキースイッチ4がオン状態を継続
しているか否かを判定し、オフ状態であるときには新た
な磁気カード6を発行すべく前記ステップ(10)に移
行し、オフ状態であるときには処理を終了する。
In step (22), the written information (=continuation information) is displayed as is on the character display section 3, and a check display (for example, the characters "0=CheckJ") is displayed, and the process proceeds to step (24), where the key is pressed. It is determined whether the switch 4 continues to be in the on state, and if it is in the off state, the process moves to step (10) to issue a new magnetic card 6, and if it is in the off state, the process ends.

また、ステップ(23)では、前記チェック表示と共に
、記録情報とこれに対応する書込情報の不一致箇所を文
字表示部3に特定の記号(例えば、「?」や網掛は表示
「口」等)で表示すると同時に、例えば「ビ・へピ・へ
ピノ」の連続音で成るエラー音を発してからステップ(
24)に移行する。
In addition, in step (23), in addition to displaying the check, a specific symbol (for example, "?" or a shaded area indicates "mouth") is displayed on the character display section 3 to indicate where the recorded information and the corresponding written information do not match. At the same time, emit an error sound consisting of continuous sounds such as "bi-hepi-hepino" and then step (
24).

なお、前記ステップ(10)で書込スイッチ1゜が押下
されない場合は、ステップ(25)に移行し、磁気カー
ド6が挿通されるまで待機する。
Note that if the write switch 1° is not pressed in step (10), the process moves to step (25) and waits until the magnetic card 6 is inserted.

そして、磁気カード6が挿通された場合は、ステップ(
26)に移行して該磁気カード6の磁気記録部6aに記
録された記録情報KIを読み取り、これを記憶装置10
内のバッファメモリに一時記憶してステップ(27)に
移行する。
Then, when the magnetic card 6 is inserted, step (
26), reads the recorded information KI recorded in the magnetic recording section 6a of the magnetic card 6, and stores it in the storage device 10.
The data is temporarily stored in the internal buffer memory and the process moves to step (27).

このステップ(27)では、前記ステップ(26)にお
いて記憶された記録情報Klと、ステップ(7)におい
て記憶されたフォーマント情報FTとを比較し、両者の
固定データAが一致する場合はステップ(28)に移行
して前記記録情報KIを文字表示部3に表示してからス
テップ(10)に戻り、一致しない場合はステップ(2
9)に移行してエラー表示をすると共にバッファメモリ
の記憶内容を消去してからステップ(10)に戻る。
In this step (27), the recorded information Kl stored in the step (26) and the formant information FT stored in the step (7) are compared, and if the fixed data A of both coincide, the step ( 28) to display the recorded information KI on the character display section 3, and then return to step (10). If they do not match, step (28) is executed.
Step 9) displays an error message and erases the contents of the buffer memory, and then returns to step (10).

ここでステップ(11〜(4)の処理が読取手段の具体
例、ステップ(5)の処理が判定手段の具体例、ステッ
プ(7)〜(9)の処理が記憶手段の具体例、ステップ
(10)〜(16)の処理が書込手段の具体例である。
Here, the processing of steps (11 to (4)) is a specific example of the reading means, the processing of step (5) is a specific example of the determining means, the processing of steps (7) to (9) is a specific example of the storage device, and the processing of step ( Processes 10) to (16) are specific examples of the writing means.

以上が、本発明の一例構成であり、次にその動作につい
て説明する。
The above is an example of the configuration of the present invention, and the operation thereof will be explained next.

まず、キースイッチ4をオン状態とすることにより、制
御装置7の演算処理装置9で第3図の処理が実行開始さ
れ、ステップ(11で磁気ヘッド5bの駆動回路12を
続出モードに設定すると共に、マスター磁気カードの挿
通指示r In5ert 5tartup  card
 ! Jが表示される(ステップ(21)−゛この状態
で、所望のマスター磁気カード6Mを選択して、磁気カ
ード挿通部5に挿通すると、ステップ(3)からステッ
プ(4)に移行して、マスター磁気カード6Mの磁気記
録部6aに記録されたフォーマット情報Fl及び暗号コ
ードDを磁気ヘッド5bを介して読み取り、これをバッ
ファメモリに一時記憶する。
First, by turning on the key switch 4, the arithmetic processing unit 9 of the control device 7 starts executing the process shown in FIG. , Master magnetic card insertion instruction r In5ert 5 tartup card
! J is displayed (Step (21) - In this state, if the desired master magnetic card 6M is selected and inserted into the magnetic card insertion part 5, the process moves from Step (3) to Step (4). The format information Fl and the encryption code D recorded in the magnetic recording section 6a of the master magnetic card 6M are read via the magnetic head 5b, and are temporarily stored in the buffer memory.

次いでステップ(5)に移行し、マスター磁気カード6
Mに記録されたデータの初め符号及び終わり符号を兼ね
た暗号コードDが記憶装置10に予め記憶されているコ
ードr$F、El及びr$ F FJと一致するか否か
を判断する。
Next, proceed to step (5) and insert the master magnetic card 6.
It is determined whether the encryption code D, which also serves as the start code and the end code of the data recorded in M, matches the codes r$F, El, and r$FFJ stored in advance in the storage device 10.

そして一致する場合は、ステップ(7)に移行して、バ
ッファメモリに記憶されたフォーマット情報FIのみを
記憶装置lOの所定の記憶領域に記憶し、ステップ(8
)に移行してフォーマット情報FIを例えば1秒間表示
した後、ステップ(9)に移行してフォーマット情報登
録完了を示すrcopiedJの文字を文字表示部3に
表示する。
If they match, the process moves to step (7), where only the format information FI stored in the buffer memory is stored in a predetermined storage area of the storage device IO, and step (8)
) and displays the format information FI for, for example, one second, and then moves to step (9) to display the characters rcopiedJ on the character display section 3 indicating completion of format information registration.

次いでステップ(10)に移行して、書込スイッチ2c
が押下されたか否かを判断し、押下された場合にはステ
ップ(11)に移行して駆動回路12を書込モードに切
り換え、ステップ(12)に移行して記憶装置10に記
憶したフォーマント情報F■のうち固定データAを「−
」のような伏字で表示すると共に可変データ記録領域に
対応するバッファメモリの内容を文字表示部3に表示し
、該可変データ記録領域の先頭にカーソルが移動せられ
る。
Next, the process moves to step (10), and the write switch 2c is turned on.
It is determined whether or not has been pressed, and if it has been pressed, the process moves to step (11) to switch the drive circuit 12 to write mode, and the process moves to step (12) to write the formant stored in the storage device 10. Fixed data A of information F■ is "-
'' and the contents of the buffer memory corresponding to the variable data recording area are displayed on the character display section 3, and the cursor is moved to the beginning of the variable data recording area.

このとき、まだバッファメモリの可変゛データ記憶領域
には何も記憶されていないので、例えばその部分だけ「
ロロロロ」で表示される。
At this time, nothing is stored in the variable data storage area of the buffer memory, so for example, only that part is
"Rorororo" is displayed.

この状態で、キーボード2を使用して所望の可変データ
を入力すると、その入力データがバッファメモリに一時
記憶されると共に、文字表示部3に表示される(ステッ
プ(13) )。
In this state, when desired variable data is input using the keyboard 2, the input data is temporarily stored in the buffer memory and displayed on the character display section 3 (step (13)).

その後、所定のキー入力完了キーを押下することにより
、前記バッファメモリの内容が記憶装置10の所定の記
憶領域に記憶され(ステップ(14))、ステップ(1
5)に移行する。
Thereafter, by pressing a predetermined key input completion key, the contents of the buffer memory are stored in a predetermined storage area of the storage device 10 (step (14)), and step (1)
Move on to 5).

ここで、未使用の磁気カード6Nを磁気カード挿通部5
に挿通すると、ステップ(15)からステップ(16)
に移行して、第5図に示すように記憶装置lOに記憶さ
れている固定データA及び可変データB°を記録情報K
lとして磁気カードの磁気記録部6aに磁気ヘッド5b
を介して書き込むと共に、核磁気カード6Nの初め符号
及び終わり符号として、マスター磁気カード6Mの暗号
コードDとなる初め符号r$EEJ及び終わり符号[$
FFJとは異なる符号D’  (例えばr$EEJ及び
r$EEJ)を書き込んで書込処理を終了する。
Here, insert an unused magnetic card 6N into the magnetic card insertion part 5.
Step (15) to Step (16)
As shown in FIG.
A magnetic head 5b is attached to the magnetic recording section 6a of the magnetic card as l.
At the same time, the initial code r$EEJ and the ending code [$
A code D' (for example, r$EEJ and r$EEJ) different from FFJ is written and the write process is completed.

書込処理が終了すると、ステップ(17)に移行して確
認モード(続出モード)に設定され、磁気へ、ド5bの
駆動回路12が続出側に切り換えられ、次いでステップ
(18)に移行して、文字表示部3に磁気カード6の挿
通指示r6=VerifyJが表示される。
When the writing process is completed, the process moves to step (17), where the confirmation mode (continuous output mode) is set, and the drive circuit 12 of the magnetic field 5b is switched to the continuous output side, and then the process moves to step (18). , a magnetic card 6 insertion instruction r6=VerifyJ is displayed on the character display section 3.

/  この状態で、再び磁気カード6を磁気カード挿通
部5内に挿通させると、ステップ(I9)からステップ
(20)に移行し、磁気カード6の磁気記録部6aの書
込↑コ報を読み出してバッファメモリに一時記憶し、そ
の読み出し情報と前記ステップ(7)及びステップ(1
6)で記録した記録情報とが一致するか否かを判定する
(ステップ(21) )。
/ In this state, when the magnetic card 6 is inserted into the magnetic card insertion part 5 again, the process moves from step (I9) to step (20), and the written ↑ information in the magnetic recording part 6a of the magnetic card 6 is read out. The read information and the step (7) and step (1) are temporarily stored in the buffer memory.
It is determined whether or not the recorded information recorded in step 6) matches (step (21)).

ここで両者が一致する場合には、ステップ(22)に移
行して文字表示部3に書込清報をそのまま表示すると共
にチェック表示「<−CheckJが表示され、次いで
ステップ(24)でキースイ・Zチ4がオン状態である
か否かを判定し、オン状態を継続している場合にはステ
ップ(10)に移行し、またオフ状態である場合には処
理を終了する。
If the two match, the process moves to step (22), where the written report is displayed as is on the character display section 3, and a check mark "<-CheckJ" is displayed, and then, in step (24), the key switch is displayed. It is determined whether or not the Z switch 4 is in the on state, and if it continues to be in the on state, the process moves to step (10), and if it is in the off state, the process ends.

また、ステップ(21)の判定結果が書込清報と続出情
報の不一致である場合には、ステップ(23)に移行し
、文字表示部3にチェ’7り表示「6−Check J
が表示されると共に、不一致箇所に対応する文字位置に
特定記号を表示して不一致である旨が明確に可視表示さ
れ、さらに「ビ・へピッ、ピノ」とエラー音を発して注
意を促す。
Further, if the determination result in step (21) is that the written report and the subsequent information do not match, the process moves to step (23), and the character display section 3 displays "6-Check J".
is displayed, a specific symbol is displayed at the character position corresponding to the mismatched part to clearly visually indicate that there is a mismatch, and an error sound "Bi-hepi-pi-no" is emitted to call for attention.

ここで不一致箇所を訂正するには、ステップ(10)に
戻り、書込スイッチ2Cを押下すればステップ(12)
において、その時のバッファメモリの内容すなわちステ
ップ(23)と同じ表示がなされるので、当該訂正箇所
にカーソルを移動して正しいデータを入力し直しくステ
ップ(13) ) 、以下同様に書込処理を行えば良い
To correct the discrepancy here, return to step (10) and press the write switch 2C to proceed to step (12).
In step (13), the content of the buffer memory at that time, that is, the same display as in step (23), is displayed, so move the cursor to the corrected part and input the correct data again (step (13)), and then perform the writing process in the same way. Just go.

以上が、未使用磁気カード6Nを使用して新規にカード
を発行する場合であり、次に、例えば期限切れカードを
更新する場合等、以前発行したカードの内容を変更する
場合について説明する。
The above is the case where a new card is issued using the unused magnetic card 6N.Next, the case where the contents of a previously issued card are changed, such as when updating an expired card, will be explained.

この場合は、ステップ(10)にお・いて、書込スイッ
チ2cを押下せずに更新すようとする磁気カード6を磁
気カード挿通部5に挿通すれば(ステップ(25) )
駆動回路12は続出モードになっているから、磁気カー
ド6の磁気記録部6aに記録された記録部NKIが読み
取られてバッファメモリに一時記憶される(ステップ(
26) ) 。
In this case, in step (10), insert the magnetic card 6 to be updated into the magnetic card insertion part 5 without pressing the write switch 2c (step (25)).
Since the drive circuit 12 is in continuous output mode, the recording part NKI recorded in the magnetic recording part 6a of the magnetic card 6 is read and temporarily stored in the buffer memory (step (
26) ).

そして、該磁気カード6の固定データAと、ステップ(
7)で記憶されたマスター磁気カード6Mの固定データ
Aが一致した場合は、前記バッファメモリの内容を表示
してステップ(10)に戻る。
Then, the fixed data A of the magnetic card 6 and the step (
If the fixed data A of the master magnetic card 6M stored in step 7) matches, the contents of the buffer memory are displayed and the process returns to step (10).

このステップ(10)において、書込スイッチ2Cを押
下すれば、バッファメモリの内容すなわち更新しようと
する磁気カード6に記録されている可変データが表示さ
れるから(ステップ(12) )、そのうち使用期限等
の変更を必要とする箇所にカーソルを移動させて所望の
データを入力しくステップ(13) ) 、以下新規カ
ード発行の場合と同様に書込処理を行えば、以前発行し
た磁気カード6の内容を書き換えることができる。
In this step (10), if the write switch 2C is pressed, the contents of the buffer memory, that is, the variable data recorded on the magnetic card 6 to be updated will be displayed (step (12)), and the expiration date will be Step (13)) Move the cursor to the location that requires changes, etc., and enter the desired data.If you perform the writing process in the same way as when issuing a new card, the contents of the previously issued magnetic card 6 will be updated. can be rewritten.

なお、上記実施例においては、マスター磁気カード6M
の暗号コードDを、データの初め符号及び終わり符号と
兼用して用いた場合について説明したが、本発明はこれ
に限るものではなく、第4図に示す2〜70桁の任意デ
ータ領域の所定の領域、例えば67〜7o桁の4桁を暗
号コードDの領域として用いるものであっても良い。
In the above embodiment, the master magnetic card 6M
Although the case has been described in which the encryption code D is used as both the start code and the end code of data, the present invention is not limited to this. For example, the four digits 67 to 7o may be used as the encryption code D area.

ただし、初め符号及び終わり符号と暗号コードDを兼用
すれば、任意データ領域の全てをフォーマット情報FM
の領域として使用することができるという利点がある。
However, if the start code and end code are used together as the encryption code D, all of the arbitrary data area can be used as the format information FM.
It has the advantage that it can be used as an area.

また、実施例においては、磁気カード6をIDカードと
して使用する場合について説明したが、本発明はこれに
限らず、1ダ1えば人室管理装置用カ−ド、磁気読取型
タイムカード、在庫管理用カードあるいは飲食店の会員
カードの発行等、種々の用途に使用することができる。
Further, in the embodiment, a case has been described in which the magnetic card 6 is used as an ID card, but the present invention is not limited to this. It can be used for various purposes such as issuing management cards or restaurant membership cards.

さらに、磁気カードエンコーダはオンラインで使用する
ことは勿論、インターフェイスを介してホストコンピュ
ータにオンラインで接続して端末機として使用すること
も可能である。
Furthermore, the magnetic card encoder can of course be used online, and can also be used as a terminal by connecting online to a host computer via an interface.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば、マスター磁気カー
ドに記録された暗号コードが所定のコードと一致した場
合にのみ新規カードへの書込処理を行い得るように成さ
れているので、マスター磁気カードを使用しなければ新
規カードを発行することができず、磁気カードの偽造・
複製を防止することができるという優れた効果があり、
また、マスター磁気カードには書換不能な固定データが
記録されているので、これを複数種用意することによっ
て、メモリの記憶容量を増やすことなく、多数の固定デ
ータの変更を容易にjテうことができるという優れた効
果がある。
As described above, according to the present invention, writing to a new card can be performed only when the encryption code recorded on the master magnetic card matches a predetermined code. New cards cannot be issued without the use of magnetic cards, and magnetic card counterfeiting and
It has the excellent effect of preventing duplication.
In addition, since fixed data that cannot be rewritten is recorded on the master magnetic card, by preparing multiple types of master magnetic cards, it is possible to easily change a large amount of fixed data without increasing the memory storage capacity. It has the excellent effect of being able to

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

第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はその制御装置の一例を示すブロック
図、第3図はその処理手順の一例を示す流れ図、第4図
はマスター磁気カードに記録されたデータの記録内容を
示す説明図、第5図は発行済カードに記録されたデータ
の記録内容を示す説明図である。 符号の説明 2−・−キーボード、3−文字表示部、4−キースイッ
チ、5−磁気カード挿通部、5b・・−磁気ヘッド、6
M・−マスター磁気カード、6N−未使用磁気カード、
6a・−・磁気記録部、7−制御装置、8−・インター
フェイス回路、9・−演算処理装置、lO−・−記憶装
置、11−マイクロコンピュータ、12−・−駆動回路
。 @″1図 第21!1 手続ネ甫正書(自発) 昭和61年 2月2−z日 特許庁長官 宇 賀 道 部 殿 l、事件の表示 昭和59年特許願第249630号 2゜発明の名称 磁気カードエンコーダ 3、補正をする者 事件との関係  特許出願人 住 所  東京都目黒区柿の木板−丁目25番5号名 
称  株式会社 アメックス 4、代理人〒150 自    発 6、補正の対象 明   細   書 1、発明の名称 磁気カードエンコーダ 2、特許請求の範囲 磁気記録部を有する磁気カードに記録情報を書き込む磁
気カードエンコーダにおいて、前記記録情報の書換不能
な固定データ及び自由に入力可能な可変データ記録領域
をフォーマント情報として記録すると共に当該磁気カー
ドがマスター磁気カードであるか否かの判別を行うため
の所定の暗号コードを記録したマスター磁気カードと、
該マスター磁気カードの前記フォーマット情報及び暗号
コードを読み取る読取手段と、該読取手段により読み取
った暗号コードが所定のコードと一致するか否かの判断
を行う判定手段と、該判定手段により一致すると判断さ
れた場合に前記フォーマット情報を記憶する記憶手段と
、該記憶手段に記憶したフォーマット情報の可変データ
記録領域へ所望データを入力する入力部と、咳入力部よ
り入力されたデータ及び前記固定データを磁気カードに
嘗き込む書込手段とを具備することを特徴とする磁気カ
ードエンコーダ。 3、発明の詳細な説明 S卒業上の利用分野] 本発明It、磁気記録部を有する磁気カードに記録情報
を書き込む磁気カードエンコーダに関する。 〔従来技術とその問題点] 一般に磁気カードは、身分証明書用のIDカード、タイ
ムカード、入室管理カード等に使用され、磁気カードの
磁気記録部に記録した社名、個人名、登録ナンバー等の
記録情報を磁気カードリーグで読み取ることにより、所
定のデータ処理を行うようにしている。 ところで、新規に磁気カードを発行する場合は磁気カー
ドエンコーダを使用して未使用の磁気カードの磁気記録
部に記録情報を書き込むこととしているが、その磁気カ
ードエンコーダを誰でも操作できるとすれば、磁気カー
ドの偽造や勝手な複製がなされるという危惧が大である
。 また、特定の者のみが操作可能なように管理して偽造、
?3[製等を防止する場合にも、前記記録情報の全てを
一々入力することは極めて面倒であり、誤操作も多(な
るという新たな問題がある。 そこで、従来の磁気カードエンコーダにおいては、操作
者専用IDカードを挿通しなければ作動しないようにす
ると共に、第5図に示す記録情報Klのうち実際に書き
換えを必要としない固定データAを予めリードオンリメ
モリに記憶しておき、登録ナンバー等カード毎に異なる
データの入力を必要とする可変データB′のみをキーホ
ードを使用して入力するようにしているのが一般的であ
る。 しかしながら、このような従来の磁気カードエンコーダ
にあっては、リードオンリメモリ、に固定データを予め
記憶しておくので、一旦書き込んだ固定データの変更が
不可能であり、固定データを変更すべ(予め多種の固定
データを記憶させておくためには、メモリの記憶容量を
増大させなければならず、コストアップの要因となると
いう問題点があった。 この点を解決するために、出願人は、固定データをリー
ドオンリメモリに記憶するのではなく、別途マスター磁
気カードに記録しておき、該マスター磁気カードを複数
種用意することにより、メモリの容量を増やすことなく
固定データの変更を可能にした磁気カードエンコーダを
提案した(特願昭59−152111号参照)。 しかし、この磁気カードエンコーダによって新規発行カ
ードに記録される内容は、可変データの部分を除いてマ
スター磁気カードの記録内容と何ら異なるところがない
から、マスター磁気カードを使用しなくても当該磁気カ
ードを用いることによって同一カードを複製することが
可能となる。 したがって、偽造や複製を完全に防止するためには、少
なくともマスター磁気カードと操作者専用IDカードの
二種類のカードを管理しなければならないという不便が
あった。 〔発明の目的〕 そこで本発明は、固定データを記録したマスター磁気カ
ードに操作者専用IDカードの機能を持たせることによ
り磁気カードの複製、偽造を防止することができ、且つ
容易に固定データの変更を行うことができる磁気カード
エンコーダを提供することを目的とする。 〔発明の構成〕 この目的を達成するために、本発明は、磁気記録部を有
する磁気カードに記録情報を書き込む磁気カードエンコ
ーダにおいて、前記記録情報の書換不能な固定データ及
び自由に入力可能な可変データ記録領域をフォーマット
情報として記録すると共に当該磁気カードがマスター磁
気カードであるか否かの判別を行うための所定の暗号コ
ードを記録したマスター磁気カードと、該マスター磁気
カードの前記フォーマント情報及び暗号コードを読み取
る読取手段と、該読取手段により読み取った暗号コード
が所定のコードと一致するか否かの判断を行う判定手段
と、該判定手段により一致すると判断された場合に前記
フォーマット情報を記憶する記憶手段と、該記憶手段に
記憶したフォーマント情報の可変データ記録領域へ所望
データを入力する入力部と、該入力部より入力されたデ
ータ及び前記固定データを磁気カードに書き込む書込手
段とを具備することを特徴とする。 〔発明の作用〕 本発明によれば、マスター磁気カードに記録された暗号
コードが所定のコードと一致した場合にのみ新規カード
への書込処理を行い得るように成されているので、マス
ター磁気カードを使用しなければ新規カードを発行する
ことができず、また前記暗号コードは新規カードには書
き込まれないので、咳新規カードによって磁気カードエ
ンコーダを操作することはできない。 また、マスター磁気カードには書換不能な固定データが
記録されているので、これを複数種用意することによっ
て、メモリの記憶容量を増やすことなく、多数の固定デ
ータの変更を容易に行うことができる。 〔実施例〕 以下、本発明による磁気カードエンコーダを図面に示す
具体的な実施例に基づいて説明する。 第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はその制m装置の一例を示すブロック
図である。 図中1はケース体、Zはケース体1の上面に形成された
平板状のキーボード、3はキーボード2の後方に形成さ
れた例えば液晶で構成された文字表示部、4はケース体
1の左側面に設けられたキースイッチ、5はケース体1
の上面右αq部に設けられた磁気カード揮通部である。 キーボード2には、仮名、アルファベット等の選択キー
2aと、その右側に配列されたファンクションキー2b
とが形成され、ファンクシボンキー2b中には書込スイ
フチ2c及びテンキー等が設けられている。 磁気カード揮通部5には、磁気カード6を案内する案内
m5aと、磁気カード6の磁気記録部6aに摺接してこ
れに記録情報を書き込み又は磁気記録部6aに書き込ま
れた記録情報を読み出す一つの書込・続出兼用磁気ヘッ
ド5bが没けられている。 ここで、磁気カード6としては、マスター磁気カード6
Mと、それに記録されたフォーマット情報及び所望の可
変データでなる記録情報を記録するIDカード等に使用
する未使用磁気カード6Nとを用窓し、マスター磁気カ
ード6Mの磁気記録部6aには、第4図に示すように例
えばデータの2折目から700折目固定データAと入力
用擬似データ(例えば※)Cが記録された可変データ記
録領域Bとからなるフォーマット情報FIが記録される
と共に、データの1折目及び711折目初め符号及び終
わり符号を兼ねた暗号コード(例えばrsEEJ&びr
$FFJ)Dが記録されている。 而して、キーボード2から出力される出力信号及びキー
スイッチ4のスイッチ信号がミ第2図に示す請訓装置7
に供給される。 この制御装置7は、例えばインターフェイス回路8.演
算処理装置9及び記憶装置10を少なくとも有するマイ
クロコンビエータ11で構成されている。 ここで、前記インターフェイス回路8には、その入力端
にキーボード2及びキースイッチ4が接続されると共に
、その出力側に磁気へラド5bの駆動回路121文字表
示部3及びプリンタ13が夫々接続されている。 また、前記演算処理装置9゛は、マスター磁気カード6
Mに記録された暗号コードD、フォーマット情報F【及
びキーボード2からの入力データに基づき所定の演算処
理を実行して、フォーマット情報Frを記憶すると共に
入力データ(可変データ)を記憶し、これらを記録情報
KIとして未使用の磁気カード6Nの磁気記録部6aに
記録する書込処理を実行する。 更に、前記記憶装置10は、マスター磁気カード6Mの
暗号コードDと一致する所定のコードを記録していると
共に、演算処理装置9の演算処理に必要な処理プログラ
ム及び演算処理過程で必要な処理データを記憶しており
、また演算処理結果を一時記憶する。 以下、演算処理装置9の処理手頃を第3図に示す流れ図
を伴って説明する。 キースイッチ4がオン状態になると、第3図に示す処理
が実行開始されて、まずステップ(1)で磁気へラド5
bが続出側となるように駆動回路、12を続出モードに
設定してから、ステップ(2)で文字表示部3に例えば
rInsert 5tartup card  ! J
等のマスター磁気カード庫通指示を表示し、ステップ(
3)に移行して磁気カード6が挿通されるまで待機する
。 磁気カード6が挿通されると、ステップ(4)に移行し
て該磁気カード6の磁気記録部6aに記録されたデータ
を読み取り、これを記憶装置1o内のバッファメモリに
一時記憶する。 次いで、ステップ(5)に移行し、前記データの所定領
域に記録された暗号コードDが予め記憶されている所定
のコードと一致するか否かを判断する。 そして、暗号コードDが所定のコードと一致しない場合
、即ち当該磁気カード6がマスター磁気カード6Mでな
いと判断された場合には、ステップf6)に移行して、
文字表示gTS3にエラー表示をしてから前記バッファ
メモリの内容を消去し、ステップ(2)に戻る。 またステップ(5)において、暗号コードDが所定のコ
ードと一致した場合、即ち当該磁気カード6がマスター
磁気カード6Mであると判断された場合には、ステップ
(7)に移行してバッファメモリに記憶された記憶内容
のうちフォーマット情報FIのみを記憶装置10の所定
の記憶領域に記憶し、ステップ(8)に移行して該フォ
ーマット情報Frを所定時間(例えば1秒間)表示した
後、ステップ(9)でフォーマット情報Flの登録完了
を示すrc。 piedJ等のメツセージを表示してステップ(10)
へ移行する。 このとき、前記フォーマント清報FIは記憶装置10に
固定されるので、キースイッチ4をオフ状態にしない限
り、他のマスター磁気カードを挿通しても該フォーマッ
ト情報Flが書き換えられることはない。 ステップ(10)では、磁気へラド5bの駆動回路12
を書込モードに設定する書込スイッチ2Cが押下された
か否かを判断する。 そして、書込スイッチ2Cが押下された場合には、ステ
ップ(11)に移行して駆動回路12を書込モードに切
り換え、ステップ(12)に移行し、記憶装置10に記
憶されたフォーマット情報Fl中の可変データ記録領域
に対応するバッファメモリの記憶内容を文字表示部3に
表示すると共に、所定のカーソル制御を行って、カーソ
ル位置を可変データ記憶領域の先頭位置に移動させる。 次いでステップ(13)に移行して、キーボード2から
のキー入力による可変データを順次記憶装置10内のバ
ッファメモリに記憶すると共に、文字表示部3に表示す
る。 次いで、ステップ(14)に移行して、キーボード2か
らの入力が完了したか否かを判定する。この場合の判定
は、可変データの入力を完了したことを示す所定の書込
完了キーが押下されたか否かで判定し、揮下されないと
きには押下されるまで待機し、押下されたときはそのと
きのバッファメモリの記憶内容が記憶装置10の所定の
記憶領域に記憶されてステップ(15)へ移行する。 このステップ(15)では、未使用の磁気カード6Nが
挿通されたか否かを判定し、磁気カード6Nが挿通され
ないときは挿通されるまで待機し、挿通されるとステッ
プ(16)に移行する。 このステップ(16)では、固定データAと可変データ
とを前記未使用の磁気カード6Nに書き込み、ステップ
(17)に移行する。 このステップ(17)では、前記ステップ(1B)で書
き込まれた書込情報を確認する確認モードに設定し、磁
気へラド5bの駆動回路12を続出側に切り換える。 次いで、ステップ(18)に移行して、磁気カード6N
を磁気カード挿通部5に再拝通させる再挿通指示(例え
ば、r6−VerifyJの文字)を文字表示部3に表
示させてからステップ(19)に移行する。 このステップ(19)では、ステ・ノブ(15)と同様
に磁気カード挿通部5に磁気カード6Nが挿通されたか
否かを判定し、磁気カード6Nが非揮通状態であるとき
には、磁気カード6Nが挿通されるまで待機し、磁気カ
ード6Nが挿通されるとステップ(20)に移行する。 このステップ(20)では、磁気カード6Nに嘗き込ま
れた書込情報を磁気へ7ド5bを介して読み出し、これ
を一時バックアメモリに記憶してステップ(21)に移
行する。 ステップ(21)では、記憶装置10に記憶された前記
フォーマット情報及び可変データでなる記録情報を呼び
出し、両者を比較照合して一致するか否かを判定する。 このとき、両者が一致する場合にはステップ(22)に
移行し、不一致の場合にはステップ(23)に移行する
。 ステップ(22)では、文字表示部3に書込情報(−読
出情報)をそのまま表示すると共に、チェック表示(例
えば、r 6= CheckJの文字)を表示させ、ス
テップ(24)に移行してキースイッチ4がオン状態を
継続しているか否かを判定し、オン状態であるときには
新たな磁気カード6を発行すべく前記ステップ(10)
に移行し、オフ状態であるときには処理を終了する。 また、ステップ(23)では、前記チェック表示と共に
、記録情報とこれに対応する書込情報の不一致箇所を文
字表示部3に特定の記号(例えば、「?」や網掛は表示
「口」等)で表示すると同時に、例えば「ピン、ビン、
ピン」の連続音で成るエラー音を発してから前記ステッ
プ(24)に移行する。 なお、ステップ(25)〜(28)は、既に発行した磁
気カード6の内容の一部を書き換えて再発行する場合等
に、当該磁気カード6に記録されている記録情報Klを
確認するため文字表示部3に表示させるループである。 即ち、前記ステップ(10)で書込スイッチ2Cが揮下
されない場合は、ステップ(25)に移行し、磁気カー
ド6が挿通されるまで待機する。 そして、磁気カード6が挿通された場合は、ステップ(
26)に移行して該磁気カード6の磁気記録部6aに記
録された記録情報KIを読み取り、これを記憶装置10
内のバッファメモリに一時記憶してステップ(27)に
移行する。 このステップ(27)では、前記ステップ(26)にお
いて記憶された記録情報KIと、ステップ(7)におい
て記憶されたフォーマット情報Flとを比較し、両者の
固定データAが一致する場合はステップ(2日)に移行
して前記記録情報Klを文字表示部3に表示してからス
テップ(10)に戻り、一致しない場合はステップ(2
9)に移行してエラー表示をすると共にバッファメモリ
の記憶内容を消去してからステップ(10)に戻る。 ここで、ステップfl)〜(4)の処理が読取手段の具
体例、ステップ(5)の処理が判定手段の具体例、ステ
ップ(7)〜(9)の処理が記憶手段の具体例、ステッ
プ(10)〜(16)の処理が書込手段の具体例である
。 以上が、本発明の一例構成であり、次にその動作につい
て説明する。 まず、キースイッチ4をオン状態とすることにより、制
御装置7の演算処理装置9で第3図の処理が実行開始さ
れ、ステップ(1)で磁気ヘッド5bの駆動回路■2を
続出モードに設定すると共に、マスター磁気カードの挿
通指示r In5ert 5tartup  card
 ! Jが表示される(ステップ(2))−この状態で
、所望のマスター磁気カード6Mを選択して、磁気カー
ド揮通部5に挿通ずると、ステップ(3)からステップ
(4)に移行して、マスター磁気カード6Mの磁気記録
部6aに記録されたフォーマット情報Fl及び暗号コー
ドDを磁気へラド5bを介して読み取り、これをバッフ
ァメモリに一時記憶する。 次いでステップ(5)に移行し、マスター磁気カード6
Mに記録されたデータの初め符号及び終わり符号を兼ね
た暗号コードDが記憶装置10に予め記憶されているコ
ードr$EEJ及びr$FFJと一致するか否かを判断
する。 そして一致する場合は、ステップ(7)に移行して、バ
ッファメモリに記憶されたフォーマット情報FIのみを
記憶装置10の所定の記憶領域に記憶し、ステップ(8
)に移行してフォーマット情報FIを例えば1秒間表示
した後、ステップ(9)に移行してフォーマット情報登
録完了を示すrcopiedJの文字を文字表示部3に
表示する。 次いでステップ(10)に移行して、書込スイッチ2C
が押下されたか否かを判断し、押下された場合にはステ
ップ(11)に移行して駆動回路12を書込モードに切
り換え、ステップ(12)に移行して記、憶装置10に
記憶したフォーマット情報FIのうち固定データAを「
−」のような伏字で表示すると共に可変データ記録領域
に対応するバッファメモリの内容を文字表示部3に表示
し、咳可変データ記録領域の先頭にカーソルが移動せら
れる。 このとき、まだバッファメモリの可変データ記憶領域に
は何も記憶されていないので、例えばその部分だけ「ロ
ロロロ」で表示される。 この状態で、キーボード2を使用して所望の可変データ
を入力すると、その入力データがバッファメモリに一時
記憶されると共に、文字表示部3に表示される(ステッ
プ(13) )。 その後、所定のキー入力完了キーを押下することにより
、前記バッファメモリの内容が記憶装置10の所定の記
憶領域に記憶され(ステップ(14))、ステップ(1
5)に移行する。 ここで、未使用の磁気カード6Nを磁気カード挿通部5
に挿通すると、ステップ(15)からステップ(16)
に移行して、第5図に示すように記憶装置10に記憶さ
れている固定データA及び可変データB′を記録情報K
lとして磁気カードの磁気記録部6aに磁気へラド5b
を介して書き込むと共に、該磁気カード6Nの初め符号
及び終わり符号として、マスター磁気カード6Mの暗号
コードDとなる初め符号r$EEJ及び終わり符号「$
FFlとは異なる符号D’  (例えばr $−E E
 J及びr$EEJ)を嘗き込んで書込処理を終了する
。 書込処理が終了すると、ステップ(17)に移行して確
認モードに設定され、磁気へラド5bの駆動回路12が
続出側に切り換えられ、次いでステップ(18)に移行
して、文字表示部3に磁気カードロの挿通指示r6−V
erifyJが表示される。 この状態で、再び磁気カード6を磁気カード挿通部5内
に挿通させると、ステップ(19)からステップ(20
)に移行し、磁気カード6の磁気記録部6aの書込清報
を読み出してバッファメモリに一時記憶し、その読み出
し情報と前記ステップ(7)及びステップ(16)で記
録した記録情報とが一致するか否かを判定する(ステッ
プ(21) ) 。 ここで両者が一致する場合には、ステップ(22)に移
行して文字表示部3に書込情報をそのまま表示すると共
にチェック表示rk CheckJが表示され、次いで
ステップ(24)でキースイッチ4がオン状態であるか
否かを判定し、オン状態を継続している場合にはステッ
プ(10)に移行し、またオン状態である場合には処理
を終了する。 また、ステップ(21)の判定結果が書込清報と続出情
報の不一致である場合には、ステップ(23)に移行し
、文字表示部3にチェック表示「伽CheckJが表示
されると共に、不一致箇所に対応する文字位置に特定記
号を表示して不一致である旨が明確に可視表示され、さ
らに「ピッ、ビ7.ピン」とエラー音を発して注意を促
す。 ここで不一致箇所を訂正するには、ステップ(10)に
戻り、書込スイッチ2cを押下すればステップ(12)
において、その時のバッファメモリの内容すなわちステ
ップ(23)と同じ表示がなされるので、当該訂正箇所
にカーソルを移動して正しいデータを入力し直しくステ
ップ(13) ) 、以下同様に書込処理を行えば良い
。 以上が、未使用磁気カード6Nを使用して新規にカード
を発行する場合であり、次に、例えば期限切れカードを
更新する場合等、以前発行したカードの内容を変更する
場合について説明する。 この場合は、ステップ(1o)において、書込スイッチ
2cを押下せずに更新すようとする磁気カード6を磁気
カード挿通部5に挿通すれば(ステップ(25) )駆
動回路12は続出モードになっているから、磁気カード
6の磁気記録部6aに記録された記録情報Klが読み取
られてバッファメモリに一時記憶される(ステップ(2
6) )。 そして、該磁気カード6の固定データAと、ステップ(
7)で記憶されたマスター磁気カード6随の固定データ
Aが一致した場合は、前記バッファメモリの内容を表示
してステップ(1o)に戻る。。 このステップ(10)において、書込スイッチ2Cを押
下すれば、バッファメモリの内容すなゎ−ち更新しよう
とする・磁気カード6に記録されている可変データが表
示されるから(ステップ(12) )、そのうち使用期
限等の変更を必要とする箇所にカーソルを移動させて所
望のデータを入力しくステップ(13) ) 、以下新
規カード発行の場合と同様に書込処理を行えば、以前発
行した磁気カード6の内容を書き換えることができる。 なお、上記実施例においては、マスター磁気カード6M
の暗号コードDを、データの初め符号及び終わり符号と
兼用して用いた場合について説明したが、本発明はこれ
に限るものではなく、第4図に示す2〜70桁の任意デ
ータ領域の所定の領域、例えば67〜70桁の4桁を暗
号コードDの領域として用いるものであっても良い。 ただし、初め符号及び終わり符号と暗号コードDを兼用
すれば、任意データ領域の全てをフォーマット情報Fl
の領域として使用することができるという利点がある。 また、実施例においては、磁気カード6をIDカードと
して使用する場合について説明したが、本発明はこれに
限らず、例えば入室管理装置用カード、磁気読取型タイ
ムカード、在庫管理用カードあるいは飲食店の会員カー
ドの発行等、種々の用途に使用することができる。 さらに、磁気カードエンコーダはオンラインで使用する
ことは勿論、インターフェイスを介してホストコンピュ
ータにオンラインで接続して端末機として使用すること
も可能である。 〔発明の効果〕 以上述べたように、本発明によれば、マスター磁気カー
ドに記録された暗号コードが所定のコードと一致した場
合にのみ新規カードへの書込処理を行い得るように成さ
れているので、マスター磁気カードを使用しなければ新
規カードを発行することができず、磁気カードの偽造・
複製を防止することができるという優れた効果があり、
また、マスター磁気カードには書換不能な固定データが
記録されているので、これを複数種用意することによっ
て、メモリの記憶容量を増やすことなく、多数の固定デ
ータの変更を容易に行うことができるという優れた効果
がある。 4、図面の簡単な説明 第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はその制御装置の一例を示すブロック
図、第3図はその処理手順の一例を示す流れ図、第4図
はマスター磁気カードに記録されたデータの記録内容を
示す説明図、第5図は発行済カードに記録されたデータ
の記録内容を示す説明図である。 符号の説明 2−キーボード、3・−・文字表示部、4−キースイッ
チ、5−磁気カード庫通部、5b・−磁気ヘッド、6M
・−マスター磁気カード、6 N−−一一一未使用磁気
カード、6a−・磁気記録部、7−制御装置、8−・イ
ンターフェイス回路、9−演算処理装置、10−・記憶
装置、11−・マイクロコンピュータ、12−駆動回路
Fig. 1 is an external view showing an example of a magnetic card encoder according to the present invention, Fig. 2 is a block diagram showing an example of its control device, Fig. 3 is a flowchart showing an example of its processing procedure, and Fig. 4 is a master magnetic card encoder. FIG. 5 is an explanatory diagram showing the recorded contents of data recorded on a card. FIG. 5 is an explanatory diagram showing the recorded contents of data recorded on an issued card. Description of symbols 2--Keyboard, 3-Character display section, 4-Key switch, 5-Magnetic card insertion section, 5b...-Magnetic head, 6
M・-Master magnetic card, 6N-Unused magnetic card,
6a--magnetic recording unit, 7-control device, 8-interface circuit, 9-arithmetic processing unit, lO--storage device, 11-microcomputer, 12--drive circuit. @''1 Figure 21! 1 Proceedings (spontaneous) February 2-z, 1986 Mr. Michibu Uga, Commissioner of the Patent Office, Indication of the Case Patent Application No. 249630 of 1988 2゜Invention Name: Magnetic Card Encoder 3, Relationship with the person making the amendment Patent applicant Address: 25-5 Kaki no Kiban-chome, Meguro-ku, Tokyo
Name Amex Co., Ltd. 4, Agent Address: 150 Vol. 6, Description subject to amendment 1, Title of the invention Magnetic card encoder 2, Claims In a magnetic card encoder for writing recorded information on a magnetic card having a magnetic recording section , a predetermined encryption code for recording the non-rewritable fixed data of the recorded information and the freely inputtable variable data recording area as formant information, and for determining whether or not the magnetic card is a master magnetic card. A master magnetic card recorded with
a reading means for reading the format information and the encrypted code of the master magnetic card; a determining means for determining whether the encrypted code read by the reading means matches a predetermined code; and the determining means determines that they match. a storage means for storing the format information when the format information is stored, an input section for inputting desired data into a variable data recording area of the format information stored in the storage means, and an input section for inputting the data input from the cough input section and the fixed data. A magnetic card encoder comprising a writing means for writing onto a magnetic card. 3. Detailed Description of the Invention Field of Application] The present invention relates to a magnetic card encoder for writing recorded information on a magnetic card having a magnetic recording section. [Prior art and its problems] Magnetic cards are generally used for identification cards, time cards, room access control cards, etc., and are used to store company names, individual names, registration numbers, etc. recorded in the magnetic recording section of the magnetic card. Predetermined data processing is performed by reading recorded information using a magnetic card league. By the way, when issuing a new magnetic card, a magnetic card encoder is used to write recorded information into the magnetic recording section of an unused magnetic card, but if anyone can operate the magnetic card encoder, There is a great concern that magnetic cards will be counterfeited or copied without permission. In addition, we manage and forge products so that only specific people can operate them.
? 3 [Even when preventing manufacturing, etc., it is extremely troublesome to input all of the recorded information one by one, and there are new problems such as frequent erroneous operations. Therefore, in the conventional magnetic card encoder, the operation In addition, among the recorded information Kl shown in Fig. 5, fixed data A that does not require actual rewriting is stored in a read-only memory in advance, and registration numbers, etc. Generally, only variable data B', which requires inputting different data for each card, is input using a key fob.However, with such conventional magnetic card encoders, Since fixed data is stored in read-only memory in advance, it is impossible to change the fixed data once it has been written. There was a problem in that the storage capacity had to be increased, which caused an increase in costs.In order to solve this problem, the applicant did not store fixed data in read-only memory, but instead created a separate master memory. We proposed a magnetic card encoder that enables fixed data to be changed without increasing memory capacity by recording on a magnetic card and preparing multiple types of master magnetic cards (see Japanese Patent Application No. 152,111/1982). ).However, the contents recorded on a newly issued card by this magnetic card encoder are no different from the contents recorded on the master magnetic card except for variable data, so the magnetic card encoder can record the magnetic card without using the master magnetic card. Using a card makes it possible to duplicate the same card. Therefore, in order to completely prevent forgery and duplication, it is necessary to manage at least two types of cards: a master magnetic card and an operator-specific ID card. [Objective of the Invention] Therefore, the present invention makes it possible to prevent copying and counterfeiting of magnetic cards by providing a master magnetic card on which fixed data is recorded with the function of an ID card exclusively for the operator. An object of the present invention is to provide a magnetic card encoder that can easily change fixed data. [Structure of the Invention] A magnetic card encoder for writing recorded information records non-rewritable fixed data of the recorded information and a freely inputtable variable data recording area as format information, and also determines whether or not the magnetic card is a master magnetic card. A master magnetic card on which a predetermined encryption code is recorded, a reading means for reading the formant information and the encryption code of the master magnetic card, and whether the encryption code read by the reading means matches the predetermined code. a determining means for making such a determination; a storage means for storing the format information when it is determined by the determining means that they match; and a storage means for inputting desired data into a variable data recording area of the formant information stored in the storage means. It is characterized by comprising an input section and a writing means for writing the data inputted from the input section and the fixed data onto a magnetic card. [Operation of the Invention] According to the present invention, writing to a new card can be performed only when the encryption code recorded on the master magnetic card matches a predetermined code. Since a new card cannot be issued without using the card, and the encryption code is not written on the new card, the magnetic card encoder cannot be operated by the new card. In addition, since fixed data that cannot be rewritten is recorded on the master magnetic card, by preparing multiple types of master magnetic cards, it is possible to easily change a large amount of fixed data without increasing the memory storage capacity. . [Embodiments] Hereinafter, a magnetic card encoder according to the present invention will be described based on specific embodiments shown in the drawings. FIG. 1 is an external view showing an example of a magnetic card encoder according to the present invention, and FIG. 2 is a block diagram showing an example of its control device. In the figure, 1 is a case body, Z is a flat keyboard formed on the top surface of the case body 1, 3 is a character display section formed at the rear of the keyboard 2 and is made of, for example, a liquid crystal, and 4 is the left side of the case body 1. Key switch provided on the surface, 5 is the case body 1
This is a magnetic card passage section provided on the right αq section of the top surface. The keyboard 2 includes selection keys 2a for kana, alphabet, etc., and function keys 2b arranged on the right side of the selection keys 2a.
A write switch 2c, a numeric keypad, etc. are provided in the function key 2b. The magnetic card passing section 5 includes a guide m5a for guiding the magnetic card 6, and a guide m5a for slidingly contacting the magnetic recording section 6a of the magnetic card 6 to write recorded information thereon or read recorded information written in the magnetic recording section 6a. One magnetic head 5b for both writing and continuous output is sunk. Here, the magnetic card 6 is a master magnetic card 6.
M, and an unused magnetic card 6N used for an ID card or the like that records recorded information consisting of format information and desired variable data recorded therein, and the magnetic recording section 6a of the master magnetic card 6M has the following information: As shown in FIG. 4, format information FI consisting of fixed data A for the 2nd to 700th folds of data and a variable data recording area B in which input pseudo data (for example *) C is recorded is recorded. , an encryption code that also serves as the beginning code and end code for the 1st and 711th folds of data (for example, rsEEJ & r
$FFJ)D is recorded. Thus, the output signal output from the keyboard 2 and the switch signal from the key switch 4 are transmitted to the request device 7 shown in FIG.
is supplied to This control device 7 includes, for example, an interface circuit 8. The micro combinator 11 includes at least an arithmetic processing unit 9 and a storage device 10. Here, the interface circuit 8 has a keyboard 2 and a key switch 4 connected to its input end, and a drive circuit 121 for the magnetic helad 5b, a character display section 3, and a printer 13 connected to its output side, respectively. There is. Further, the arithmetic processing device 9' includes a master magnetic card 6'.
A predetermined arithmetic process is executed based on the encryption code D recorded in M, the format information F [and the input data from the keyboard 2], the format information Fr is stored, and the input data (variable data) is stored. A write process is executed to record the recording information KI in the magnetic recording section 6a of the unused magnetic card 6N. Furthermore, the storage device 10 records a predetermined code that matches the encryption code D of the master magnetic card 6M, and also stores processing programs necessary for the arithmetic processing of the arithmetic processing unit 9 and processing data necessary for the arithmetic processing process. It also temporarily stores the results of arithmetic processing. The processing performed by the arithmetic processing unit 9 will be explained below with reference to the flowchart shown in FIG. When the key switch 4 is turned on, the process shown in FIG.
After setting the drive circuit 12 to the continuous printing mode so that b is on the continuous printing side, in step (2), for example, rInsert 5 tartup card! is displayed on the character display section 3. J
Display the master magnetic card repository instructions such as
3) and waits until the magnetic card 6 is inserted. When the magnetic card 6 is inserted, the process moves to step (4), where the data recorded in the magnetic recording section 6a of the magnetic card 6 is read and temporarily stored in the buffer memory in the storage device 1o. Next, the process moves to step (5), and it is determined whether the encryption code D recorded in the predetermined area of the data matches a predetermined code stored in advance. Then, if the encryption code D does not match the predetermined code, that is, if it is determined that the magnetic card 6 is not the master magnetic card 6M, the process moves to step f6),
After displaying an error on the character display gTS3, the contents of the buffer memory are erased and the process returns to step (2). Further, in step (5), if the encryption code D matches the predetermined code, that is, if it is determined that the magnetic card 6 is the master magnetic card 6M, the process moves to step (7) and the data is stored in the buffer memory. Among the stored contents, only the format information FI is stored in a predetermined storage area of the storage device 10, and after proceeding to step (8) and displaying the format information Fr for a predetermined period of time (for example, 1 second), step ( 9) rc indicating completion of registration of format information Fl. Display the message such as piedJ and step (10)
Move to. At this time, since the formant information FI is fixed to the storage device 10, the format information Fl will not be rewritten even if another master magnetic card is inserted, unless the key switch 4 is turned off. In step (10), the drive circuit 12 of the magnetic herad 5b
It is determined whether the write switch 2C, which sets the device to write mode, has been pressed. If the write switch 2C is pressed, the process proceeds to step (11), where the drive circuit 12 is switched to the write mode, and the process proceeds to step (12), where the format information Fl stored in the storage device 10 is The storage contents of the buffer memory corresponding to the variable data storage area therein are displayed on the character display section 3, and predetermined cursor control is performed to move the cursor position to the beginning position of the variable data storage area. Next, the process proceeds to step (13), in which variable data based on key input from the keyboard 2 is sequentially stored in the buffer memory in the storage device 10 and displayed on the character display section 3. Next, the process moves to step (14), and it is determined whether input from the keyboard 2 has been completed. In this case, the determination is made based on whether or not a predetermined write completion key indicating that the input of variable data has been completed is pressed. If it is not pressed, the system waits until it is pressed, and if it is pressed, then The storage contents of the buffer memory are stored in a predetermined storage area of the storage device 10, and the process moves to step (15). In this step (15), it is determined whether or not an unused magnetic card 6N has been inserted. If the magnetic card 6N is not inserted, the process waits until it is inserted, and when it is inserted, the process moves to step (16). In this step (16), fixed data A and variable data are written into the unused magnetic card 6N, and the process moves to step (17). In this step (17), a confirmation mode is set to confirm the written information written in the step (1B), and the drive circuit 12 of the magnetic helad 5b is switched to the continuous output side. Next, proceed to step (18) and insert the magnetic card 6N.
After displaying on the character display section 3 a re-insertion instruction (for example, the characters r6-VerifyJ) for re-inserting the magnetic card into the magnetic card insertion section 5, the process moves to step (19). In this step (19), it is determined whether or not the magnetic card 6N has been inserted into the magnetic card insertion part 5 in the same way as the steering knob (15), and when the magnetic card 6N is in a non-volatile state, the magnetic card 6N The process waits until the magnetic card 6N is inserted, and when the magnetic card 6N is inserted, the process moves to step (20). In this step (20), the write information previously written on the magnetic card 6N is read out from the magnetic card 5b, and is temporarily stored in the backup memory, before proceeding to step (21). In step (21), the format information and the recorded information consisting of variable data stored in the storage device 10 are called up, and the two are compared and verified to determine whether or not they match. At this time, if the two match, the process moves to step (22), and if they do not match, the process moves to step (23). In step (22), the written information (-read information) is displayed as is on the character display section 3, and a check mark (for example, the characters r 6 = CheckJ) is displayed, and the process proceeds to step (24), where the key is pressed. The above step (10) determines whether the switch 4 continues to be in the on state, and if it is in the on state, a new magnetic card 6 is issued.
and when it is in the off state, the process ends. In addition, in step (23), in addition to displaying the check, a specific symbol (for example, "?" or a shaded area indicates "mouth") is displayed on the character display section 3 to indicate where the recorded information and the corresponding written information do not match. For example, "pin, bottle,
After emitting an error sound consisting of a continuous sound of "ping", the process moves to step (24). In addition, steps (25) to (28) are performed in order to confirm the recorded information Kl recorded on the magnetic card 6 when rewriting some of the contents of the already issued magnetic card 6 and reissuing it. This is a loop displayed on the display unit 3. That is, if the write switch 2C is not lowered in step (10), the process moves to step (25) and waits until the magnetic card 6 is inserted. Then, when the magnetic card 6 is inserted, step (
26), reads the recorded information KI recorded in the magnetic recording section 6a of the magnetic card 6, and stores it in the storage device 10.
The data is temporarily stored in the internal buffer memory and the process moves to step (27). In this step (27), the recorded information KI stored in the step (26) and the format information Fl stored in the step (7) are compared, and if the fixed data A of both matches, the recorded information KI stored in the step (26) is compared with the format information Fl stored in the step (7). After displaying the recorded information Kl on the character display section 3, the process returns to step (10). If they do not match, step (2)
Step 9) displays an error message and erases the contents of the buffer memory, and then returns to step (10). Here, the processing of steps fl) to (4) is a specific example of the reading means, the processing of step (5) is a specific example of the determining means, the processing of steps (7) to (9) is a specific example of the storage means, The processes (10) to (16) are specific examples of the writing means. The above is an example of the configuration of the present invention, and the operation thereof will be explained next. First, by turning on the key switch 4, the arithmetic processing unit 9 of the control device 7 starts executing the process shown in FIG. At the same time, insert the master magnetic card.
! J is displayed (step (2)) - In this state, when the desired master magnetic card 6M is selected and inserted into the magnetic card insertion section 5, the process moves from step (3) to step (4). Then, the format information Fl and the encryption code D recorded in the magnetic recording section 6a of the master magnetic card 6M are read via the magnetic head 5b, and are temporarily stored in the buffer memory. Next, proceed to step (5) and insert the master magnetic card 6.
It is determined whether the encryption code D, which also serves as the start code and the end code of the data recorded in M, matches the codes r$EEJ and r$FFJ stored in advance in the storage device 10. If they match, the process moves to step (7), where only the format information FI stored in the buffer memory is stored in a predetermined storage area of the storage device 10, and step (8)
) and displays the format information FI for, for example, one second, and then moves to step (9) to display the characters rcopiedJ on the character display section 3 indicating completion of format information registration. Next, proceed to step (10) and turn on the write switch 2C.
It is determined whether or not the button has been pressed, and if it has been pressed, the process moves to step (11), the drive circuit 12 is switched to the write mode, and the process moves to step (12), where the memory is stored in the storage device 10. The fixed data A of the format information FI is
-" and the contents of the buffer memory corresponding to the variable data recording area are displayed on the character display section 3, and the cursor is moved to the beginning of the cough variable data recording area. At this time, since nothing has been stored in the variable data storage area of the buffer memory yet, only that part is displayed as "rorororo", for example. In this state, when desired variable data is input using the keyboard 2, the input data is temporarily stored in the buffer memory and displayed on the character display section 3 (step (13)). Thereafter, by pressing a predetermined key input completion key, the contents of the buffer memory are stored in a predetermined storage area of the storage device 10 (step (14)), and step (1)
Move on to 5). Here, insert an unused magnetic card 6N into the magnetic card insertion part 5.
Step (15) to Step (16)
5, the fixed data A and variable data B' stored in the storage device 10 are converted into recorded information K.
A magnetic helad 5b is attached to the magnetic recording section 6a of the magnetic card as l.
At the same time, as the beginning code and ending code of the magnetic card 6N, the beginning code r$EEJ and the ending code "$EEJ" which become the encryption code D of the master magnetic card 6M are written.
A code D' different from FFl (e.g. r $-E E
J and r$EEJ) to complete the write process. When the writing process is completed, the process moves to step (17), the confirmation mode is set, the drive circuit 12 of the magnetic helad 5b is switched to the continuous output side, and then the process moves to step (18), where the character display section 3 Insert instruction for magnetic card drawer r6-V
erifyJ is displayed. In this state, when the magnetic card 6 is inserted into the magnetic card insertion part 5 again, steps (19) to (20)
), the write information from the magnetic recording section 6a of the magnetic card 6 is read out and temporarily stored in the buffer memory, and the read information matches the recorded information recorded in steps (7) and (16). It is determined whether or not to do so (step (21)). If the two match, the process moves to step (22), where the written information is displayed as is on the character display section 3, and a check mark rk CheckJ is displayed, and then, in step (24), the key switch 4 is turned on. It is determined whether the switch is in the ON state or not, and if the ON state continues, the process moves to step (10), and if the ON state is continued, the process ends. In addition, if the judgment result in step (21) is that the written report and the subsequent information do not match, the process moves to step (23), and a check mark "伽CheckJ" is displayed on the character display section 3, and A specific symbol is displayed at the character position corresponding to the location to clearly visually indicate that there is a mismatch, and an error sound "Beep, Beep, 7. Ping" is emitted to call attention. To correct the discrepancy here, return to step (10) and press the write switch 2c to proceed to step (12).
In step (13), the content of the buffer memory at that time, that is, the same display as in step (23), is displayed, so move the cursor to the corrected part and input the correct data again (step (13)), and then perform the writing process in the same way. Just go. The above is the case where a new card is issued using the unused magnetic card 6N.Next, the case where the contents of a previously issued card are changed, such as when updating an expired card, will be explained. In this case, in step (1o), if the magnetic card 6 to be updated is inserted into the magnetic card insertion part 5 without pressing the write switch 2c (step (25)), the drive circuit 12 enters the continuous output mode. Therefore, the recorded information Kl recorded in the magnetic recording section 6a of the magnetic card 6 is read and temporarily stored in the buffer memory (step (2)
6) ). Then, the fixed data A of the magnetic card 6 and the step (
If the fixed data A of the master magnetic card 6 stored in step 7) matches, the contents of the buffer memory are displayed and the process returns to step (1o). . In this step (10), if the write switch 2C is pressed, the contents of the buffer memory, i.e., the variable data recorded on the magnetic card 6 to be updated, are displayed (step (12)). ), move the cursor to the area where you need to change the expiry date, etc., and enter the desired data. The contents of the magnetic card 6 can be rewritten. In the above embodiment, the master magnetic card 6M
Although the case has been described in which the encryption code D is used as both the start code and the end code of data, the present invention is not limited to this. For example, the 4-digit 67th to 70th digits may be used as the encryption code D area. However, if the start code and end code are used together as the encryption code D, the entire arbitrary data area can be used as the format information Fl.
It has the advantage that it can be used as an area. Further, in the embodiment, a case has been described in which the magnetic card 6 is used as an ID card, but the present invention is not limited to this. For example, the present invention is not limited to this. It can be used for various purposes such as issuing membership cards. Furthermore, the magnetic card encoder can of course be used online, and can also be used as a terminal by connecting online to a host computer via an interface. [Effects of the Invention] As described above, according to the present invention, writing to a new card can be performed only when the encryption code recorded on the master magnetic card matches a predetermined code. Therefore, new cards cannot be issued without using a master magnetic card, and magnetic card counterfeiting and
It has the excellent effect of preventing duplication,
In addition, since fixed data that cannot be rewritten is recorded on the master magnetic card, by preparing multiple types of master magnetic cards, it is possible to easily change a large amount of fixed data without increasing the memory storage capacity. This has an excellent effect. 4. Brief description of the drawings Fig. 1 is an external view showing an example of a magnetic card encoder according to the present invention, Fig. 2 is a block diagram showing an example of its control device, and Fig. 3 is a flowchart showing an example of its processing procedure. , FIG. 4 is an explanatory diagram showing the recorded contents of data recorded on the master magnetic card, and FIG. 5 is an explanatory diagram showing the recorded contents of data recorded on the issued card. Description of symbols 2-keyboard, 3--character display section, 4-key switch, 5-magnetic card storage section, 5b--magnetic head, 6M
・-Master magnetic card, 6 N--111 unused magnetic card, 6a-・Magnetic recording section, 7-control device, 8-・interface circuit, 9-processing device, 10-・storage device, 11- - Microcomputer, 12-drive circuit.

Claims (1)

【特許請求の範囲】[Claims] 磁気記録部を有する磁気カードに記録情報を書き込む磁
気カードエンコーダにおいて、前記記録情報の書換不能
な固定データ及び自由に入力可能な可変データ記録領域
をフォーマット情報として記録すると共に当該磁気カー
ドがマスター磁気カードであるか否かの判別を行うため
の所定の暗号コードを記録したマスター磁気カードと、
該マスター磁気カードの前記フォーマット情報及び暗号
コードを読み取る読取手段と、該読取手段により読み取
った暗号コードが所定のコードと一致するか否かの判断
を行う判定手段と、該判定手段により一致すると判断さ
れた場合に前記フォーマット情報を記憶する記憶手段と
、該記憶手段に記憶したフォーマット情報の可変データ
記録領域へ所望データを入力する入力部と、該入力部よ
り入力されたデータ及び前記固定データを磁気カードに
書き込む書込手段とを具備することを特徴とする磁気カ
ードエンコーダ。
In a magnetic card encoder that writes recorded information on a magnetic card having a magnetic recording section, the fixed data that cannot be rewritten and the freely inputtable variable data recording area of the recorded information are recorded as format information, and the magnetic card is a master magnetic card. A master magnetic card recorded with a predetermined encryption code for determining whether the
a reading means for reading the format information and the encrypted code of the master magnetic card; a determining means for determining whether the encrypted code read by the reading means matches a predetermined code; and the determining means determines that they match. a storage means for storing the format information when the format information is stored, an input section for inputting desired data into a variable data recording area of the format information stored in the storage means, and an input section for inputting the data input from the input section and the fixed data. A magnetic card encoder comprising a writing means for writing onto a magnetic card.
JP59249630A 1984-11-28 1984-11-28 Magnetic card encoder Expired - Fee Related JPH0673220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59249630A JPH0673220B2 (en) 1984-11-28 1984-11-28 Magnetic card encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59249630A JPH0673220B2 (en) 1984-11-28 1984-11-28 Magnetic card encoder

Publications (2)

Publication Number Publication Date
JPS61129775A true JPS61129775A (en) 1986-06-17
JPH0673220B2 JPH0673220B2 (en) 1994-09-14

Family

ID=17195881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59249630A Expired - Fee Related JPH0673220B2 (en) 1984-11-28 1984-11-28 Magnetic card encoder

Country Status (1)

Country Link
JP (1) JPH0673220B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5436153A (en) * 1977-08-26 1979-03-16 Sankyo Seiki Seisakusho Kk Method of issuing cards
JPS58111108A (en) * 1981-12-24 1983-07-02 Comput Services Corp Issuing method for magnetic card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5436153A (en) * 1977-08-26 1979-03-16 Sankyo Seiki Seisakusho Kk Method of issuing cards
JPS58111108A (en) * 1981-12-24 1983-07-02 Comput Services Corp Issuing method for magnetic card

Also Published As

Publication number Publication date
JPH0673220B2 (en) 1994-09-14

Similar Documents

Publication Publication Date Title
KR20060103378A (en) Books loan and return system and method
JPS61129775A (en) Magnetic card encoder
JPS6139268A (en) Magnetic card encoder
JP2945778B2 (en) Magnetic card encoder
JPS6048081A (en) Character processor
JP3636750B2 (en) Security verification work support device for information recording medium
JPS60220475A (en) Processor of magnetic card
JP2706163B2 (en) Magnetic card encoder
JP2647916B2 (en) Data processing device
JPS5826031B2 (en) Edit processing method
JPS6120040B2 (en)
JP3483658B2 (en) Magnetic card type time clock system
JPS5890281A (en) Controlling method of magnetic card
JPH01106365A (en) Magnetic card issuing device
JPH11272807A (en) Card issue system and card member information registration system
JPS62123589A (en) Time recorder system with message function
JPH059591B2 (en)
JPH0962912A (en) Data loader for automatic vending machine
JPH05289796A (en) Key input processor
JPH033272B2 (en)
JPS5933066Y2 (en) character input device
JP2001100767A (en) Karaoke ic member&#39;s card and karaoke system using it
JPS601662B2 (en) Register control method
JPS622334A (en) Information rewriting method
JPH03198260A (en) Magnetic card encoder

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees