JP3711421B2 - Transaction management device - Google Patents
Transaction management device Download PDFInfo
- Publication number
- JP3711421B2 JP3711421B2 JP11304396A JP11304396A JP3711421B2 JP 3711421 B2 JP3711421 B2 JP 3711421B2 JP 11304396 A JP11304396 A JP 11304396A JP 11304396 A JP11304396 A JP 11304396A JP 3711421 B2 JP3711421 B2 JP 3711421B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- data
- maintenance
- negative
- base
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、クレジットカード等から読み出された固有の識別データと予め設定されているネガティブデータとを照合することによりネガティブチェックを行い、このチェック結果にしたがって当該カードを使用しての取引を許可するか否かを決定する取引管理装置に関する。
【0002】
【従来の技術】
従来、タクシーカードシステムにおいては、ネガティブデータが用意されており、タクシー料金の支払い時にクレジットカードやポストペイカード等が提示された場合、カードリーダによってカード固有の識別番号を読み取り、この識別番号とネガティブデータとを照合することによって不良顧客かをチェックし、カードを使用しての料金支払を許可するかを決定するようにしていた。
【0003】
【発明が解決しようとする課題】
ところで、車載端末装置側に持たせてあるネガティブデータは例えば1,000〜2,000カード分程度と少なく、したがってネガティブチェックもその範囲に限られてしまう。これは、後でネガティブデータが追加されたり、削除される毎にネガティブデータを予め決められた順序(例えば、50音順)にソートしておくことにより、ネガティブチェック時の検索を効率良く行う必要があるが、ネガティブデータが大量であると、その都度、ソートに多大な時間がかかってしまうため、従来においては1,000〜2,000カード分程度のネガティブデータをベースにネガティブチェックを行うしかなく、信頼性に欠けるという問題があった。
この発明の課題は、ネガティブデータが追加/削除される毎にベースファイルの内容を再編集しておかなくても、ネガティブチェックを効率良く実行できるようにすることである。
【0004】
【課題を解決するための手段】
この発明の手段は次の通りである。
携帯用記憶媒体から読み取られた固有の識別データと、取引を禁止する固有の識別データが予め設定されているネガティブデータとを照合することにより、当該記憶媒体を使用しての取引を許可するか否かを決定するネガティブチェックを行う端末装置とメイン装置とからなる取引管理装置において、
前記メイン装置は、予め決められた順序にしたがって編集されて成るネガティブデータをベースファイルとして記憶すると共に、このベースファイルに対して削除される削除レコードを変動分のネガティブデータとしてテンポラリファイルに記憶するファイル記憶手段と
変動分のネガティブデータが外部供給される毎に、そのネガティブデータがベースファイル内に存在していれば、前記ベースファイルに対して削除する削除レコードとして前記テンポラリファイルに記憶させる更新手段と、
前記端末装置は、前記メイン装置によって更新されたテンポラリファイルのネガティブデータを用いてネガティブチェックを行う際に、ベースファイルに先立ってテンポラリファイルをアクセスし、その結果、テンポラリファイルに該当データが有り、そのデータが削除レコードであれば取引を許可し、削除レコードでなければ取引を禁止する取引制御手段とを具備する。
したがって、ネガティブデータが更新される毎にベースファイルの内容を再編集しておかなくても、ネガティブチェックを効率良く実行できると共に、ネガティブデータ更新の信頼性を高めることができる。
【0005】
【発明の実施の形態】
以下、図1〜図15を参照してこの発明の一実施形態を説明する。
図1はタクシーカードシステムを示したブロック構成図である。
センタ装置1はプリペイドカード、ポスペイカード等を発行管理するカード会社において設置されているホストコンピュータであり、このセンタ装置1には通信回線(公衆電話回線)4を介して各タクシー会社に設置されているメイン装置(データ収集機)2がそれぞれ接続されている。センタ装置1は不良顧客等をリストアップした大量(例えば65,000件)のネガティブデータをベースファイルとして作成すると共に、このベースファイルに対して追加/削除される変動分のネガティブデータをテンポラリファイルとして作成し、各タクシー会社に送付する。ここで、テンポラリファイルの内容(追加、削除用のネガティブデータ)に基づいてベースファイルの内容を再編集するようにしているが、再編集されるまでの間、テンポラリファイルは変動分のネガティブデータを記憶保持する。このようにテンポラリファイルはベースファイルの内容を再編集(メンテナンス)するために用いられるファイルであり、テンポラリファイルを以下、メンテナンスファイルと称する。フロッピーディスク5は作成されたベースファイル等をタクシー会社に配達するための伝送媒体で、これに限らず、伝送媒体としては光ディスク、ハードディスク等であってもよい。
【0006】
図2はフロッピーディスク5のデータフォーマットを示し、フロッピーディスク5にはベースファイルおよびメンテナンスファイルが格納されている。ベースファイルはレコード数が65,000件程度の大容量ファイルで、ポストペイカード、メンバーズカード……に対応する各種のネガティブデータによって構成されている。ネガティブデータは不良顧客等に対してカード使用の禁止を定義するもので、カード種類データとカード固有の識別番号とから成り、また予め決められたキー項目の内容にしたがって昇順にソートされている。メンテナンスファイルはレコード数が10,000件程度の小容量ファイルで、ポジティブデータ用のメンテナンスファイルとネガティブデータ用のメンテナンスファイルとに区分されている。ポジティブデータのメンテナンスファイルは顧客コード(タクシー会社側の収集機端末No)と、そのタクシー会社で使用可能なカードの種類を示すデータとを顧客毎に対応付けた構成となっている。つまり、ポジティブデータはタクシー会社毎にどのような種類のカードが使用可能かを示すデータである。
ネガティブデータ用のメンテナンスファイルはベースファイルに対して追加/削除される変動分のネガティブデータである。このネガティブデータ用のメンテナンスファイルに削除対象として記憶されているカードについては、ベースファイルの内容にかかわらず、その使用禁止が解かれて使用可能となる。これは、例えば、メンバーズカードの場合にはタクシー会社と地元会社等のつながりでカードを発行していることが多いので、取引状態が良くなったら使用可能とするためである。また、ベースファイルに登録ミスにより間違ったデータを記憶させてソートまで完了した場合に削除データとして入力できるようにした。ここで、ベースファイルと共にネガティブデータ用のメンテナンスファイルを作成し、フロッピーディスク5に格納する理由はベースファイルを作成してその内容をソートしたのち、入力ミスや入力漏れ等に気付いたような場合、その時点でベースファイルを再編集せず入力ミスや入力漏れのネガティブデータをベースファイルに対する変動分のデータとするためである。また、更新日付はファイル作成(更新)された最新の日時を示す。なお、メンテナンスファイルの内容も予め決められた順にソートされている。
【0007】
一方、タクシー会社側のメイン装置2において、センタ装置1から配付されたフロッピーディスク5を装着すると、メイン装置2はその内容を取り込んでコピーするが、その際、自己の会社に必要なデータのみを抽出してコピーする。このようにして外部供給されたベースファイルやメンテナンスファイルがセットされている状態において、センタ装置1から通信回線を介して変動分のネガティブデータが送信されて来ると、メイン装置2はこれを受信してメンテナンスファイルの内容を更新データに更新する。また、メイン装置2はベースファイルや最新のメンテナンスファイルをメモリカード6に書き込む。このメモリカード6は2MB程度のメモリ容量を有するもので、例えば、ベースファイルとして65,000件のネガティブデータを記憶し、メンテナンスファイルとして10,000件のポジティブ/ネガティブデータを記憶可能となっている。
【0008】
車載端末装置3はメモリカード6が装着されている状態において、クレジットカード等から読み取られた固有の識別データとメモリカード6内のベースファイルやメンテナンスファイルの内容とを照合することによりネガティブチェックを行い、このチェック結果にしたがって当該カードを使用しての料金支払いを許可するか否かを決定する。この場合、メンテナンスファイルにはポジティブデータもセットされているので、客から提示されたカードはそのタクシー会社で取り扱い可能なカードであるか否かを調べるポジティブチェックも行われる。なお、乗務員は営業終了時にタクシー会社に戻り、メモリカード6をメイン装置2にセットすると、メイン装置2はメモリカード6内の取引データを集計すると共にメモリカード6内のメンテナンスファイルを最新データに書き替える。
【0009】
図3はセンタ装置1、図4はメイン装置2、図5は車載端末装置3の構成を示したブロック図である。
センタ装置1はCPU1−1を中核として入力部1−2、表示部1−3、印字部1−4、時計回路1−5、モデム1−6、RAM1−7、ハードディスク1−8、FDドライバ1−9等を有する構成で、ハードディスク1−8は収集データ、メンテナンスファイル、ベースファイル、メンテナンス履歴ファイルを記憶する。ここで、収集データは各タクシー会社から通信回線4を介して送信されて来た取引データ等をタクシー会社別に収集することによって得られた集計ファイルである。メンテナンスファイルやベースファイルは入力作成された最新データで、このメンテナンスファイルやベースファイルを各タクシー会社に配達するためにその内容をフロッピーディスク5に書き込む際、CPU1−1は時計回路1−5で得られた現在の日時データをメンテナンスファイルおよびベースファイルに付加する。また、通信回線を介してメンテナンスファイルを各タクシー会社に逐次送信する際にもこのメンテナンスファイルには現在の日時データが付加される。メンテナンス履歴ファイルは各タクシー会社にフロッピーディスク5あるいは通信回線を介して送ったメンテナンスファイルを日時データと共に記憶保持するためのファイルで、どのようなメンテナンスファイルを何時送ったかを調べる際に参照される。
【0010】
メイン装置2はセンタ装置1と略同様の構成となっており、CPU2−1を中核として入力部2−2、表示部2−3、印字部2−4、モデム2−5、FDドライバ2−6、RAM2−7、ハードディスク2−8、カードリーダ/ライタ2−9等を有している。ここで、ハードディスク2−8は図6に示すようにメンテナンスファイル、ベースファイル、メンテナンス履歴ファイルの他、取引データを記憶する。メンテナンスファイル、ベースファイルは最新データで、フロッピーディスク5からメンテナンスファイル、ベースファイルが外部供給される毎に最新データに書き替えられる他、メンテナンスファイルは更に通信回線を介して外部供給される毎に最新データに書き替えられる。この場合、メンテナンスファイルを最新データに更新する際、メンテナンス履歴ファイルの内容を参照することによって最新データか否かを判断するようにしている。つまり、メンテナンス履歴ファイルはフロッピーディスク5あるいは通信回線を介して送られて来たメンテナンスファイルを順次記憶するもので、各メンテナンスファイルに付加されている日時データを比較することにより最新データか否かを判断するようにしている。なお、取引データは各車載端末装置3からメモリカード6を介して収集した営業記録データである。図7はメモリカード6の内容を示し、最新のメンテナンスファイル、ベースファイルがメモリカード6にコピーされる。
【0011】
車載端末装置3はCPU3−1を中核として入力部3−2、表示部3−3、印字部3−4、クレジットカードリーダ/ライタ3−5、メモリカードリーダ/ライタ3−6、プリペイド/ポスペイカードリーダ/ライタ3−7、タクシーメータ3−8、タクシーメータインターフェース3−9、内部メモリ3−10を有する構成となっている。メモリカード6は乗務交替時に各乗務員に配付されるもので、このメモリカード6を車載端末装置3に装着した状態において営業を開始する。ここで、カードによる料金支払い時において、カードの種類に応じてカードをクレジットカードリーダ/ライタ3−5、プリペイド/ポスペイカードリーダ/ライタ3−7に投入すると、CPU3−1はメモリカード6の内容を参照することによってポジティブチェックやネガティブチェックを行う。
【0012】
次に、センタ装置1、メイン装置2、車載端末装置3の動作を図8〜図13に示すフローチャートにしたがって説明する。いま、センタ装置1側においてキー入力によって作成されたベースファイルやメンテナンスファイルはフロッピーディスク5にそのままコピーされて各タクシー会社に郵送等によってそれぞれ配達される。タクシー会社においてフロッピーディスク5をメイン装置2に装着すると、図8に示したフローチャートにしたがってフロッピーディスク5の内容を取り込む動作が実行される。
【0013】
先ず、CPU2−1はフロッピーディスク5からメンテナンスファイルを読み出し、それに付加されている日時データとハードディスク2−8内の各メンテナンス履歴ファイルに付加されている日時データとを比較することによりフロッピーディスク5内のメンテナンスファイルは最新データかをチェックする(ステップA1)。ここで、最新データであればフロッピーディスク5内のメンテナンスファイルをメンテナンス履歴ファイルとしてハードディスク2−8に保存しておく(ステップA2)。そして、このメンテナンスファイルを構成するポジティブデータのうち端末Noと一致するカード種類のポジティブデータを抽出する(ステップA3)。つまり、フロッピーディスク5には図2に示すように収集機端末No毎(タクシー会社毎)に取り扱い可能なカードの種類がポジティブデータとして設定されており、その中から自己に対応するポジティブデータを抽出する。そして、フロッピーディスク5内のメンテナンスファイルを構成するネガティブデータのうち、上記抽出したポジティブデータ(カード種類)に対応するネガティブデータを抽出する(ステップA4)。このようにしてフロッピーディスク5から抽出したポジティブデータ、ネガティブデータをハードディスク2−8にメンテナンスファイルとしてコピーする(ステップA5)。したがって、ハードディスク2−8内のメンテナンスファイルは最新データに更新される。なお、フロッピーディスク5内のメンテナンスファイルが最新データでなければ、ハードディスク2−8内のメンテナンスファイルは更新されず、従前のデータのままとなる。
【0014】
次に、CPU2−1はフロッピーディスク5内のベースファイルをアクセスし、それに付加されている日時データとハードディスク2−8内のベースファイルに付加されている日時データとを比較し、フロッピーディスク5内のベースファイルは最新データかをチェックする(ステップA6)。ここで、最新データであれば、上述のステップA4で抽出したポジティブデータ(カード種類)に対応するネガティブデータだけをフロッピーディスク5のベースファイルから抽出すると共に(ステップA7)、このネガティブデータをハードディスク2−8内にベースファイルとしてコピーする(ステップA8)。したがって、ハードディスク2−8内のベースファイルは最新データに更新されるが、フロッピーディスク5内のベースファイルが最新データでなければ、ハードディスク2−8内のベースファイルは更新されず、従前のデータのままとなる。
このようにして自社に関連する最新のメンテナンスファイルとベースファイルがハードディスク2−8にセットされている状態において、メモリカード6が装着されると、ハードディスク2−8内のメンテナンスファイルとベースファイルがそのままメモリカード6にコピーされる。すなわち、メイン装置2はメモリカード6がセットされると、メモリカード6から取引データを読み取って収集すると共に、メモリカード6内のメンテナンスファイルとベースファイルがハードディスク2−8の内容よりも古ければ、ハードディスク2−8内のメンテナンスファイルとベースファイルをそのままハードディスク2−8にコピーする。図14(A)はフロッピーディスク5が初期投入された際に作成されるメモリカード6を示し、メモリカード6内のメンテナンスファイル、ベースファイルは初期投入時におけるフロッピーディスク5の内容となる。
【0015】
図9はベースファイルに対して追加/削除される変動分のネガティブデータをメンテナンスファイルとしてセンタ装置1からメイン装置2に送信する際の動作を示し、(A)はセンタ装置1側での送信動作、(B)はメイン装置2側での受信動作を示したフローチャートである。
先ず、センタ装置1側において、変動分のメンテナンスファイルがキー入力によって作成されていれば(ステップB1)、このメンテナンスファイルに現在の日時データを付加したのち(ステップB2)、全てのタクシー会社に対応してこのメンテナンスファイルを送信する(ステップB3)。そして、送信済のメンテナンスファイルをメンテナンス履歴ファイルとして保存しておくと共に(ステップB3)ハードディスク1−8内の当該メンテナンスファイルを削除する(ステップB4)。
一方、メイン装置2側において、ハードディスク2−8内にベースファイルと共にメンテナンスファイルがセットされているか、つまりフロッピーディスク5の初期投入前かをチェックするが(ステップC1)、いま、セットされていれば、メンテナンスファイルから通信回線を介して送信されて来たメンテナンスファイルに基づいてハードディスク2−8内のメンテナンスファイルを更新する処理が行われる(ステップC2)。
【0016】
図10はこのメンテナンスファイル更新処理を示したフローチャートである。先ず、CPU2−1は受信したメンテナンスファイルの先頭から1レコード分のデータを読み出し(ステップD1)、追加レコードか(ステップD2)、削除レコードかをチェックする(ステップD3)。ここで、受信レコードが追加レコードであればハードディスク2−8のメンテナンスファイルにそのレコードを書き加える(ステップD4)。そして、受信ファイルから全レコードを読み出したかをチェックし(ステップD9)、読み出し終了が検出されるまでステップD1に戻る。これによって次のレコードが読み出されるが、それが削除レコードであれば、ハードディスク2−8内のメンテナンスファイルに同一レコード(同一カード番号)が既に存在するかをチェックする(ステップD7)。ここで、同一レコードが無ければメンテナンスへの書き込み処理が行われるが、同一レコードが有れば重複書き込みを禁止するためにメンテナンスへの書き込み処理はスキップされる。
一方、受信レコードが追加レコードでも削除レコードでもない場合、例えば、センタ装置1側で変動分のメンテナンスファイルを作成する際にキー入力ミスによって追加/削除を示す識別子を付加しなかった場合において、ハードディスク2−8内のベースファイル内に該当レコードが存在していれば(ステップD5)、受信レコードを削除レコードとみなし、このレコードをハードディスク2−8内のメンテナンスファイルに削除レコードとして書き込まれるが(ステップD6)、ベースファイル内に該当レコードが無ければ追加レコードとみなし、このレコードをハードディスク2−8内のメンテナンスファイルに追加レコードとして書き込まれる(ステップD8)。
【0017】
このようにしてメンテナンスファイルの更新処理が行われると、更新後のメンテナンスがハードディスク2−8にメンテナンス履歴ファイルとして保存される(図9のステップC3)。その際、このメンテナンスファイルには今回の更新日時が付加されるが、この日時データはセンタ装置1から通信されて来たメンテナンスファイルに付加されている日時データである。ここで、図14(B)はメンテナンスファイルが更新される様子を示したもので、センタ装置1から変動分のメンテナンスファイルが送信されて来ると、ハードディスク2−8内のメンテナンスファイルはこの変動分のデータにしたがって更新されると共に、更新後のメンテナンスファイルはメンテナンス履歴ファイルとして保存される。このようにしてメンテナンスファイルの更新が行われるため、メモリカード6への書き込みは図14(B)に示すように最新データとなる。
その後、センタ装置1側から新たなフロッピーディスク5が発行され、タクシー会社に配達されて来た場合に、その配達が大幅に遅れ、その間にセンタ装置1から次の変動分のメンテナンスファイルが送信されて来たものとする。図14(C)はこの場合の様子を示したもので、メイン装置2側においてハードディスク2−8内のメンテナンスファイルは既に最新データに書き替えられている。その後、フロッピーディスク5が致着し、その内容をコピーする際には図8のフローチャートにしたがった動作が実行される。この場合、メンテナンスファイルはフロッピーディスク5の内容よりもその前に送信されて来た変動分の方が新しいので、メンテナンスファイルの更新は行われず、ベースファイルのみが更新される。したがって、メモリカード6にコピーされるメンテナンスファイルも更新データとなる。
【0018】
このようなメモリカード6が車載端末装置3に装着されている状態において、車載端末装置3は図11に示すフローチャートにしたがって動作する。すなわち、入力待ち状態において(ステップE1)、キー入力が行われると(ステップE2)、キー入力にしたがった処理が実行される(ステップE3)。ここで、料金支払い時にクレジットカードリーダ/ライタ3−5あるいはプリペイド/ポスペイカードリーダ/ライタ3−7にカードが挿入されると、ステップE4でそのことが検出されてステップE5に進み、読み取られたカードデータをワークメモリに保持する。そして、メモリカード6内のメンテナンスファイルをアクセスし、ネガティブチェックを行う(ステップE6)。すなわち、使用したカードの種類がポジティブデータの中に無ければ、自社で取り扱わないカードであるため、そのカードを使用禁止とするためのエラー処理が行われるが(ステップE7)、自社で使用可能なカードであればネガティブチェックが行われる(ステップE8〜E10)。
【0019】
すなわち、読み取られたカードデータの中からそのカード固有の識別番号を抽出したのち先ず、これと同じ番号を持ったレコードがメンテナンスファイル内のネガティブデータに有るかをチェックする(ステップE8)。メンテナンスファイル内に有れば、削除レコードかを調べ(ステップE9)、削除レコードであれば、そのカードの使用を許可し、当該カードによる取引処理が行われる(ステップE11)。一方、削除レコードでなければ追加レコードとみなし、そのカードの使用を禁止するエラー処理が行われる(ステップE7)。他方、メンテナンスファイル内に該当レコードが無ければ、ベースファイルをアクセスし、その中に該当レコードが有るかをチェックする(ステップE10)。ここで、ベースファイルに有れば、そのカード使用を禁止するが(ステップE7)、無ければそのカードの使用を許可する(ステップE11)。
一方、ステップE4でカードデータ入力でないことが検出された場合、例えばメモリカード6の装着等が検出されると、それに応じた処理が行われる(ステップE12)。
なお、乗務終了時にそれまでの営業記録データが書き込まれているメモリカード6をメイン装置2に装着すると、メイン装置2はこれを集計処理し、取引データとしてハードディスク2−8に保存される。
【0020】
図12はメイン装置2からセンタ装置1へ取引データを通信する際の動作を示したフローチャートである。
先ず、CPU2−1は自己の端末Noをセンタ装置1に送信すると共に(ステップF1)、ハードディスク2−8内の取引データを送信する(ステップF2)。次に、ハードディスク2−8内のメンテナンスファイルをアクセスしてそのレコード数を計数し、メンテナンスファイルの使用量を求め、これをセンタ装置1に送信すると共に(ステップF3)、メンテナンスファイルおよびベースファイルが付加されている最新の更新日時を読み出してセンタ装置1に送信する(ステップF4)、その後、取引データを営業記録として印字出力すると共にそれをクリアする(ステップF5)。
【0021】
図13はセンタ装置1側において、メイン装置2から送信されて来るデータを受信した際に実行開始されるフローチャートである。
先ず、センタ装置1はメイン装置2から送信されて来た端末Noを受信すると、この端末Noに応じたハードディスク1−8内のメモリ領域を指定すると共に(ステップG1)、受信した更新日時および取引データを指定メモリ領域に書き込む(ステップG2、G3)。図15はこの場合におけるハードディスク1−8の内容を示している。また、受信した使用レコード数が所定レコード数に達しているかをチェックする(ステップG4)。つまり、メンテナンスファイルの容量は最大10,000件程度に制限されているため、その使用レコード数が10,000件(フル状態)に近づいたかを検出するもので、フル状態に近くなると、CPU1−1はメンテナンスファイルのネガティブデータに基づいてベースファイルを更新する(ステップG5)。この場合、メンテナンスファイルのネガティブデータには追加レコード、削除レコードが含まれており、ベースファイルに追加レコードを書き加えると共に、ベースファイルから削除レコードを取り除き、ベースファイルの内容をキー項目内容にしたがって昇順にソートする。このようにしてベースファイルの内容を再編集すると、メンテナンスファイルをクリアすると共に(ステップG6)、ベースファイルをフロッピーディスク5にコピーすると共に入力作成された最新のメンテナンスファイルをフロッピーディスク5にコピーする(ステップG7)。このようにメンテナンスファイルに基づいてベースファイルの内容が再編集されるが、その編集をセンタ装置1側で行うようにしている。これはメイン装置2側で行うと、タクシー会社側に負担をかけることになり、また、カード会社で管理すべきものであり、データの信頼性、安全性を図る上にもセンタ装置1側で行うようにしている。
【0022】
以上のように大量のネガティブデータ(例えば65,000件)をベースファイルとして用意しておくことにより信頼性の高いネガティブチェックが可能となる。この場合、後でネガティブデータが追加されたり、削除されたとしても、これを保持するメンテナンスファイルを設け、ネガティブチェック時にベースファイルに先立ってメンテナンスファイルを参照するようにしたので、ネガティブデータが追加/削除される毎にベースファイルを再編集する必要はなく、メンテナンスファイルがフル状態に近づいたときに、メンテナンスファイルの内容に基づいてベースファイルを再編集すればよい。つまり、ネガティブデータが追加/削除される毎に大容量のベースファイルの内容を再編集しておかなくても、ベースファイルに対して追加/削除されるネガティブデータはメンテナンスファイルに保持され、ネガティブチェック時にベースファイルに先立って小容量のメンテナンスファイルを参照するようにしたので、ネガティブチェックの検索時間を大幅に短縮することができ、チェックを効率良く行うことが可能となる。
【0023】
また、メンテナンスファイルを常に最新データに更新すると共に、メンテナンスファイルが限界近くになった際に、ベースファイルの内容をメンテナンスファイルの内容に基づいて再編集し、新たなベースファイルを作成するようにしたから、データの記入漏れを防止することができ、確実なネガティブチェックが可能となる。特に、タクシー会社へ配達されるフロッピーディスク5が大幅に遅れ、その間に通信回線を介して変動分のメンテナンスファイルが送信されて来た場合でもメンテナンスファイルは後に到着したフロッピーディスク5の内容ではなく、先に到着した変動分のメンテナンスファイルに更新されるので、メンテナンスファイルは到着順にかかわらず、メンテナンスファイルの発行順にしたがって更新されることになる。
【0024】
なお、上述した一実施形態においては、メンテナンスファイルにポジティブデータを含めるようにしたが、これをベースファイル等に含めるようにしてもよい。
また、記憶媒体としてフロッピーディスク5、メモリカード6を例に挙げたが、光ディスク、ROMカートリッジ等であってもよい。更に、ベースファイルのメンテナンスファイルの容量は上述した場合に限らないが、少なくともベースファイルはメンテナンスファイルよりも大容量ファイルであることを条件とする。また、タクシーカードシステムに限らず、その他のデータ処理システムに適用してもよく、勿論、スタンドアロンタイプのデータ処理装置に適用してもよい。
【0025】
【発明の効果】
この発明によれば、小容量のテンポラリファイルを設け、ネガティブチェックを行う際に、大容量のベースファイルに先立ってテンポラリファイルによりネガティブチェックを行うため、ネガティブデータが更新される毎にベースファイルの内容を再編集しておかなくても、ネガティブチェックを効率良く実行することができるので、予め大量のネガティブデータをベースファイルとして用意することが可能となり、しかも、テンポラリファイルに対して削除をすることの指定を忘れたようなネガティブデータの入力がなされた場合にあっても信頼性の高い更新を行うことができる。
【図面の簡単な説明】
【図1】タクシーカードシステムを示したシスム構成図。
【図2】センタ装置1側で発行されたフロッピーディスク5内のベースファイルおよびメンテナンスファイルを示した図。
【図3】センタ装置1のブロック構成図。
【図4】メイン装置2のブロック構成図。
【図5】車載端末装置3のブロック構成図。
【図6】メイン装置2側のハードディスク2−8の内容を示した図。
【図7】メモリカード6の内容を示した図。
【図8】フロッピーディスク5が装着されたときのメイン装置2の動作を示したフローチャート。
【図9】(A)はセンタ装置1から通信回線を介してメンテナンスファイルを送信する際の動作を示したフローチャート、(B)はメンテナンスファイルを受信した際におけるメイン装置2の動作を示したフローチャート。
【図10】図9(B)のステップC2(メンテナンスファイルの更新処理)を示したフローチャート。
【図11】車載端末装置3の動作を示したフローチャート。
【図12】メイン装置2から通信回線をデータを送信する際の動作を示したフローチャート。
【図13】メイン装置2から通信回線を介して送信されて来たデータを受信した際におけるセンタ装置1の動作を示したフローチャート。
【図14】センタ装置1によって発行されたベースファイル、メンテナンスファイルがメイン装置2、車載端末装置3に供給される様子を示した図。
【図15】メイン装置2側の収集データを示した図。
【符号の説明】
1 センタ装置
1−1、2−1、3−1 CPU
1−6 モデム
1−8、2−8 ハードディスク
2 メイン装置
2−5 モデム
3 車載端末装置
3−5 クレジットカードリーダ/ライタ
3−6 メモリカードリーダ/ライタ
3−7 プリペイド/ポスペイカードリーダ/ライタ
3−8 タクシーメータ
4 通信回線
5 フロッピーディスク
6 メモリカード[0001]
BACKGROUND OF THE INVENTION
The present invention performs a negative check by comparing unique identification data read from a credit card or the like with preset negative data, and permits transactions using the card according to the check result. The present invention relates to a transaction management apparatus that determines whether or not to do so.
[0002]
[Prior art]
Conventionally, taxi card systems have prepared negative data. When a credit card or post-pay card is presented at the time of taxi fare payment, the card-specific identification number is read by a card reader, and this identification number and negative data are read. To check whether the customer is a bad customer or not, and decide whether to allow payment using a card.
[0003]
[Problems to be solved by the invention]
By the way, the negative data given to the in-vehicle terminal device side is as small as, for example, about 1,000 to 2,000 cards, and therefore the negative check is limited to that range. This is because it is necessary to efficiently perform a search at the time of negative check by sorting negative data in a predetermined order (for example, in the order of 50 notes) every time negative data is added or deleted later. However, if there is a large amount of negative data, each time it takes a lot of time to sort, so in the past, only negative checking based on about 1,000 to 2,000 cards of negative data is required. There was a problem of lack of reliability.
An object of the present invention is to enable a negative check to be efficiently executed without re-editing the contents of a base file every time negative data is added / deleted.
[0004]
[Means for Solving the Problems]
Means of the present invention are as follows.
Whether the transaction using the storage medium is permitted by comparing the unique identification data read from the portable storage medium with the negative data in which the unique identification data prohibiting the transaction is preset. In a transaction management device consisting of a terminal device and a main device that performs a negative check to determine whether or not,
The main device stores negative data edited in a predetermined order as a base file, and also stores a deletion record to be deleted from the base file in a temporary file as fluctuation negative data Storage means
Every time negative data for fluctuation is supplied externally, if the negative data exists in the base file, update means for storing in the temporary file as a deletion record to be deleted from the base file;
When the terminal device performs a negative check using the negative data of the temporary file updated by the main device, the terminal device accesses the temporary file prior to the base file, and as a result, the temporary file has the corresponding data. A transaction controller that allows transactions if the data is a deleted record and prohibits transactions if the data is not a deleted record Steps It comprises.
Therefore, even if the contents of the base file are not re-edited each time the negative data is updated, the negative check can be performed efficiently and the reliability of the negative data update can be improved.
[0005]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a block diagram showing a taxi card system.
The
[0006]
FIG. 2 shows the data format of the
The maintenance file for negative data is negative data corresponding to fluctuations added / deleted to / from the base file. The card stored as a deletion target in the negative data maintenance file can be used after its prohibition is lifted regardless of the contents of the base file. This is because, for example, in the case of a member's card, since a card is often issued by a connection between a taxi company and a local company, it can be used when the transaction state is improved. In addition, when incorrect data is stored in the base file due to registration error and sorting is completed, it can be input as deleted data. Here, the reason for creating a maintenance file for negative data together with the base file and storing it in the
[0007]
On the other hand, in the
[0008]
The in-
[0009]
3 is a block diagram showing the configuration of the
The
[0010]
The
[0011]
The in-
[0012]
Next, operations of the
[0013]
First, the CPU 2-1 reads out the maintenance file from the
[0014]
Next, the CPU 2-1 accesses the base file in the
In this manner, when the latest maintenance file and base file related to the company are set in the hard disk 2-8, when the
[0015]
FIG. 9 shows an operation when negative data corresponding to fluctuations added / deleted to / from the base file is transmitted as a maintenance file from the
First, if a maintenance file for fluctuation has been created by key input on the
On the other hand, on the
[0016]
FIG. 10 is a flowchart showing the maintenance file update process. First, the CPU 2-1 reads data for one record from the head of the received maintenance file (step D1), and checks whether it is an added record (step D2) or a deleted record (step D3). If the received record is an additional record, the record is added to the maintenance file on the hard disk 2-8 (step D4). Then, it is checked whether all records have been read from the received file (step D9), and the process returns to step D1 until completion of reading is detected. As a result, the next record is read. If it is a deletion record, it is checked whether the same record (same card number) already exists in the maintenance file in the hard disk 2-8 (step D7). Here, if there is no identical record, a writing process to maintenance is performed. If there is an identical record, the writing process to maintenance is skipped in order to prohibit duplicate writing.
On the other hand, when the received record is neither an added record nor a deleted record, for example, when an identifier indicating addition / deletion is not added due to a key input error when creating a maintenance file for fluctuation on the
[0017]
When the update process of the maintenance file is performed in this way, the updated maintenance is stored as a maintenance history file in the hard disk 2-8 (step C3 in FIG. 9). At this time, the current update date and time is added to the maintenance file. This date and time data is the date and time data added to the maintenance file communicated from the
Thereafter, when a new
[0018]
In a state where such a
[0019]
That is, after an identification number unique to the card is extracted from the read card data, it is first checked whether or not a record having the same number exists in the negative data in the maintenance file (step E8). If it is in the maintenance file, it is checked whether it is a deletion record (step E9). On the other hand, if it is not a deletion record, it is regarded as an additional record, and error processing for prohibiting the use of the card is performed (step E7). On the other hand, if there is no corresponding record in the maintenance file, the base file is accessed and it is checked whether or not there is a corresponding record (step E10). Here, if it is in the base file, use of the card is prohibited (step E7), but if not, use of the card is permitted (step E11).
On the other hand, when it is detected in step E4 that the card data is not input, for example, when the installation of the
When the
[0020]
FIG. 12 is a flowchart showing an operation when communicating transaction data from the
First, the CPU 2-1 transmits its own terminal No to the center apparatus 1 (step F1) and also transmits transaction data in the hard disk 2-8 (step F2). Next, the maintenance file in the hard disk 2-8 is accessed, the number of records is counted, the usage amount of the maintenance file is obtained, and this is transmitted to the center apparatus 1 (step F3). The latest update date and time added is read and transmitted to the center apparatus 1 (step F4), and then the transaction data is printed out as a business record and cleared (step F5).
[0021]
FIG. 13 is a flowchart that is started when the
First, when the
[0022]
As described above, by preparing a large amount of negative data (for example, 65,000) as a base file, a highly reliable negative check can be performed. In this case, even if negative data is added or deleted later, a maintenance file that holds this data is provided and the maintenance file is referenced prior to the base file at the time of the negative check. There is no need to re-edit the base file every time it is deleted, and the base file may be re-edited based on the contents of the maintenance file when the maintenance file approaches the full state. In other words, every time negative data is added / deleted, even if the contents of the large base file are not re-edited, the negative data added / deleted to / from the base file is retained in the maintenance file and negative check is performed. Since a small-capacity maintenance file is sometimes referred to prior to the base file, the negative check search time can be greatly reduced, and the check can be performed efficiently.
[0023]
In addition, the maintenance file is constantly updated to the latest data, and when the maintenance file is near the limit, the contents of the base file are re-edited based on the contents of the maintenance file, and a new base file is created. Therefore, omission of data entry can be prevented, and a reliable negative check can be performed. In particular, even if the
[0024]
In the above-described embodiment, positive data is included in the maintenance file, but it may be included in the base file or the like.
Moreover, although the
[0025]
【The invention's effect】
According to the present invention, when a small capacity temporary file is provided and a negative check is performed, the negative check is performed using the temporary file prior to the large capacity base file. Therefore, the contents of the base file are updated each time negative data is updated. Can be executed efficiently without re-editing the file, so it is possible to prepare a large amount of negative data as a base file in advance, and to delete temporary files. Even when negative data that has been forgotten to be specified is input, reliable updating can be performed.
[Brief description of the drawings]
FIG. 1 is a system configuration diagram showing a taxi card system.
FIG. 2 is a diagram showing a base file and a maintenance file in the
FIG. 3 is a block configuration diagram of the
4 is a block configuration diagram of the
FIG. 5 is a block configuration diagram of the in-
FIG. 6 is a view showing the contents of a hard disk 2-8 on the
7 is a view showing the contents of a
FIG. 8 is a flowchart showing the operation of the
9A is a flowchart showing an operation when a maintenance file is transmitted from the
FIG. 10 is a flowchart showing step C2 (maintenance file update processing) in FIG. 9B;
FIG. 11 is a flowchart showing the operation of the in-
FIG. 12 is a flowchart showing an operation when data is transmitted from the
FIG. 13 is a flowchart showing the operation of the
14 is a diagram showing a state in which a base file and a maintenance file issued by the
FIG. 15 is a diagram showing collected data on the
[Explanation of symbols]
1 Center device
1-1, 2-1, 3-1 CPU
1-6 Modem
1-8, 2-8 hard disk
2 Main device
2-5 Modem
3 In-vehicle terminal equipment
3-5 Credit card reader / writer
3-6 Memory card reader / writer
3-7 Prepaid / Postpay Card Reader / Writer
3-8 Taximeter
4 communication lines
5 Floppy disk
6 Memory card
Claims (3)
前記メイン装置は、予め決められた順序にしたがって編集されて成るネガティブデータをベースファイルとして記憶すると共に、このベースファイルに対して削除される削除レコードを変動分のネガティブデータとしてテンポラリファイルに記憶するファイル記憶手段と
変動分のネガティブデータが外部供給される毎に、そのネガティブデータがベースファイル内に存在していれば、前記ベースファイルに対して削除する削除レコードとして前記テンポラリファイルに記憶させる更新手段と、
前記端末装置は、前記メイン装置によって更新されたテンポラリファイルのネガティブデータを用いてネガティブチェックを行う際に、ベースファイルに先立ってテンポラリファイルをアクセスし、その結果、テンポラリファイルに該当データが有り、そのデータが削除レコードであれば取引を許可し、削除レコードでなければ取引を禁止する取引制御手段を具備するようにしたことを特徴とする取引管理装置。Whether the transaction using the storage medium is permitted by comparing the unique identification data read from the portable storage medium with the negative data in which the unique identification data prohibiting the transaction is preset. In a transaction management device consisting of a terminal device and a main device that performs a negative check to determine whether or not,
The main device stores negative data edited in a predetermined order as a base file, and also stores a deletion record to be deleted from the base file in a temporary file as fluctuation negative data A storage means and an update means for storing in the temporary file as a deletion record to be deleted from the base file, if the negative data exists in the base file every time negative data for fluctuation is externally supplied ,
When the terminal device performs a negative check using the negative data of the temporary file updated by the main device, the terminal device accesses the temporary file prior to the base file. A transaction management device comprising transaction control means for permitting a transaction if the data is a deletion record and prohibiting the transaction if the data is not a deletion record.
前記センタ装置は、前記テンポラリファイル内のデータ量を検出する検出手段と、
この検出手段によってテンポラリファイル内のデータ量が所定量を越えたことが検出された場合に、このテンポラリファイルの内容に基づいて前記ベースファイルの内容を再編集すると共にテンポラリファイルを消去する編集手段と、
を具備したことを特徴とする請求項(1)記載の取引管理装置。Further, a transaction management device in which a center device is connected to the main device,
The center device includes detection means for detecting a data amount in the temporary file;
Editing means for re-editing the contents of the base file and erasing the temporary file based on the contents of the temporary file when the detecting means detects that the amount of data in the temporary file exceeds a predetermined amount; ,
The transaction management device according to claim 1, further comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11304396A JP3711421B2 (en) | 1996-04-11 | 1996-04-11 | Transaction management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11304396A JP3711421B2 (en) | 1996-04-11 | 1996-04-11 | Transaction management device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09282382A JPH09282382A (en) | 1997-10-31 |
| JP3711421B2 true JP3711421B2 (en) | 2005-11-02 |
Family
ID=14602048
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11304396A Expired - Fee Related JP3711421B2 (en) | 1996-04-11 | 1996-04-11 | Transaction management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3711421B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003023672A1 (en) * | 2001-09-10 | 2003-03-20 | Sagawa Express Co., Ltd. | Portable card reader and card settlement system |
| JP2005234642A (en) * | 2004-02-17 | 2005-09-02 | Jr East Japan Information Systems Co | Negative data distribution system |
-
1996
- 1996-04-11 JP JP11304396A patent/JP3711421B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09282382A (en) | 1997-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6488204B1 (en) | Payment management method and system using an IC card | |
| JP3711421B2 (en) | Transaction management device | |
| CA2480251A1 (en) | Method and device for recharging a credit to chip cards | |
| JP2001236529A (en) | Card information processing method | |
| US20020065771A1 (en) | System and method for merchant provided pre-printed checks | |
| JP2002219263A (en) | System checking storage medium for game facility | |
| JP2001134718A (en) | Toll collection system, vehicle-mounted device, IC card writing determination method, and recovery method when IC card writing is abnormal | |
| JP2017054385A (en) | Payment slip processing system and payment slip processing method | |
| JPH0944730A (en) | Automatic cash transaction equipment | |
| JP2924422B2 (en) | Automatic billing method | |
| JP2001155078A (en) | RECORDING MEDIUM MANAGEMENT METHOD, ITS APPARATUS, AND RECORDING MEDIUM RECORDING PROCESSING PROGRAM THEREOF | |
| JP3481640B2 (en) | Reader / writer device and prepaid card system | |
| JPH03186992A (en) | Recording medium reader | |
| JPH0793363A (en) | Data management system | |
| JP4192030B2 (en) | Card balance transfer device, card balance transfer system, toll collection system using IC card | |
| JP2569949B2 (en) | Card payment device | |
| JP2000268142A (en) | Card migration system | |
| JPH0636446A (en) | Prepaid card inspection device and inspection system | |
| JPS6034155B2 (en) | How to manage voting ticket serial numbers | |
| JPH05166013A (en) | Card data processing device | |
| JPH05266288A (en) | How to prevent illegal ticket refunds | |
| CN112967407A (en) | Register for automatic fare collection system, system with register and data processing method | |
| JP2000067132A (en) | Electronic cash IC card and replacement system using it | |
| JPH0520535A (en) | Vending machine network system | |
| JPH0268689A (en) | Fare adjusting device with card-type ticket |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050125 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050325 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050524 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050622 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050719 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050801 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080826 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090826 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100826 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100826 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110826 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120826 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120826 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130826 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |