JPH031365A - Magnetic card encoder - Google Patents

Magnetic card encoder

Info

Publication number
JPH031365A
JPH031365A JP2206890A JP2206890A JPH031365A JP H031365 A JPH031365 A JP H031365A JP 2206890 A JP2206890 A JP 2206890A JP 2206890 A JP2206890 A JP 2206890A JP H031365 A JPH031365 A JP H031365A
Authority
JP
Japan
Prior art keywords
magnetic card
card
magnetic
data
control code
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
JP2206890A
Other languages
Japanese (ja)
Other versions
JP2578512B2 (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.)
PURAIMU KK
Original Assignee
PURAIMU 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 PURAIMU KK filed Critical PURAIMU KK
Priority to JP2022068A priority Critical patent/JP2578512B2/en
Publication of JPH031365A publication Critical patent/JPH031365A/en
Application granted granted Critical
Publication of JP2578512B2 publication Critical patent/JP2578512B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent illegal use such as arbitrary copying, of a magnetic card by writing a control code, which controls various function provided in a mag netic card encoder, to the magnetic card. CONSTITUTION:A write means is provided to write a control code SC, which control the various function provided in a magnetic card encoder 1, to a magnetic stripe 10 of a magnetic card C. When the magnetic card C is used as a start-up card S, format information F, which are composed of unreloadable fixed data DP1 and DP2 and variable data recording area DV to freely input desired data, are recorded to the magnetic stripe 10 from the second digit to 38th digit of the data recording area, for example. Then, prescribed discrimination codes AC1 and AC2 (such as 'EE' and 'FF', for example) to be used also as a start code and an end code are written to the first digit and 39th digit. Thus, the illegal use such as arbitrary copying of the magnetic card C is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気カードの磁気ストライプに記録する所望
のデータを書き込み、もしくは書き込まれたデータを読
み取る磁気カードエンコーダに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic card encoder that writes desired data to be recorded on a magnetic stripe of a magnetic card or reads written data.

〔従来の技術〕[Conventional technology]

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

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

そこで、本出願人は、フォーマット情報を個別的に磁気
記録したマスター磁気カードと称するスタートアップカ
ードを複数枚用意して、該スタートアップカードのフォ
ーマット情報を読み取ってメモリに一時記憶させる新規
な方式を採用することにより、メモリの記憶容量を増大
させることなく固定データの変更を可能にすると共に(
特開昭61−39268号参照)、該スタートアップカ
ードに所定の識別コードを記録して操作者専用■Dカー
ドと同様の機能を兼備させて、磁気カードの偽造及び勝
手な複製を防止し得るようにした磁気カードエンコーダ
を提案した(特開昭61−129775号参照)。
Therefore, the present applicant has adopted a new method in which a plurality of startup cards, called master magnetic cards, on which format information is individually recorded magnetically is prepared, and the format information of the startup cards is read and temporarily stored in memory. This makes it possible to change fixed data without increasing the memory storage capacity (
(Refer to Japanese Patent Application Laid-Open No. 61-39268), a predetermined identification code is recorded on the start-up card for exclusive use by the operator.It also has the same function as the D card to prevent counterfeiting and unauthorized duplication of the magnetic card. proposed a magnetic card encoder (see Japanese Patent Laid-Open No. 129775/1983).

これにより、スタートアップカードを有する特定の操作
者以外の者が勝手に磁気カードを偽造。
This allows anyone other than the specific operator who owns the startup card to forge a magnetic card without permission.

複製する不正行為は防止されることになるが、スタート
アンプカードを有する者は、−律に磁気カードに書き込
まれた全てのデータについて読取処理を実行してフォー
マット情報の固定データと可変データの両方を読み取る
ことができ、又、磁気カードに所望のデータを書き込む
書込処理も一律に実行することができてしまうという問
題が残っていた。
Although fraudulent duplication will be prevented, those who have a Start Amplifier card must - by law, perform a reading process on all data written on the magnetic card and read format information, both fixed and variable data. There remained a problem in that it was possible to read the magnetic card, and also to uniformly execute the write process of writing desired data onto the magnetic card.

即ち、磁気カードエンコーダの操作者に、フォーマット
情報の内、固定データの内容を知られたくない場合や、
可変データの内容だけ読み取ることができれば十分であ
るといった場合であっても、操作者の職責等に応じて読
取処理の実行を適宜制限して、読み取り得るフォーマン
ト情報の内容を限定することはできなかった。
In other words, when you do not want the operator of the magnetic card encoder to know the contents of fixed data in the format information,
Even in cases where it is sufficient to read only the contents of variable data, it is not possible to restrict the execution of reading processing depending on the operator's responsibilities, etc., and limit the contents of formant information that can be read. There wasn't.

したがって、磁気カードの発行に関して責任のない操作
者が、読み取ったフォーマ7)情報に基づいて書込処理
を実行して、同一のデータを記録した磁気カードを勝手
に複製したり、データ内容に勝手に変更を加えて磁気カ
ードを変造する等の不正を行うおそれがあった。
Therefore, an operator who is not responsible for the issuance of magnetic cards may execute a write process based on the read formatter information and copy a magnetic card with the same data recorded thereon without permission, or may change the data contents without permission. There was a risk of fraud, such as altering the magnetic card by making changes to the card.

また、従来の磁気カードエンコーダでは、当該磁気カー
ドエンコーダの有する諸機能を用いる場合に、操作者が
キーボードを一々操作して手動的に制御しなければなら
なかった。
Furthermore, in the conventional magnetic card encoder, when using the various functions of the magnetic card encoder, the operator had to operate the keyboard one by one to manually control the functions.

即ち、例えば、磁気カードエンコーダの設置場所や用途
に応じて、磁気カードの排出方向を前方または後方のい
ずれかに指定する機能や、磁気カードのデータ内容を外
部プリンタに出力する際に印字形式を選択する機能を、
操作者は状況に合わせて、その都度キーボードを操作し
て各機能を制御しなければならなかったので、操作者の
操作負担が増大し、また、磁気カードの排出方向を間違
えたり、印字形式の選択を誤る等の人為的操作ミスを生
じるおそれがあった。
For example, there is a function to specify the ejection direction of the magnetic card as either forward or backward depending on the installation location and purpose of the magnetic card encoder, and a function to specify the print format when outputting the data contents of the magnetic card to an external printer. The functions to choose,
The operator had to operate the keyboard each time to control each function according to the situation, which increased the operational burden on the operator, and also caused problems such as ejecting the magnetic card in the wrong direction and printing format incorrectly. There was a risk of human operation errors such as making the wrong selection.

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

そこで、本発明は、磁気カードの発行に関して責任のな
い操作者によって、磁気カードの勝手な複製等の不正行
為が行われることを防止すると共に、操作者の操作負担
を軽減し、人為的操作ミスを防止することを目的とし、
その目的を達成するために、磁気カードエンコーダの有
する読取処理機能、書込処理機能、カード排出方向の選
択機能等の諸機能を適宜制御できるようにすることを技
術的課題としている。
Therefore, the present invention prevents fraudulent acts such as unauthorized duplication of magnetic cards by operators who are not responsible for the issuance of magnetic cards, reduces the operational burden on the operators, and reduces human operational errors. The purpose is to prevent
In order to achieve this purpose, the technical problem is to be able to appropriately control various functions of a magnetic card encoder, such as a reading processing function, a writing processing function, and a card ejection direction selection function.

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

この課題を解決するために、本発明は、磁気カードの磁
気ストライプに記録する所望のデータを書き込み、もし
くは書き込んだデータを読み取る磁気カードエンコーダ
において、当該磁気カードエンコーダの有する諸機能を
制御する制御コードを、磁気カードの磁気ストライプに
書き込んだデータの開始と終了を検出するために記録し
た始め符号と終り符号との間におけるデータ記録領域以
外の領域に書き込む書込手段を具備することを特徴とす
る。
In order to solve this problem, the present invention provides a magnetic card encoder that writes desired data to be recorded on the magnetic stripe of a magnetic card or reads written data, and provides a control code that controls various functions of the magnetic card encoder. is characterized by comprising a writing means for writing in an area other than the data recording area between a start code and an end code recorded in order to detect the start and end of data written on the magnetic stripe of a magnetic card. .

〔作用〕[Effect]

本発明による磁気カードエンコーダは、当該磁気カード
エンコーダの存する諸機能を制御する制御コードを、磁
気カードの磁気ストライプに書き込む書込手段を具備し
ているので、例えば、磁気カードエンコーダの有する読
取処理機能及び書込処理機能を制御する制御コードを記
録した磁気カードをスタートアップカードとして使用す
る場合には、磁気カードエンコーダの操作者の職責に応
じて、受付係には読取処理のみを行わせ、会計係には読
取処理と書込処理の両方を行わせるようにしたり、或い
は読取処理について、磁気カードの発行に関して責任を
有する者には、磁気カードに記録されている全てのデー
タ(例えば、フォーマット情報の固定データと可変デー
タの全て)を読み取れるようにし、その他の者には、フ
ォーマット情報の内、可変データのみを読み取らせるよ
うにすることができる。
The magnetic card encoder according to the present invention is equipped with a writing means for writing control codes for controlling various functions of the magnetic card encoder onto the magnetic stripe of the magnetic card. When using a magnetic card with a control code recorded thereon to control write processing functions as a startup card, depending on the responsibility of the operator of the magnetic card encoder, the receptionist should only perform the reading process, and the accounting staff should only perform the reading process. The person responsible for issuing the magnetic card may be required to perform both reading and writing processes, or for the reading process, the person responsible for issuing the magnetic card must be able to handle all data recorded on the magnetic card (for example, format information). It is possible to allow other people to read only the variable data of the format information.

したがって、スタートアップカードとして用いられる磁
気カードに書き込む制御コードを適宜変えることによっ
て、磁気カードエンコーダの操作者の職責に応じて、実
行できる機能(読取処理機能及び書込処理機能)を限定
することができ、また、磁気カードに記録されたデータ
の読み取り得る内容を制限することができるので、磁気
カードの発行に関して責任のない操作者による磁気カー
ドの勝手な複製等の不正行為を防止することができる。
Therefore, by appropriately changing the control code written to the magnetic card used as a startup card, it is possible to limit the functions that can be executed (reading processing functions and writing processing functions) according to the responsibilities of the operator of the magnetic card encoder. Furthermore, since the readable contents of data recorded on the magnetic card can be restricted, fraudulent acts such as unauthorized copying of the magnetic card by an operator who is not responsible for issuing the magnetic card can be prevented.

また、磁気カードエンコーダの有するその他の諸機能に
ついても、所定の制御コードを磁気カードに書き込むこ
とにより、例えば、磁気カードの排出方向を前方か後方
に自動的に指定したり、磁気カードに記録されたデータ
内容を外部プリンタに出力する際に、印字形式を自動的
に選択することができるので、従来のようにこれらの諸
機能を制御するために操作者が一々キーボードを操作し
なければならないという操作負担を軽減し、諸機能の制
御の人為的操作ミスをなくすることができる。
In addition, various other functions of the magnetic card encoder can be achieved by writing a predetermined control code on the magnetic card, such as automatically specifying the ejection direction of the magnetic card as forward or backward, or automatically specifying the ejection direction of the magnetic card. When outputting data content to an external printer, the print format can be automatically selected, which eliminates the need for the operator to operate the keyboard each time to control these functions as in the past. It is possible to reduce the operational burden and eliminate human operational errors in controlling various functions.

さらに、本発明では、前記制御コードを、磁気カードの
磁気ストライプに書き込んだデータの開始と終了を検出
するために記録した始め符号と終り符号との間における
データ記録領域以外の領域、例えば終り符号の後の領域
に記録するようにしているので、所望のデータ(例えば
フォーマット情報の固定データや可変データ)の記録容
量を全く減らすことなく、制御コードを付加することが
できる。
Furthermore, in the present invention, the control code is stored in an area other than the data recording area between the start code and the end code recorded for detecting the start and end of data written on the magnetic stripe of the magnetic card, for example, the end code. Since the control code is recorded in the area after the control code, the control code can be added without reducing the recording capacity of desired data (for example, fixed data or variable data of format information) at all.

また、通常の磁気カードエンコーダでは、始め符号と終
り符号との間におけるデータ記録領域以外の領域に書き
込まれたデータについては、水平冗長符号(LRC)を
除いて、読み取らないか、或いは読み取っても有効なデ
ータとして扱わないことが多いので、このような通常の
磁気カードエンコーダを所有する者に磁気カードに書き
込まれた制御コードを知られる確率も低く、当該磁気カ
ードの複製等の不正行為の発生率も低く抑えることがで
き、磁気カードの信頬性を確保することができる。
In addition, with a normal magnetic card encoder, data written in an area other than the data recording area between the start code and the end code is not read, or even if it is read, except for the horizontal redundancy code (LRC). Since it is often not treated as valid data, there is a low probability that the owner of such a normal magnetic card encoder will know the control code written on the magnetic card, and there is a risk of fraudulent acts such as duplication of the magnetic card. The rate can also be kept low, and the authenticity of the magnetic card can be ensured.

〔実施例〕〔Example〕

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

第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はそのフローシート、第3図は本発明
による磁気カードエンコーダによって発行された磁気カ
ードの記録内容を示す説明図、第4図は処理手順を示す
フローチャート、第5図+11乃至(4)は制御コード
により指定されるプリンタの印字形式を示す説明図であ
る。
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 diagram showing recorded contents of a magnetic card issued by the magnetic card encoder according to the present invention, and FIG. FIG. 4 is a flowchart showing the processing procedure, and FIGS. 5+11 to (4) are explanatory diagrams showing the printing format of the printer specified by the control code.

図中、1は磁気カードエンコーダであり、例えばプラス
チックにより一体成形されたケース体2と、該ケース体
2の上面に配設された平板状のキーボード3と、該キー
ボード3の後方に配設された液晶表示板(表示装置)4
と、ケース体2の左側面に配設されたキースイッチ5と
、ケース体2の右側部に配設されたカード挿通部6とか
ら構成されている。
In the figure, 1 is a magnetic card encoder, which includes a case body 2 integrally molded from plastic, a flat keyboard 3 disposed on the top surface of the case body 2, and a magnetic card encoder disposed behind the keyboard 3. LCD display board (display device) 4
, a key switch 5 disposed on the left side of the case body 2 , and a card insertion portion 6 disposed on the right side of the case body 2 .

カード挿通部6には、磁気カードCの挿入排出を行うカ
ード挿入ロア及び8が前後に形成され、その内部にはカ
ード挿入ロア又は8から挿入された磁気カードCを自動
的に搬送するカード搬送機構9 (第2図に図示)と、
磁気カー、ドCの磁気ストライプ10に摺接して所望の
データを書き込み又は書き込まれたデータを読み取る書
込・読取兼用の磁気ヘッド11が配設されている。
The card insertion portion 6 is formed with a card insertion lower and 8 at the front and back for inserting and ejecting the magnetic card C, and inside thereof is a card insertion lower or a card conveyor that automatically conveys the magnetic card C inserted from the 8. Mechanism 9 (shown in Figure 2);
A magnetic head 11 for both writing and reading is provided to write desired data or read written data by slidingly contacting the magnetic stripe 10 of the magnetic card.

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

磁気カードCがスタートアップカードSとして用いられ
る場合には、磁気ストライプ10に、例えば第3図に示
すように、そのデータ記録領域の2桁目から38桁目ま
でに書き換え不能な固定データDPI及びDP2と、所
望のデータを自由に入力可能な可変データ記録領域DV
とからなるフォーマット情HFが記録され、1桁目及び
39桁目に始め符号及び終り符号を兼ねた所定の判別コ
ードACI及びAC2(例えばr$HEJ及び[$FF
J)が記録されている。
When the magnetic card C is used as a startup card S, fixed data DPI and DP2 that cannot be rewritten are written on the magnetic stripe 10 from the 2nd digit to the 38th digit of the data recording area, for example, as shown in FIG. and a variable data recording area DV where desired data can be input freely.
The format information HF consisting of
J) is recorded.

