JP2005242553A - Ic card processor - Google Patents

Ic card processor Download PDF

Info

Publication number
JP2005242553A
JP2005242553A JP2004049752A JP2004049752A JP2005242553A JP 2005242553 A JP2005242553 A JP 2005242553A JP 2004049752 A JP2004049752 A JP 2004049752A JP 2004049752 A JP2004049752 A JP 2004049752A JP 2005242553 A JP2005242553 A JP 2005242553A
Authority
JP
Japan
Prior art keywords
card
processing
data
abnormality
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004049752A
Other languages
Japanese (ja)
Inventor
Hiromi Arima
弘美 有馬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2004049752A priority Critical patent/JP2005242553A/en
Publication of JP2005242553A publication Critical patent/JP2005242553A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an IC card processor for continuously performing processing which has been performed before the occurrence of abnormality such as power failure after recovery from the abnormality even when the processing ends in the middle due to the occurrence of the abnormality. <P>SOLUTION: A window processing unit for performing a fare adjustment work or a inquiry work by reading or writing data in a wireless IC card is configured to record the read or written data of the IC card before such abnormality as power failure occurs, and to compare the data with the data after recovery from the abnormality, and to determine whether or not the following processing should be continued, and to continuously perform the following processing. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、たとえば、交通機関の駅窓口に設置され、駅係員の操作により、乗車券として用いられる無線式ICカードに対しデータの読取りや書込み等を行なうことにより精算業務や照会業務などを行なう窓口処理機として好適なICカード処理装置に関する。   The present invention is, for example, installed at a station counter of a transportation facility, and performs a checkout operation or an inquiry operation by reading or writing data to a wireless IC card used as a boarding ticket by the operation of a station staff. The present invention relates to an IC card processing apparatus suitable as a window processing machine.

