JPH09237377A - Card system management device - Google Patents
Card system management deviceInfo
- Publication number
- JPH09237377A JPH09237377A JP6931396A JP6931396A JPH09237377A JP H09237377 A JPH09237377 A JP H09237377A JP 6931396 A JP6931396 A JP 6931396A JP 6931396 A JP6931396 A JP 6931396A JP H09237377 A JPH09237377 A JP H09237377A
- Authority
- JP
- Japan
- Prior art keywords
- card
- frequency
- updating
- information
- coefficient
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Medical Treatment And Welfare Office Work (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ICカードによっ
て、物品やサービス等を提供するICカードシステムに
関するものであり、具体的には、特定人を識別するこ
と、当該特定人を情報により管理することおよび種類の
異なる複数の機器を管理すること等を可能とする1枚の
ICカードを入院患者や病院側のスタッフに所持させる
ことにより、これ等入院患者や病院側のスタッフの病院
内における生活や治療活動を便利にし且つ向上させるこ
とのできるようにしたカードシステム管理装置に関する
ものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card system for providing goods, services and the like by means of an IC card. Specifically, it identifies a specific person and manages the specific person by information. By having one inpatient or staff on the hospital side possess one IC card that enables management of multiple devices of different types and types, the inpatient or the staff on the hospital side can live in the hospital. The present invention relates to a card system management device that makes it possible to make medical treatment activities convenient and improved.
【0002】[0002]
【従来の技術】近年、テレホンカード、オレンジカード
(商標)やガソリンスタンド、レンタル業、レストラン
等の自動販売機用カード等によって、物品やサービスの
購入を行うシステムが普及してきた。これらのカード
は、使用者が予め料金を支払って購入しておくものであ
り、プリペイドカードと呼ばれている。2. Description of the Related Art In recent years, systems for purchasing goods and services have become widespread, such as telephone cards, orange cards (trademarks), cards for vending machines at gas stations, rental businesses, restaurants, and the like. These cards are purchased by the user in advance and purchased, and are called prepaid cards.
【0003】図15に、従来のプリペイドカードシステ
ムにおけるカードシステム管理装置の構成図を示す。こ
こでは、有料テレビに対するプリペイドカードシステム
を例にとって説明する。CPU6は、RAM8に記載さ
れたプログラムに従って動作する。プリペイドカード2
をカード読取・書込装置4に挿入すると、CPU6はプ
リペイドカード2に記憶された残度数を読み込む(内部
レジスタもしくはRAMに読み込む)。次に、機器動作
検出器10からの出力にしたがって、テレビが動作して
いるか否かを判断する。テレビが動作していれば、CP
U6は、計時手段12の出力に従って、読み込んだ残度
数から所定度数を減算する。同時に、現在の残度数を表
示ユニット14に表示する。使用者がテレビの使用を終
了して動作が停止すれば、CPU6は、カード読取・書
込手段4からプリペイドカード2に現在の残度数を書き
込む。その後、使用者にカード2を返却するため、プリ
ペイドカード2を排出する。なお、テレビ使用中に現在
の残度数が0になれば、CPU6はテレビの電源をオフ
にして、テレビの動作を強制的に中止させる。以上のよ
うにして、プリペイドカードシステムによって、使用の
たびに現金を用意しなくとも有料テレビを見ることがで
きる。FIG. 15 shows a block diagram of a card system management device in a conventional prepaid card system. Here, a prepaid card system for pay television will be described as an example. The CPU 6 operates according to the program written in the RAM 8. Prepaid card 2
When is inserted into the card reading / writing device 4, the CPU 6 reads the remaining number stored in the prepaid card 2 (reads into the internal register or RAM). Next, according to the output from the device operation detector 10, it is determined whether or not the television is operating. If the TV is working, CP
U6 subtracts a predetermined frequency from the read residual frequency according to the output of the time measuring means 12. At the same time, the current remaining frequency is displayed on the display unit 14. When the user finishes using the television and stops the operation, the CPU 6 writes the current remaining number from the card reading / writing means 4 to the prepaid card 2. Then, the prepaid card 2 is ejected in order to return the card 2 to the user. If the current remaining number becomes 0 during use of the TV, the CPU 6 turns off the power of the TV and forcibly stops the operation of the TV. As described above, with the prepaid card system, pay television can be viewed without preparing cash every time the user uses the card.
【0004】しかしながら、上記のような従来のプリペ
イドカードシステム管理装置には、次のような問題点が
あった。すなわち、使用対象となる機器毎に専用のカー
ドシステム管理装置が必要であった。このため、多くの
カードシステム管理装置が必要となり、システムが高価
となるばかりでなく、大きな設置場所を占有していた。
また、機器毎に専用のプリペイドカードを用意しなけれ
ばならず、使用者にとって枚数が多くなりカードの管理
・保管が困難になる。However, the above-described conventional prepaid card system management device has the following problems. That is, a dedicated card system management device is required for each device to be used. Therefore, many card system management devices are required, which not only makes the system expensive but also occupies a large installation space.
In addition, a dedicated prepaid card must be prepared for each device, which increases the number of cards for the user, making it difficult to manage and store the cards.
【0005】本発明者は、特開平4−60789号公報
に示すような、一つの装置によって複数の機器を管理す
ることのできるプリペイドカードシステム装置を提供し
て、上記の諸問題を少なからず解決することができた
が、依然として次のようなことを解決するまでには至っ
ていない。 たとえばカードの使用者が病院の入院患者のように1
つ建物の中に短期間滞在して生活する人である場合、治
療活動に関連するカード、患者自身を識別するIDカー
ド、その他のカードを多数所持しなければならない不便
さ。 カードを差し込んだ状態で現金を投入することによ
り、当該カードに金額を記録できない使い勝手の悪さ。 売店に設置されたレジスター(端末機)による清算。 入・退院時の清算。 患者自身が診察や検査を受ける際の個人確認。 担当医や検査技師が端末のカードリーダにより患者の
番号を検索してカルテデータや検査データを入手したり
これ等データを更新したりする。(尚、従来はIDカー
ドを患者に別途提供してこれ等のことを行っていた。) 職員の出退勤、所在管理、入室管理等のために職員証
カードを別途提供することを失くする。 端末機の操作資格確認やデータベースへのアクセス資
格ランク分け等の資格証カードを別途提供することを失
くする。The inventor of the present invention provides a prepaid card system device capable of managing a plurality of devices by a single device, as disclosed in Japanese Patent Laid-Open No. 4-60789, and solves the above problems to some extent. We were able to do it, but we have not yet solved the following. For example, if the card user is an inpatient in a hospital 1
If you are a person who stays in a building for a short period of time, you have to carry a lot of cards related to treatment activities, ID cards that identify yourself and other cards. Poor usability in which the amount of money cannot be recorded on the card by inserting cash with the card inserted. Settlement by a register (terminal) installed in the shop. Liquidation at the time of admission and discharge. Individual confirmation when the patient himself / herself undergoes medical examination or examination. A doctor in charge or a laboratory technician searches for a patient number with a card reader of a terminal to obtain medical record data or examination data, or updates such data. (In the past, ID cards were separately provided to patients to do these things.) Loss of providing staff ID cards separately for staff attendance, location management, entry management, etc. Lost the provision of separate qualification cards such as terminal qualification confirmation and database access qualification ranking.
【0006】[0006]
【発明が解決しようとする課題】本発明は、上記した
〜のような第2の問題点を一挙、禁止(制限)条項記
憶部をもつICカードを利用するようにすることによっ
て解決することができ且つ下記のような禁止(制限)条
項を必要とする人でも安心して使用できる新規のカード
システム管理装置を提供することを目的とする。 記 紛失・盗難に備えて残高額を少ない一定の金額に抑え
る。 外出の禁止 入室の禁止 入金の禁止(お金の判断のできない人のため) 立入の禁止 その他DISCLOSURE OF THE INVENTION The present invention can solve the above-described second problem by using an IC card having a prohibition (restriction) clause storage unit all at once. An object of the present invention is to provide a new card system management device that can be used safely even by a person who requires the following prohibition (restriction) clause. Keep the balance to a small fixed amount in case of loss or theft. Prohibition of going out Prohibition of entering the room Prohibition of payment (for those who cannot judge money) Prohibition of entry Other
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
に本発明に係るカードシステム管理装置は、読出指令に
従い、記憶容量と演算機能を備えたICカードに記憶さ
れた残度数および情報ならびに禁止条項を残度数記憶手
段および情報記憶手段ならびに禁止条項記憶手段に読み
取ると共に、書込指令に従い、残度数記憶手段および情
報記憶手段ならびに禁止条項記憶手段に記憶されている
残度数および情報ならびに禁止条項を上記ICカードに
書き込むカード読取・書込手段、所定のタイミングで、
カード読取・書込手段に読出指令を出力する読出指令手
段、所定のタイミングで、カード読取・書込手段に書込
指令を出力する書込指令手段、接続された使用時間対応
機器の動作の有無を検出する機器動作検出手段、機器動
作検出手段によって検出された各機器の動作の有無と各
機器ごとの度数減算係数とに基づいて合計度数減算係数
を算出する第1の係数演算手段、計時動作を行う計時手
段、接続された販売個数対応機器の動作の有無を検出す
る商品販売検出手段、商品販売検出手段によって検出さ
れた商品販売の有無と販売商品ごとの度数減算係数とに
基づいて商品販売度数減算係数を算出する第2係数演算
手段、使用時間対応機器に関しては合計度数減算係数お
よび計時手段の計時出力に基づき、また販売個数対応機
器に関しては商品販売度数減算係数に基づいて、残度数
記憶手段に記憶されている残度数を更新する残度数更新
手段、情報記憶手段に記憶されている情報を入力・更新
する情報更新手段、禁止条項記憶手段に記憶されている
情報を入力・更新する禁止条項更新手段、を備えたもの
である。In order to achieve the above object, a card system management apparatus according to the present invention, in accordance with a read command, stores a residual number and information stored in an IC card having a storage capacity and a calculation function, and prohibits it. The clause is read into the residual count storage means, the information storage means, and the prohibited clause storage means, and the residual count and information and the prohibited clause stored in the residual count storage means, the information storage means, and the prohibited clause storage means are read according to the write command. Card reading / writing means for writing to the IC card, at a predetermined timing,
Read command means for outputting a read command to the card read / write means, write command means for outputting a write command to the card read / write means at a predetermined timing, presence / absence of operation of a connected device for use time Device operation detecting means for detecting the above, first coefficient calculating means for calculating the total frequency subtraction coefficient based on the presence or absence of the operation of each device detected by the device operation detecting means, and the frequency subtraction coefficient for each device, the time counting operation Based on the presence / absence of merchandise sales detected by the merchandise sale detection means and the frequency subtraction coefficient for each merchandise sale, Second coefficient calculation means for calculating the frequency subtraction coefficient, based on the total frequency subtraction coefficient and the time output of the time measuring means for the equipment corresponding to the usage time, and the product for the sales quantity corresponding equipment In the remaining number updating means for updating the remaining number stored in the remaining number storing means, the information updating means for inputting / updating the information stored in the information storing means, and the prohibited clause storing means based on the sales number subtraction coefficient. A prohibition clause updating means for inputting / updating stored information is provided.
【0008】[0008]
【作用】機器動作検出手段26は複数の使用時間対応機
器の動作の有無を検出し、第1の係数演算手段28は機
器動作検出手段によって検出された各機器の動作の有無
と各機器ごとの度数減算係数とに基づいて合計度数減算
係数を演算する。商品販売検出手段27は販売個数対応
機器における商品販売の有無を検出し、第2の係数演算
係数29は商品販売の有無と各商品ごとの度数減算係数
とに基づいて商品販売度数減算係数を演算する。残度数
更新手段30は、この合計度数減算係数および商品販売
度数減算係数に基づいて、残度数を更新する。情報更新
手段18は、担当医や検査技師等が外部入力する情報入
力手段19により更新される。したがって、単一管理装
置により複数の使用時間対応機器および販売個数対応機
器の双方を管理して度数減算を行うこと、および入院患
者や病院のスタッフ等の院内管理を行うこと、禁止(制
限)を必要とする人の管理を行うことができる。The device operation detecting means 26 detects the presence / absence of the operation of a plurality of usage time compatible devices, and the first coefficient computing means 28 detects the presence / absence of the operation of each device detected by the device operation detecting means and each device. The total frequency subtraction coefficient is calculated based on the frequency subtraction coefficient. The merchandise sales detection means 27 detects the presence or absence of merchandise sales in the sales quantity corresponding device, and the second coefficient calculation coefficient 29 calculates the merchandise sales frequency subtraction coefficient based on the presence or absence of merchandise sales and the frequency subtraction coefficient for each product. To do. The residual frequency updating means 30 updates the residual frequency based on the total frequency subtraction coefficient and the product sales frequency subtraction coefficient. The information updating means 18 is updated by the information input means 19 which is externally input by a doctor in charge, a laboratory technician or the like. Therefore, it is possible to manage both multiple usage time compatible devices and sales quantity compatible devices by a single management device to perform frequency subtraction, and in-hospital management of inpatients, hospital staff, etc., prohibition (restriction) You can manage the people who need it.
【0009】上記の管理を可能とするには、ICカー
ド、情報記憶手段、カード読取・書込手段、読出指令手
段、書込指令手段および情報更新手段により、患者の識
別、病院職員(スタッフ)の識別、入金・残高の確認、
カルテや検査データの入力・出力確認等を正確に行い得
るようにすることが必要であるが、これ等はメーカー側
や特に許可された人が予め設定したり、必要に応じて更
新したりする。In order to enable the above management, patient identification and hospital staff (staff) by means of an IC card, information storage means, card reading / writing means, read command means, write command means and information update means. Identification, confirmation of deposit / balance,
It is necessary to be able to perform accurate input / output confirmation of medical records and inspection data, etc. These can be set in advance by the manufacturer or a person especially authorized, or updated as necessary. .
【0010】(具体的な使用の一例) 〇 ICカード発行(入院手続き時、各患者の方一人に
一枚のICカードを発行する。) 書類記入(患者が入院手続き書類を記入する。) データ入力(書類に記載の氏名、年齢及び病院側で
管理する患者番号等を端末に入力する。) −−−病院の患者データベースへ登録−−− カード書込み(端末に入力した氏名、年齢、患者番
号等をカードのICメモリに記録する。) −−−端末に接続されたICカードライタにカードを差
し込むだけの操作−−− 患者氏名記入(患者番号、氏名、診療科等をカード
表面に記入する。) −−−手書の他、エンボス(浮出文字)、ラベルライ
タ、カード印刷機等の利用も可−−− お渡し(本人のカードとして渡す。) <拡張機能>職員カードとして顔写真や氏名等印刷およ
び職員データのICメモリへの書き込み作業を券面にす
る。 〇 ICカードの利用(病院内に設置した自動販売機形
式の入金機で患者本人がカードへ入金し、必要に応じて
各種の支払をする。) カード入金(入金機により患者カードに入金す
る。) −−−カードを差し込み、現金を投入することでカード
に金額を記録−−− テレビ、電話、冷蔵庫、ランドリー、自動販売機、
(利用量(額)に応じた金額をカードから自動引き去
り、残額は各機器に表示し、入金機で何度でも再入金し
繰り返して使用する。) 売店利用(ICカード対応レジを設置する。) 払い戻し(退院時カード内に未使用で残っている金
額を現金にて払い戻す。) <拡張機能>職員カードも作成する場合、職員もプリペ
イド利用できるようにする。 〇 診療・検査への利用(患者本人が各診療科や検査室
へ出向いて診察や検査を受ける際に個人IDに利用す
る。) カード提示(患者本人が各担当医、検査技師へカー
ドを提示する。) カード読取(担当医、検査技師はカードの患者番号
を端末に読みとる。) −−−端末に接続されたカードリーダにカードを差し込
むだけの操作−−− カルテ引出(カルテデータが必要な場合、患者番号で
データベースを検索して読み出し端末に表示する。) −−−診察ではカードを端末で読みとるだけで自動的に
表示まで実行−−− 結果記録(端末で更新したカルテデータや、検査結
果等によりデータベースを更新する。) カード返却(患者本人へカードを返却する。) <拡張機能>職員カードを作成する場合、端末の操作資
格確認やデータベースへのアクセス資格ランク分け等を
可能とする。 (例)・看護婦、医師以外は端末操作ができない。 ・看護婦は閲覧しかできないが、医師は閲覧たけでなく
更新も可能。(Example of specific use) ○ IC card issuance (one IC card is issued to each patient at the time of admission procedure) Document entry (patient fills out admission procedure documents) Data Input (Enter the name, age and patient number managed by the hospital on the terminal into the terminal.) --- Register in the patient database of the hospital --- Write card (Name, age, patient number entered in the terminal Etc. are recorded in the IC memory of the card.) --- Operation by simply inserting the card into the IC card writer connected to the terminal --- Enter patient name (patient number, name, medical department, etc. on the card surface) ) --- In addition to handwriting, embossing (embossed letters), label writers, card printing machines, etc. are also available --- Handing over (passing as the person's card.) <Extended function> Face photo as a staff card And name The write operation to the IC memory of the printing and staff data to Kenmen. ○ Use of IC card (Patient himself / herself deposits money into the card with a vending machine type deposit machine installed in the hospital and makes various payments as necessary.) Card deposit (payment to the patient card with the deposit machine. ) --- Insert the card and insert cash to record the amount of money on the card --- TV, telephone, refrigerator, laundry, vending machine,
(The amount corresponding to the usage amount (amount) is automatically deducted from the card, the remaining amount is displayed on each device, and it is re-paid as many times as possible with the depositing machine and used repeatedly.) Store use (install an IC card compatible cash register ) Refund (Refunds the unused amount remaining in the card at the time of discharge in cash.) <Extension function> When creating a staff card, the staff can also use the prepaid service. 〇 Use for medical examination / examination (Used as a personal ID when the patient himself goes to each department or examination room for medical examination and examination.) Card presentation (The patient himself presents the card to each medical doctor and laboratory technician. Card reading (medical doctors and laboratory technicians read the patient number of the card on the terminal.) --- Operation just inserting the card into the card reader connected to the terminal --- Carte drawing (chart data is required) In this case, the database is searched by the patient number and read out and displayed on the terminal.) --- In the examination, the card is automatically read by reading it on the terminal --- Result recording (chart data updated on the terminal, examination The database will be updated based on the results, etc.) Card return (The card will be returned to the patient.) <Extension function> When creating a staff card, check the operation qualification of the terminal and save To allow access qualification ranking and the like. (Example) -Only the nurse and doctor can operate the terminal.・ Nurses can only view, but doctors can not only view but also update.
【0011】以上の他、職員証システムとして次のよう
な利用可能とすることができる。 ・出退勤管理(一般的タイムレコーダ機能の他、端末か
らの休暇申請やシフト勤務調整等にも利用する。) ・所在管理(行く先々でカードリーダにカードを読ませ
ることで、医師の所在を知ること、また電話の自動転送
への発展も可能。) ・入室管理(入り口に錠制御機能付きのカードリーダを
設置することで、部屋や区域単位で入室できる職員を制
限する。) ・駐車場管理(職員用駐車場への入場制限の他、職員と
来院者共用の場合、休暇職員の空きスペースの有効利用
を可能とする。)In addition to the above, the staff identification system can be used as follows. -Attendance management (In addition to the general time recorder function, it is also used for applications such as vacation application from the terminal and shift work adjustment.)-Location management (knowing the whereabouts of the doctor by having the card reader read the card wherever you go. Also, it is possible to develop the automatic transfer of telephones.) ・ Entry management (installing a card reader with a lock control function at the entrance limits the staff who can enter the room or area) ・ Parking management ( In addition to admission restrictions to staff parking lots, it is possible to make effective use of free space for vacation staff when staff and visitors are shared.)
【0012】[0012]
(全体的構成)図1は、本発明の好適な一つの実施例の
カードシステム管理装置を示す全体構成図あって、IC
カード80に記憶された残度数は、読出指令手段20の
指令に基づき、カード読取・書込手段4によって読み取
らる。読み取られた残度数は、残度数記憶手段24に記
憶される。情報更新手段18および禁止条項更新手段2
1は、担当医や検査技師等が外部入力する情報入力手段
19により更新され、ICカード80の情報更新手段
は、カード読取・書込手段、読出指令手段および書込指
令手段および禁止条項更新手段21を介してハード側の
情報記憶手段から行われる。(Overall Configuration) FIG. 1 is an overall configuration diagram showing a card system management device according to a preferred embodiment of the present invention.
The residual number stored in the card 80 is read by the card reading / writing means 4 based on a command from the read command means 20. The read residual frequency is stored in the residual frequency storage means 24. Information updating means 18 and prohibited clause updating means 2
1 is updated by the information input means 19 externally input by a doctor in charge, a laboratory technician or the like, and the information update means of the IC card 80 is a card reading / writing means, a read command means, a write command means and a prohibited clause update means. This is performed from the information storage means on the hardware side via 21.
【0013】機器動作検出手段26には、使用時間に応
じて料金が課金されるテレビ、ビデオ、レンジ等機器3
4a、34b・・・34n(使用時間対応機器という)
が接続されている。使用時間対応機器動作検出手段26
は、各使用時間対応機器34a、34b・・・34nの
動作の有無を検出する。第1の係数演算手段28は、使
用時間対応機器動作検出手段26によって検出された各
使用時間対応機器34a、34b・・・34nの動作の
有無と、各使用時間対応機器34a、34b・・・34
nごとの度数減算係数とに基づいて合計度数減算係数を
算出する。残度数更新手段30は、計時手段32から計
時出力と合計度数減算係数とに基づいて、残度数記憶手
段24の残度数を更新する。The device operation detecting means 26 is a device 3 such as a television, video, range, etc., which is charged according to the time of use.
4a, 34b ... 34n (referred to as equipment for use time)
Is connected. Usage time corresponding device operation detecting means 26
Detects whether or not each usage time corresponding device 34a, 34b ... 34n is in operation. The first coefficient calculating means 28 determines whether or not each usage time corresponding device 34a, 34b ... 34n is detected by the usage time corresponding device operation detecting means 26, and each usage time corresponding device 34a, 34b. 34
The total power subtraction coefficient is calculated based on the power subtraction coefficient for each n. The residual frequency updating means 30 updates the residual frequency of the residual frequency storing means 24 based on the timing output from the clocking means 32 and the total frequency subtraction coefficient.
【0014】一方、商品販売検出手段27には、商品の
販売個数に応じて料金が課金される自動販売機等機器3
5a、35b・・・35n(販売個数対応機器という)
が接続されている。商品販売検出手段27は、各販売個
数対応機器35a、35b・・・35nにおいて商品の
販売があったか否かを検出する。第2の係数演算手段2
9は、商品販売検出手段27によつて検出された商品の
販売と、各商品ごとの度数減算係数とに基づいて、残度
数記憶手段24の残度数を更新する。書込指令手段22
が所定のタイミングで書込指令を出すと、残度数記憶手
段24に記憶されている残度数がICカード80に書き
込まれる。On the other hand, the merchandise sales detecting means 27 has a device 3 such as a vending machine in which a charge is charged according to the number of products sold.
5a, 35b ... 35n (equipment for sales quantity)
Is connected. The merchandise sales detection means 27 detects whether or not the merchandise is sold in each of the sales quantity corresponding devices 35a, 35b ... 35n. Second coefficient calculation means 2
9 updates the remaining frequency of the residual frequency storage means 24 based on the sales of the commodity detected by the commodity sales detecting means 27 and the frequency subtraction coefficient for each commodity. Write command means 22
When a write command is issued at a predetermined timing, the remaining number stored in the remaining number storage means 24 is written in the IC card 80.
【0015】(ハードウエアの構成)図2に、この発明
の一実施例によるカードシステム管理装置1のハードウ
エアの構成を示す。管理対象となる使用時間対応機器で
あるテレビ34a、ビデオ34b、レンジ34cへの電
源の供給は、カードシステム管理装置1を介して行われ
る。この電源ライン40、42、44には、開閉器4
6、48、50が設けられており、CPU52の出力ポ
ート01 、02 、03 から制御可能となっている。ま
た、各電源ライン40、42、44には、電流検出トラ
ンス54、56、58が設けられ、その出力は検出回路
60を経てCPU52の入力ポート11 、12 、13 に
与えられている。検出回路60は、トランス54、5
6、58からの出力を所定のしきい値によって弁別し、
電源ライン40、42、44の電流の有無を判断するも
のである。すなわち、CPU52は検出回路60の出力
を入力ポート11 、12 、13 から取り込むことによ
り、各使用時間対応機器34a、34b、34cが使用
状態にあるか否かを知ることができる。上記のように、
この実施例においては、トランス54、56、58およ
び検出回路60によって、使用時間対応機器動作検出手
段が構成されている。(Hardware Configuration) FIG. 2 shows the hardware configuration of the card system management apparatus 1 according to an embodiment of the present invention. Power is supplied to the TV 34a, the video 34b, and the range 34c, which are the management devices corresponding to the usage time, through the card system management device 1. The power switch 40, 42, 44 is provided with a switch 4
6, 48 and 50 are provided and controllable from the output ports 0 1 , 0 2 and 0 3 of the CPU 52. In addition, each power line 40, 42 and 44, the current detection transformer 54, 56, 58 is provided and its output is applied to input port 1 1, 1 2, 1 3 of the CPU52 through the detection circuit 60 . The detection circuit 60 includes transformers 54 and 5
The outputs from 6, 58 are discriminated by a predetermined threshold,
The presence or absence of current in the power supply lines 40, 42, 44 is determined. That, CPU 52 can know by taking the output of the detection circuit 60 from the input port 1 1, 1 2, 1 3, each operating time corresponding devices 34a, 34b, whether 34c is in use. As described above,
In this embodiment, the transformers 54, 56, 58 and the detection circuit 60 form a device operation detecting means for use time.
【0016】一方、販売個数対応機器である自動販売機
35aからは、制御ライン43を介して、CPU52の
割込入力ポート14 に販売要求信号が与えられる。ま
た、CPU52の出力ポート04 からは、制御ライン4
5を介して、自動販売機35aに販売許可信号が与えら
れる。なお、自動販売機35aへの電力供給は管理装置
1が制御するものではなく、独立して行われている。[0016] On the other hand, from the vending machine 35a is sold number compatible device, via a control line 43, sales request signal is applied to an interrupt input port 1 4 CPU 52. Further, from the output port 0 4 CPU 52, the control line 4
A vending machine 35a is given a sales permission signal via the V.5. The power supply to the vending machine 35a is not controlled by the management device 1 but is performed independently.
【0017】CPU52には、バスライン(制御バスお
よびデータバス)62を介して、RAM64、タイマ6
6、表示回路68、リード/ライト回路72、カード搬
送部74が接続されている。RAM64には、度数減
算、情報伝達、入金・支払等のプログラムが記憶されて
いる。なお、RAM64はバックアップされており、電
源を断つてもその内容を保持するようにしている。図3
に、カードシステム管理装置1の前面操作部分を示す。
表示部69は、LCD等で構成されており、表示回路6
8の指令により操作のガイダンスや現在の残度数、入金
額・残高を表示するものである。カード挿入口73の奥
くには、カード搬送部74が設けられており、カードの
受入れ・排出が行われる。また、カード取り出しボタン
75を押すことにより、カードが強制的に排出される。The CPU 52 is provided with a RAM 64 and a timer 6 via a bus line (control bus and data bus) 62.
6, a display circuit 68, a read / write circuit 72, and a card carrying section 74 are connected. The RAM 64 stores programs such as frequency subtraction, information transmission, and deposit / payment. The RAM 64 is backed up and retains its contents even when the power is turned off. FIG.
The front operating portion of the card system management device 1 is shown in FIG.
The display unit 69 is composed of an LCD or the like, and includes the display circuit 6
According to the command of 8, the operation guidance, the current remaining frequency, the deposit amount and the balance are displayed. A card transport unit 74 is provided at the back of the card insertion port 73 to receive and eject the card. Also, by pressing the card eject button 75, the card is forcibly ejected.
【0018】(使用時間対応の動作プログラム)図4お
よび図5は、RAM64に記憶された度数減算プログラ
ムのフローチャートである。図4は、テレビ34a、ビ
デオ34b、レンジ34c(使用時間対応機器)を管理
するためのものであり、図5は、自動販売機(販売個数
対応機器)35aを管理するためのものである。なお、
通常は、図4のプログラムが動作しているが、割込み動
作により図5のプログラムが動作する。(Operation Program Corresponding to Usage Time) FIGS. 4 and 5 are flowcharts of the frequency subtraction program stored in the RAM 64. FIG. 4 is for managing the television 34a, the video 34b, and the range 34c (equipment for use time), and FIG. 5 is for managing the vending machine (equipment for sale quantity) 35a. In addition,
Normally, the program of FIG. 4 is operating, but the program of FIG. 5 is operated by the interrupt operation.
【0019】まず、図4に示す、使用時間対応機器のプ
ログラムについて説明する。ICカード80がカード挿
入口から挿入されると、カード搬送部74が動作してI
Cカード80を内部に取り込む。それと同時に、CPU
52から読込指令が出され、リード/ライト回路72が
動作してカードのデータを読む。CPU52は、このデ
ータをRAM64に記憶する。First, the program of the equipment for use time shown in FIG. 4 will be described. When the IC card 80 is inserted from the card insertion slot, the card transport unit 74 operates and I
The C card 80 is taken inside. At the same time, the CPU
A read command is issued from 52, and the read / write circuit 72 operates to read the data in the card. The CPU 52 stores this data in the RAM 64.
【0020】ICカード80には、図9に示すようにデ
ータが記憶されている。カード種別コードには、当該カ
ードがICカードであることを表わすコードが記憶され
ている。システム種別カードは、他のシステム用カード
と当該システム用のカードとを区別するために記憶され
ているコードである。最後に、残り度数、残高、情報お
よび禁止条項が記憶されている。Data is stored in the IC card 80 as shown in FIG. The card type code stores a code indicating that the card is an IC card. The system type card is a code stored to distinguish the card for another system from the card for another system. Finally, the remaining frequency, balance, information and prohibition clause are stored.
【0021】次に、CPU52はステップS20におい
て、RAM64に読み込んだシステム種別コードが、当
該システムの種別コードと合致しているか否かを判断す
る。システム種別コードが一致しなければ、CPU52
は度数減算処理を中断する。その後、カード搬送部74
を制御して、カードを搬出する。システム種別コードが
一致していれば、ステップS21に進み、「電源を入れて
下さい」というガイダンスを表示部69に表示する。こ
れにしたがって、使用者は所望のテレビ34a、ビデオ
34b、レンジ34cのスイッチ(図示せず)を入れ
る。この時点では、開閉器46、48、50が開いたま
まであり、スイッチを入れた機器に対して電源は供給さ
れていた残度数が0であるか否かを判断する(ステップ
S22)。残度数が0であれば、処理を中断する。その
後、カード搬送部74を制御して、カードを搬出する。
すなわち、当該カード使用を認めない。残度数が正であ
れば、ステップS23に進み、全ての開閉器46、48、
50を閉じる。これにより、ステップS24において使用
者がスイッチを入れた機器のみが動作を始める。Next, in step S 20 , the CPU 52 determines whether the system type code read into the RAM 64 matches the type code of the system. If the system type codes do not match, the CPU 52
Interrupts the frequency subtraction process. After that, the card transport unit 74
Control to eject the card. If the system type codes match, the process proceeds to step S 21, and displays the guidance of "Turn on" on the display unit 69. Accordingly, the user turns on the switch (not shown) of the desired television 34a, video 34b, range 34c. At this time, the switches 46, 48 and 50 are still open, and it is determined whether or not the remaining number of power supplies to the switch-on device is 0 (step S 22 ). If the remaining frequency is 0, the process is interrupted. Then, the card transport unit 74 is controlled to carry out the card.
That is, the use of the card is not permitted. If the remaining power is positive, the process proceeds to step S 23, all the switches 46, 48,
Close 50. As a result, only the device that the user has turned on in step S 24 starts operating.
【0022】次に、CPU52は、検出回路60の出力
をポート11 、12 、13 から取り込み、どの使用時間
対応機器が使用中であるかを判断する(ステップ
S25)。使用中の使用時間対応機器が無い場合(すなわ
ち電源ライン40、42、44のいずれにも電流が流れ
ていない場合)には、ステップS23、S24を繰り返し実
行して、「電源を入れて下さい」というガイダンスを表
示する。使用中の機器がある場合には、ステップS26に
進み、「電源を入れて下さい」のガイダンスを消す。次
に、現在の機器使用状況を表示部69に表示する(ステ
ップS27)。Next, the CPU 52 fetches the output of the detection circuit 60 from the ports 1 1 , 1 2 , 1 3 and judges which of the usage time corresponding devices is in use (step S 25 ). The case use time corresponding equipment in use there is no (i.e. if any to no current flows through the power supply lines 40, 42, 44), repeatedly executes steps S 23, S 24, put the "Power Please display the guidance. If there is equipment in use, the process proceeds to step S 26, turn off the guidance of "Turn on the power." Next, the display unit 69 the current equipment usage (step S 27).
【0023】次に、単位時間当りの使用料金によって定
まる各機器ごとの度数減算係数と、どの機器を使用して
いるかという事に基づいて、合計度数減算係数Mを演算
する(ステップS28)。機器(テレビ)34aの度数減
算係数がaであり、機器(ビデオ)34bの度数減算係
数がbであり、機器(レンジ)34cの度数減算係数c
であるとすれば、合計度数減算係数Mは図12のように
して求められる。合計度数減算係数Mは、図12のよう
なテーブルをRAM64に用意しておいて求めてもよい
が、下記の演算式によって演算してもよい。 M=A1 ・H1 +A2 ・H2 +A3 ・H3 +・・・+A
n ・Hn 但し、各使用時間対応機器の動作の有無を表わす変数を
A1 、A2 ・・・Anとし、各使用時間対応機器の度数
減算係数を表わす変数を、H1 、H2 ・・・Hnとす
る。また、各変数の添え字は使用時間対応機器の番号を
表わしており、また変数A1 、A2 ・・・Anは使用時
間対応機器が動作していれば1、動作していなければ0
をその内容とする。Next, the total frequency subtraction coefficient M is calculated based on the frequency subtraction coefficient for each device, which is determined by the usage charge per unit time, and which device is being used (step S 28 ). The power subtraction coefficient of the device (television) 34a is a, the power subtraction coefficient of the device (video) 34b is b, and the power subtraction coefficient c of the device (range) 34c is
Then, the total frequency subtraction coefficient M is obtained as shown in FIG. The total frequency subtraction coefficient M may be obtained by preparing a table as shown in FIG. 12 in the RAM 64, or may be calculated by the following arithmetic expression. M = A 1 · H 1 + A 2 · H 2 + A 3 · H 3 + ... + A
n · H n However, the variables representing the presence / absence of the operation of each usage time compatible device are A 1 , A 2 ... An, and the variables representing the frequency subtraction coefficient of each usage time compatible device are H 1 , H 2 · ··· Hn. The subscript of each variable represents the number of the equipment corresponding to the usage time, and the variables A 1 , A 2 ... An are 1 if the equipment corresponding to the usage time is operating, and 0 if they are not operating.
Is the content.
【0024】次に、度数1に対して使用可能な時間(1
サイクルタイムTmと呼ぶ)を下式に基づき演算する
(ステップS29)。 Tm=基準時間T/減算係数M なお、この実施例においては、基準時間を約10分とし
ている。1サイクルタイムTmが求められると、RAM
64に記憶されている残度数から所定度数を減算して新
たな残度数として更新する(ステップS30)。すなわ
ち、この実施例においては、前払方式を採用している。Next, the usable time (1
Cycle time Tm) is calculated based on the following equation (step S 29 ). Tm = reference time T / subtraction coefficient M In this embodiment, the reference time is about 10 minutes. When 1 cycle time Tm is calculated, RAM
A predetermined frequency is subtracted from the residual frequency stored in 64 to update it as a new residual frequency (step S 30 ). That is, in this embodiment, a prepaid system is adopted.
【0025】次に、ステップS31において、残度数が負
であるか正であるかを判断する。残度数が正であれば、
CPU52は、リード/ライト回路72により残度数を
カードに書き込む(ステップS32)。そして、タイマ6
6に1サイクルタイムTmをセットする(ステップ
S33)。その後、CPU52は1サイクルタイムが終了
するまで(タイマ66がカウントアップするまで)タイ
マ66の計時に従い、度数表示を減算変更する(ステッ
プS34、35)。1サイクルタイムが終了すると、ステッ
プS25に戻る。その際、機器の使用状態(使用中の使用
時間対応機器の増減)があれば、それに対応した減算係
数Mによって、1サイクルタイムが演算される。すなわ
ち、複数の機器を同時に使用するような場合においても
適切なカード管理を行うことができる。Next, in step S 31 , it is determined whether the residual frequency is negative or positive. If the residual frequency is positive,
The CPU 52 writes the remaining count on the card by the read / write circuit 72 (step S 32 ). And timer 6
1 cycle time Tm is set to 6 (step S 33 ). Then, CPU 52 in accordance with clocking until one cycle time is completed (until the timer 66 counts up) the timer 66 is subtracted changing the frequency display (step S 34, 35). When one cycle time is completed, the flow returns to step S 25. At that time, if there is a use state of the device (increase / decrease of the device for use time in use), one cycle time is calculated by the subtraction coefficient M corresponding thereto. That is, appropriate card management can be performed even when a plurality of devices are used at the same time.
【0026】(ステップS31)において、計算された残
度数が負であった場合には、残り時間Txを演算する
(ステップS36)。次に、リード/ライト回路72によ
って、カードに残度数0を書き込む(ステップS37)。
そして、残り時間Txをタイマ66にセットする(ステ
ップS38)。その後、CPU52は残り時間Txが経過
するまで(タイマ66がカウントアップするまで)タイ
マ66の計時に従い、度数表示を減算変更する(ステッ
プS39、S40)。残り時間Txが経過すると、全ての開
閉器46、48、50を開き、各機器34a、34b、
34cへの通電を強制的に停止する(ステップS41)。
その後、処理を終了し、ICカード80を排出する。[0026] (Step S 31), if the calculated remaining power is negative calculates the remaining time Tx (step S 36). Then, the read / write circuit 72 writes the residual number 0 to the card (step S 37 ).
Then, the remaining time Tx is set in the timer 66 (step S38 ). After that, the CPU 52 subtracts and changes the frequency display according to the time count of the timer 66 until the remaining time Tx elapses (until the timer 66 counts up) (steps S 39 and S 40 ). When the remaining time Tx has elapsed, all the switches 46, 48, 50 are opened, and the devices 34a, 34b,
The power supply to 34c is forcibly stopped (step S41 ).
After that, the processing is terminated and the IC card 80 is ejected.
【0027】ところで、ICカード80に残度数が残っ
ている時に、機器34a、34b、34cの使用を中止
する場合には、カード取り出しボタン75を押す。ボタ
ン75が押されると、CPU52の割込みポート10 に
信号が与えられ、CPU52は割込み動作を行う。割込
み動作において、CPU52は、まずタイマ66の減算
を停止する(ステップS50)。さらに、その時の残度数
をカードに書き込む(ステップS51)。その後、処理を
終了し、カードを排出する。By the way, when the IC card 80 has a residual number remaining, when the use of the devices 34a, 34b, 34c is stopped, the card take-out button 75 is pushed. When the button 75 is pressed, the signal is applied to the interrupt port 1 0 CPU 52, CPU 52 performs the interrupt operation. In the interrupt operation, CPU 52, first stops the subtraction timer 66 (step S 50). Further, the remaining frequency at that time is written on the card (step S 51 ). Thereafter, the processing is terminated, and the card is ejected.
【0028】(販売個数対応の動作プログラム)次に、
自動販売機35aから商品を購入する場合の動作を図5
を参照して説明する。自動販売機35aの商品選択購入
ボタン(図示せず)が押されると、自動販売機35aは
販売要求信号を出力する。この信号は、ライン43を介
して、CPU52の割込み入力ポート14 に与えられ、
これを受けた、CPU52は、図5のプログラムを割込
み処理によって実行する。したがって、CPU52は、
図4のプログラムの実行を、一時中断して、自動販売機
35aのためのプログラムを実行する。このような割込
み処理としたのは、自動販売機35aからの販売要求が
何時あっても対処できるようにするためである。なお、
割込み処理とせず、マルチタスクによって、図5の処理
を行ってもよい。(Operation program corresponding to sales quantity) Next,
FIG. 5 shows an operation when a product is purchased from the vending machine 35a.
This will be described with reference to FIG. When a product selection / purchase button (not shown) of the vending machine 35a is pressed, the vending machine 35a outputs a sales request signal. This signal, via line 43, supplied to the interrupt input port 1 4 CPU 52,
Receiving this, the CPU 52 executes the program of FIG. 5 by interrupt processing. Therefore, the CPU 52
The execution of the program of FIG. 4 is temporarily suspended, and the program for the vending machine 35a is executed. The interrupt processing is performed in order to handle the sales request from the vending machine 35a at any time. In addition,
The processing of FIG. 5 may be performed by multitasking instead of interrupt processing.
【0029】自動販売機35からCPU52に対して送
られる販売要求信号を、図13に示す。伝送のために付
された制御コードと販売要求の対象となる商品コードか
ら構成されている。販売要求信号による割込みがある
と、CPU52は、送られてきた商品コードに対応する
度数減算係数を求める(ステップS80)。RAM64に
は、図14に示すようなテーブルが用意されており、C
PU52は、このテーブルにしたがって対応する度数減
算係数を求める。この度数減算係数は、当該商品1個
(もしくは1パック等)当りの金額を、度数として換算
した値である。この実施例においては、商品1個の販売
要求があるごとに割込み処理を行っているので、CPU
52はこの度数減算係数を商品販売度数減算係数Nとし
て次のステップへ進む。なお、まとめ買いのできるよう
な自動販売機に対しては、まとめて購入された商品の度
数減算係数を合計して、商品販売度数減算係数Nを算出
する。FIG. 13 shows a sales request signal sent from the vending machine 35 to the CPU 52. It is composed of a control code added for transmission and a product code that is a sales request target. When there is an interruption due to the sales request signal, the CPU 52 obtains the frequency subtraction coefficient corresponding to the sent product code (step S 80 ). A table as shown in FIG. 14 is prepared in the RAM 64, and C
The PU 52 obtains the corresponding frequency subtraction coefficient according to this table. The frequency subtraction coefficient is a value obtained by converting the amount of money per one product (or one pack or the like) as a frequency. In this embodiment, the interrupt process is performed every time there is a sales request for one product.
52 proceeds to the next step with this frequency subtraction coefficient as the product sales frequency subtraction coefficient N. In addition, for vending machines that can perform bulk buying, the product sales frequency subtraction coefficient N is calculated by adding up the frequency subtraction coefficients of the products purchased collectively.
【0030】CPU52は、次にRAM64に記憶され
ている残度数から、上記の商品販売度数減算係数Nを減
算し、新たな残度数を算出する(ステップS81)。次
に、残度数が負であるか正であるかを判断する。残度数
が正であれば、CPU52は、リード/ライト回路72
により新たな残度数をカードに書き込む(ステップ
S83)。そして、出力ポート04 から、販売指令信号を
出力する(ステップS84)。この信号は、ライン45を
介して自動販売機35aに与えられる。自動販売機35
aは、この販売指令信号を受けて、当該商品を放出す
る。これと同時に、CPU52は、本体前面の「商品を
販売しました」の表示を所定時間だけ点灯する(ステッ
プS85)。この後、割込み処理を終了し、図5のプログ
ラムに戻る。なお、ステップS82において、残度数が負
である場合には、販売指令信号を出さずに、割込み処理
を終了し、図5のプログラムに戻る。カードの禁止条項
とシステムの禁止条項が一致した場合にはカードを排出
する(図6、ステップS11)。Next, the CPU 52 subtracts the above-mentioned merchandise sales frequency subtraction coefficient N from the residual frequency stored in the RAM 64 to calculate a new residual frequency (step S 81 ). Next, it is determined whether the residual frequency is negative or positive. If the residual frequency is positive, the CPU 52 causes the read / write circuit 72 to
The new remaining frequency is written to the card by (step S83 ). Then, from the output port 0 4, and outputs a vending command signal (step S 84). This signal is given to the vending machine 35a via the line 45. Vending machine 35
Upon receiving this sales command signal, a releases the product. At the same time, the CPU 52 turns on the display "Sold product" on the front surface of the main body for a predetermined time (step S85 ). After that, the interrupt processing is terminated, and the process returns to the program of FIG. In step S82 , if the residual number is negative, the interrupt processing is terminated without issuing the sales command signal, and the process returns to the program of FIG. When the prohibition clause of the card and the prohibition clause of the system match, the card is ejected (FIG. 6, step S 11 ).
【0031】ところで、この実施例においては、RAM
64に記憶する動作プログラムや料金設定データ等もカ
ードによって書き換えるようにしている。すなわち、上
記に示す度数減算処理の他、動作プログラム設定処理、
料金設定処理のモードを有している。動作設定処理のた
めには図10のスーパバイザカード82が用いられ、料
金設定処理のためには図11の料金設定カード84が用
いられる。スーパバイザカード82には、カード種別コ
ード、マスタコード、動作プログラム、各種動作の定
数、システム種別コードが記憶されている。料金設定カ
ード84には、カード種別コード、システム種別コー
ド、料金計算プログラム、料金計算定数が記憶されてい
る。By the way, in this embodiment, the RAM
The operation program and charge setting data stored in 64 are also rewritten by the card. That is, in addition to the frequency subtraction processing described above, the operation program setting processing,
It has a mode of charge setting processing. The supervisor card 82 of FIG. 10 is used for the operation setting process, and the fee setting card 84 of FIG. 11 is used for the fee setting process. The supervisor card 82 stores a card type code, a master code, an operation program, constants for various operations, and a system type code. The charge setting card 84 stores a card type code, a system type code, a charge calculation program, and a charge calculation constant.
【0032】度数減算モード、動作プログラム設定モー
ド、料金設定モードを含めた全体のフローチャートを図
6に示す。図4および図5に示した度数減算処理は、図
6においてはステップS10として表わされている。FIG. 6 shows an overall flow chart including the frequency subtraction mode, the operation program setting mode, and the fee setting mode. The frequency subtraction process shown in FIGS. 4 and 5 is represented as step S 10 in FIG.
【0033】まず、ステップS1 において、カードシス
テム管理装置1に電源が投入されるとCPU52がリセ
ットされ、初期状態となる。次に、CPU52は開閉器
46、48、50を全て開いてしゃ断状態とする(ステ
ップS2 )。すなわち、カードが挿入されない限り、テ
レビ34a、ビデオ34b、レンジ34cに電源が供給
されないようにしている。この状態において、CPU5
2は、表示回路68を制御して、表示部に「カードをお
入れ下さい」の表示を行う(ステップS3 )。次に、カ
ード挿入口73からカードが挿入されると、「カードを
お入れ下さい」の表示を消す。(ステップS6 )。次
に、リード/ライト回路72を介して、RAM64内の
バッファに、カードに記憶されているデータを読み込む
(ステップS4 )。First, in step S 1 , when the card system management device 1 is powered on, the CPU 52 is reset to the initial state. Next, the CPU 52 opens all the switches 46, 48, 50 to bring them into a cutoff state (step S 2 ). That is, power is not supplied to the television 34a, the video 34b, and the range 34c unless a card is inserted. In this state, CPU5
2, controls the display circuit 68, the display of "Please put your card" on the display unit (step S 3). Next, when a card is inserted through the card insertion slot 73, the "Please insert card" display disappears. (Step S 6). Next, the data stored in the card is read into the buffer in the RAM 64 via the read / write circuit 72 (step S 4 ).
【0034】次にステップS7 において、CPU52
は、挿入されたカードのカード種別コードから、カード
の種別を判断する。今、ICカード80が挿入されたと
すると、CPU52は図4の度数減算処理を行う(ステ
ップS10)。Next, in step S 7 , the CPU 52
Determines the card type from the card type code of the inserted card. Assuming that IC card 80 is inserted, CPU 52 performs a frequency subtraction processing in FIG. 4 (step S 10).
【0035】(動作プログラム設定装置)カードがスー
パバイザカード82であれば、動作プログラム設定処理
を行う。動作プログラム設定処理のフローチャートを図
7に示す。まず、(ステップS60)において、スーパバ
イザカード82に記憶されていたマスターコードの適否
をチェックする。このマスタコードは、当該スーパバイ
ザカード82が正しいカードであることを証明するもの
である。マスタコードが正しくない場合には、動作プロ
グラム設定処理を終了し、カードを排出する(図6、ス
テップS11)。(Operation Program Setting Device) If the card is the supervisor card 82, an operation program setting process is performed. FIG. 7 shows a flowchart of the operation program setting process. First, in (step S 60 ), the suitability of the master code stored in the supervisor card 82 is checked. This master code proves that the supervisor card 82 is a correct card. If the master code is not correct, then ends the operation program setting process, and discharges the card (FIG. 6, step S 11).
【0036】マスタコードが正しい場合においては、C
PU52は、カードに記憶された動作プログラムを、R
AM64の動作プログラムエリアに転送する(ステップ
S61)。既に動作プログラムがRAM52に記憶されて
いる場合には、新たな動作プログラムのオーバーライト
により、以前の動作プログラムは消される。また、動作
プログラムとともに、カードシステム管理装置1の動作
を決定する動作定数もRAM64に転送する。ここで、
動作定数とは、管理装置1の基本的動作を決定する定数
であり、例えば、動作ガイダンス点灯のタイミングやカ
ード排出のタイミングを決定する数値である。When the master code is correct, C
The PU 52 stores the operation program stored in the card in the R
Transferred to the operation program area of AM64 (step S 61). When the operation program is already stored in the RAM 52, the previous operation program is erased by overwriting the new operation program. In addition to the operation program, the 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 lighting the operation guidance and the timing of card ejection.
【0037】次に、システム種別コードをRAM64に
記憶する(ステップS62)。システム種別コードは、当
該管理装置がどのようなシステムに使用されているかを
判別するためのコードである。例えば、特定の地域・設
備等のみを対象とするカードシステムに対しては、特定
のシステム種別コードは管理装置のRAM64に記憶さ
れ、ICカード80のシステム種別コードとの一致性が
判断される(前述の図4、ステップS20参照)。したが
って、異なるシステムのカードによって、管理装置が作
動するおそれがない。Next, stores system type code in RAM 64 (step S 62). The system type code is a code for determining what kind of system the management device is used for. For example, for a card system that targets only a specific area / equipment, the specific system type code is stored in the RAM 64 of the management device, and the matching with the system type code of the IC card 80 is determined ( (See FIG. 4, step S 20 above). Therefore, there is no risk of the management device being activated by cards of different systems.
【0038】以上のようにして、動作プログラムおよび
動作定数をRAM64を記憶すれば、処理を終了し、カ
ードを排出する(図6、ステップS11)。以後、この管
理装置は、新たに記憶された動作プログラムによって動
作を行う。すなわち、図4および図5(もしくは何れか
一方)に示すプログラムが新たな内容に変更される。こ
のように、スーパバイザカード82を挿入するだけで、
動作プログラムの設定・変更を行うことができる。した
がって、管理装置1の動作を変更したり、さらには管理
装置1を他のシステムの用途に用いたりすることを極め
て容易に行うことができる。[0038] As described above, if stored RAM64 operation programs and operation constant, and the process ends, and discharges the card (FIG. 6, step S 11). After that, the management device operates according to the newly stored operation program. That is, the programs shown in FIGS. 4 and 5 (or one of them) are changed to new contents. In this way, just by inserting the supervisor card 82,
The operation program can be set and changed. Therefore, it is possible to extremely easily change the operation of the management device 1 or use the management device 1 for another system.
【0039】(料金設定処理)この実施例においては、
料金の設定・変更を料金設定カード74によって別途行
うようにしている。これは、料金変更はシステム変更よ
り煩雑に行われるものであることと、料金変更を行う主
体とシステム変更を行う主体とが異なる場合が多いこと
を考慮したものである。図6のステップS7 において、
カード種別コードにより、料金設定カードであると判断
されると、利用金設定処理が行われる(ステップS
9 )。料金設定処理のフローチャートを図8に示す。ま
ず、ステップS70において、カードに記憶されたシステ
ム種別カードの適否が判断される。カードに記憶されて
いるシステム種別コードがRAM64に記憶されている
システム種別コードと異なる場合には、他のシステムに
ついての料金設定カードであるから、処理を終了し、カ
ードを排出する(図6ステップS11)。(Charge Setting Processing) In this embodiment,
The charge setting / change is separately performed by the charge setting card 74. This takes into account that the charge change is performed more complicatedly than the system change, and that the subject of the charge change is often different from the subject of the system change. In step S 7 of FIG.
If it is determined by the card type code that the card is a charge setting card, a usage charge setting process is performed (step S
9 ). A flow chart of the charge setting process is shown in FIG. First, in step S 70, the appropriateness of the stored system type card is judged on the card. If the system type code stored in the card is different from the system type code stored in the RAM 64, the process is terminated and the card is ejected because it is a fee setting card for another system (FIG. 6 step). S 11 ).
【0040】システム種別コードが、RAM64に記憶
されているものと一致すれば、カード84に記憶されて
いる料金計算プログラムおよび料金計算定数(全種鍔の
減算度数等)をRAM64に書き込む(ステップ
S71)。書き込みが終了すれば、カードを排出する(図
6、ステップS11)。以後は新たな料金計算プログラム
(例えば、各機器の度数減算係数Mや各商品の度数減算
係数Nが変更されたもの)によって計算がおこなわれ
る。すなわち、図4および図5のプログラムのうち、料
金計算の部分が変更される。このように、料金設定カー
ド84を挿入するだけで、料金計算の変更を容易に行う
ことができる。If the system type code matches the one stored in the RAM 64, the charge calculation program and the charge calculation constants (the subtraction frequency of all kinds of Tsuba etc.) stored in the card 84 are written in the RAM 64 (step S). 71 ). If writing is completed, the card is discharged (Fig. 6, step S 11). After that, the calculation is performed by a new charge calculation program (for example, the frequency subtraction coefficient M of each device or the frequency subtraction coefficient N of each product is changed). That is, the charge calculation portion of the programs of FIGS. 4 and 5 is changed. In this way, the charge calculation can be easily changed only by inserting the charge setting card 84.
【0041】(他の実施例)なお、上記実施例では、カ
ードシステム管理装置に接続される使用時間対応機器を
3台としたが、1台、2台、4台以上等でもよい。ま
た、販売個数対応機器も、3台以上であっても良い。ま
た、上記実施例においては、使用時間対応機器に関し
て、度数元坂係数Mにより1サイクル時間Tmを変える
ようにしている。しかし、1サイクル時間Tmを一定と
し、1サイクル時間Tm経過時に減算する度数を変える
ようにしてもよい。さらに、上記実施例では、使用時間
対応機器の度数減算係数Mとして各機器の所定基準時間
当りの使用料金に比例した値を用いているが、各機器の
所定基準料金当りの使用可能時間に比例した値を用いて
もよい。また、上記実施例においては、使用時間対応機
器に関し、1サイクルタイム毎にカードの残度数を更新
するようにしている。しかし、カード排出時にカードの
残度数を更新するようにしてもよい。さらに、上記にお
いては、図1の機能をCPU52とそのプログラムによ
って構成したが、その一部または全部をハードウエアロ
ジックによって構成してもよい。また、本発明に係るカ
ードシステム管理装置は、病院の他に、老人ホーム、ホ
テル、ショートシテー施設、その他の短期滞在施設にも
利用できる。(Other Embodiments) In the above embodiment, the use time corresponding devices connected to the card system management device are three, but one, two, four or more may be used. Moreover, the number of devices corresponding to the number of units sold may be three or more. Further, in the above embodiment, the one cycle time Tm is changed by the frequency element slope coefficient M for the equipment corresponding to the usage time. However, the one cycle time Tm may be fixed and the frequency to be subtracted may be changed when the one cycle time Tm has elapsed. Further, in the above-mentioned embodiment, the value subtracting factor M of the device corresponding to the usage time is a value proportional to the usage charge per predetermined reference time of each device, but it is proportional to the usable time per predetermined reference charge of each device. You may use the value. Further, in the above-described embodiment, the remaining card number is updated for each cycle time regarding the usage time compatible device. However, the remaining card number may be updated when the card is ejected. Furthermore, in the above, the function of FIG. 1 is configured by the CPU 52 and its program, but a part or all thereof may be configured by hardware logic. Further, the card system management device according to the present invention can be used not only in hospitals but also in nursing homes, hotels, short-site facilities, and other short-term stay facilities.
【0042】[0042]
【発明り効果】本発明に係るカードシステム管理装置
は、上記の通りであるので、単一管理装置により複数の
使用時間対応機器および販売個数対応機器の双方を管理
して度数減算を行うこと、および入院患者や病院のスタ
ッフ等の院内管理を行うこと、禁止(制限)を必要とす
る人の管理を行うことができる。Since the card system management device according to the present invention is as described above, a single management device manages both a plurality of usage time compatible devices and sales quantity compatible devices to perform frequency subtraction. In addition, it is possible to perform in-hospital management of inpatients, hospital staff, etc., and manage those who require prohibition (restriction).
【図1】この発明の一実施例によるカードシステム管理
装置の全体構成を示す図である。FIG. 1 is a diagram showing an overall configuration of a card system management device according to an embodiment of the present invention.
【図2】カードシステム管理装置のハードウエア構成を
示す図である。FIG. 2 is a diagram showing a hardware configuration of a card system management device.
【図3】カードシステム管理装置の前面を示す外観図で
ある。FIG. 3 is an external view showing the front surface of the card system management device.
【図4】度数減算処理のプログラムのフローチャートで
ある。FIG. 4 is a flowchart of a program for frequency subtraction processing.
【図5】度数減算処理のプログラムのフローチャートで
ある。FIG. 5 is a flowchart of a frequency subtraction processing program.
【図6】RAMに記憶されているプログラムの全体フロ
ーチャートである。FIG. 6 is an overall flowchart of a program stored in a RAM.
【図7】動作プログラム設定処理のプログラムのフロー
チャートである。FIG. 7 is a flowchart of a program for an operation program setting process.
【図8】料金設定処理のプログラムのフローチャートで
ある。FIG. 8 is a flowchart of a fee setting process program.
【図9】ICカードおよびその記憶内容を示す図であ
る。FIG. 9 is a diagram showing an IC card and its stored contents.
【図10】スーパバイザカードおよびその記憶内容を示
す図である。FIG. 10 is a diagram showing a supervisor card and its stored contents.
【図11】料金設定カードおよびその記憶内容を示す図
である。FIG. 11 is a diagram showing a charge setting card and its stored contents.
【図12】合計度数減算係数Mを求めるためのテーブル
を示す図である。FIG. 12 is a diagram showing a table for obtaining a total frequency subtraction coefficient M.
【図13】販売要求信号の構成を示す図である。FIG. 13 is a diagram showing a structure of a sales request signal.
【図14】RAMに記憶されている、商品コードと度数
減算係数との関係を表すテーブルである。FIG. 14 is a table showing a relationship between a product code and a frequency subtraction coefficient, which is stored in a RAM.
【図15】従来のカードシステム管理装置を示す図であ
る。FIG. 15 is a diagram showing a conventional card system management device.
18 情報更新手段情報 19 情報入力手段 20 読出指令手段 21 禁止条項更新手段 22 書込指令手段 24 残度数記憶手段 26 機器動作検出手段 27 商品販売検出手段 28 第1の係数演算手段 29 第2の係数演算手段 30 残度数更新手段 32 計時手段 34a、34b、35n 使用時間対応機器 35a、35b、35n 販売個数対応機器 40、42、44 電源ライン 43、45 制御ライン 52 CPU 54、56、58 トランス 60 検出回路 62 バスライン 64 RAM 66 タイマ 68 表示回路 69 表示部 72 リード/ライト回路 73 カード挿入口 74 カード搬送部 75 取り出しボタン 80 ICカード 82 スーパバイザカード 84 料金設定カード 18 Information Update Means Information 19 Information Input Means 20 Read Command Means 21 Prohibited Clause Update Means 22 Write Command Means 24 Remaining Number Storage Means 26 Equipment Operation Detecting Means 27 Merchandise Sales Detecting Means 28 First Coefficient Calculating Means 29 Second Coefficients Calculating means 30 Remaining residual number updating means 32 Timekeeping means 34a, 34b, 35n Usage time compatible equipment 35a, 35b, 35n Sales quantity compatible equipment 40, 42, 44 Power supply line 43, 45 Control line 52 CPU 54, 56, 58 Transformer 60 Detection Circuit 62 Bus line 64 RAM 66 Timer 68 Display circuit 69 Display section 72 Read / write circuit 73 Card insertion slot 74 Card transport section 75 Ejection button 80 IC card 82 Supervisor card 84 Price setting card
Claims (1)
備えたICカードに記憶された残度数および情報ならび
に禁止条項を残度数記憶手段および情報記憶手段ならび
に禁止条項記憶手段に読み取ると共に、書込指令に従
い、残度数記憶手段および情報記憶手段ならびに禁止条
項記憶手段に記憶されている残度数および情報ならびに
禁止条項を上記ICカードに書き込むカード読取・書込
手段、 所定のタイミングで、カード読取・書込手段に読出指令
を出力する読出指令手段、 所定のタイミングで、カード読取・書込手段に書込指令
を出力する書込指令手段、 接続された使用時間対応機器の動作の有無を検出する機
器動作検出手段、 機器動作検出手段によって検出された各機器の動作の有
無と各機器ごとの度数減算係数とに基づいて合計度数減
算係数を算出する第1の係数演算手段、 計時動作を行う計時手段、 接続された販売個数対応機器の動作の有無を検出する商
品販売検出手段、 商品販売検出手段によって検出された商品販売の有無と
販売商品ごとの度数減算係数とに基づいて商品販売度数
減算係数を算出する第2係数演算手段、 使用時間対応機器に関しては合計度数減算係数および計
時手段の計時出力に基づき、また販売個数対応機器に関
しては商品販売度数減算係数に基づいて、残度数記憶手
段に記憶されている残度数を更新する残度数更新手段、 情報記憶手段に記憶されている情報を入力・更新する情
報更新手段、 禁止条項記憶手段に記憶されている情報を入力・更新す
る禁止条項更新手段、 を備えたことを特徴とするカードシステム管理装置。1. A residual number and information and an prohibited clause stored in an IC card having a storage capacity and a calculation function are read and written in the remaining number storage means, the information storage means and the prohibited clause storage means in accordance with a read command. Card reading / writing means for writing the remaining number and information stored in the remaining number storage means, the information storage means, and the prohibited clause storage means and the prohibited clause to the IC card according to the command, and the card reading / writing at a predetermined timing. Read command means for outputting a read command to the plug-in means, write command means for outputting a write command to the card reading / writing means at a predetermined timing, and a device for detecting the presence / absence of operation of a connected usage-time compatible device Motion detection means, the total degree based on the presence or absence of movement of each equipment detected by the equipment movement detection means and the frequency subtraction coefficient for each equipment First coefficient calculating means for calculating a subtraction coefficient, time measuring means for performing a time counting operation, product sale detecting means for detecting the presence / absence of operation of a connected sales quantity corresponding device, presence / absence of product sale detected by the product sale detecting means Second coefficient calculating means for calculating the product sales frequency subtraction coefficient based on the product and the frequency subtraction coefficient for each sold product, and for the usage time compatible device, based on the total frequency subtraction coefficient and the time output of the time measuring device, and the sales quantity compatible device Regarding, regarding the product sales frequency subtraction coefficient, the residual frequency update means for updating the residual frequency stored in the residual frequency storage means, the information updating means for inputting / updating the information stored in the information storage means, the prohibited clause A card system management device comprising: prohibited clause updating means for inputting / updating information stored in a storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6931396A JPH09237377A (en) | 1996-02-29 | 1996-02-29 | Card system management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6931396A JPH09237377A (en) | 1996-02-29 | 1996-02-29 | Card system management device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09237377A true JPH09237377A (en) | 1997-09-09 |
Family
ID=13398955
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6931396A Pending JPH09237377A (en) | 1996-02-29 | 1996-02-29 | Card system management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09237377A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004038433A (en) * | 2002-07-02 | 2004-02-05 | Dainippon Printing Co Ltd | Non-contact IC tag and resident management system in facility using the same |
-
1996
- 1996-02-29 JP JP6931396A patent/JPH09237377A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004038433A (en) * | 2002-07-02 | 2004-02-05 | Dainippon Printing Co Ltd | Non-contact IC tag and resident management system in facility using the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4272757A (en) | Vending machine accountability system | |
| US8386347B2 (en) | System and method for tracking the return of loaned or rented items | |
| US6754559B2 (en) | Automatic vending machine and sales method thereof | |
| US7651026B2 (en) | Article information display system and electronic shelf label | |
| JPH0277897A (en) | Unmanned type sale and loaning machine | |
| US20230297989A1 (en) | Fraud behavior recognition device, control program thereof, and fraud behavior recognition method | |
| EP2426654A1 (en) | Commodity delivery apparatus, commodity delivery system and commodity delivery method | |
| EP3640866B1 (en) | Commodity data processing system | |
| KR20010039927A (en) | Automatic vending machine | |
| JP3041765B2 (en) | Postpaid card system management device | |
| JP4224342B2 (en) | Payment method and apparatus using non-contact IC card | |
| JPH09237376A (en) | Card system management device | |
| JPH09237324A (en) | Card system management device | |
| JP2012113416A (en) | Device charging system | |
| JP4850312B1 (en) | Billing system | |
| JP3521350B2 (en) | Card locks and card holders | |
| JP2000207613A (en) | Card payment system | |
| JP4668353B1 (en) | Billing system | |
| JP2005346134A (en) | Storage medium settlement apparatus, storage medium settlement method, point grant apparatus, point grant method, settlement apparatus, settlement method, storage medium settlement system apparatus, storage medium settlement system, point grant system, and settlement system | |
| JP4781476B2 (en) | Device billing system | |
| JPH046609B2 (en) | ||
| JP3713338B2 (en) | Vending machine system using non-contact data carrier | |
| JPH0460789A (en) | Card system management device | |
| KR100777909B1 (en) | Card payment system of lodging vending machine and its control method | |
| JPH0444991B2 (en) |