また、前記路り符号3FF (AC2)の後の40桁目
に水平冗長符号(LRC)が記録され、41桁目から4
8桁目の制御コード設定領域に、磁気カードエンコーダ
1の有する諸機能を制御する制御コードSCが記録され
ている。
Additionally, a horizontal redundancy code (LRC) is recorded at the 40th digit after the road code 3FF (AC2), and 4th from the 41st digit.
A control code SC for controlling various functions of the magnetic card encoder 1 is recorded in the control code setting area of the 8th digit.

この制御コードSCは、例えばrQJ、rlJ等のキャ
ラクタで表され、41桁目には当該磁気カードエンコー
ダ1の存する磁気カードの読取処理機能及び書込処理機
能を制御する制御コードSC1が記録され、該制御コー
ドSCIが「0」である場合には、磁気カードCへのデ
ータ書込処理及び書き込まれたデータの読取処理の両方
が可能となり、「1」である場合には、書込処理が禁止
されて前記読取処理のみが可能となるように設定されて
おり、42桁目には前記読取処理において表示されるデ
ータの範囲を制御する制御コードS02が記録されてお
り、当該制御コードSC2が「0」である場合には、磁
気カードCのフォーマット情報Fの全て(固定データD
PI及びDP2と、可変データ記録領域DV内の可変デ
ータ)が液晶表示板4に表示され、「1」である場合に
は、フォーマット情報Fの内、固定データDPI及びD
P2は伏字で表わされ、可変データ記録領域DV内の可
変データのみが表示されるように設定されている。
This control code SC is represented by characters such as rQJ, rlJ, etc., and a control code SC1 for controlling the reading and writing functions of the magnetic card of the magnetic card encoder 1 is recorded in the 41st digit, When the control code SCI is "0", both the data writing process to the magnetic card C and the reading process of the written data are possible, and when it is "1", the writing process is possible. It is set to be prohibited and only the reading process is possible, and a control code S02 that controls the range of data displayed in the reading process is recorded in the 42nd digit, and the control code SC2 is If it is "0", all of the format information F of the magnetic card C (fixed data D
PI and DP2 and the variable data in the variable data recording area DV) are displayed on the liquid crystal display board 4, and if they are "1", the fixed data DPI and D of the format information F are displayed on the liquid crystal display board 4.
P2 is indicated by a blank font, and is set so that only the variable data in the variable data recording area DV is displayed.

また、43桁目にはカード搬送機構9におけるカード排
出方向の選択機能を制御する制御コードSC3が記録さ
れており、該制御コードSC3が「0」である場合には
前方にカードが排出され、「1」である場合には後方に
排出されるように制御され、45桁目から48桁目には
外部プリンタ26の印字形式を指定する制御コードSC
4が記録されており、例えば45桁目に「1」が記録さ
れている場合には、第5図(1)に示す如(通し番号を
印字し、46桁目に「1」が記録されている場合には第
5図(2)に示す如く通し番号とフォーマット情報Fと
を異なる行に印字し、47桁目又は48桁目に「1」が
記録されている場合には第5図(3)又は(4)に示す
如く夫々ラインフィード1行追加又は2行追加を指示す
るように設定されている。
Furthermore, in the 43rd digit, a control code SC3 for controlling the card ejection direction selection function in the card transport mechanism 9 is recorded, and when the control code SC3 is "0", the card is ejected forward, If it is "1", it is controlled to be ejected backwards, and the 45th to 48th digits contain a control code SC that specifies the printing format of the external printer 26.
4 is recorded, and for example, if "1" is recorded in the 45th digit, print the serial number as shown in Figure 5 (1) and record "1" in the 46th digit. If "1" is recorded in the 47th or 48th column, the serial number and format information F are printed on different lines as shown in Figure 5 (2). ) or (4), it is set to instruct the addition of one line or two line feeds, respectively.

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

ここで、インターフェイス回路21には、その入力側に
キーボード3.キースイッチ5が接続されると共に、磁
気へラド11からの読取信号が入力されるようになされ
、出力側には液晶表示板4、カード搬送機構9のモータ
24.磁気へラド11の駆動回路25及び外部プリンタ
26等が接続されている。
Here, the interface circuit 21 has a keyboard 3 on its input side. When the key switch 5 is connected, the read signal from the magnetic helad 11 is input, and the output side is connected to the liquid crystal display panel 4, the motor 24 of the card transport mechanism 9, and so on. A drive circuit 25 for the magnetic helad 11, an external printer 26, etc. are connected.

演算処理装置22は、最初に装置固有のコードと一敗す
る所定の暗号コードが入力されたときはスタートアップ
カードSの発行処理を実行し、最初にスタートアンプカ
ードSが挿通されたときには、該スタートアップカード
Sに記録された識別コードACI、AC2、フォーマッ
ト情報F及び制御コードSCを磁気ヘッド11からの読
取信号に基づいて演算処理して、記憶装置23に記憶す
る。
The arithmetic processing unit 22 executes the process of issuing a startup card S when a device-specific code and a predetermined encrypted code that is lost for the first time are input, and when the start amplifier card S is inserted for the first time, the processing unit 22 executes the process of issuing the startup card S. The identification codes ACI, AC2, format information F, and control code SC recorded on the card S are processed based on the read signal from the magnetic head 11 and stored in the storage device 23.

そして、前記制御コードSCIに基づいて、磁気カード
Cの磁気ストライプ10に前記フォーマント情報Fや所
望のデータを書き込む書込処理を実行したり、或いは前
記制御コード’)C2に基づいて読取処理を実行して、
所定のデータを液晶表示板4に表示する。
Then, based on the control code SCI, a write process is executed to write the formant information F and desired data on the magnetic stripe 10 of the magnetic card C, or a read process is executed based on the control code ')C2. Run,
Predetermined data is displayed on the liquid crystal display board 4.

また、記憶装置23には、スタートアンプカードSの識
別コードAC1,AC2に符合する所定のコード及び装
置固有の暗号コードと、制御コードSCに符合する所定
のコードが記憶されると共に、演算処理装置22におい
て、磁気カードCの記録領域の41桁目から48桁目に
書き込まれた制御コードSCを読み取るように、カード
搬送機構91M1気ヘツド11等を制御する処理プログ
ラムが記憶されている。
Further, the storage device 23 stores a predetermined code that matches the identification codes AC1 and AC2 of the start amplifier card S, an encryption code unique to the device, and a predetermined code that matches the control code SC. At 22, a processing program is stored for controlling the card transport mechanism 91M1, the head 11, etc., so as to read the control code SC written in the 41st to 48th digits of the recording area of the magnetic card C.

以下、第4図に示すフローチャートにしたがって、スタ
ートアップカードSとして用いられる磁気カードCの発
行処理と、当該スタートアップカードSを用いての磁気
カードの書込処理及び読取処理について、演算処理装置
22が実行する処理手順を説明する。
Hereinafter, according to the flowchart shown in FIG. 4, the arithmetic processing unit 22 executes the issuing process of the magnetic card C used as the startup card S, and the writing process and reading process of the magnetic card using the startup card S. The processing procedure to do this will be explained.

キースイッチ5をオンすると、装置が起動されて第4図
に示す処理の実行が開始され、まずステップ+1)で磁
気ヘッド11が読取側となるように駆動回路25を読取
モードに設定してからステップ(2)に移行する。
When the key switch 5 is turned on, the device is started and the execution of the process shown in FIG. Move to step (2).

ステップ(2)においては、スタートアップカードSの
挿通を促すために、液晶表示板4に例えば「Read 
5tart−up Card ! J等のメツセージを
表示する。
In step (2), in order to prompt the insertion of the startup card S, a message such as "Read" is displayed on the liquid crystal display board 4.
5tart-up Card! Display messages such as J.

次いで、ステップ(3)に移行してスタートアップカー
ドSがカード挿通部6に挿通されたか否かを判定し、挿
通されないときはステップ(4)に移行して所定の暗号
コードが入力されたか否かを判定する。
Next, the process proceeds to step (3), and it is determined whether or not the startup card S has been inserted into the card insertion part 6. If the startup card S has not been inserted, the process proceeds to step (4), and it is determined whether or not a predetermined encryption code has been input. Determine.

そして、暗号コードが入力されないときはステップ(2
)に戻り、入力されたときはステップ(5)に移行する
Then, if the encryption code is not input, step (2)
), and when it is input, the process moves to step (5).

ステップ(5)では、入力された暗号コードが予め設定
された装置固有のコードと一致するか否かを判定し、−
敗しない場合は前記ステップ(2)に戻り、一致する場
合にはステップ(6)に移行する。
In step (5), it is determined whether the input encryption code matches a preset device-specific code, and -
If there is no loss, the process returns to step (2), and if there is a match, the process proceeds to step (6).

ステップ(6)では、フォーマット情iF及び制御コー
ドSCを設定するために、デー8夕記録領域(2桁目か
ら38桁目まで)及び制御コード設定領域(41桁目か
ら48桁口止で)を液晶表示vi4に、まず「0」を表
示すると共に、所定のカーソル制御を行って、カーソル
位置を「0」で表示されたデータ記録領域の先頭位置に
移動させる。
In step (6), in order to set the format information iF and control code SC, the data recording area (from the 2nd digit to the 38th digit) and the control code setting area (from the 41st digit to the 48th digit) are closed. First, "0" is displayed on the liquid crystal display vi4, and a predetermined cursor control is performed to move the cursor position to the beginning position of the data recording area where "0" is displayed.

次いでステップ(7)に移行し、キーボード3からのキ
ー人力による所望の固定データDPI、DP2及びキー
人力により例えば「%」で指定された可変データ記録領
域DVからなるフォーマット情報Fと、キー人力により
「0」又は「1」で設定された制御コードSCを順次配
4fl装置23の所定の記憶領域に記憶すると共に、こ
れを液晶表示板4に表示する。
Next, the process moves to step (7), and the format information F consisting of the desired fixed data DPI, DP2 from the keyboard 3 by the manual keystrokes and the variable data recording area DV specified by the manual keystrokes, for example, in "%", is inputted by the manual keystrokes. The control code SC set as "0" or "1" is sequentially stored in a predetermined storage area of the 4fl device 23 and displayed on the liquid crystal display board 4.

そして、ステップ(8)に移行して、キーボード3から
の入力が完了したか否かを判定する。
Then, the process moves to step (8), and it is determined whether the input from the keyboard 3 is completed.

この判定は、可変データの入力が完了したことを指示す
る所定の書込完了キーが押下されたか否かで判断し、押
下されないときは押下されるまで待機し、押下されたと
きはステップ(9)に移行する。
This 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 the key is not pressed, the process waits until it is pressed, and if it is pressed, step (9) ).

この判定は、可変データ記録領域DVがあるか否かを判
定することによって行い、可変データ記録領域DVがな
い場合(「%」が入力されていない場合)は書込エラー
として、ステップ(9a)で例えばrWrong 5t
art−up Format  ! J等のメツセージ
を液晶表示板4に表示してステップ(6)に戻り、可変
データ記録領域DVがある場合はステップ(10)に移
行する。
This determination is made by determining whether or not there is a variable data recording area DV. If there is no variable data recording area DV (if "%" is not input), a write error is determined and step (9a) is performed. For example rWrong 5t
art-up format! A message such as J is displayed on the liquid crystal display board 4 and the process returns to step (6). If there is a variable data recording area DV, the process proceeds to step (10).

このステップαωでは、磁気へラド11の駆動回路25
を書込モードに設定し、ステップ(11)に移行してス
タートアンプカードSとなる磁気カードCの挿通を促す
rlnsert ! J等のメツセージを液晶表示板4
に表示する。
In this step αω, the drive circuit 25 of the magnetic herad 11
is set to write mode, and moves to step (11) to prompt the insertion of the magnetic card C, which will become the start amplifier card S.rlnsert! Messages such as J are displayed on the LCD display board 4.
to be displayed.

次いで、ステップ(12)に移行して磁気カードCが挿
通されるまで待機し、挿通されたときはステップ(13
)に移行してカード搬送機構9のモータ24を起動させ
該磁気カードCを自動的に搬送すると共に、磁気へラド
11の駆動回路25を作動させる書込信号を出力する。
Next, the process moves to step (12) and waits until the magnetic card C is inserted, and when the magnetic card C is inserted, the process proceeds to step (13).
), the motor 24 of the card transport mechanism 9 is activated to automatically transport the magnetic card C, and a write signal is output to activate the drive circuit 25 of the magnetic helad 11.

そして、ステップ(14)に移行し、前記書込信号に従
って書込処理を実行し、記憶装置23に記憶された固定
データDPI 、DP2及び可変データ記録領域DVか
らなるフォーマット情報Fと、スタートアップカードS
に特有の識別コードAC1、Ac2と、制御コードSC
とを、挿通された磁気カードCの磁気ストライプ10の
データ記録領域及び制御コード設定領域に順次書き込ん
でいく。
Then, the process moves to step (14), where a write process is executed according to the write signal, and the format information F consisting of the fixed data DPI, DP2 and the variable data recording area DV stored in the storage device 23 and the startup card S
Identification codes AC1, Ac2 and control code SC
are sequentially written into the data recording area and control code setting area of the magnetic stripe 10 of the inserted magnetic card C.

書込処理が終了するとステップ(15)に移行して、前
記ステップ(14)で書き込まれたデータを確認する確
認モードに設定し、磁気へラド11の駆動回路25を読
取側に切り換える。
When the writing process is completed, the process moves to step (15), where a confirmation mode is set to confirm the data written in step (14), and the drive circuit 25 of the magnetic helad 11 is switched to the reading side.

そして、ステップ(16)に移行して、カード搬送機構
9により磁気カードCを搬送し、磁気ストライプ10に
書き込まれたフォーマット情iFと、識別コードACI
 、AC2と、制御コードSCとを読み取り、これを記
憶装置23の所定の記憶領域に記憶してステップ(17
)に移行する。
Then, proceeding to step (16), the magnetic card C is transported by the card transport mechanism 9, and the format information iF written on the magnetic stripe 10 and the identification code ACI are transferred.
, AC2, and control code SC, and store them in a predetermined storage area of the storage device 23, and step (17)
).

ステップ(17)では、ステップ(16)で読み取った
データと、ステップ(7)で入力したデータが一致する
か否かを判定し、一致しないときはステップ(18)に
移行して所定のエラーメツセージを表示してから、ステ
ップ(19)に移行して磁気カードCを排出し、ステッ
プ(6)に戻る。
In step (17), it is determined whether the data read in step (16) and the data entered in step (7) match or not. If they do not match, the process moves to step (18) and a predetermined error message is sent. is displayed, the process moves to step (19), the magnetic card C is ejected, and the process returns to step (6).

また、−敗したときはステップ(20)に移行して確認
終了を示すrverifiedJ等のメツセージを液晶
表示板4に表示してから、ステップ(21)に移行し、
スタートアンプカードSとして発行された磁気カードC
・を排出してステップ(2)に戻る。
In addition, - if defeated, proceed to step (20) and display a message such as rverifiedJ indicating completion of verification on the liquid crystal display board 4, then proceed to step (21),
Magnetic card C issued as Start Amplifier Card S
・Discharge and return to step (2).

以上が、スタートアップカードSとして用いられる磁気
カードCの発行手段である。
The above is the issuing means for the magnetic card C used as the startup card S.

次に、磁気カードエンコーダ1により、一般の磁気カー
ドの書込処理及び読取処理を行う場合の演算処理装置2
2の処理手順を説明する。
Next, the arithmetic processing unit 2 is used when the magnetic card encoder 1 performs write processing and reading processing for general magnetic cards.
The second processing procedure will be explained.

前記ステップ〈3)において、スタートアップカードS
がカード挿通部6に挿通されるとステップ(22)に移
行し、カード搬送機構9のモータ24を起動してスター
トアップカードSを自動的に搬送すると同時に、該スタ
ートアップカードSの磁気カードCのストライプlOに
記録されているフォーマット情報Fと、識別コードAC
i 、AC2及び制御コード5C(SCI〜5C4)と
を読み取り、これを記憶装置23内のバッファメモリに
一時記憶して、該スタートアップカードSを排出する。
In step <3), the startup card S
is inserted into the card insertion part 6, the process moves to step (22), where the motor 24 of the card transport mechanism 9 is started to automatically transport the startup card S, and at the same time, the stripe of the magnetic card C of the startup card S is Format information F recorded in IO and identification code AC
i, AC2, and control code 5C (SCI to 5C4) are read, temporarily stored in the buffer memory in the storage device 23, and the startup card S is ejected.

