JPH03276285A - Card system managing device - Google Patents

Card system managing device

Info

Publication number
JPH03276285A
JPH03276285A JP2074834A JP7483490A JPH03276285A JP H03276285 A JPH03276285 A JP H03276285A JP 2074834 A JP2074834 A JP 2074834A JP 7483490 A JP7483490 A JP 7483490A JP H03276285 A JPH03276285 A JP H03276285A
Authority
JP
Japan
Prior art keywords
card
stored
type code
management device
system type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2074834A
Other languages
Japanese (ja)
Inventor
Kenji Sagara
相良 憲次
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.)
Tatsuta Electric Wire and Cable Co Ltd
Original Assignee
Tatsuta Electric Wire and Cable Co Ltd
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 Tatsuta Electric Wire and Cable Co Ltd filed Critical Tatsuta Electric Wire and Cable Co Ltd
Priority to JP2074834A priority Critical patent/JPH03276285A/en
Publication of JPH03276285A publication Critical patent/JPH03276285A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the card system managing device whose versatility is high by constituting the device so that a classification of a card is decided, and in the case it is an operation contents storage card, the operation contents stored in the card are stored in an operation contents storage means. CONSTITUTION:A classification of a card is decided by a card classification discriminating means 20, and in the case its card is a use card, a regular operation is executed in accordance with the contents of an operation contents storage means 24. In the case its card is an operation contents storage card, the operation contents stored in its card are stored in the operation contents storage means 24. Accordingly, the operation contents can be changed easily. In such a way, a card system managing device whose versatility is high can be obtained.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、プリペイドカードによって、物品やサービ
ス等を購入するプリペイドカードシステムに関するもの
であり、特にシステム動作変更の容易化に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a prepaid card system for purchasing goods, services, etc. using a prepaid card, and particularly relates to facilitating changes in system operation.

[従来の技術] 近年、テレホンカード、オレンジカード(商標)やガソ
リンスタンド、レンタル業、レストラン等の自動販売機
用カード等によって、物品やサービスの購入を行うシス
テムが普及してきた。これらのカードは、使用者が予め
料金を支払って購入しておくものであり、このためプリ
ペイドカードと呼ばれる。
[Background Art] In recent years, systems for purchasing goods and services using telephone cards, Orange Cards (trademark), and cards for vending machines at gas stations, rental businesses, restaurants, etc. have become widespread. These cards are purchased by the user by paying a fee in advance, and are therefore called prepaid cards.

第12図に、従来のプリペイドカードシステムにおける
カードシステム管理装置の構成図を示す。
FIG. 12 shows a configuration diagram of a card system management device in a conventional prepaid card system.

ここでは、有料テレビに対するプリペイドカードシステ
ムを例にとって説明する。CPU6は、ROM8に記憶
されたプログラムに従って動作する。
Here, a prepaid card system for pay TV will be explained as an example. The CPU 6 operates according to programs stored in the ROM 8.

プリペイドカード2をカード読取書込装置4に挿入する
と、CPU6はプリペイドカード2に記憶された残度数
を読み込む(内部レジスタもしくはRAMに読み込む)
。次に、機器動作検出器10からの出力にしたがって、
テレビが動作しているか否かを判断する。テレビが動作
していれば、CPU6は、計時手段12の出力に従って
、読み込んだ残度数から所定度数を減算する。同時に、
現在の残度数を表示ユニット14に表示する。
When the prepaid card 2 is inserted into the card reading/writing device 4, the CPU 6 reads the remaining number of points stored in the prepaid card 2 (reads it into an internal register or RAM).
. Next, according to the output from the equipment operation detector 10,
Determine whether the TV is working or not. If the television is operating, the CPU 6 subtracts the predetermined power from the read remaining power according to the output of the timer 12. at the same time,
The current remaining power is displayed on the display unit 14.

使用者がテレビの使用を終了して動作が停止すれば、C
PU6は、カード読取・書込手段4からカード2に現在
の残度数を書き込む。その後、使用者にカード2を返却
するため、カード2を排出する。
If the user finishes using the TV and it stops working, C.
The PU 6 writes the current remaining power to the card 2 from the card reading/writing means 4. Thereafter, the card 2 is ejected in order to return it to the user.

なお、テレビ使用中に現在の残度数が0になれば、CP
U6はテレビの電源をオフにして、テレビの動作を強制
的に中止させる。
In addition, if the current remaining power reaches 0 while using the TV, the CP
U6 turns off the TV and forces the TV to stop operating.

以上のようにして、プリペイドカードシステムによって
、使用のたびに現金を用意しなくとも有料テレビを見る
ことができる。
As described above, the prepaid card system allows you to watch pay TV without having to prepare cash every time you use the card.

[発明が解決しようとする課題] しかしながら、上記のような従来のプリペイドカードシ
ステムには、次のような問題点があった。
[Problems to be Solved by the Invention] However, the conventional prepaid card system as described above has the following problems.

カードシステム管理装置は、ROMに記憶されたプログ
ラムに従って動作するように構成されている。度数減算
の係数もROMに記憶された内容に従って行われる。こ
のため、料金変更があった場合には、ROMを差替える
か、専用の装置を使用してR□M (P−ROMの場合
)を書き換えるかをしなければならず、極めて煩雑であ
った。
The card system management device is configured to operate according to a program stored in a ROM. The coefficients for frequency subtraction are also performed according to the contents stored in the ROM. Therefore, when there is a price change, it is necessary to replace the ROM or use a special device to rewrite the R□M (in the case of P-ROM), which is extremely complicated. .

また、ある商品・サービスに対する管理装置を他の商品
・サービスに対するものに変更する際にも、上記と同様
の問題が生じていた。
Furthermore, when changing the management device for one product or service to another for another product or service, the same problem as above occurs.

この発明は、上記のような問題点を解決して、動作内容
を容易に変更でき、汎用性の高いカードシステムを提供
することを目的とする。
It is an object of the present invention to solve the above-mentioned problems and provide a highly versatile card system whose operation contents can be easily changed.

[課題を解決するための手段] 請求項1に係るカードシステム管理装置は、接続された
機器の動作の有無を検出する機器動作検出手段、 書き換え可能なカードに記憶されたデータを読取ると共
に、度数演算手段からの残度数データをカードに書き込
むカード読取・書込手段、カード読取・書込手段によっ
て読み込まれたデータに基づいて当該カードの種別を判
別するカード種別判別手段、 カード種別判別手段が当該カードが動作内容記憶カード
であると判別した場合には、当該カードに記憶されてい
る動作内容を動作内容記憶手段に記憶する動作内容読込
手段、 動作内容読込手段から送られてきた読込内容を記憶する
動作内容記憶手段、 カード種別判別手段が当該カードが使用カードであると
判別した場合には、当該カードに記憶されていた残度数
と、機器動作検出手段の出力とに基づいて現在の残度数
を演算し、カード読取・書込手段に出力する度数演算手
段、 を備えている。
[Means for Solving the Problems] A card system management device according to claim 1 includes: device operation detection means for detecting whether or not a connected device is operating; The card reading/writing means writes the remaining card data from the calculating means onto the card, the card type determining means determines the type of the card based on the data read by the card reading/writing means, and the card type determining means is included. When it is determined that the card is an action content storage card, action content reading means stores the action content stored on the card in the action content storage means, and the reading content sent from the action content reading means is stored. When the operation content storage means and card type determination means determine that the card is the card to be used, the current remaining power is determined based on the remaining power stored in the card and the output of the device operation detection means. A frequency calculating means for calculating and outputting the calculated value to the card reading/writing means.

請求項2のカードシステム管理装置は、前記動作内容記
憶カードとして、管理カードと料金設定カードを用意し
、 管理カードには、少なくともシステムの基本的な動作プ
ログラムを記憶し、 料金設定カードには、少なくとも料金計算プログラムを
記憶したことを特徴としている。
The card system management device according to claim 2 provides a management card and a rate setting card as the operation content storage card, the management card stores at least a basic operation program of the system, and the rate setting card includes: It is characterized by storing at least a fee calculation program.

請求項3のカードシステム管理装置は、カードに記憶さ
れたシステム種別コードの適否を判断するシステム種別
コード判別手段を設け、システム種別コードが適正であ
る場合にのみ処理を行うようにしたことを特徴としてい
る。
The card system management device according to claim 3 is characterized in that a system type code determination means is provided for determining whether the system type code stored in the card is appropriate, and the process is performed only when the system type code is appropriate. It is said that

請求項4のカードシステム管理装置は、管理カードによ
ってシステム種別コードを、予めシステム種別記憶手段
に記憶しておき、システム種別コード判別手段は、シス
テム種別コード記憶手段に記憶されたシステム種別コー
ドとカードに記憶されているシステム種別コードとの一
致性を判断することにより、適否を判断するものである
ことを特徴としている。
In the card system management device according to claim 4, the system type code is stored in advance in the system type storage means by the management card, and the system type code determination means reads the system type code stored in the system type code storage means and the card. It is characterized in that suitability is determined by determining consistency with the system type code stored in the system type code.

[作用] 請求項1のカードシステム管理装置においては、カード
種別判別手段によってカードの種別が判断され、当該カ
ードが使用カードである場合には、動作内容記憶手段の
内容に従い通常の動作を行う。
[Function] In the card system management device according to the first aspect, the card type is determined by the card type determining means, and if the card is a used card, normal operation is performed according to the contents of the operation contents storage means.

当該カードが動作内容記憶カードである場合には、当該
カードに記憶されている動作内容を動作内容記憶手段に
記憶する。
If the card is an action content storage card, the action content stored in the card is stored in the action content storage means.

したがって、動作内容の変更が容易である。Therefore, it is easy to change the operation contents.

請求項2のカードシステム管理装置においては、動作内
容記憶カードとして、管理カードと料金設定カードを用
意している。そして、システム全体のプログラムの変更
は管理カードによって行い、料金の設定・変更は料金設
定カードによって行うようにしている。プログラムの変
更を行う主体と、料金変更を行う主体とは、異なること
が多いので、カードを分けることにより、適切な運用を
行うことができる。
In the card system management device of the second aspect, a management card and a charge setting card are prepared as the operation content storage cards. Programs for the entire system are changed using a management card, and charges are set and changed using a charge setting card. Since the entity that changes the program and the entity that changes the fee are often different, it is possible to perform appropriate operations by separating the cards.

請求項3のカードシステム管理装置においては、システ
ム種別コードが適正である場合にのみ、当該カードにつ
いての処理を行うようにしている。
In the card system management device according to the third aspect, processing is performed on the card only when the system type code is appropriate.

したがって、システム種別コードをシステム毎に定める
ことにより、多くのシステムを混乱することなく使用す
ることができる。
Therefore, by defining a system type code for each system, many systems can be used without confusion.

請求項4のカードシステム管理装置においては、管理カ
ードによって基準となるシステム種別コードを記憶し、
記憶されたシステム種別コードとカードに記憶されてい
るシステム種別コードとの一致性を判断して、適否を判
断するようにしている。
In the card system management device according to claim 4, a reference system type code is stored by the management card;
The suitability is determined by determining the consistency between the stored system type code and the system type code stored in the card.

したがって、管理カードによってシステム種別コードを
書き換えることにより、容易に当該カードシステム管理
装置を他のシステムに用いることができる。
Therefore, by rewriting the system type code using the management card, the card system management device can be easily used in other systems.

[実施例] 第1図に、この発明の一実施例によるカードシステム管
理装置の全体構成図を示す。カードに記憶されているデ
ータは、カード読取・書込手段4によって読み取られる
。読み取られたデータに基づいて、カード種別判別手段
20により、当該カードの種別が判断される。カードの
種別が動作内容記憶カードであれば、動作内容読込手段
22により、カードに記憶されている動作内容が読み込
まれる。
[Embodiment] FIG. 1 shows an overall configuration diagram of a card system management device according to an embodiment of the present invention. The data stored on the card is read by the card reading/writing means 4. Based on the read data, the card type determining means 20 determines the type of the card. If the card type is an action content storage card, the action content reading means 22 reads the action content stored in the card.

読み込まれた動作内容は、動作内容記憶手段24に記憶
される。なお、この実施例においては、動作プログラム
、料金プログラム、動作定数および料金定数等が、動作
内容データに含まれる。
The read action content is stored in the action content storage means 24. In this embodiment, the operation program, charge program, operation constant, charge constant, etc. are included in the operation content data.

また、カード種別判別手段20が、使用カード(プリペ
イドカード)であると判断すると、度数演算手段26が
動作する。度数演算手段26は、動作内容記憶手段24
に記憶されている動作内容に基づき、使用カードの残度
数の演算を行う。すなわち、使用カードに記憶されてい
る残度数を読み込み、機器動作検出手段28の出力に従
って、現在の残度数を演算する。演算された残度数デー
タは、力一ド読取・書込手段4を介して、使用カードに
書き込まれる。
Further, when the card type determining means 20 determines that the card is a used card (prepaid card), the power calculating means 26 operates. The frequency calculation means 26 includes the operation content storage means 24
The remaining power of the card used is calculated based on the operation details stored in the card. That is, the remaining power stored in the card used is read, and the current remaining power is calculated according to the output of the device operation detection means 28. The calculated remaining power data is written to the used card via the power reading/writing means 4.

料金改訂等により、料金が変更された場合には、動作内
容記憶カードによって動作内容記憶手段24の書き換え
を行うことにより、容易に変更を行うことができる。
If the fee is changed due to a fee revision or the like, the change can be easily made by rewriting the action content storage means 24 using the action content storage card.

第2図に、この発明の一実施例によるカードシステム管
理装置1のハードウェア構成を示す。管理対象となる機
器130、機器ll32、機器[34への電源の供給は
、カードシステム管理装置1を介して行われる。この電
源ライン40,42.44には、開閉器46,48.5
0が設けられており、CPU52の出力ポート0..0
□、0.から制御可能となっている。また、各電源ライ
ン40,42.44には、電流検出トランス5456 
、58が設けられ、その出力は検出回路60を経てCP
U52の入力ポートL、It、Inに与えられている。
FIG. 2 shows the hardware configuration of the card system management device 1 according to an embodiment of the present invention. Power is supplied to the managed devices 130, 1132, and 34 through the card system management device 1. This power supply line 40, 42.44 has switches 46, 48.5.
0 is provided, and the output port 0.0 of the CPU 52 is provided. .. 0
□, 0. It can be controlled from In addition, each power line 40, 42, 44 has a current detection transformer 5456.
, 58 are provided, the output of which is passed through a detection circuit 60 to the CP
It is applied to input ports L, It, and In of U52.

検出回路60は、トランス54.56.58からの出力
を所定のしきい値によって弁別し、電源ライン4θ、4
2゜44の電流の有無を判断するものである。すなわち
、CPU52は、検出回路60の出力をボートI+、、
Is、Iaから取り込むことにより、各機器30,32
.34が使用状態にあるか否かを知ることができる。上
記のように、この実施例においては、トランス54,5
6.58および検出回路60によって、機器動作検出手
段が構成されている。
The detection circuit 60 discriminates the output from the transformers 54, 56, 58 by a predetermined threshold value, and detects the output from the power supply lines 4θ, 4
This is to determine the presence or absence of a current of 2°44. That is, the CPU 52 sends the output of the detection circuit 60 to the ports I+, .
By importing from Is and Ia, each device 30, 32
.. It is possible to know whether or not 34 is in use. As mentioned above, in this embodiment, the transformers 54, 5
6.58 and the detection circuit 60 constitute equipment operation detection means.

CPU52には、パスライン(制御バスおよびデータバ
ス)62を介して、RAM64、タイマ66、表示回路
68、リード/ライト回路72、カード搬送部74が接
続されている。RAM64には、基本的なプログラムが
予め記憶されており、また、カードから読み込まれた動
作プログラムや、料金計算プログラムが書き込まれる。
A RAM 64 , a timer 66 , a display circuit 68 , a read/write circuit 72 , and a card transport section 74 are connected to the CPU 52 via a pass line (control bus and data bus) 62 . Basic programs are stored in the RAM 64 in advance, and operation programs read from the card and charge calculation programs are also written therein.

すなわち、RAM64は、動作内容記憶手段およびシス
テム種別コード記憶手段としての役割を有する。なお、
RAM64はバックアップされており、電源を断っても
その内容を保持するようにしている。
That is, the RAM 64 serves as an operation content storage means and a system type code storage means. In addition,
The RAM 64 is backed up and retains its contents even if the power is turned off.

第3図に、カードシステム管理装置1の前面操作部分を
示す。表示部69は、LCD等で構成されており、表示
回路68の指令により操作のガイダンスや現在の残度数
を表示するものである。カード挿入ロア3の奥には、カ
ード搬送部74が設けられており、カードの受入れ・排
出が行われる。また、カード取り出しボタン75を押す
ことにより、カードが強制的に排出される。
FIG. 3 shows the front operation section of the card system management device 1. As shown in FIG. The display section 69 is composed of an LCD or the like, and displays operational guidance and the current remaining power level according to commands from the display circuit 68. A card transport section 74 is provided at the back of the card insertion lower 3, and cards are accepted and ejected. Further, by pressing the card ejection button 75, the card is forcibly ejected.

第4図は、RAM64に記憶されたプログラムのフロー
チャートである。まず、ステップS、において、カード
システム管理装置1に電源が投入されるとCPU52が
リセットされ、初期状態となる。
FIG. 4 is a flowchart of the program stored in the RAM 64. First, in step S, when the card system management device 1 is powered on, the CPU 52 is reset to an initial state.

次に、CPU52は開閉器46.48.50を全て開い
てしゃ断状態とする(ステップS2)。すなわち、カー
ドが挿入されない限り、各機器30,32.34に電源
が供給されないようにしている。この状態において、C
PU52は、表示回路68を制御して、表示部に「カー
ドをお入れ下さい」の表示を行う(ステップSS)。次
に、カード挿入ロア3からカードが挿入されると、「カ
ードをお入れ下さい」の表示を消す(ステップSS)。
Next, the CPU 52 opens all the switches 46, 48, and 50 to turn them off (step S2). That is, unless a card is inserted, power is not supplied to each device 30, 32, 34. In this state, C
The PU 52 controls the display circuit 68 to display "Please insert card" on the display section (step SS). Next, when a card is inserted from the card insertion lower 3, the display of "Please insert card" disappears (step SS).

次に、リード/ライト回路72を介して、RAM64内
のバッファに、カードに記憶されているデータを読み込
む(ステップSs)。
Next, the data stored in the card is read into the buffer in the RAM 64 via the read/write circuit 72 (step Ss).

この実施例においては、使用カードとして第8図のプリ
ペイドカード82を用意し、動作内容記憶カードとして
第9図のスーパバイザカード84(管理カード)および
第1θ図の料金設定カード86を用意している。RAM
64へのプログラム、データの書き込みは、スーパバイ
ザカード82および料金設定カード84によって行うが
、ここでは、既にプログラム、データが書き込まれてい
るものとして説明を進める。
In this embodiment, a prepaid card 82 shown in FIG. 8 is prepared as a card to be used, and a supervisor card 84 (management card) shown in FIG. 9 and a charge setting card 86 shown in FIG. . RAM
Programs and data are written to the controller 64 using the supervisor card 82 and the rate setting card 84, but the explanation here will be based on the assumption that the programs and data have already been written.

第4図のステップS7において、CPU52は、挿入さ
れたカードのカード種別コードから、カードの種別を判
断する。今、プリペイドカード8oが挿入されたとする
と、CPU52は度数減算処理を行う(ステップS、。
In step S7 of FIG. 4, the CPU 52 determines the type of card from the card type code of the inserted card. Now, assuming that the prepaid card 8o is inserted, the CPU 52 performs a frequency subtraction process (step S).

)。).