この種の窓口処理機は、本体となるパーソナルコンピュータ(以下、単にパソコンと略称する)と、無線式ICカードリーダ・ライタユニットと、ジャーナルプリンタとから構成されていて、駅窓口に設置され、駅係員の操作により、乗車券として用いられる無線式ICカード(たとえば、スイカ(:Suica(東日本旅客鉄道株式会社の登録商標))に対しデータの読取りや書込み等を行なうことにより精算業務や照会業務などを行なうようになっている。   This type of window processing machine is composed of a personal computer (hereinafter simply referred to as a personal computer), a wireless IC card reader / writer unit, and a journal printer, and is installed at a station window. Checkout and inquiry services, etc. by reading and writing data on wireless IC cards (for example, Suica (registered trademark of East Japan Railway Company)) used as a ticket by the staff's operation Is supposed to do.

ところで、このような窓口処理機においては、処理の途中で停電などの異常が発生した場合、当該異常の復帰後、異常発生の前からの処理を継続して行なうことができないので、再度、業務開始処理から行なっている。
なお、停電復帰に関連する技術として、たとえば、特許文献1および特許文献2がある。
実願昭59−160376号公報 特開2001−216536号公報
By the way, in such a window processing machine, if an abnormality such as a power failure occurs in the middle of the process, it is impossible to continue the process before the occurrence of the abnormality after the abnormality has been recovered. Starting from the start process.
In addition, there exist patent document 1 and patent document 2 as a technique relevant to a power failure recovery, for example.
Japanese Utility Model Publication No. 59-160376 JP 2001-216536 A

ところが、従来の窓口処理機では、上述したように、処理の途中で停電などの異常が発生した際には、当該異常の復帰後、異常発生の前からの処理を継続して行なうことができず、再度、業務開始処理から行なう必要がある。
また、予期せぬOS(オペレーティング・システム)の異常による動作途中停止が発生した場合、それに対して、プログラムの途中停止による異常が集計データやICカードに対して問題を起こしているのか、係員がはっきりわからないまま電源の再投入により業務の再開を行なうしかない。そのため、異常復帰後の処理をどうすべきか、係員に不安を感じさせている。
However, in the conventional window processing machine, as described above, when an abnormality such as a power failure occurs during the process, the process from before the occurrence of the abnormality can be continued after the abnormality is recovered. However, it is necessary to start again from the business start process.
In addition, if an operation stop due to an unexpected OS (operating system) failure occurs, the staff will check whether the failure due to the program stoppage is causing problems for the aggregated data or IC card. There is no choice but to restart the business by turning on the power again without knowing clearly. For this reason, the staff members feel uneasy about what to do after the abnormal recovery.

そこで、本発明は、停電などの異常が発生して処理が途中で終了しても、当該異常の復帰後に、異常発生の前に行なっていた処理を継続して行なうことができるICカード処理装置を提供することを目的とする。   Accordingly, the present invention provides an IC card processing apparatus capable of continuously performing the processing performed before the occurrence of an abnormality after the abnormality is recovered even if the processing is terminated in the middle due to an abnormality such as a power failure. The purpose is to provide.

本発明のICカード処理装置は、ICカードに対しデータの読取りや書込み等を行なうことにより所定の処理を行なうICカード処理装置において、前記ICカードに対して行なうデータの読取りや書込み等の処理内容を記録する処理内容記録手段と、前記ICカードに対しデータの読取りや書込み等の処理を行なっているときに当該処理が異常終了し、その後、当該異常が復帰した際、その異常が発生した時点よりも前の前記ICカードの読取りあるいは書込みデータを前記処理内容記録手段に記録されている処理内容から抽出する抽出手段と、前記異常が復帰した際、前記ICカードから当該異常の発生時に読取りあるいは書込み処理の対象となっていたデータを読出す読出手段と、この読出手段により読出されたデータと前記抽出手段により抽出されたデータとを比較する比較手段と、この比較手段の比較結果に基づきその後の処理が継続可能か否かを判断してその後の処理を決定する制御手段とを具備している。   The IC card processing device of the present invention is an IC card processing device that performs predetermined processing by reading and writing data to the IC card, and the processing contents such as reading and writing of data to the IC card. A processing content recording means for recording the data, and when the processing ends abnormally when processing such as data reading or writing is performed on the IC card, and then when the abnormality is recovered, An extraction means for extracting reading or writing data of the previous IC card from the processing content recorded in the processing content recording means, and when the abnormality is recovered, reading or reading from the IC card when the abnormality occurs Reading means for reading data that has been subject to writing processing, data read by the reading means, and the extracting means And comprising comparison means for comparing the more extracted data, and control means for determining the subsequent processing to determine whether the subsequent processing based on the comparison result of the comparison means can be continued.

本発明によれば、停電などの異常が発生して処理が途中で終了しても、当該異常の復帰後に、異常発生の前に行なっていた処理を継続して行なうことができるICカード処理装置を提供できる。   According to the present invention, even if an abnormality such as a power failure occurs and the process ends in the middle, the IC card processing apparatus that can continuously perform the process performed before the abnormality occurs after the abnormality is recovered. Can provide.

以下、本発明の実施の形態について図面を参照して説明する。
図1は、本発明の実施の形態に係るICカード処理装置としての例えば交通機関の駅窓口に設置される窓口処理機の構成を概略的に示すものである。この窓口処理機は、各種処理を行なう本体となるパソコン11、パソコン11に接続され、乗車券として用いられる無線式ICカード(以降、単にICカードと称す)12を受入れて当該ICカード12に対しデータの読取りや書込みを行なう無線式ICカードリーダ・ライタユニット(以降、単にカードユニットと称す)13、および、パソコン11に接続され、各種データをジャーナル用紙にプリントアウトするジャーナルプリンタ14を有して構成されている。
パソコン11は、通信回線を介して上位装置としてのホスト装置(図示しない)にオンライン接続されている。ホスト装置は、たとえば、日計締切を行なったり、一件明細を処理したりするものである。
また、パソコン11は、処理内容としてカード読取・書込ログ21、操作ログ22、現金系ログ23、一件明細ログ24、これらをまとめた稼働ログ(総合ログ)25をそれぞれ有していて、これらは処理内容記録手段としてのハードディスク装置などの記憶装置26に格納されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 schematically shows a configuration of a window processing machine installed at, for example, a station window of a transportation facility as an IC card processing apparatus according to an embodiment of the present invention. This window processing machine is connected to a personal computer 11 that performs various processes, a wireless IC card (hereinafter simply referred to as an IC card) 12 connected to the personal computer 11 and used as a boarding ticket, A wireless IC card reader / writer unit (hereinafter simply referred to as a card unit) 13 that reads and writes data, and a journal printer 14 that is connected to a personal computer 11 and prints out various data on journal paper. It is configured.
The personal computer 11 is online connected to a host device (not shown) as a host device via a communication line. For example, the host device performs a daily deadline or processes one item.
In addition, the personal computer 11 has a card reading / writing log 21, an operation log 22, a cash log 23, a case log 24, and an operation log (general log) 25 that summarizes these as processing contents, These are stored in a storage device 26 such as a hard disk device as processing content recording means.

なお、パソコン11は、バックアップ用電源としてバッテリが実装されているが、カードユニット13およびジャーナルプリンタ14にはバックアップ機能はないものとする。
また、当該窓口処理機の代表的な処理業務としては、業務開始の職務乗車証の読取り、そのパスワードによる照合処理、ICカード12の読取業務、精算業務、再発行登録業務、照会業務、機能設定業務などがある。
The personal computer 11 has a battery mounted as a backup power source, but the card unit 13 and the journal printer 14 do not have a backup function.
In addition, typical processing operations of the counter processing machine include reading of the work board ID that has been started, verification processing using the password, IC card 12 reading operation, checkout operation, reissue registration operation, inquiry operation, function setting There is business.

次に、上記のように構成された窓口処理機の処理動作について説明する。
まず、業務の開始手順について図2に示すフローチャートを参照して説明する。
まず、カートユニット13に対する初期化処理、および、ホスト装置に対する初期化処理(通信の再接続処理を最初から接続し直す上位通信初期化)を行なう(ステップS1)。次に、職務乗車証としての無線式ICカード(以降、単に職務乗車証と称す)をカードユニット13にセットし、パソコン11のディスプレイ画面から実行ボタンをクリックすることにより、職務乗車証の記録データを読取る(ステップS2)。
Next, the processing operation of the window processing machine configured as described above will be described.
First, the work start procedure will be described with reference to the flowchart shown in FIG.
First, an initialization process for the cart unit 13 and an initialization process for the host device (initial communication initialization for reconnecting the communication reconnection process from the beginning) are performed (step S1). Next, a wireless IC card (hereinafter referred to simply as a job boarding certificate) as a work boarding card is set in the card unit 13, and the execution data is clicked from the display screen of the personal computer 11. Is read (step S2).

次に、職務乗車証から読取ったデータを含め、カードユニット13とのコマンド/レスポンス情報をログ化し、カード読取・書込ログ21に格納する(ステップS3)。次に、職務乗車証から読取ったデータに基づき、当該ICカードは職務乗車証であるか否かを判定する(ステップS4)。   Next, the command / response information with the card unit 13 including the data read from the duty boarding certificate is logged and stored in the card reading / writing log 21 (step S3). Next, based on the data read from the job boarding certificate, it is determined whether or not the IC card is a job boarding card (step S4).

この判定の結果、職務乗者証でない場合はパソコン11のディスプレイ画面にエラー表示を行ない(ステップS5)、職務乗者証である場合はパスワードの生成を行なう(ステップS6)。ここに、パスワードの生成は、たとえば、職務乗車証のID番号から該当パスワードを計算式により生成する。   As a result of the determination, if it is not a business occupant's card, an error is displayed on the display screen of the personal computer 11 (step S5), and if it is a business occupant card, a password is generated (step S6). Here, for example, the password is generated from the ID number of the work boarding certificate using a calculation formula.

次に、パソコン11のディスプレイにパスワード要求画面を表示する(ステップS7)。ここで、係員は所定のパスワードを図示しないキーボードにより入力する。すると、ステップS6で生成したパスワードとステップS7で入力されたパスワードとが一致しているか否かチェックする(ステップS8)。このチェックの結果、両パスワードが不一致の場合は、ステップS7に戻って再度パスワードの入力を行なう。これを3回ミスすると、エラーファイルを作成の上入力不可として、操作不能とする。   Next, a password request screen is displayed on the display of the personal computer 11 (step S7). Here, the attendant inputs a predetermined password using a keyboard (not shown). Then, it is checked whether or not the password generated in step S6 matches the password input in step S7 (step S8). If the two passwords do not match as a result of this check, the process returns to step S7 to input the password again. If this is missed three times, an error file is created and input is disabled, and operation is disabled.

ステップS8のチェックの結果、両パスワードが一致した場合は、通常の処理画面(業務メニュー画面)を表示し、通常の業務可能とする。業務メニューに表示される項目(業務)は、たとえば、「読取り」、「精算処理」、「入出場キャンセル処理」、「再発行登録」、「機能設定」、「照会業務」などである。   If the two passwords match as a result of the check in step S8, a normal processing screen (business menu screen) is displayed to enable normal business. Items (businesses) displayed on the business menu are, for example, “read”, “settlement process”, “entrance / exit cancellation process”, “reissue registration”, “function setting”, “inquiry business”, and the like.

次に、業務の一例として精算処理の手順について図3に示すフローチャートを参照して説明する。
まず、カードユニット13に精算処理対象のICカード12をセットし、表示された業務メニューにおいて「精算処理」を選択し(ステップS11)、実行ボタンをクリックする(ステップS12)。すると、ICカード12の記録データが読取られる(ステップS13)。
Next, as an example of the business, the procedure of the settlement process will be described with reference to the flowchart shown in FIG.
First, the IC card 12 to be settled is set in the card unit 13, “settlement process” is selected in the displayed business menu (step S 11), and the execution button is clicked (step S 12). Then, the recorded data of the IC card 12 is read (step S13).

次に、ICカード12から読取ったデータを含め、カードユニット13とのコマンド/レスポンス情報をログ化し、カード読取・書込ログ21に格納する(ステップS14)。次に、ICカード12から読取ったデータに基づき、精算処理を実行する(ステップS15)。   Next, the command / response information with the card unit 13 including the data read from the IC card 12 is logged and stored in the card reading / writing log 21 (step S14). Next, a settlement process is executed based on the data read from the IC card 12 (step S15).

ここで、不足金額があるか否かをチェックし(ステップS16)、不足金額がなければ出場処理に進み、不足金額があればパソコン11のディスプレイに不足金額を表示する(ステップS17)。次に、不足金額が当該ICカード12のチャージ金で足りるか否にかをチェックし(ステップS18)、チャージ金で足りる場合は表示金額を当該ICカード12から引き去る処理を行なう(ステップS19)。   Here, it is checked whether or not there is a shortage amount (step S16). If there is no shortage amount, the process proceeds to a participation process, and if there is a shortage amount, the shortage amount is displayed on the display of the personal computer 11 (step S17). Next, it is checked whether or not the shortage amount is sufficient with the charge amount of the IC card 12 (step S18). If the charge amount is sufficient, the display amount is withdrawn from the IC card 12 (step S19). .

次に、領収金額をジャーナルプリンタ14で出力するカード系の集計処理を行なうとともに、カード取引の記録として一件明細データを作成し、作成した一件明細データを一件明細ログ24に格納し、さらに稼働ログ25を更新し(ステップS20)、業務メニュー画面の表示へ進む。   Next, the card-type tabulation processing for outputting the receipt amount with the journal printer 14 is performed, and the detailed statement data is created as a record of the card transaction, and the generated detailed statement data is stored in the detailed statement log 24. Further, the operation log 25 is updated (step S20), and the operation menu screen is displayed.

ステップS18におけるチェックの結果、チャージ金で足りない場合、現金での充当処理(現金による精算額をキーボードで入力)を行なう(ステップS21)。次に、領収金額をジャーナルプリンタ14で出力する現金系の集計処理を行なうとともに、現金取引の記録を作成して現金系ログ23に格納し、さらに稼働ログ25を更新し(ステップS22)、業務メニュー画面の表示へ進む。   If the result of the check in step S18 is that the amount of charge is insufficient, cash allocation processing (inputting the cash settlement amount using the keyboard) is performed (step S21). Next, cash totaling processing for outputting the receipt amount with the journal printer 14 is performed, a cash transaction record is created and stored in the cash log 23, and the operation log 25 is updated (step S22). Proceed to display the menu screen.

次に、業務の他の例として読取り処理の手順について簡単に説明する。
この場合、カードユニット13に読取り対象のICカード12をセットし、表示された業務メニューにおいて「読取り」を選択し、実行ボタンをクリックすることにより、ICカード12の記録データが読取られ、パソコン11のディスプレイに表示される。ここで、何らかの異常(ネガヒットエラー、期限エラー等)がある場合には、その異常メッセージが表示される。
なお、この場合も、ICカード12から読取ったデータを含め、カードユニット13とのコマンド/レスポンス情報をログ化し、カード読取・書込ログ21に格納する。
Next, a procedure of reading processing will be briefly described as another example of business.
In this case, the IC card 12 to be read is set in the card unit 13, “read” is selected in the displayed work menu, and the execution button is clicked, whereby the recorded data of the IC card 12 is read and the personal computer 11 Appears on the display. Here, if there is any abnormality (negative hit error, deadline error, etc.), the abnormality message is displayed.
In this case as well, command / response information with the card unit 13 including data read from the IC card 12 is logged and stored in the card reading / writing log 21.

次に、処理動作中に停電などの異常が発生して異常終了し、その後、当該異常が復帰した際の業務の開始手順について図4〜図6に示すフローチャートを参照して説明する。   Next, an operation start procedure when an abnormality such as a power failure occurs during the processing operation and the process ends abnormally and then the abnormality is recovered will be described with reference to the flowcharts shown in FIGS.

まず、カートユニット13に対する初期化処理、および、ホスト装置に対する初期化処理(通信の再接続処理を最初から接続し直す上位通信初期化)を行なう(ステップS31)。次に、稼動ログ25から異常発生直前の稼動ログを読込む(ステップS32)。この稼動ログには、カードユニット13とのコマンド/レスポンス処理が逐次記録されているので、その記録を参照することにより、異常(停電)によってカードユニット13との間の通信が途中で停止したこと、すなわち異常の有無を判定する(ステップS33)。
このとき、業務が何であったか、どこまでICカード12に対する処理が行なわれていたか、処理を行なっていたときの職務乗車証のID番号を今後の業務継続情報としてロードしておく。
First, initialization processing for the cart unit 13 and initialization processing for the host device (initial communication initialization for reconnecting communication reconnection processing from the beginning) are performed (step S31). Next, the operation log immediately before the occurrence of the abnormality is read from the operation log 25 (step S32). In this operation log, command / response processing with the card unit 13 is sequentially recorded. By referring to the record, communication with the card unit 13 is stopped halfway due to an abnormality (power failure). That is, the presence / absence of abnormality is determined (step S33).
At this time, what is the business, how far the IC card 12 has been processed, and the ID number of the work boarding card at the time of the processing are loaded as future business continuation information.

ステップS33における判定の結果、稼動ログ中に異常がなかった場合、このときセットされている職務乗車証の記録データを読取り、この読取ったデータを含め、カードユニット13とのコマンド/レスポンス情報をログ化し、カード読取・書込ログ21に格納する(ステップS34)。   If there is no abnormality in the operation log as a result of the determination in step S33, the record data of the duty boarding card set at this time is read, and the command / response information with the card unit 13 including the read data is logged. And stored in the card reading / writing log 21 (step S34).

なお、遅くともこのステップS33の読取情報ログ化のタイミングで、カードユニット13に職務乗車証がセットされている必要がある。もし、職務乗車証の処理での異常でなかった場合には、カードユニット13に現在セットされているICカードを職務乗車証にセットし直す必要がある。   It should be noted that the work boarding certificate needs to be set in the card unit 13 at the latest at the timing of reading information logging in step S33. If there is no abnormality in the processing of the boarding pass, it is necessary to reset the IC card currently set in the card unit 13 to the boarding pass.

次に、職務乗車証から読取ったデータに基づき、当該ICカードは職務乗車証であるか否かを判定する(ステップS35)。この判定の結果、職務乗者証でない場合はパソコン11のディスプレイ画面にエラー表示を行ない(ステップS36)、職務乗者証である場合はパスワードの生成を行なう(ステップS37)。ここに、パスワードの生成は、たとえば、職務乗車証のID番号から該当パスワードを計算式により生成する。   Next, based on the data read from the job boarding certificate, it is determined whether or not the IC card is a job boarding card (step S35). As a result of the determination, if it is not a business occupant ID, an error is displayed on the display screen of the personal computer 11 (step S36), and if it is a business occupant ID, a password is generated (step S37). Here, for example, the password is generated from the ID number of the work boarding certificate using a calculation formula.

次に、パソコン11のディスプレイにパスワード要求画面を表示する(ステップS38)。ここで、係員は所定のパスワードを図示しないキーボードにより入力する。すると、ステップS37で生成したパスワードとステップS38で入力されたパスワードとが一致しているか否かチェックする(ステップS39)。このチェックの結果、両パスワードが不一致の場合は、ステップS38に戻って再度パスワードの入力を行なう。これを3回ミスすると、エラーファイルを作成の上入力不可として、操作不能とする。
ステップS39におけるチェックの結果、両パスワードが一致した場合は、通常の処理画面(業務メニュー画面)を表示し、通常の業務可能とする。
Next, a password request screen is displayed on the display of the personal computer 11 (step S38). Here, the attendant inputs a predetermined password using a keyboard (not shown). Then, it is checked whether or not the password generated in step S37 matches the password input in step S38 (step S39). If the two passwords do not match as a result of this check, the process returns to step S38 to input the password again. If this is missed three times, an error file is created and input is disabled, and operation is disabled.
If the two passwords match as a result of the check in step S39, a normal processing screen (business menu screen) is displayed to enable normal business.

ステップS33における判定の結果、稼動ログ中に異常あった場合、その稼動ログ中の稼動データから起動時にセットされていた職務乗車証のパスワード(異常発生時の係員パスワード)を取出す(ステップS40)。
次に、パソコン11のディスプレイにパスワード要求画面を表示する(ステップS41)。ここで、係員は所定のパスワードを図示しないキーボードにより入力する。すると、ステップS40で取出したパスワードとステップS41で入力されたパスワードとが一致しているか否かチェックする(ステップS42)。このチェックの結果、両パスワードが不一致の場合は、稼動ログ中の異常ログデータをクリアする(ステップS43)。
If there is an abnormality in the operation log as a result of the determination in step S33, the work boarding pass password (personnel password at the time of abnormality) set at the time of activation is extracted from the operation data in the operation log (step S40).
Next, a password request screen is displayed on the display of the personal computer 11 (step S41). Here, the attendant inputs a predetermined password using a keyboard (not shown). Then, it is checked whether or not the password extracted in step S40 matches the password input in step S41 (step S42). If the two passwords do not match as a result of this check, the error log data in the operation log is cleared (step S43).

ステップS42におけるチェックの結果、両パスワードが一致した場合は、稼動ログを参照することにより、カードユニット13とのコマンド/レスポンスが完結しているかをチェックする(ステップS44)。このことにより、ICカード12に対する処理が途中で終了していないかを判断することができる。   If the two passwords match as a result of the check in step S42, it is checked whether the command / response with the card unit 13 is completed by referring to the operation log (step S44). This makes it possible to determine whether the processing for the IC card 12 has been terminated halfway.

このチェックの結果、カードユニット13とのコマンド/レスポンスが完結していない場合(ステップS45)、カードユニット13に対しカード読出コマンドを送ることにより、このときセットされているICカード12のデータを読出し、異常が発生した時点よりも前、たとえば、異常直前に処理したデータと比較する(ステップS46)。すなわち、異常直前に行なおうとしていた処理で、ICカード12に書込もうとしていたデータと、異常後のICカード12に書込まれているデータとを比較するもので、これによりICカード12に対してどういうリカバリ処理を行なえばよいかを判断できる。   If the command / response with the card unit 13 is not completed as a result of this check (step S45), the card read command is sent to the card unit 13 to read the data of the IC card 12 set at this time. Compared with the data processed before the abnormality occurs, for example, immediately before the abnormality occurs (step S46). In other words, the data to be written to the IC card 12 in the process to be performed immediately before the abnormality is compared with the data written to the IC card 12 after the abnormality. It is possible to determine what kind of recovery processing should be performed for the above.

この比較の結果、両データが不一致の場合(すなわち、ICカード12に対する処理が完結していない場合、ステップS47)、致命的異常であるか否かをチェックする(ステップS48)。すなわち、ICカード12のデータが、異常直前の処理前のデータでも、処理しようとしていたデータでもなかった場合には、想定したデータでICカード12へ書込みが行なわれていないため、致命的異常と判断する。   As a result of this comparison, if the two data do not match (that is, if the processing for the IC card 12 is not completed, step S47), it is checked whether or not it is a fatal abnormality (step S48). That is, if the data of the IC card 12 is neither the data before the processing immediately before the abnormality nor the data to be processed, the assumed data has not been written to the IC card 12, so that the fatal abnormality to decide.

ステップS48におけるチェックの結果、致命的異常であった場合、パソコン11のディスプレイに例えば「直前業務は異常となっています、再度処理してください」というメッセージを表示する(ステップS49)。その後、通常の処理画面(業務メニュー画面)を表示し、通常の業務可能とする。   If the result of the check in step S48 is a fatal abnormality, a message such as “The previous job is abnormal, please process again” is displayed on the display of the personal computer 11 (step S49). Thereafter, a normal processing screen (business menu screen) is displayed to enable normal business.

ステップS48におけるチェックの結果、致命的異常でなかった場合、ICカード12に対して書込みを行なうべきコマンド処理が完了しておらず、処理を行なう前の状態であったと判断し、再度、異常直前のICカード12に対するコマンド処理を行なう(ステップS50)。   If the result of the check in step S48 shows that there is no fatal abnormality, it is determined that the command processing to be written to the IC card 12 has not been completed, and the state before the processing has been performed, and again immediately before the abnormality. The command processing for the IC card 12 is performed (step S50).

次に、カードユニット13からのレスポンスが正常か否かをチェックすることで、ICカード12に対する再書込み処理が正常に行なわれたかを判断し(ステップS51)、正常に行なわれていない場合はステップS49に進み、前記同様な処理を行なう。   Next, by checking whether or not the response from the card unit 13 is normal, it is determined whether or not the rewriting process for the IC card 12 has been normally performed (step S51). Proceeding to S49, the same processing as described above is performed.

ステップS45におけるチェックの結果、カードユニット13とのコマンド/レスポンスが完結していた場合、あるいは、ステップS47においてICカード12に対する処理が完結していた場合、あるいは、ステップS51において再書込み処理が正常に行なわれていた場合、当該稼動ログを参照することにより、一件明細データの送信が完結しているかチェックする(ステップS52)。一件明細データは、ICカード12の取引情報として、処理が行なわれるごとに上位のホスト装置に送信される情報となる。これが正常に送信されていないと、当該ICカード12が次回どこかの機器で使用したときに異常となる。   If the command / response with the card unit 13 has been completed as a result of the check in step S45, or if the process for the IC card 12 has been completed in step S47, or the rewrite process is normal in step S51. If it has been carried out, it is checked whether the transmission of the detailed data has been completed by referring to the operation log (step S52). The case data is information transmitted to the host device as the transaction information of the IC card 12 every time processing is performed. If this is not transmitted normally, it becomes abnormal when the IC card 12 is used in some device next time.

このチェックの結果、一件明細データの送信が完結していない場合(ステップS53)、当該稼働ログ内のデータを基に一件明細データ作成プログラムを再実行させることにより、カードユニット13にコマンドを出したデータに対する一件明細デ゛ータを自動的に再作成する(ステップS54)。次に、この作成した一件明細データをホスト装置へ送信する(ステップS55)。   If the result of this check indicates that the transmission of the detailed data has not been completed (step S53), the command is sent to the card unit 13 by re-executing the detailed data creation program based on the data in the operation log. The detailed data for the extracted data is automatically recreated (step S54). Next, the created detailed data is transmitted to the host device (step S55).

ステップS53において一件明細データの送信が完結していた場合、あるいは、ステップS55の処理が終了すると、当該稼動ログを参照することにより、日計締切(現金系)データの送信が完結しているかをチェックする(ステップS56)。すなわち、稼動ログ内のデータを基に、カード系での異常発生に伴い、日計締切処理が異常となったり、送信されないことがなかったかをチェックするものである。   If the transmission of one detailed data is completed in step S53, or when the processing of step S55 is completed, is the transmission of the daily deadline (cash system) data completed by referring to the operation log? Is checked (step S56). That is, based on the data in the operation log, it is checked whether or not the daily cut-off process has become abnormal or not transmitted due to the occurrence of an abnormality in the card system.

このチェックの結果、日計締切データの送信が完結していた場合(ステップS57)、通常の処理画面(業務メニュー画面)を表示し、通常の業務可能とする。
ステップS57において日計締切データの送信が完結していない場合、当該稼働ログ内のデータを基に日計締切データ作成プログラムを再実行させることにより、カード処理に伴う日計締切データを自動的に再作成する(ステップS58)。次に、この作成した日計締切データをホスト装置へ送信する(ステップS59)。その後、通常の処理画面(業務メニュー画面)を表示し、通常の業務可能とする。
As a result of this check, if the transmission of the daily deadline data has been completed (step S57), a normal processing screen (business menu screen) is displayed to enable normal business.
If transmission of the daily deadline data is not completed in step S57, the daily deadline data associated with the card processing is automatically obtained by re-executing the daily deadline data creation program based on the data in the operation log. It is recreated (step S58). Next, the created daily schedule deadline data is transmitted to the host device (step S59). Thereafter, a normal processing screen (business menu screen) is displayed to enable normal business.

このように、上記実施の形態によれば、停電などの異常が発生した直前のICカードの読取りや書込みデータを記録しておき、異常復帰後そのデータと比較を行ない、その後の処理継続かどうかを判断して、その後の処理を継続的に行なうものである。これにより、停電などの異常が発生して処理が途中で終了しても、当該異常の復帰後に、異常発生直前に行なっていた処理を継続して行なうことができ、従来のように、職務乗者証を読取らせる業務開始処理から行なう必要がなく、その手間も軽減される。   As described above, according to the above embodiment, the IC card read / write data immediately before the occurrence of an abnormality such as a power failure is recorded and compared with the data after the abnormality is restored. And the subsequent processing is continuously performed. As a result, even if an abnormality such as a power failure occurs and the process ends in the middle, the process that was performed immediately before the occurrence of the abnormality can be continued after the abnormality is recovered. It is not necessary to start from the business start process for reading the user ID, and the labor is reduced.

また、異常復帰後、処理継続を開始する前にはセキュリティを考慮して、異常発生時における係員のパスワードを要求し、異常発生時または異常発生直前の係員を認識するため、係員が同一の人物かをチェックすることができる。   In addition, after security recovery, before starting processing continuation, in consideration of security, it asks for the password of the clerk at the time of occurrence of the abnormality, and recognizes the clerk at the time of occurrence of the abnormality or immediately before the occurrence of the abnormality. Can be checked.

本発明の実施の形態に係るICカード処理装置としての例えば交通機関の駅窓口に設置される窓口処理機の構成を概略的に示すブロック図。The block diagram which shows schematically the structure of the window processing machine installed, for example in the station window of a transportation system as an IC card processing apparatus which concerns on embodiment of this invention. 業務の開始手順について説明するフローチャート。The flowchart explaining the start procedure of work. 業務の一例として精算処理の手順について説明するフローチャート。The flowchart explaining the procedure of a payment process as an example of business. 異常復帰後の業務の開始手順について説明するフローチャート。The flowchart explaining the start procedure of the work after abnormal recovery. 異常復帰後の業務の開始手順について説明するフローチャート。The flowchart explaining the start procedure of the work after abnormal recovery. 異常復帰後の業務の開始手順について説明するフローチャート。The flowchart explaining the start procedure of the work after abnormal recovery.

符号の説明Explanation of symbols

11…パソコン、12…無線式ICカード、13…無線式ICカードリーダ・ライタユニット、14…ジャーナルプリンタ、21…カード読取・書込ログ、22…操作ログ、23…現金系ログ、24…一件明細ログ、25…稼働ログ(総合ログ)、26…記憶装置(処理内容記録手段)。   DESCRIPTION OF SYMBOLS 11 ... Personal computer, 12 ... Wireless IC card, 13 ... Wireless IC card reader / writer unit, 14 ... Journal printer, 21 ... Card reading / writing log, 22 ... Operation log, 23 ... Cash system log, 24 ... One Detail log, 25 ... operation log (general log), 26 ... storage device (processing content recording means).

Claims (3)

ICカードに対しデータの読取りや書込み等を行なうことにより所定の処理を行なうICカード処理装置において、
前記ICカードに対して行なうデータの読取りや書込み等の処理内容を記録する処理内容記録手段と、
前記ICカードに対しデータの読取りや書込み等の処理を行なっているときに当該処理が異常終了し、その後、当該異常が復帰した際、その異常が発生した時点よりも前の前記ICカードの読取りあるいは書込みデータを前記処理内容記録手段に記録されている処理内容から抽出する抽出手段と、
前記異常が復帰した際、前記ICカードから当該異常の発生時に読取りあるいは書込み処理の対象となっていたデータを読出す読出手段と、
この読出手段により読出されたデータと前記抽出手段により抽出されたデータとを比較する比較手段と、
この比較手段の比較結果に基づきその後の処理が継続可能か否かを判断してその後の処理を決定する制御手段と、
を具備したことを特徴とするICカード処理装置。
In an IC card processing apparatus that performs predetermined processing by reading or writing data to an IC card,
Processing content recording means for recording processing content such as reading and writing of data performed on the IC card;
When processing such as reading or writing of data is performed on the IC card, the processing ends abnormally, and then when the abnormality is recovered, reading of the IC card before the time when the abnormality occurred is read. Alternatively, extraction means for extracting write data from the processing content recorded in the processing content recording means;
A reading means for reading out data read or written at the time of occurrence of the abnormality from the IC card when the abnormality is restored;
Comparing means for comparing the data read by the reading means with the data extracted by the extracting means;
Control means for determining whether or not the subsequent processing can be continued based on the comparison result of the comparison means and determining the subsequent processing;
An IC card processing apparatus comprising:
係員の操作によりICカードに対しデータの読取りや書込み等を行なうことにより所定の処理を行なうICカード処理装置において、
前記ICカードに対して行なうデータの読取りや書込み等の処理内容を記録する処理内容記録手段と、
前記ICカードに対しデータの読取りや書込み等の処理を行なっているときに当該処理が異常終了し、その後、当該異常が復帰した際、その異常が発生した時点よりも前の前記ICカードの処理内容を前記処理内容記録手段に記録されている処理内容から読出し、この読出した処理内容に異常があるか否かを判定する第1の判定手段と、
この第1の判定手段による判定の結果、処理内容に異常がある場合、前記係員に対しパスワードの入力を要求するパスワード要求手段と、
このパスワード要求手段の要求に基づき前記係員により入力されるパスワードの正当性を確認するパスワード確認手段と、
このパスワード確認手段による確認の結果、前記入力されたパスワードが正当であった場合、前記第1の判定手段において読出された処理内容に基づき当該ICカードに対する処理が途中で終了していないかを判定する第2の判定手段と、
この第2の判定手段による判定の結果、処理が途中で終了していた場合、前記ICカードから当該異常の発生時に読取りあるいは書込み処理の対象となっていたデータを読出す読出手段と、
前記第2の判定手段による判定の結果、処理が途中で終了していた場合、前記異常が発生した時点近傍の前記ICカードの読取りあるいは書込みデータを前記第1の判定手段において読出された処理内容から抽出する抽出手段と、
この抽出手段により抽出されたデータと前記読出手段により読出されたデータとを比較する比較手段と、
この比較手段の比較結果に基づきその後の処理が継続可能か否かを判断してその後の処理を決定する制御手段と、
を具備したことを特徴とするICカード処理装置。
In an IC card processing apparatus that performs predetermined processing by reading or writing data to an IC card by the operation of an attendant,
Processing content recording means for recording processing content such as reading and writing of data performed on the IC card;
When processing such as reading or writing of data is performed on the IC card, the processing ends abnormally, and then when the abnormality is recovered, processing of the IC card before the time when the abnormality occurs is performed. First determination means for reading out the content from the processing content recorded in the processing content recording means and determining whether or not the read processing content is abnormal;
As a result of the determination by the first determination means, if there is an abnormality in the processing contents, password request means for requesting the staff to input a password;
Password confirmation means for confirming the validity of the password input by the staff based on the request of the password request means;
If the input password is valid as a result of confirmation by the password confirmation means, it is determined whether the processing for the IC card has been completed halfway based on the processing content read by the first determination means. Second determining means for
As a result of the determination by the second determination means, when the process is ended in the middle, a reading means for reading data that was read or written at the time of occurrence of the abnormality from the IC card;
As a result of the determination by the second determination means, if the process has been terminated halfway, the content of the process in which the read or write data of the IC card near the time when the abnormality has occurred is read by the first determination means Extraction means for extracting from,
Comparing means for comparing the data extracted by the extracting means with the data read by the reading means;
Control means for determining whether or not the subsequent processing can be continued based on the comparison result of the comparison means and determining the subsequent processing;
An IC card processing apparatus comprising:
前記ICカードは乗車券として用いられる無線式ICカードであることを特徴とする請求項1または請求項2記載のICカード処理装置。   3. The IC card processing apparatus according to claim 1, wherein the IC card is a wireless IC card used as a boarding ticket.
JP2004049752A 2004-02-25 2004-02-25 Ic card processor Pending JP2005242553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004049752A JP2005242553A (en) 2004-02-25 2004-02-25 Ic card processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004049752A JP2005242553A (en) 2004-02-25 2004-02-25 Ic card processor

Publications (1)

Publication Number Publication Date
JP2005242553A true JP2005242553A (en) 2005-09-08

Family

ID=35024252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004049752A Pending JP2005242553A (en) 2004-02-25 2004-02-25 Ic card processor

Country Status (1)

Country Link
JP (1) JP2005242553A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043972A (en) * 2009-10-21 2011-05-04 索尼公司 Information processing apparatus, communication apparatus, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043972A (en) * 2009-10-21 2011-05-04 索尼公司 Information processing apparatus, communication apparatus, and program
EP2336987A2 (en) 2009-10-21 2011-06-22 Sony Corporation Information processing apparatus, communication apparatus, and program
CN102043972B (en) * 2009-10-21 2013-11-20 索尼公司 Information processing apparatus, communication apparatus, and program
US8704636B2 (en) 2009-10-21 2014-04-22 Sony Corporation Information processing apparatus, communication apparatus, and program

Similar Documents

Publication Publication Date Title
JP4755448B2 (en) Automatic transaction equipment
JP2005128675A (en) Electronic money charger
JP2010026811A (en) Ic card service system, and service management center, service terminal and program therefor
US20070114273A1 (en) Transaction cooperation method in branch office system
RU2677384C1 (en) Way of automatic calculation of the included money in case of failures
JP6292703B1 (en) IC card magnetic data automatic restoration method and automatic transaction apparatus
JP5655415B2 (en) Window terminal and identity verification system
CN104252602A (en) Transaction processing system and transaction processing method
JP2008065620A (en) Electronic money system and control method therefor
KR20120087765A (en) Bankbook handling device and bankbook handling method
JP2005242553A (en) Ic card processor
JP2010170421A (en) Automated teller system, automated teller machine and program for automated teller machine
JP2020086769A (en) Ic card, portable electronic apparatus, ic card processing method, and program
JP5159049B2 (en) Equipment and maintenance information provision program
JP7203615B2 (en) Magnetic stripe auto-repair system
CN106469488A (en) A kind of electronic cash register, the authority control method of electronic cash register and system
KR100908406B1 (en) Scanning image data verification device
JP2007018398A (en) Automatic transaction apparatus
JP2020035284A (en) Transaction device and magnetic restoration method
JP2018092519A (en) Card issuing system
JP7380305B2 (en) Setting confirmation terminal, station equipment, and setting confirmation method
JP5022138B2 (en) Automatic transaction apparatus and IC card transfer information transfer method
JP5280759B2 (en) Automatic transaction apparatus and copy system
JP7133447B2 (en) Payment processing system and payment processing method
JP2005266859A (en) Principle identifying method and system using ic card