次いで、ステップ(23)に移行して、前記識別コード
ACI 、AC2が記憶装置23に予め記憶されている
所定のコードと一致するか否かを判断する。
Next, the process moves to step (23), and it is determined whether the identification codes ACI and AC2 match a predetermined code stored in the storage device 23 in advance.

そして、識別コードAct 、AC2が所定のコードと
一致しない場合、即ち当該カードがスタートアップカー
ドSでないと判断された場合にはステップ(24)に移
行し、液晶表示vi4にエラーメツセージを表示してか
ら前記バッファメモリの記憶内容を消去し、ステップ(
2)に戻る。
If the identification codes Act and AC2 do not match the predetermined codes, that is, if it is determined that the card is not the startup card S, the process moves to step (24), and an error message is displayed on the liquid crystal display vi4. The contents of the buffer memory are erased, and step (
Return to 2).

また、ステップ(23)において、識別コードAC1、
AC2が所定のコードと一致した場合、即ち当該カード
がスタートアップカードSであると判断された場合には
ステップ(25)に移行する。
Further, in step (23), the identification code AC1,
If AC2 matches a predetermined code, that is, if it is determined that the card is the startup card S, the process moves to step (25).

ステップ(25)では、前記ステップ(22)で−時記
憶した制御コードSCIの判定を行い、該制御コードS
CIがrOJの場合には、書込処理が実行できるように
予め設定されているので、ステップ(26)に移行する
In step (25), the control code SCI stored in step (22) is determined, and the control code SCI is determined.
If the CI is rOJ, the process moves to step (26) because it has been set in advance so that write processing can be executed.

ステップ(26)では、磁気ヘッド11の駆動回路25
を書込モードに設定する所定の書込スイッチ3aが押さ
れたか否かを判断する。
In step (26), the drive circuit 25 of the magnetic head 11
It is determined whether a predetermined write switch 3a for setting the write mode is pressed.

そして、書込スイッチ3aが押下された場合には、ステ
ップ(27)に移行して、バッファメモリに記憶された
データの内、フォーマ7ト情報Fのみを記憶装置23の
所定の記憶領域に記憶し、駆動回路25を書込モードに
切り換えた後、ステップ(28)に移行する。
If the write switch 3a is pressed, the process moves to step (27) and only the format information F of the data stored in the buffer memory is stored in a predetermined storage area of the storage device 23. After switching the drive circuit 25 to the write mode, the process moves to step (28).

ステップ(28)では、前記ステップ(22)で−時記
憶した制御コードSC2の判定を行い、該制御コードS
C2が「0」の場合には、ステップ(29)に移行して
フォーマット情報Fの全部を液晶表示板4に表示した後
ステップ(31)に移行し、制御コードSC2がrlJ
の場合にはステップ(30)に移行して、フォーマット
情報Fの内、固定データDP1.DP2を伏字で表わし
、可変データ記i!?fi域DVの可変データの内容の
みを表示した後、ステップ(31)に移行する。
In step (28), the control code SC2 stored in step (22) is determined, and the control code SC2 is determined.
If C2 is "0", the process moves to step (29), where all of the format information F is displayed on the liquid crystal display board 4, and then the process moves to step (31), where the control code SC2 is set to rlJ.
In the case of step (30), the fixed data DP1 . Represent DP2 in blank letters and write variable data i! ? After displaying only the contents of the variable data of the fi area DV, the process moves to step (31).

ステップ(31)では、所定のカーソル制御を行って、
カーソル位置を可変データ記録領域DVの先頭に位置さ
せる。
In step (31), predetermined cursor control is performed,
Position the cursor at the beginning of the variable data recording area DV.

次いで、ステップ(32)に移行して、キーボード3か
らのキー人力による可変データを順次記憶装置23内の
バッファメモリに記憶すると共に、液晶表示板4に表示
して、ステップ(33)に移行する。
Next, the process proceeds to step (32), in which the variable data inputted manually from the keyboard 3 is sequentially stored in the buffer memory in the storage device 23 and displayed on the liquid crystal display board 4, and the process proceeds to step (33). .

ステップ(33)では、キーボード3からの入力が完了
したか否かを判定する。
In step (33), it is determined whether input from the keyboard 3 has been completed.

この判定は、可変データの入力が完了したことを示す所
定の書込完了キーが押下されたか否かを判断することに
よって行い、押下されないときは押下されるまで待機し
、押下されたときは、そのときのバッファメモリの内容
を記憶装置23の所定の記憶領域に記憶してステップ(
34)に移行する。
This determination is made by determining whether a predetermined write completion key indicating that the input of variable data has been completed has been pressed. If it is not pressed, the system waits until it is pressed; if it is pressed, The contents of the buffer memory at that time are stored in a predetermined storage area of the storage device 23, and step (
34).

ステップ(34)では、磁気カードが挿通されたか否か
を判定し、挿通されないときは挿通されるまで待機し、
挿通されるとステップ(35)に移行する。
In step (34), it is determined whether or not the magnetic card has been inserted, and if it has not been inserted, the system waits until it is inserted;
Once inserted, the process moves to step (35).

ステップ(35)では、カード搬送機構9のモータ24
を起動して磁気カードを自動的に搬送すると同時に、記
憶装置23に記憶された固定データDPI、DP2と、
前記ステップ(32)で入力した可変データと、識別コ
ードAct、AC2とは異なる組合せの始め符号及び終
り符号(例えば「5FFJ及びr$FFj)を磁気カー
ドの磁気ストライプ10に書き込んでいく。
In step (35), the motor 24 of the card transport mechanism 9
At the same time, the fixed data DPI and DP2 stored in the storage device 23 are activated and the magnetic card is automatically transported.
The variable data input in step (32) and a start code and an end code (for example, "5FFJ and r$FFj") that are different from the identification codes Act and AC2 are written on the magnetic stripe 10 of the magnetic card.

書込処理が終了すると、ステップ(36)に移行して、
前記ステップ(35)で書き込まれたデータを確認する
確認モードに設定し、磁気ヘッド11の駆動回路25を
読取側に切り換える。
When the writing process is completed, the process moves to step (36).
A confirmation mode is set to confirm the data written in step (35), and the drive circuit 25 of the magnetic head 11 is switched to the reading side.

そして、ステップ(37)に移行して、カード搬送機構
9により磁気カードを搬送し、磁気ストライプ10に書
き込まれた固定データDPI、DP2と可変データとを
磁気へラド11から読み取り、これを記憶装置23の所
定の記憶領域に記憶してステップ(38)に移行する。
Then, the process moves to step (37), where the card transport mechanism 9 transports the magnetic card, reads the fixed data DPI, DP2 and variable data written on the magnetic stripe 10 from the magnetic helad 11, and stores them in the storage device. 23 in a predetermined storage area, and the process moves to step (38).

ステップ(38)では、ステップ(37)で読み取った
データと、ステップ(35)で書き込んだデータが一致
するか否かを判定する。
In step (38), it is determined whether the data read in step (37) and the data written in step (35) match.

そして、両者が一致するときはステップ(39)に移行
してチエツク表示(例えばr−Check J )を表
示してから、ステップ(40)に移行して書込処理の終
了した磁気カードを排出してステップ(26)に戻る。
When the two match, the process moves to step (39), where a check display (for example, r-Check J) is displayed, and then the process moves to step (40), where the magnetic card on which the writing process has been completed is ejected. Then return to step (26).

ここで、磁気カードの排出方向は、前記ステップ(22
)で−時記憶した制御コードSC3で指定され、該制御
コードSC3がrOJの場合には、磁気カードを前方の
カード挿通ロアから排出し、制御コードSC3が「1」
の場合には後方のカード挿通口8から排出する。
Here, the ejection direction of the magnetic card is determined by the step (22).
), and if the control code SC3 is rOJ, the magnetic card is ejected from the front card insertion lower and the control code SC3 is set to "1".
In this case, the card is ejected from the rear card insertion slot 8.