一度数減算処理一 度数減算処理の詳細なフローチャートを第7図に示す。One-time number subtraction process A detailed flowchart of the frequency subtraction process is shown in FIG.

CPU52は、まずステップs2゜において、カードに
記憶されているシステム種別コードが、RAM64に予
め記憶されているシステム種別コードと合致しているか
否がを判断する。このシステム種別コードは、スーパバ
イザカード82により、予めRAM64に記憶されてい
るものであり、当該システムのカードのみを受入れるよ
うにするためのものである。したがって、システム種別
コードが一致しなければ、CPU52は度数減算処理を
中断し、カード搬送部74を制御して当該カードを排出
する(第4図ステップS口)。
First, in step s2°, the CPU 52 determines whether the system type code stored in the card matches the system type code stored in advance in the RAM 64. This system type code is stored in advance in the RAM 64 by the supervisor card 82, and is used to accept only cards of the relevant system. Therefore, if the system type codes do not match, the CPU 52 interrupts the frequency subtraction process and controls the card transport section 74 to eject the card (step S in FIG. 4).

システム種別コードが一致していれば、ステップS2.
に進み、「電源を入れて下さい」というガイダンスを表
示部69に表示する。これにしたがって、使用者は所望
の機器30,32.34のスイッチ(図示せず)を入れ
る。この時点では、開閉器46.4850が開いたまま
であり、スイッチを入れた機器に対して電源は供給され
ない。
If the system type codes match, step S2.
Then, the guidance "Please turn on the power" is displayed on the display section 69. Accordingly, the user turns on the desired device 30, 32, 34 (not shown). At this point, the switch 46.4850 remains open and no power is supplied to the switched-on equipment.

次に、CPU5Zは、カードに記憶されていた残度数が
0であるか否かを判断する(ステップS2□)。残度数
がOであれば、処理を中断し、カード搬送部74を制御
して当該カードを排出する(第4図ステップS、1)。
Next, the CPU 5Z determines whether the remaining power stored in the card is 0 (step S2□). If the remaining number of points is O, the process is interrupted, and the card transport section 74 is controlled to eject the card (step S, 1 in FIG. 4).

すなわち、当該カードの使用を認めない。In other words, use of the card is not permitted.

残度数が正であれば、ステップsrsに進み、全ての開
閉器46,48.50を閉じる。これにより、ステップ
Sil+において使用者がスイッチを入れた機器のみが
動作を始める。
If the remaining power is positive, the process proceeds to step srs and all switches 46, 48.50 are closed. As a result, only the equipment that the user turned on in step Sil+ starts operating.

次に、CPU52は、検出回路60の出力をポート11
、L、Igから取り込み、どの機器が使用中であるかを
判断する(ステップ525)。使用中の機器が無い場合
(すなわち電源ライン40.42.44のいずれにも電
流が流れていない場合)には、ステップS28、S24
を繰り返し実行して、「電源を入れて下さい」というガ
イダンスを表示する。
Next, the CPU 52 outputs the output of the detection circuit 60 to the port 11.
, L, and Ig to determine which equipment is in use (step 525). If there is no device in use (that is, no current is flowing through any of the power lines 40, 42, 44), steps S28 and S24 are performed.
Repeat to display the guidance "Please turn on the power."

使用中の機器がある場合には、ステップS26に進み、
「電源を入れて下さい」のガイダンスを消す。次に、現
在の機器使用状況を表示部69に表示する(ステップ5
27)。
If there is a device in use, proceed to step S26,
Turn off the "Please turn on the power" guidance. Next, the current device usage status is displayed on the display section 69 (step 5).
27).

次に、単位時間当りの使用料金によって定まる各機器ご
との減算係数と、どの機器を使用しているかという事に
基づいて、合計の減算係数Mを演算する(ステップS2
.)。機器30の減算係数がaであり、機器32の減算
係数がbであり、機器34の減算係数がCであるとすれ
ば、合計の減算係数Mは第11図のようにして求められ
る。
Next, a total subtraction coefficient M is calculated based on the subtraction coefficient for each device determined by the usage fee per unit time and which device is being used (step S2
.. ). Assuming that the subtraction coefficient of the device 30 is a, the subtraction coefficient of the device 32 is b, and the subtraction coefficient of the device 34 is C, the total subtraction coefficient M is determined as shown in FIG.

次に、度数1に対して使用可能な時間(1サイクルタイ
ムTmと呼ぶ)を下式に基づき演算する(ステップ82
9)。
Next, the usable time for frequency 1 (referred to as 1 cycle time Tm) is calculated based on the following formula (step 82
9).

Tm=基準時間T/減算係数M なお、この実施例においては、基準時間を約10分とし
ている。1サイクルタイムTmが求められると、残度数
から所定度数を減算して新たな残度数とする(ステップ
5ao)。すなわち、この実施例においては、前払方式
を採用している。
Tm=Reference time T/Subtraction coefficient M In this embodiment, the reference time is approximately 10 minutes. When the one cycle time Tm is determined, a predetermined frequency is subtracted from the remaining frequency to obtain a new remaining frequency (step 5ao). That is, in this embodiment, a prepayment method is adopted.

次に、ステップS□において、残度数が負であるか正で
あるかを判断する。残度数が正であれば、CPU52は
、リード/ライト回路72により残度数をカードに書き
込む(ステップ532)。そして、タイマ66に1サイ
クルタイムTmをセットする(ステップ5sa)。その
後、CPU52は1サイクルタイムが終了するまで(タ
イマ66がカウントアツプするまで)タイマ66の計時
に従い、度数表示を減算変更する(ステップSai、5
ss)。
Next, in step S□, it is determined whether the remaining power count is negative or positive. If the remaining power is positive, the CPU 52 writes the remaining power into the card using the read/write circuit 72 (step 532). Then, one cycle time Tm is set in the timer 66 (step 5sa). Thereafter, the CPU 52 subtracts and changes the frequency display according to the timer 66 until one cycle time ends (until the timer 66 counts up) (step Sai, 5
ss).

1サイクルタイムが終了すると、ステップS25に戻る
。その際、機器の使用状態(使用中の機器の増減)があ
れば、それに対応した減算係数Mによって、1サイクル
タイムが演算される。すなわち、複数の機器を同時に使
用するような場合においても適切なカード管理を行うこ
とができる。
When one cycle time ends, the process returns to step S25. At this time, if there is a usage status of the equipment (increase/decrease in the number of equipment in use), one cycle time is calculated using the subtraction coefficient M corresponding to the usage status. That is, appropriate card management can be performed even when a plurality of devices are used at the same time.

ステップ531において、残度数が負であった場合には
、残り時間Txを演算する(ステップ536)。
If the remaining power count is negative in step 531, the remaining time Tx is calculated (step 536).

次に、リード/ライト回路72によって、カードに残度
数0を書き込む(ステップ537)。そして、残り時間
Txをタイマ66にセットする(ステップS3、)。そ
の後、CPtJ52は残り時間Txが経過するまで(タ
イマ66がカウントアツプするまで)タイマ66の計時
に従い、度数表示を減算変更する(ステップSag 、
S4゜)。残り時間Txが経過すると、全ての開閉器4
6,48.50を開き、各機器30,32.34への通
電を強制的に停止する(ステップ541)。その後、処
理を終了し、カードを排出する(第4図、ステップS1
、)。
Next, the read/write circuit 72 writes the remaining power number 0 to the card (step 537). Then, the remaining time Tx is set in the timer 66 (step S3). Thereafter, the CPtJ 52 changes the frequency display by subtracting according to the timer 66 until the remaining time Tx has elapsed (until the timer 66 counts up) (step Sag,
S4゜). When the remaining time Tx has passed, all switches 4
6, 48, and 50, and the power supply to each device 30, 32, and 34 is forcibly stopped (step 541). After that, the process is finished and the card is ejected (Fig. 4, step S1
,).

ところで、カードに残度数が残っている時に、機器30
,32.34の使用を中止する場合には、カード取り出
しボタン75を押す。ボタン75が押されると、CPU
52の割込みポートI0に信号が与えられ、CPtJ5
2は割込み動作を行う。割込み動作において、CPtJ
52は、まずタイマ66の減算を停止する(第7図、ス
テップS5゜)。さらに、その時の残度数をカードに書
き込む(ステップS、1)。その後、処理を終了し、カ
ードを排出する(第4図、ステップS、1)。
By the way, when the card has remaining power, the device 30
, 32, 34, press the card eject button 75. When button 75 is pressed, the CPU
A signal is given to interrupt port I0 of CPtJ5
2 performs an interrupt operation. In interrupt operation, CPtJ
52 first stops the subtraction of the timer 66 (FIG. 7, step S5°). Furthermore, the remaining power at that time is written on the card (step S, 1). Thereafter, the process is completed and the card is ejected (FIG. 4, step S, 1).

一動作プログラム設定処理− 以上のような処理を行うためには、RAM64に動作プ
ログラムおよび料金設定プログラムを記憶しておく必要
がある。また、動作プログラムや料金の変更があった場
合には、これらの書き換えを行う必要がある。動作プロ
グラムの設定・変更を行う場合には、第9図のスーツく
バイザカード82を用いる。第4図のステップS5にお
いて、スーツクツ(イザカード82がカード挿入ロア3
から挿入されると、カード82に記憶されたデータが、
リード/ライト回路72から読み込まれる(ステップs
g)。読み込まれたデータは、RAM64内のバッファ
に一時記憶される。
1. Operation program setting process - In order to perform the above-mentioned processing, it is necessary to store an operation program and a charge setting program in the RAM 64. Additionally, if there is a change in the operating program or charges, these must be rewritten. When setting or changing the operating program, the suit visor card 82 shown in FIG. 9 is used. In step S5 of FIG.
When inserted from the card 82, the data stored on the card 82 is
Read from the read/write circuit 72 (step s
g). The read data is temporarily stored in a buffer within the RAM 64.

スーパバイザカード82には、第9図に示すように、カ
ード種別コード、システム種別コード、動作プログラム
、各種動作の定数、システム種別コードが記憶されてい
る。
As shown in FIG. 9, the supervisor card 82 stores a card type code, a system type code, an operating program, constants for various operations, and a system type code.

次に、CPU52は、カード種別コードにより、当該カ
ードがスーパバイザカードであることを判断する(ステ
ップS7)。そして、ステ・ンブS、に進み、動作プロ
グラム設定処理を実行する。
Next, the CPU 52 determines that the card is a supervisor card based on the card type code (step S7). Then, the process proceeds to step S, and an operation program setting process is executed.

動作プログラム設定処理のフローチャートを第5図に示
す。まず、ステップ560において、スーパバイザカー
ド82に記憶されていたマスクコードの適否をチエツク
する(ステップS6.)。このマスタコードは、当該ス
ーパバイザカード82が正しいカードであることを証明
するものである。マスタコードが正しくない場合には、
動作プログラム設定処理を終了し、カードを排出する(
第4図、ステップS1.)。
A flowchart of the operation program setting process is shown in FIG. First, in step 560, the suitability of the mask code stored in the supervisor card 82 is checked (step S6). This master code certifies that the supervisor card 82 is the correct card. If the master code is incorrect,
Finish the operation program setting process and eject the card (
FIG. 4, step S1. ).

マスタコードが正しい場合には、CPU52は、カード
に記憶された動作プログラムを、RAM64の動作プロ
グラムエリアに転送する(ステップS6、)。既に動作
プログラムがRAM52に記憶されている場合には、新
たな動作プログラムのオーバライドにより、以前の動作
プログラムは消される。
If the master code is correct, the CPU 52 transfers the operation program stored on the card to the operation program area of the RAM 64 (step S6). If an operating program is already stored in the RAM 52, the previous operating program is erased by overriding the new operating program.

また、動作プログラムとともに、カードシステム管理装
置1の動作を決定する動作定数もRAM64に転送する
。ここで、動作定数とは、管理装置1の基本的動作を決
定する定数であり、例えば、操作ガイダンス点灯のタイ
ミングやカード排出のタイミングを決定する数値である
Further, along with the operation program, operation constants that determine the operation of the card system management device 1 are also transferred to the RAM 64. Here, the operation constant is a constant that determines the basic operation of the management device 1, and is, for example, a numerical value that determines the timing of turning on the operation guidance or the timing of card ejection.

次に、システム種別コードをRAM64に記憶する(ス
テップS6□)。システム種別コードは、当該管理装置
1がどのようなシステムに使用されているかを判別する
ためのコードである。例えば、特定の地域・設備等のみ
を対象とするカードシステムに対しては、特定のシステ
ム種別コードが与えられている。このシステム種別コー
ドは管理装置1のRA、M64に記憶され、プリペイド
カード80のシステム種別コードとの一致性が判断され
る(前述の第7図、ステップ520参照)。したがつて
、異なるシステムのカードによって、管理装置1が作動
するおそれがない。
Next, the system type code is stored in the RAM 64 (step S6□). The system type code is a code for determining what kind of system the management device 1 is used in. For example, a specific system type code is given to a card system that is intended only for a specific region or facility. This system type code is stored in the RA, M64 of the management device 1, and it is determined whether it matches the system type code of the prepaid card 80 (see step 520 in FIG. 7 above). Therefore, there is no possibility that the management device 1 will be activated by cards of different systems.

以上のようにして、動作プログラムおよび動作定数をR
AM64に記憶すれば、処理を終了し、カードを排出す
る(第4図、ステップ511)。以後、この管理装置1
は、新たに記憶された動作プログラムによって動作を行
う。すなわち、第7図に示すプログラムが新たな内容に
変更される。このように、スーパバイザカード82を挿
入するだけで、動作プログラムの設定・変更を行うこと
ができる。
As described above, the operating program and operating constants are
If it is stored in the AM 64, the process is completed and the card is ejected (FIG. 4, step 511). From now on, this management device 1
performs an operation based on a newly stored operation program. That is, the program shown in FIG. 7 is changed to new contents. In this way, simply by inserting the supervisor card 82, the operating program can be set and changed.

したがって、管理装置1の動作を変更したり、さらには
管理装置1を他のシステムの用途に用いたりすることを
極めて容易に行うことができる。
Therefore, it is extremely easy to change the operation of the management device 1 or to use the management device 1 for other systems.

−料金設定処理− この実施例においては、料金の設定・変更を料金設定カ
ード84によって別途行うようにしている。
- Charge Setting Process - In this embodiment, setting and changing of charges are performed separately using the charge setting card 84.

これは、料金変更はシステム変更より煩雑に行われるも
のであることと、料金変更を行う主体とシステム変更を
行う主体とが異なる場合が多いことを考慮したものであ
る。
This is done in consideration of the fact that changing fees is more complicated than changing the system, and that the entity making the fee change and the entity making the system change are often different.

料金設定カード84には、第10図に示すように、カー
ド種別コード、システム種別コード、料金計算プログラ
ム、料金計算定数が記憶されている。
As shown in FIG. 10, the charge setting card 84 stores a card type code, a system type code, a charge calculation program, and charge calculation constants.

第4図のステップS7において、カード種別コードによ
り、料金設定カードであると判断されると、料金設定処
理が行われる(ステップsi)。
In step S7 of FIG. 4, if it is determined that the card is a rate setting card based on the card type code, a rate setting process is performed (step si).

料金設定処理のフローチャートを第6図に示す。A flowchart of the fee setting process is shown in FIG.

まず、ステップS7゜において、カードに記憶されたシ
ステム種別カードの適否が判断される。カードに記憶さ
れているシステム種別コードがRAM64に記憶されて
いるシステム種別コードと異なる場合には、他のシステ
ムについての料金設定カードであるから、処理を終了し
、カードを排出する(第4図、ステップS1.)。
First, in step S7, it is determined whether the system type card stored in the card is appropriate. If the system type code stored on the card is different from the system type code stored in the RAM 64, the card is a rate setting card for another system, so the process is finished and the card is ejected (see Figure 4). , step S1.).

システム種別コードか、RAM64に記憶されているも
のと一致すれば、カード84に記憶されている料金計算
プログラムおよび料金計算定数(前述の減算度数等)を
RAM64に書き込む(ステップS7.)。書き込みが
終了すれば、カードを排出する(第4図、ステップS1
.)。以後は、新たな料金計算プログラムによって計算
が行われる。すなわち、第7図のプログラムのうち、料
金計算の部分が変更される。このように、料金設定カー
ド84を挿入するだけで、料金計算の変更を容易に行う
ことができる。
If the system type code matches the one stored in the RAM 64, the charge calculation program and charge calculation constants (such as the above-mentioned subtraction frequency) stored in the card 84 are written into the RAM 64 (step S7). When the writing is completed, the card is ejected (Fig. 4, step S1).
.. ). From now on, calculations will be performed using a new fee calculation program. That is, the fee calculation portion of the program shown in FIG. 7 is changed. In this way, simply by inserting the fee setting card 84, it is possible to easily change the fee calculation.

なお、上記実施例では、カードシステム管理装置1に接
続される機器を3台としたが、1台、2台、4台以上等
でもよい。
In the above embodiment, three devices are connected to the card system management device 1, but it may be one, two, four or more devices.

[発明の効果] 請求項1のカードシステム管理装置においては、カード
種別判別手段によってカードの種別が判断され、当該カ
ードが使用カードである場合には、動作内容記憶手段の
内容に従い通常の動作を行う。
[Effects of the Invention] In the card system management device according to claim 1, the card type is determined by the card type determining means, and when the card is a used card, the normal operation is performed according to the contents of the operation contents storage means. conduct.

当該カードが動作内容記憶カードである場合には、当該
カードに記憶されている動作内容を動作内容記憶手段に
記憶する。
If the card is an action content storage card, the action content stored in the card is stored in the action content storage means.

したがって、汎用性の高いカードシステム管理装置を提
供することができる。
Therefore, a highly versatile card system management device can be provided.

請求項2のカードシステム管理装置においては、動作内
容記憶カードとして、管理カードと料金設定カードを用
意している。すなわち、料金設定の際には、動作プログ
ラムの変更を行うことのできない料金設定カードを使用
することにより、誤って動作プログラムの変更が行われ
るおそれがない。
In the card system management device of the second aspect, a management card and a charge setting card are prepared as the operation content storage cards. That is, when setting charges, by using a charge setting card that cannot change the operating program, there is no possibility that the operating program will be changed by mistake.

さらに、料金設定を行う主体と、料金変更を行う主体と
は、異なることが多いので、カードを分けることにより
、適切な運用を行うことができる。
Furthermore, since the entity that sets fees and the entity that changes fees are often different, by separating the cards, it is possible to perform appropriate operations.

請求項3のカードシステム管理装置においては、システ
ム種別コードが適正である場合にのみ、当該カードにつ
いての処理を行うようにしている。
In the card system management device according to the third aspect, processing is performed on the card only when the system type code is appropriate.

したがって、システム種別コードをシステム毎に定める
ことにより、多くのシステムを混乱することなく使用す
ることができる。
Therefore, by defining a system type code for each system, many systems can be used without confusion.

請求項4のカードシステム管理装置においては、管理カ
ードによって基準となるシステム種別コードを記憶し、
記憶されたシステム種別コードとカードに記憶されてい
るシステム種別コードとの一致性を判断して、適否を判
断するようにしている。
In the card system management device according to claim 4, a reference system type code is stored by the management card;
The suitability is determined by determining the consistency between the stored system type code and the system type code stored in the card.

したがって、管理カードによってシステム種別コードを
書き換えることにより、容易に当該カードシステム管理
装置を他のシステムに用いることができる。
Therefore, by rewriting the system type code using the management card, the card system management device can be easily used in other systems.

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

第1図はこの発明の一実施例によるカードシステム管理
装置の全体構成を示す図、 第2図はカードシステム管理装置のハードウェア構成を
示す図、 第3図はカードシステム管理装置の前面を示す外観図、 第4図はRAM64に記憶されているプログラムのフロ
ーチャート、 第5図は動作プログラム設定処理のプロゲラ11のフロ
ーチャート、 第6図は料金設定処理のプログラムのフローチ忙ト、 第7図は度数減算処理のプログラムのフローチャート、 第8図はプリペイドカードおよびその記憶内容を示す図
、 第9図はスーパバイザカードおよびその記憶内容を示す
図、 第1O図は料金設定カードおよびその記憶内容を示す図
、 第11図は減算係数Mを求めるためのテーブルを示す図
、 第12図は従来のカードシステム管理装置を示す図であ
る。 4 ・ 20・ 22・ 24争 26φ 28・ カード読取・書込手段 カード種別判別手段 動作内容読込手段 動作内容記憶手段 度数演算手段 機器動作検出手段 第 5 図 第 図 第 図 (1)
FIG. 1 is a diagram showing the overall configuration of a card system management device according to an embodiment of the present invention, FIG. 2 is a diagram showing the hardware configuration of the card system management device, and FIG. 3 is a diagram showing the front side of the card system management device. External view, Figure 4 is a flowchart of the program stored in the RAM 64, Figure 5 is a flowchart of the operating program setting process of the Progera 11, Figure 6 is the program flow chart of the fee setting process, and Figure 7 is the frequency. A flowchart of a subtraction processing program; FIG. 8 is a diagram showing a prepaid card and its storage contents; FIG. 9 is a diagram showing a supervisor card and its storage contents; FIG. 1O is a diagram showing a rate setting card and its storage contents; FIG. 11 is a diagram showing a table for determining the subtraction coefficient M, and FIG. 12 is a diagram showing a conventional card system management device. 4 ・ 20 ・ 22 ・ 24 26 φ 28 Card reading/writing means Card type determining means Operation content reading means Operation content storage means Frequency calculation means Equipment operation detection means 5 Figure Figure Figure 5 (1)

Claims (4)

【特許請求の範囲】[Claims] (1)接続された機器の動作の有無を検出する機器動作
検出手段、 書き換え可能なカードに記憶されたデータを読取ると共
に、度数演算手段からの残度数データをカードに書き込
むカード読取・書込手段、 カード読取・書込手段によって読み込まれたデータに基
づいて当該カードの種別を判別するカード種別判別手段
、 カード種別判別手段が当該カードが動作内容記憶カード
であると判別した場合には、当該カードに記憶されてい
る動作内容を動作内容記憶手段に記憶する動作内容読込
手段、 動作内容読込手段から送られてきた読込内容を記憶する
動作内容記憶手段、 カード種別判別手段が当該カードが使用カードであると
判別した場合には、当該カードに記憶されていた残度数
と、機器動作検出手段の出力とに基づいて現在の残度数
を演算し、カード読取・書込手段に出力する度数演算手
段、 を備えたことを特徴とするカードシステム管理装置。
(1) Equipment operation detection means for detecting whether the connected equipment is operating; card reading/writing means for reading data stored on a rewritable card and writing remaining power data from the power calculating means onto the card; , a card type determining means for determining the type of the card based on the data read by the card reading/writing means, and when the card type determining means determines that the card is an operation content storage card, the card an action content reading means for storing the action content stored in the action content storage means in the action content storage means; an action content storage means for storing the read content sent from the action content reading means; If it is determined that there is, a power calculating means calculates the current remaining power based on the remaining power stored in the card and the output of the device operation detection means, and outputs it to the card reading/writing means; A card system management device comprising:
(2)請求項1のカードシステム管理装置において、前
記動作内容記憶カードとして、管理カードと料金設定カ
ードを用意し、 管理カードには、少なくともシステムの基本的な動作プ
ログラムを記憶し、 料金設定カードには、少なくとも料金計算プログラムを
記憶したこと を特徴とするカードシステム管理装置。
(2) In the card system management device according to claim 1, a management card and a rate setting card are prepared as the operation content storage card, the management card stores at least a basic operation program of the system, and the rate setting card A card system management device comprising at least a charge calculation program stored therein.
(3)請求項1または2のカードシステム管理装置にお
いて、 カードに記憶されたシステム種別コードの適否を判断す
るシステム種別コード判別手段を設け、システム種別コ
ードが適正である場合にのみ処理を行うようにしたこと
を特徴とするカードシステム管理装置。
(3) The card system management device according to claim 1 or 2, further comprising a system type code determination means for determining whether the system type code stored in the card is appropriate, so that processing is performed only when the system type code is appropriate. A card system management device characterized by:
(4)請求項3のカードシステム管理装置において、管
理カードによってシステム種別コードを、予めシステム
種別コード記憶手段に記憶しておき、システム種別コー
ド判別手段は、システム種別コード記憶手段に記憶され
たシステム種別コードとカードに記憶されているシステ
ム種別コードとの一致性を判断することにより、適否を
判断するものであることを特徴とするカードシステム管
理装置。
(4) In the card system management device according to claim 3, the system type code is stored in advance in the system type code storage means by the management card, and the system type code determination means is configured to store the system type code stored in the system type code storage means. A card system management device characterized in that suitability is determined by determining consistency between a type code and a system type code stored in a card.
JP2074834A 1990-03-23 1990-03-23 Card system managing device Pending JPH03276285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2074834A JPH03276285A (en) 1990-03-23 1990-03-23 Card system managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2074834A JPH03276285A (en) 1990-03-23 1990-03-23 Card system managing device

Publications (1)

Publication Number Publication Date
JPH03276285A true JPH03276285A (en) 1991-12-06

Family

ID=13558765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2074834A Pending JPH03276285A (en) 1990-03-23 1990-03-23 Card system managing device

Country Status (1)

Country Link
JP (1) JPH03276285A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04302394A (en) * 1991-03-29 1992-10-26 Shibaura Eng Works Co Ltd Vending machine
WO2009128234A1 (en) * 2008-04-16 2009-10-22 日本金銭機械株式会社 Valuable paper treating system
JP2019103255A (en) * 2017-12-04 2019-06-24 日東工業株式会社 Authentication unit with authentication function added to charging means for vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62145495A (en) * 1985-12-20 1987-06-29 松下冷機株式会社 Vending machine
JPS635569B2 (en) * 1979-10-18 1988-02-04 Toyota Motor Co Ltd
JPS6462791A (en) * 1987-09-03 1989-03-09 Fuji Electric Co Ltd Data setter for vending machine
JPH0193886A (en) * 1987-10-05 1989-04-12 Fuji Electric Co Ltd Data setter for vending machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS635569B2 (en) * 1979-10-18 1988-02-04 Toyota Motor Co Ltd
JPS62145495A (en) * 1985-12-20 1987-06-29 松下冷機株式会社 Vending machine
JPS6462791A (en) * 1987-09-03 1989-03-09 Fuji Electric Co Ltd Data setter for vending machine
JPH0193886A (en) * 1987-10-05 1989-04-12 Fuji Electric Co Ltd Data setter for vending machine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04302394A (en) * 1991-03-29 1992-10-26 Shibaura Eng Works Co Ltd Vending machine
WO2009128234A1 (en) * 2008-04-16 2009-10-22 日本金銭機械株式会社 Valuable paper treating system
JP2009258999A (en) * 2008-04-16 2009-11-05 Japan Cash Machine Co Ltd Valuable paper handling system
US9478089B2 (en) 2008-04-16 2016-10-25 Japan Cash Machine, Co. Ltd. System for handling valuable documents
JP2019103255A (en) * 2017-12-04 2019-06-24 日東工業株式会社 Authentication unit with authentication function added to charging means for vehicle

Similar Documents

Publication Publication Date Title
JPH0117113B2 (en)
US20040008023A1 (en) Real-time charging electronic watthour meter
JPH03276285A (en) Card system managing device
GB2096370A (en) Electrical energy consumption meter
JPH0460789A (en) Card system managing device
JP2591689B2 (en) Card system management device
JPH03280185A (en) Card system management device
JPH0760097B2 (en) Prepaid card usage fee adjustment system
JP3041765B2 (en) Postpaid card system management device
JPH04218890A (en) Card system managing device
CN213659584U (en) Reminding device for business handling time and bank terminal equipment
JP2581976Y2 (en) Karaoke equipment billing device
JPH04223590A (en) Card system managing device
JPH03233798A (en) Supply controller
JPH0831184B2 (en) Supply control device
JP3260527B2 (en) Rate change method in supply control unit
JP3215261B2 (en) Supply control device
JPH09237376A (en) Card system management device
JPH01200996A (en) Prepaid card and device for using the same
JPH0222760Y2 (en)
JPH07287788A (en) Feed controller
JP2001319265A (en) Card processor
JPH0715711B2 (en) Prepaid card processing device
JPH0113587B2 (en)
JPH0387992A (en) Change paying system