また、前記ステップ(38)で、不一致と判定された場
合にはステップ(41)に移行して、前記チエツク表示
と共に、不一致個所に特定の記号(例えば「?」等)を
表示すると同時に、所定のエラー音を発してから前記ス
テップ(40)に移行する。
Further, if it is determined that there is a mismatch in the step (38), the process moves to step (41), in which, along with the check display, a specific symbol (for example, "?", etc.) is displayed at the location of the mismatch. After the error sound is emitted, the process moves to step (40).

一方、前記ステップ(25)で、制御コードSC1が「
1」であると判定された場合及び、ステップ(26)で
書込スイッチ3aが押下されない場合には、ステップ(
42)に移行して読取処理が実行される。
On the other hand, in step (25), the control code SC1 is "
1" and if the write switch 3a is not pressed in step (26), step (
42), the reading process is executed.

ステップ(42)では、発行法の磁気カードが挿通され
るまで待機し、挿通された場合はステップ(43)に移
行して、カード搬送機構9のモータ24を起動させて磁
気カードを自動的に搬送すると同時に、該磁気カードの
磁気ストライプ10に記録されたデータを読み取り、記
憶装置23のパフファメモリに記憶してステップ(44
)に移行する。
In step (42), the system waits until a magnetic card according to the issuing method is inserted, and if it is inserted, the process moves to step (43), where the motor 24 of the card transport mechanism 9 is started and the magnetic card is automatically inserted. At the same time as the magnetic card is transported, the data recorded on the magnetic stripe 10 of the magnetic card is read and stored in the puffer memory of the storage device 23, and step (44)
).

ステップ(44)では、読み取ったデータと、前記ステ
ップ(22)で記憶したフォーマント情報Fとを比較し
、両者の固定データDPI、DP2が不一致の場合はス
テップ(45)で所定のエラーメツセージを表示してか
らステップ(42)に戻り、一致した場合にはステップ
(46)に移行する。
In step (44), the read data is compared with the formant information F stored in step (22), and if the fixed data DPI and DP2 do not match, a predetermined error message is sent in step (45). After displaying, the process returns to step (42), and if there is a match, the process moves to step (46).

ステップ(46)では、前記ステップ(22)で−時記
憶している制御コードSC2の判定を行い、該制御コー
ドSC2がrOJの場合には、ステップ(47)に移行
し、読み取った前記データの全てを液晶表示板4に表示
した後、ステップ(42)に戻り、該制御コードSC2
が「1」の場合にはステップ(4日)に移行して、前記
データの内、固定データの部分を伏字で表し、可変デー
タの内容のみを液晶表示板4に表示した後ステップ(4
2)に戻る。
In step (46), the control code SC2 stored in step (22) is determined. If the control code SC2 is rOJ, the process moves to step (47), and the read data is After displaying everything on the liquid crystal display board 4, return to step (42) and display the control code SC2.
If is "1", the process moves to step (4th day), in which the fixed data portion of the data is indicated in blank letters and only the contents of the variable data are displayed on the liquid crystal display board 4, and then step (4th day) is performed.
Return to 2).

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

まず、スタートアップカードSとして用いられる磁気カ
ードCを発行しようとする場合は、キースイッチ5をオ
ンして液晶表示板4にrRead 5tart−up 
Card I Jが表示されたところで〔ステップ(2
)〕、所定の暗号コードをキーボード3より入力すると
、フォーマット情報及び制御コードSCを設定するため
のデータ記録領域及び制御コード設窓領域が液晶表示板
4に「0」で表示される〔ステップ(4)〜(6)〕。
First, when issuing a magnetic card C to be used as a startup card S, turn on the key switch 5 and display rRead 5tart-up on the liquid crystal display board 4.
When Card I J is displayed, [Step (2)
)], when a predetermined code is input from the keyboard 3, the data recording area and control code window area for setting the format information and control code SC are displayed as "0" on the liquid crystal display board 4 [step ( 4) to (6)].

ここで、キーボード3を操作して、前記データ記録領域
に所望の固定データDPI、DP2を入力すると共に、
可変データ記録領域DVを例えば「%」で指定すること
により、フォーマント情報Fを設定することができ、ま
た、制御コード設定領域に所望の制御コードSC(SC
I−3C4)を指定することができる〔ステップ(7)
〕。
Here, by operating the keyboard 3, input the desired fixed data DPI and DP2 into the data recording area, and
For example, by specifying the variable data recording area DV with "%", formant information F can be set, and a desired control code SC (SC) can be set in the control code setting area.
I-3C4) can be specified [step (7)
].

フォーマット情報F及び制御コードSCの入力が完了し
たら、書込完了キーを押下しくステップ(81)、磁気
カードCの挿通を促すr In5ert j Jの文字
が表示された後、スタートアップカードとして発行しよ
うとする磁気カードCをカード挿通部6に挿通すれば、
キーボード3から入力したフォーマント情報F及び識別
コードACI、AC2が磁気ストライプ10のデータ記
録領域(1桁目〜39桁目)に書き込まれ、予め設定さ
れた水平冗長符号(LRC)が40桁目に書き込まれ、
制御コードSCが、磁気ストライプ10の制御コード設
定領域(41桁目〜48桁目)に書き込まれて、任意の
スタートアンプカードSが発行される〔ステップ(10
)〜(21) )。
When the input of format information F and control code SC is completed, press the write completion key (step 81). After the characters "R In5ert j J" are displayed prompting you to insert the magnetic card C, try to issue it as a startup card. If you insert the magnetic card C into the card insertion part 6,
Formant information F and identification codes ACI, AC2 input from the keyboard 3 are written to the data recording area (1st to 39th digits) of the magnetic stripe 10, and a preset horizontal redundancy code (LRC) is written to the 40th digit. written in
The control code SC is written in the control code setting area (41st to 48th digits) of the magnetic stripe 10, and an arbitrary start amplifier card S is issued [step (10
) ~ (21) ).

このように、磁気カードエンコーダ1を用いて発行され
るスタートアップカードSには、装置の有する諸機能を
制御する制御コードSCを任意に設定することができる
から、操作者の職責に応じて、実行し得る機能を限定し
たスタートアップカードSを発行することができる。
In this way, the startup card S issued using the magnetic card encoder 1 can be arbitrarily set with the control code SC that controls various functions of the device. A startup card S with limited functions can be issued.

したがって、操作者の職責によって、磁気カードの読取
処理のみを行わせたり、読み取り得るデータ内容に制限
を加えたりすることができ、又他の諸機能についても、
操作者がキーボードを操作することなく自動的に制御す
ることができるようになる。
Therefore, depending on the operator's responsibilities, it is possible to have the operator perform only the reading process of the magnetic card, or to impose restrictions on the data content that can be read, and for other functions as well.
Automatic control is now possible without the operator having to operate the keyboard.

また、該制御コードSCは、データ記録領域の終了を検
出するために39桁目に記録される終り符号(AC2)
の後の制御コード設定領域(41桁目〜48桁目)に書
き込まれているので、データ記録領域の記録容量を減ら
すことなく、制御コードSCを付加することができる。
The control code SC also includes an end code (AC2) recorded at the 39th digit to detect the end of the data recording area.
Since the control code SC is written in the control code setting area (41st to 48th digits) after SC, the control code SC can be added without reducing the recording capacity of the data recording area.

さらに、通常の磁気カードエンコーダでは、データ記録
領域以外の領域、例えば終り符号の後に書き込まれたデ
ータについては、水平冗長符号(LRC)を除いて、読
み取らないか或いは読み取っても有効なデータとして扱
わないことが多いので、このような通常の磁気カードエ
ンコーダを有する者によって、当該スタートアップカー
ドSに記録された制御コードSCを知られる確率を低く
することができ、スタートアップカードの複製等の不正
行為の発生率を低く抑えることができる。
Furthermore, with ordinary magnetic card encoders, data written in areas other than the data recording area, such as after the end code, is not read, or is treated as valid data even if read, except for the horizontal redundancy code (LRC). Therefore, it is possible to reduce the probability that the control code SC recorded on the start-up card S is known by someone who has such a normal magnetic card encoder, and to prevent fraudulent acts such as duplication of the start-up card. The incidence can be kept low.

次いで、当1亥スタートアップカードSを用いて磁気カ
ードの書込処理及び読取処理を実行しようとする場合は
、キースイッチ5をオンしてr ReadStart−
up Card ! Jが表示されたところで〔ステッ
プ(2))、スタートアップカードSを挿通ずると、フ
ォーマット情報F、識別コードACI、AC2及び制御
コードSCが読み取られ、制御コードSC1がrOJの
場合に書込スイッチ3aが押下されると書込処理が可能
な状態になる〔ステップ(22)〜 (26))。
Next, if you want to use this startup card S to write and read a magnetic card, turn on the key switch 5 and press ReadStart.
Up Card! When J is displayed [step (2)), when the startup card S is inserted, the format information F, identification codes ACI, AC2 and control code SC are read, and when the control code SC1 is rOJ, the write switch 3a is When is pressed, the writing process becomes possible [steps (22) to (26)).

そして、制御コードSC2が「0」の場合にはフォーマ
ット情報Fの全てが表示され〔ステップ(29) ) 
、制御コードSC2がrlJの場合には固定データDP
1.DP2の部分は伏字で表され、可変データ記録領域
DVの可変データのみが表示される〔ステップ(30)
 ) 。
Then, if the control code SC2 is "0", all of the format information F is displayed [step (29)].
, if the control code SC2 is rlJ, the fixed data DP
1. The portion of DP2 is indicated in bold, and only the variable data in the variable data recording area DV is displayed [step (30)
).

次いで、可変データ記録領域DVに所望の可変データを
キーボード3から入力し、所定の書込終了キーを押下し
た後に、未使用の磁気カード又はデータの書き換えを行
おうとする磁気カードを挿通すれば、フォーマット情報
Fの固定データDP1、DP2及び可変データが、該磁
気カードの磁気ストライプlOに書き込まれ〔ステップ
(31)〜(41) ) 、新たに磁気カードの発行又
は再発行をすることができる。
Next, after entering desired variable data into the variable data recording area DV from the keyboard 3 and pressing a predetermined write end key, insert an unused magnetic card or a magnetic card whose data is to be rewritten. The fixed data DP1, DP2 and variable data of the format information F are written to the magnetic stripe IO of the magnetic card (steps (31) to (41)), and a new magnetic card can be issued or reissued.

なお、スタートアップカードSの制御コードSC1がr
lJの場合には、読取処理のみが実行でき、書込処理を
行うことができない。
Note that the control code SC1 of the startup card S is r
In the case of lJ, only reading processing can be performed, and writing processing cannot be performed.

したがって、操作者の職責によって、供与されるスター
トアップカードSに書き込まれる制御コードを適宜変え
れば、特定の操作者による新規カードの発行やデータの
書き換えを禁止し、磁気カードの読取処理のみを行わせ
ることができる。
Therefore, by appropriately changing the control code written in the supplied startup card S depending on the operator's responsibilities, a specific operator can be prohibited from issuing a new card or rewriting data, and can only perform the reading process of the magnetic card. be able to.

次に、磁気カードの読取処理を行うときについて説明す
ると、スタートアップカードSの制御コードSCIが[
1」である場合には読取処理のみを行い得るので直接的
に読取処理が実行可能な状態となり 〔ステップ(25
) ] 、制御コードSCIが「0」である場合には前
記書込スイッチ3aが押下されないときに読取処理が実
行できる状態となる〔ステップ(26) )。
Next, to explain when performing magnetic card reading processing, the control code SCI of the startup card S is [
1", only the reading process can be performed, so the reading process can be executed directly [Step (25
)], if the control code SCI is "0", the read process is ready to be executed when the write switch 3a is not pressed [step (26)].

次いで、磁気カードをカード挿通部6に挿通して、該磁
気カードの固定データが記憶装置23に登録されている
フォーマット情IFの固定データDPI、DP2と一致
すれば、その記録データが液晶表示板4に表示される。
Next, a magnetic card is inserted into the card insertion part 6, and if the fixed data of the magnetic card matches the fixed data DPI, DP2 of the format information IF registered in the storage device 23, the recorded data is displayed on the liquid crystal display panel. 4 will be displayed.

ここで、スタートアップカードSに記録されている制御
コードSC2がrOJである場合には、前記磁気カード
の記録データの全てが表示され、制御コードSC2が「
1」の場合には、該記録データの内、可変データのみが
表示される。
Here, if the control code SC2 recorded on the startup card S is rOJ, all of the data recorded on the magnetic card is displayed, and the control code SC2 is "
1, only variable data of the recorded data is displayed.

したがって、操作者の職責によって、磁気カードに記録
されたデータの読み取り得る内容を制限することができ
るので、磁気カードの発行に関して責任のない操作者に
よって磁気カードの複製等の不正が行われることを防止
することができる。
Therefore, the content that can be read from the data recorded on the magnetic card can be restricted depending on the operator's responsibilities, which prevents fraud such as copying of the magnetic card by an operator who is not responsible for issuing the magnetic card. It can be prevented.

また、読み取った磁気カードのデータ内容は、必要に応
じてプリンタ26に出力されるようになされており、そ
の印字形式は制御コードSC4により指定することがで
きる。
Further, the data contents of the read magnetic card are outputted to the printer 26 as necessary, and the printing format can be specified by a control code SC4.

さらに、前記書込処理及び読取処理をする場合において
、スタートアップカードSの制御コードSC3が「0」
の場合には、処理の終了した磁気カードを前方のカード
挿入ロアから排出し、制御D−1’5C37!l<rl
Jの場合には、後方のカード挿入口8から排出されるよ
うになされているので磁気カードエンコーダの設置場所
、使用態様等に応じて磁気カードの排出方向を自動的に
選択することができ、操作者がキーボード3の操作によ
って一々制御しなければならないといった操作負担を軽
減し、また人為的操作ミスをなくすることができる。
Furthermore, when performing the write processing and reading processing, the control code SC3 of the startup card S is "0".
In this case, the processed magnetic card is ejected from the front card insertion lower, and the control D-1'5C37! l<rl
In the case of J, the magnetic card is ejected from the rear card insertion slot 8, so the ejection direction of the magnetic card can be automatically selected depending on the installation location of the magnetic card encoder, the manner of use, etc. It is possible to reduce the operational burden that the operator has to perform each control by operating the keyboard 3, and also to eliminate human operational errors.

なお、上記実施例においては、スタートアップカードS
に書き込まれた制御コードscによって、磁気カードエ
ンコーダの有する諸機能の内、読取処理機能、書込処理
機能、カードの排出方向選択機能、印字形式の指定機能
を制御する場合について説明したが、本発明はこれに限
らず、磁気カードエンコーダの有するその他の諸機能を
制御する場合に適用することができる。
In addition, in the above embodiment, the startup card S
We have explained the case where the reading processing function, writing processing function, card ejection direction selection function, and print format specification function among the various functions of the magnetic card encoder are controlled by the control code sc written in the magnetic card encoder. The invention is not limited to this, and can be applied to control other functions of a magnetic card encoder.

また、上記実施例では、データ記録領域が40桁の磁気
カードCに制御コードscを付加する場合について説明
したが、これに限らずデータ記録領域が72桁の磁気カ
ードに制御コードscを付加する場合であってもよい。
Further, in the above embodiment, a case has been described in which the control code sc is added to the magnetic card C having a data recording area of 40 digits, but the control code sc is not limited to this, but the control code sc may be added to a magnetic card having a data recording area of 72 digits. It may be a case.

なお、磁気カードの搬送手段としては、カード搬送機構
9による自動送りに限らず、手動送りであってもよい。
Note that the means for conveying the magnetic card is not limited to automatic feeding by the card conveying mechanism 9, but may be manual feeding.

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

以上述べたように、本発明による磁気カードエンコーダ
は、当8亥磁気カードエンコーダの有する諸機能を制御
する制御コードを磁気カードに書き込むことができるか
ら、当該磁気カードをスタートアンプカードとして用い
る場合には、操作者の職責等に応じて、書込処理を禁止
して読取処理のみを行わせるようにしたり、磁気カード
に記録されたデータの読み取り得る内容を制限すること
により、磁気カードの発行に関して責任のない操作者に
よって磁気カードの勝手な複製等の不正が行われること
を防止することができるという優れた効果がある。
As described above, the magnetic card encoder according to the present invention is capable of writing control codes for controlling various functions of the magnetic card encoder onto the magnetic card, so that when the magnetic card is used as a start amplifier card, Depending on the operator's responsibilities, etc., the issuance of magnetic cards may be restricted by prohibiting write processing and allowing only reading processing, or by restricting the content that can be read from the data recorded on magnetic cards. This has the excellent effect of preventing fraudulent operations such as unauthorized duplication of magnetic cards by irresponsible operators.

また、磁気カードエンコーダの有するその他の機能につ
いても制御コードによって、例えば磁気カードの排出方
向を自動的に選定したり、プリンタの印字形式を指定し
たりすることにより、操作者が一々キーボードを操作し
てこれらの機能を制御するという操作負担を軽減するこ
とができ、また、操作者の不注意による人為的操作ミス
をなくすることができるという効果がある。
In addition, other functions of the magnetic card encoder can be controlled using control codes, such as automatically selecting the ejection direction of the magnetic card or specifying the printing format of the printer, so that the operator can operate the keyboard one by one. This has the advantage that the operational burden of controlling these functions can be reduced, and human operational errors due to operator carelessness can be eliminated.

さらに、本発明では制御コードを、磁気カードの磁気ス
トラーイブに書き込んだデータの開始と終了を検出する
ために記録した始め符号と終り符号との間におけるデー
タ記録領域以外の領域、例えば終り符号の後の領域に書
き込んでいるので、フォーマット情報等が記録されるデ
ータ記録領域の記録容量を減らすことなく、制御コード
を付加することができるという効果がある。
Furthermore, in the present invention, the control code is stored in an area other than the data recording area between the start code and the end code recorded in order to detect the start and end of the data written in the magnetic stripe of the magnetic card, for example, after the end code. Since the control code is written in the area, the control code can be added without reducing the recording capacity of the data recording area in which format information and the like are recorded.

また、通常の磁気カードエンコーダでは、データ記録領
域以外の領域に書き込まれたデータについては、水平冗
長符号(LRC)を除いて、読み取らないか或いは読み
取っても有効なデータとして扱わない場合が多いので、
このような通常の磁気カードエンコーダを有する者によ
って、磁気カードに書き込まれた制御コードの内容を知
られてしまう確率を低くすることができ、当該磁気カー
ドの複製等の不正が発生する率を低く抑えて、磁気カー
ドの信鎖性を確保することができるという効果もある。
In addition, with ordinary magnetic card encoders, data written in areas other than the data recording area is often not read, or is not treated as valid data even if read, except for the horizontal redundancy code (LRC). ,
It is possible to reduce the probability that the contents of the control code written on the magnetic card will be known by someone who has such a normal magnetic card encoder, and to reduce the probability that fraud such as duplication of the magnetic card will occur. There is also the effect that the reliability of the magnetic card can be ensured.

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

第1図は本発明による磁気カードエンコーダの一例を示
す外観図、第2図はそのフローシート図、第3図は本発
明による磁気カードエンコーダによって発行された磁気
カードの記録内容を示す説明図、第4図は処理手順を示
すフローチャート、第5図(1)乃至(4)はプリンタ
の印字形式を示す説明図である。 符号の説明 1・・・・磁気カードエンコーダ、3・−キーボード、
4・・・・液晶表示板、5・・−キースイッチ、6・−
カード挿通部、9・・・カード搬送機構、10−・・磁
気ストライブ、li−磁気ヘッド、C・・・−磁気カー
ド、S・−・スタートアップカード、F−・フォーマッ
ト情報ACI、AC2・・・・識別コード、DPl、D
P2・−固定データ、Dv−・・可変データ記録領域、
SC−・・−制御コード、20−・制御装置(マイクロ
コンピュータ)、21−インターフェイス回路、22・
−・−演算処理装置、23−・記憶装置 第3図 第5図
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 diagram thereof, and FIG. 3 is an explanatory diagram showing recorded contents of a magnetic card issued by the magnetic card encoder according to the present invention. FIG. 4 is a flow chart showing the processing procedure, and FIGS. 5 (1) to (4) are explanatory diagrams showing the printing format of the printer. Explanation of symbols 1... Magnetic card encoder, 3 - Keyboard,
4...Liquid crystal display board, 5...-key switch, 6...-
Card insertion part, 9...Card transport mechanism, 10-...Magnetic stripe, li-magnetic head, C...-Magnetic card, S--Startup card, F--Format information ACI, AC2...・Identification code, DPl, D
P2--fixed data, Dv--variable data recording area,
SC--Control code, 20-Control device (microcomputer), 21-Interface circuit, 22-
-・-Arithmetic processing unit, 23-・Storage device Fig. 3 Fig. 5

Claims (1)

【特許請求の範囲】[Claims] 磁気カード(C)の磁気ストライプ(10)に記録する
所望のデータを書き込み、もしくは書き込んだデータを
読み取る磁気カードエンコーダ(1)において、当該磁
気カードエンコーダ(1)の有する諸機能を制御する制
御コード(SC)を、磁気カード(C)の磁気ストライ
プ(10)に書き込んだデータの開始と終了を検出する
ために記録した始め符号(AC1)と終り符号(AC2
)との間におけるデータ記録領域以外の領域に書き込む
書込手段を具備することを特徴とする磁気カードエンコ
ーダ。
In a magnetic card encoder (1) that writes desired data to be recorded on the magnetic stripe (10) of a magnetic card (C) or reads written data, a control code that controls various functions of the magnetic card encoder (1). (SC) are the start code (AC1) and end code (AC2) recorded to detect the start and end of the data written on the magnetic stripe (10) of the magnetic card (C).
) A magnetic card encoder characterized by comprising a writing means for writing in an area other than a data recording area between the two.
JP2022068A 1990-02-02 1990-02-02 Magnetic card encoder Expired - Fee Related JP2578512B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022068A JP2578512B2 (en) 1990-02-02 1990-02-02 Magnetic card encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022068A JP2578512B2 (en) 1990-02-02 1990-02-02 Magnetic card encoder

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61059606A Division JPH0673222B2 (en) 1986-03-19 1986-03-19 Card writing / reading device

Publications (2)

Publication Number Publication Date
JPH031365A true JPH031365A (en) 1991-01-08
JP2578512B2 JP2578512B2 (en) 1997-02-05

Family

ID=12072577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022068A Expired - Fee Related JP2578512B2 (en) 1990-02-02 1990-02-02 Magnetic card encoder

Country Status (1)

Country Link
JP (1) JP2578512B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5425809A (en) * 1977-07-29 1979-02-27 Japan Engine Valve Mfg Studying device
JPS5660267U (en) * 1979-10-12 1981-05-22

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5425809A (en) * 1977-07-29 1979-02-27 Japan Engine Valve Mfg Studying device
JPS5660267U (en) * 1979-10-12 1981-05-22

Also Published As

Publication number Publication date
JP2578512B2 (en) 1997-02-05

Similar Documents

Publication Publication Date Title
EP0195112A2 (en) A magnetic card discriminator
JPH031365A (en) Magnetic card encoder
JPH1091903A (en) Magnetic card reader, self-service terminal and its operation
JP2691039B2 (en) Magnetic card encoder
JPH0498389A (en) Code input system for automatic transaction device
JPH059592B2 (en)
JPS62219263A (en) Card writer and reader
JPH03198261A (en) Magnetic card encoder
JPH04358294A (en) Magnetic card encoder
JPH0335380A (en) Prepaid card processor
JP3198970B2 (en) Information card
JP3199820B2 (en) IC card issuing device, IC card issuing system, and IC card issuing method
JPH11175810A (en) Automatic transaction machine
JPH058480A (en) Passbook identification device
JPH07210611A (en) Automatic cash transaction device
JPH0668878B2 (en) Magnetic card issuing device
JPH0259891A (en) Card issuing machine
JPH07121635A (en) Screen display method
JP3012412U (en) Prepaid card read / write device with decryption function
JPH0560440B2 (en)
JPH1021354A (en) Device and method for preventing card illegal usage
JPH04294482A (en) Manual magnetic card reader
JPH04217065A (en) Information processor system by information card
JP2001307142A (en) Automatic ticket issuing terminal
JPH11126241A (en) Card processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees