JP2011248593A - Authentication processing device, authentication processing method, authentication processing program, processing system, and automated teller machine - Google Patents

Authentication processing device, authentication processing method, authentication processing program, processing system, and automated teller machine Download PDF

Info

Publication number
JP2011248593A
JP2011248593A JP2010120564A JP2010120564A JP2011248593A JP 2011248593 A JP2011248593 A JP 2011248593A JP 2010120564 A JP2010120564 A JP 2010120564A JP 2010120564 A JP2010120564 A JP 2010120564A JP 2011248593 A JP2011248593 A JP 2011248593A
Authority
JP
Japan
Prior art keywords
authentication
input
authentication processing
output port
peripheral device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010120564A
Other languages
Japanese (ja)
Other versions
JP5464052B2 (en
Inventor
Masanari Yamada
真生 山田
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2010120564A priority Critical patent/JP5464052B2/en
Publication of JP2011248593A publication Critical patent/JP2011248593A/en
Application granted granted Critical
Publication of JP5464052B2 publication Critical patent/JP5464052B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To prevent malfunction of a peripheral device in case of camouflage of a central processing unit, an unauthorized change of a state of an input-output port of a SAM, and so on.SOLUTION: An authentication processing device executes authentication processing according to a command for authentication from a central control device and outputs an authentication result to the central control device, and includes a storage means for storing a key identifier and an encryption key data in association with each other. When the command for authentication including an authentication data and identification information of the command for authentication is inputted through an input-output port for authentication processing, the authentication processing device specifies the key identifier based on the identification information, acquires the encryption key data corresponding to the specified key identifier from the storage means, executes authentication processing by using the acquired encryption key data and the authentication data, and outputs an operation signal to operate a peripheral device through an input-output port for peripheral device related to the authentication processing when the authentication processing is successful.

Description

本発明は、電子機器に搭載される認証処理用マイクロコントローラに関するものである。   The present invention relates to an authentication processing microcontroller mounted on an electronic device.

この種の認証処理用マイクロコントローラ(以下、SAM(Secure Application Module)という)は、例えば、決済処理端末に搭載されている。決済処理端末が、例えば、IC(Integrated Circuit)カードに記録されている情報をチェックコード等によって検証する場合において、SAMは、このチェックコードの正当性確認のための認証処理を行うようになっている(例えば、特許文献1参照)。   This type of authentication processing microcontroller (hereinafter referred to as SAM (Secure Application Module)) is mounted on, for example, a payment processing terminal. When the payment processing terminal verifies, for example, information recorded in an IC (Integrated Circuit) card with a check code or the like, the SAM performs an authentication process for confirming the validity of the check code. (For example, refer to Patent Document 1).

また、例えば、ICキャッシュカードを認証し、ネットワークに接続したホストコンピュータと通信し、所定の情報をLED(Light Emitting Diode)、LCD(Liquid Crystal Display)、印刷物等によって表示し、現金の預け払いを行う現金自動預け払い機(以下、ATM(Automated Teller Machine)という)においても、SAMが搭載されている。ATMには、SAMの他に、LED,監視カメラ,現金支払い機構,プリンタ,LCD等の種々の周辺装置と、周辺装置の動作を制御する中央制御装置と、が搭載されている。種々の周辺装置は、入出力ポートによって中央制御装置に接続されている。中央制御装置は、それぞれの周辺装置に対する制御プログラムを備えており、適宜、周辺装置の動作を制御するようになっている。   Also, for example, it authenticates an IC cash card, communicates with a host computer connected to the network, displays predetermined information on an LED (Light Emitting Diode), LCD (Liquid Crystal Display), printed matter, etc. A SAM is also installed in an automated teller machine (hereinafter referred to as ATM (Automated Teller Machine)). In addition to the SAM, the ATM includes various peripheral devices such as an LED, a monitoring camera, a cash payment mechanism, a printer, and an LCD, and a central control device that controls the operation of the peripheral device. The various peripheral devices are connected to the central controller by input / output ports. The central controller includes a control program for each peripheral device, and appropriately controls the operation of the peripheral device.

このようなATMにおいて、SAMによる認証結果に従って周辺装置を動作させるケース(例えば「ATMによるICカードの正当性確認」が終わった後にLEDを点灯させ、「ホストコンピュータによる取引承認」が終わった後に「現金支払い機構のモータを作動させる」ようなケース)において、従来は、中央制御装置に接続されたSAMが認証結果を判断し、SAMから判断情報を受信した中央制御装置が周辺装置を動作させていた。   In such an ATM, the peripheral device is operated according to the authentication result by the SAM (for example, the LED is turned on after “IC card validity check by ATM” is finished, and after “transaction approval by the host computer” is finished, “ In the case of “operating the motor of the cash payment mechanism”, conventionally, the SAM connected to the central control unit determines the authentication result, and the central control unit that has received the determination information from the SAM operates the peripheral device. It was.

特開平10−307899号公報JP-A-10-307899

ところで、従来、悪意ある攻撃者によって中央処理装置が偽装(例えば、中央制御装置のプログラムが改竄されたり、該プログラムを記憶するフラッシュROMが取り替えられたりすることなどによる)され、改竄された動作命令が周辺装置に送信された場合、改竄された動作命令によって周辺装置が誤動作してしまう可能性があった。これを回避するためには、SAMから出力される認証結果の判断情報を周辺装置が直接取得することが考えられる。   By the way, conventionally, a central processing unit is camouflaged by a malicious attacker (for example, the program of the central control unit is altered or the flash ROM storing the program is replaced), and the manipulation instruction is altered. Is transmitted to the peripheral device, there is a possibility that the peripheral device malfunctions due to a falsified operation command. In order to avoid this, it is conceivable that the peripheral device directly acquires the determination information of the authentication result output from the SAM.

しかしながら、従来の入出力ポートの制御に必要な制御プログラムは、条件分岐(いわゆるif〜thenルール)によって構成されており、SAMの少ない記憶領域で実現する場合においては必ずしも有効な手段ではなかった。   However, the conventional control program necessary for controlling the input / output port is configured by conditional branching (so-called if-then rules), and is not always an effective means when implemented in a storage area with a small number of SAMs.

また、悪意のある攻撃者によって、SAMが制御している入出力ポートの状態が不正に変更された場合、周辺装置が誤動作してしまう可能性がある。   In addition, if the state of the input / output port controlled by the SAM is illegally changed by a malicious attacker, the peripheral device may malfunction.

加えて、SAMにおいて、複数の認証結果の組合せによって、単一、または複数の入出力ポートを制御するような処理を実現することが困難であった。   In addition, in the SAM, it is difficult to realize a process for controlling a single or a plurality of input / output ports by combining a plurality of authentication results.

そこで、本発明は、このような点に鑑みてなされたもので、中央処理装置の偽装、又はSAMの入出力ポートの状態の不正な変更等があった場合でも、周辺装置の誤動作を防止することが可能な認証処理装置、認証処理方法、認証処理プログラム、処理システム、及び現金自動預け払い機を提供することを課題の一例とする。   Therefore, the present invention has been made in view of the above points, and prevents malfunction of peripheral devices even when the central processing unit is camouflaged or the SAM input / output port state is illegally changed. An object is to provide an authentication processing device, an authentication processing method, an authentication processing program, a processing system, and an automatic teller machine that can be used.

上記課題を解決するために、請求項1に記載の発明は、識別情報により識別される複数の認証用コマンドのうち少なくとも何れか一つの認証用コマンドであって中央制御装置から入力された当該認証用コマンドに応じた認証処理を実行し、その認証結果を前記中央制御装置に出力する認証処理装置であって、認証処理用入出力ポートと、複数の周辺装置の夫々に接続される複数の周辺装置用入出力ポートと、複数の鍵識別子と、各前記鍵識別子に対応する各暗号鍵データを予め記憶する暗号鍵データ記憶手段と、認証データ及び認証用コマンドの識別情報を含む認証用コマンドが前記認証処理用入出力ポートを介して入力された場合に、当該入力された認証用コマンドの識別情報に基づいて前記鍵識別子を特定し、当該特定した鍵識別子に対応する暗号鍵データ前記暗号鍵データ記憶手段から取得する取得手段と、前記取得された暗号鍵データと、前記入力された認証用コマンドに含まれる認証データとを用いて、当該認証用コマンドに応じた認証処理を実行する認証手段と、前記認証処理が成功した場合には、当該認証処理に関係する前記周辺装置用入出力ポートから前記周辺装置を動作させる動作信号を出力させる制御手段と、を備えることを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 1 is the authentication command input from the central controller, which is at least one of the plurality of authentication commands identified by the identification information. An authentication processing device that executes authentication processing according to a command and outputs the authentication result to the central control device, wherein the authentication processing input / output port and a plurality of peripheral devices connected to each of a plurality of peripheral devices An authentication command including identification information of an authentication data and an authentication command, a device input / output port; a plurality of key identifiers; encryption key data storage means for storing each encryption key data corresponding to each key identifier in advance; When input via the authentication processing input / output port, the key identifier is specified based on the identification information of the input authentication command, and the key identifier is identified. Using the acquisition means acquired from the encryption key data storage means, the acquired encryption key data, and the authentication data included in the input authentication command, according to the authentication command Authentication means for executing authentication processing; and control means for outputting an operation signal for operating the peripheral device from the peripheral device input / output port related to the authentication processing when the authentication processing is successful. It is characterized by that.

請求項2に記載の発明は、請求項1に記載の認証処理装置において、各前記認証用コマンドに応じた認証処理の内容を規定する各プログラムを、各前記認証用コマンドの識別情報に対応付けて記憶するプログラム記憶手段を更に備え、各前記プログラム中には、各前記認証処理において用いられる暗号鍵データに対応する鍵識別子が記述されており、前記取得手段は、前記入力された認証用コマンドの識別情報に対応付けられた前記プログラム中から前記鍵識別子を特定することを特徴とする。   According to a second aspect of the present invention, in the authentication processing device according to the first aspect, each program that defines the content of the authentication process corresponding to each authentication command is associated with the identification information of each authentication command. Program storing means for storing the key identifier corresponding to the encryption key data used in each authentication process is described in each of the programs. The key identifier is specified from among the programs associated with the identification information.

請求項3に記載の発明は、請求項1に記載の認証処理装置において、前記認証用コマンドの前記識別情報を、当該認証用コマンドが入力される度に記憶する識別情報記憶手段を更に備え、前記取得手段は、前記識別情報記憶手段に記憶されている前記識別情報に基づいて、前記入力された複数の前記認証用コマンドの入力順序を特定し、当該特定した入力順序に対応する前記鍵識別子を特定することを特徴とする。   The invention according to claim 3 is the authentication processing device according to claim 1, further comprising identification information storage means for storing the identification information of the authentication command every time the authentication command is input. The acquisition unit specifies an input order of the plurality of authentication commands input based on the identification information stored in the identification information storage unit, and the key identifier corresponding to the specified input order It is characterized by specifying.

請求項4に記載の発明は、請求項3に記載の認証処理装置において、候補となる複数の前記入力順序の組合せを、各前記鍵識別子に対応付けて予め記憶する入力順序記憶手段を更に備え、前記取得手段は、前記特定された入力順序に対応する前記鍵識別子を前記入力順序記憶手段から特定することを特徴とする。   According to a fourth aspect of the present invention, the authentication processing device according to the third aspect further comprises input order storage means for previously storing a plurality of combinations of candidate input orders in association with the key identifiers. The acquisition means specifies the key identifier corresponding to the specified input order from the input order storage means.

請求項5に記載の発明は、請求項1乃至4の何れか一項に記載の認証処理装置において、前記暗号鍵データ記憶手段には、各前記認証処理用入出力ポートを示す入出力ポート識別子が記憶され、前記入出力ポート識別子毎に前記鍵識別子が対応付けられており、前記制御手段は、前記認証処理が成功した場合には、前記認証処理に用いられた暗号鍵データに対応する鍵識別子に対応付けられた入出力ポート識別子に示される前記周辺装置用入出力ポートから、前記周辺装置を動作させる動作信号を出力させることを特徴とする。   According to a fifth aspect of the present invention, in the authentication processing device according to any one of the first to fourth aspects, the encryption key data storage means includes an input / output port identifier indicating each of the authentication processing input / output ports. Is stored, and the key identifier is associated with each input / output port identifier, and the control means, when the authentication process is successful, the key corresponding to the encryption key data used for the authentication process An operation signal for operating the peripheral device is output from the peripheral device input / output port indicated by the input / output port identifier associated with the identifier.

請求項6に記載の発明は、請求項1乃至4の何れか一項に記載の認証処理装置において、前記暗号鍵データ記憶手段には、各前記周辺装置用入出力ポートを示す入出力ポート識別子が記憶され、さらに、前記入出力ポート識別子毎に認証状態比較条件情報が対応付けられて記憶されており、前記認証手段は、前記認証処理を複数回実行し、前記制御手段は、複数回の前記認証処理による認証結果に該当する前記認証状態比較条件情報に対応付けられた入出力ポート識別子に示される前記周辺装置用入出力ポートから、前記周辺装置を動作させる動作信号を出力させることを特徴とする。   According to a sixth aspect of the present invention, in the authentication processing device according to any one of the first to fourth aspects, the encryption key data storage means includes an input / output port identifier indicating each of the peripheral device input / output ports. Further, authentication state comparison condition information is stored in association with each input / output port identifier, the authentication unit executes the authentication process a plurality of times, and the control unit performs a plurality of times. An operation signal for operating the peripheral device is output from the peripheral device input / output port indicated by the input / output port identifier associated with the authentication state comparison condition information corresponding to the authentication result by the authentication processing. And

請求項7に記載の発明は、請求項1乃至6の何れか一項に記載の認証処理装置において、前記制御手段は、前記周辺装置用入出力ポートのレジスタの状態情報を変化させることにより、当該周辺装置用入出力ポートから前記動作信号を出力させることを特徴とする。   According to a seventh aspect of the present invention, in the authentication processing device according to any one of the first to sixth aspects, the control means changes the status information of the register of the peripheral device input / output port. The operation signal is output from the peripheral device input / output port.

請求項8に記載の発明は、請求項7に記載の認証処理装置において、各前記周辺装置用入出力ポートに対応する状態情報と、各前記状態情報に基づき生成されるエラー検出情報を記憶する状態記憶手段を更に備え、前記制御手段は、前記認証処理が成功した場合には、前記周辺装置用入出力ポートのレジスタの状態情報を変化させずに、前記状態情報及び前記エラー検出情報を前記状態記憶手段に記憶し、所定間隔で実行される割り込み処理が開始された場合に、前記状態記憶手段に記憶されている各前記状態情報を、対応する各前記周辺装置用入出力ポートのレジスタに出力して当該レジスタの状態情報を変化させることを特徴とする。   According to an eighth aspect of the present invention, in the authentication processing device according to the seventh aspect, status information corresponding to each of the peripheral device input / output ports and error detection information generated based on each of the status information are stored. Further comprising status storage means, and when the authentication process is successful, the control means outputs the status information and the error detection information without changing the status information of the register of the peripheral device input / output port. When interrupt processing is started that is stored in the state storage means and executed at predetermined intervals, the state information stored in the state storage means is stored in the corresponding registers of the peripheral device input / output ports. It is characterized in that the state information of the register is changed by outputting.

請求項9に記載の発明は、請求項8に記載の認証処理装置において、前記制御手段は、所定間隔で実行される割り込み処理が開始された場合に、前記状態記憶手段に記憶されている各前記状態情報に基づきエラー検出情報を生成し、前記生成されたエラー検出情報と、前記状態記憶手段に記憶されているエラー検出情報とが一致する場合に、前記状態記憶手段に記憶されている各前記状態情報を、対応する各前記周辺装置用入出力ポートのレジスタに出力して当該レジスタの状態情報を変化させることを特徴とする。   According to a ninth aspect of the present invention, in the authentication processing apparatus according to the eighth aspect, the control means stores each of the status storage means when interrupt processing executed at a predetermined interval is started. Error detection information is generated based on the status information, and when the generated error detection information matches the error detection information stored in the status storage means, each stored in the status storage means The status information is output to the corresponding register of each peripheral device input / output port to change the status information of the register.

請求項10に記載の処理システムの発明は、請求項1乃至9の何れか一項に記載の認証処理装置と、モータ駆動により入出力口が開閉する前記周辺装置と、を備え、前記周辺装置は、前記認証処理装置により動作制御されることを特徴とする。   An invention of a processing system according to a tenth aspect includes the authentication processing device according to any one of the first to ninth aspects, and the peripheral device whose input / output port is opened and closed by a motor drive, and the peripheral device Is controlled by the authentication processing device.

請求項11に記載の現金自動預け払い機の発明は、請求項1乃至9の何れか一項に記載の認証処理装置と、当該認証処理装置に認証用コマンドを出力する中央制御装置と、前記認証処理装置又は前記中央制御装置により動作制御される複数の周辺装置と、を備えることを特徴とする。   An invention of an automated teller machine according to claim 11 is an authentication processing device according to any one of claims 1 to 9, a central control device that outputs an authentication command to the authentication processing device, and And a plurality of peripheral devices whose operations are controlled by the authentication processing device or the central control device.

請求項12に記載の発明は、認証処理用入出力ポートと、複数の周辺装置の夫々に接続される複数の周辺装置用入出力ポートと、複数の鍵識別子と各前記鍵識別子に対応する各暗号鍵データを予め記憶する暗号鍵データ記憶手段と、を備え、中央制御装置からの認証用コマンドに応じて認証処理を実行し、その認証結果を前記中央制御装置に出力するコンピュータにより実行される認証処理方法であって、認証データ及び認証用コマンドの識別情報を含む認証用コマンドが前記認証処理用入出力ポートを介して入力された場合に、当該入力された認証用コマンドの識別情報に基づいて前記鍵識別子を特定し、当該特定した鍵識別子に対応する暗号鍵データ前記暗号鍵データ記憶手段から取得するステップと、前記取得された暗号鍵データと、前記入力された認証用コマンドに含まれる認証データとを用いて認証処理を実行するステップと、前記認証処理が成功した場合には、当該認証処理に関係する前記周辺装置用入出力ポートから前記周辺装置を動作させる動作信号を出力させるステップと、を備えることを特徴とする。   The invention according to claim 12 is an input / output port for authentication processing, a plurality of input / output ports for peripheral devices connected to each of the plurality of peripheral devices, a plurality of key identifiers, and each corresponding to each of the key identifiers Encryption key data storage means for storing encryption key data in advance, and executing authentication processing in response to an authentication command from the central control unit and outputting the authentication result to the central control unit When an authentication command including authentication data and authentication command identification information is input via the authentication processing input / output port, the authentication processing method is based on the input authentication command identification information. Identifying the key identifier, obtaining encryption key data corresponding to the identified key identifier from the encryption key data storage means, the obtained encryption key data, A step of executing an authentication process using authentication data included in the input authentication command and, if the authentication process is successful, from the peripheral device input / output port related to the authentication process Outputting an operation signal for operating the apparatus.

請求項13に記載の認証処理プログラムの発明は、請求項12に記載の認証処理方法をコンピュータに実行させることを特徴とする。   The invention of an authentication processing program according to claim 13 causes a computer to execute the authentication processing method according to claim 12.

本発明によれば、認証処理に用いられた暗号鍵データに対応する周辺装置用入出力ポートから周辺装置を動作させる動作信号を出力させるように構成したので、中央処理装置が偽装された場合であっても、認証処理装置の少ない記憶領域で周辺装置へセキュリティ性の高い動作信号を送信することができ、その結果、周辺装置の誤動作を防止することができる。   According to the present invention, the operation signal for operating the peripheral device is output from the peripheral device input / output port corresponding to the encryption key data used for the authentication processing. Even in such a case, it is possible to transmit an operation signal with high security to the peripheral device with a small storage area of the authentication processing device, and as a result, it is possible to prevent the peripheral device from malfunctioning.

また、認証処理が成功した場合には、周辺装置用入出力ポートのレジスタの状態情報を変化させずに、状態情報及び前記エラー検出情報を状態記憶手段に記憶し、割り込み処理が開始された場合に、状態記憶手段に記憶されている各状態情報を、対応する各周辺装置用入出力ポートのレジスタに出力して当該レジスタの状態情報を変化させるように構成すれば、認証処理装置の周辺装置用入出力ポートの状態が不正に変更された場合であっても、周辺装置の誤動作を防止することができる。   If the authentication process is successful, the status information and the error detection information are stored in the status storage means without changing the status information of the peripheral device I / O port register, and the interrupt process is started. In addition, if each status information stored in the status storage means is output to a corresponding register of each peripheral device input / output port to change the status information of the register, the peripheral device of the authentication processing device Even when the status of the input / output port is illegally changed, it is possible to prevent malfunction of the peripheral device.

また、複数回の認証処理による認証結果に該当する認証状態比較条件情報に対応付けられた周辺装置用入出力ポートから、周辺装置を動作させる動作信号を出力させるように構成すれば、複数の認証結果の組合せによって、単一、または複数の周辺装置用入出力ポートを制御することができ、認証処理装置の少ない記憶領域で、より一層、セキュリティ性の高い動作信号を送信することができる。   Further, if the configuration is made so that an operation signal for operating the peripheral device is output from the input / output port for the peripheral device associated with the authentication state comparison condition information corresponding to the authentication result by the authentication processing of a plurality of times, a plurality of authentications are performed. Depending on the combination of results, a single or a plurality of peripheral device input / output ports can be controlled, and an operation signal with higher security can be transmitted in a storage area with a small number of authentication processing devices.

更に、認証処理に使用される暗号鍵データに対応する鍵識別子を、入力された認証用コマンドのコマンド番号に基づいて特定するように構成したので、認証時の通信内容を隠蔽することができ、攻撃の糸口になる認証関連情報(鍵識別子)を外部に漏らさないようにすることができる。   Furthermore, since the key identifier corresponding to the encryption key data used for the authentication process is configured to be specified based on the command number of the input authentication command, the communication content at the time of authentication can be concealed, It is possible to prevent leakage of authentication-related information (key identifier) that becomes a clue to attack.

本実施形態に係るATMの概要構成例を示す図である。It is a figure which shows the outline | summary structural example of ATM which concerns on this embodiment. SAM2の概要構成例を示すブロック図である。It is a block diagram which shows the example of an outline structure of SAM2. SAM2の電源端子及び入出力ポートの構成例を示す図である。It is a figure which shows the structural example of the power supply terminal and input / output port of SAM2. (A)は、揮発性メモリ22に記憶されたコマンド番号の一例を示す概念図である。(B)は、コマンドテーブル及び認証処理プログラムの一例を示す概念図である。FIG. 4A is a conceptual diagram illustrating an example of command numbers stored in the volatile memory 22. (B) is a conceptual diagram showing an example of a command table and an authentication processing program. (A)は、暗号鍵の格納形式の一例を示す図である。(B)は、認証用コマンドの電文形式の一例を示す図である。(A) is a figure which shows an example of the storage format of an encryption key. (B) is a diagram showing an example of a message format of an authentication command. 第1実施形態に係るSAM2のCPU21におけるコマンド処理を示すフローチャートである。It is a flowchart which shows the command processing in CPU21 of SAM2 which concerns on 1st Embodiment. 各周辺装置用入出力ポートに対応する状態情報及びエラー検出情報の格納形式の一例を示す図である。It is a figure which shows an example of the storage format of the status information and error detection information corresponding to each input / output port for peripheral devices. 第2実施形態に係るSAM2のCPU21における割り込み処理を示すフローチャートである。It is a flowchart which shows the interruption process in CPU21 of SAM2 which concerns on 2nd Embodiment. 認証状態情報の格納形式の一例を示す図である。It is a figure which shows an example of the storage format of authentication status information. 第3実施形態における暗号鍵の格納形式の一例を示す図である。It is a figure which shows an example of the storage format of the encryption key in 3rd Embodiment. 第3実施形態における認証状態比較条件情報の格納形式の一例を示す図である。It is a figure which shows an example of the storage format of the authentication status comparison condition information in 3rd Embodiment. 第3実施形態に係るSAM2のCPU21におけるコマンド処理を示すフローチャートである。It is a flowchart which shows the command processing in CPU21 of SAM2 which concerns on 3rd Embodiment.

以下、図面を参照して本発明の実施形態について詳細に説明する。なお、以下に説明する実施の形態は、ATMに対して本発明を適用した場合の実施形態である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, embodiment described below is embodiment at the time of applying this invention with respect to ATM.

先ず、本発明の一実施形態に係るATMの構成について、図1を用いて説明する。   First, the structure of ATM which concerns on one Embodiment of this invention is demonstrated using FIG.

図1は、本実施形態に係るATMの概要構成例を示す図である。   FIG. 1 is a diagram illustrating a schematic configuration example of an ATM according to the present embodiment.

図1に示すように、ATMは、中央制御装置1、認証処理装置の一例としてのSAM2、LED3、監視カメラ4、現金支払い機構5、プリンタ6、LCD7、及びICカード読み取り装置8等を備えて構成されている。   As shown in FIG. 1, the ATM includes a central control device 1, an SAM 2 as an example of an authentication processing device, an LED 3, a monitoring camera 4, a cash payment mechanism 5, a printer 6, an LCD 7, and an IC card reader 8. It is configured.

ここで、LED3、監視カメラ4、現金支払い機構5、プリンタ6、及びLCD7は、周辺装置の一例である。これらの周辺装置(周辺機器)には、動作に当たって、SAM2からの動作信号(トリガ信号)のみを必要とする装置と、SAM2からの動作信号に加えて中央制御装置1からの情報を必要とする装置の2種類が存在し、夫々図1に示すように接続される。例えば、LED3、監視カメラ4、及び現金支払い機構5は、夫々のコントローラを介してSAM2に接続される。一方、プリンタ6及びLCD7は、夫々のコントローラを介して中央制御装置1及びSAM2に接続される。   Here, the LED 3, the monitoring camera 4, the cash payment mechanism 5, the printer 6, and the LCD 7 are examples of peripheral devices. For these peripheral devices (peripheral devices), a device that requires only an operation signal (trigger signal) from the SAM 2 and information from the central control device 1 in addition to the operation signal from the SAM 2 are required for operation. There are two types of devices, each connected as shown in FIG. For example, the LED 3, the monitoring camera 4, and the cash payment mechanism 5 are connected to the SAM 2 through respective controllers. On the other hand, the printer 6 and the LCD 7 are connected to the central control device 1 and the SAM 2 via respective controllers.

また、中央制御装置1には、SAMコントローラを介してSAM2が接続され、ICカードコントローラを介してICカード読み取り装置8が接続される。更に、中央制御装置1には、ネットワークコントローラ及びネットワークを介してホストコンピュータが接続される。   Further, the central control device 1 is connected to the SAM 2 via the SAM controller, and to the IC card reading device 8 via the IC card controller. Further, a host computer is connected to the central controller 1 via a network controller and a network.

中央制御装置1は、CPU(Central Processing Unit)、作業用のRAM(Random Access Memory)、及び、プログラム及びデータが記憶されたフラッシュROM(Read Only Memory)等を備え、ATM全体を統括制御する。かかる制御に当たり、中央制御装置1は、SAM2に対して種々のコマンドを出力するようになっている。これらの各コマンドには固有のコマンド番号(識別情報の一例)が付与されている。このコマンド番号により、各コマンドは他のコマンドと識別(区別)される。   The central controller 1 includes a CPU (Central Processing Unit), a working RAM (Random Access Memory), a flash ROM (Read Only Memory) in which programs and data are stored, and the like, and performs overall control of the entire ATM. For such control, the central control device 1 outputs various commands to the SAM 2. Each of these commands is given a unique command number (an example of identification information). Each command is identified (differentiated) from other commands by this command number.

このように構成されたATMにおいて、特徴的な構成及び機能を有するSAM2の詳細について、第1実施形態〜第3実施形態に分けて説明する。   The details of the SAM 2 having a characteristic configuration and function in the ATM configured as described above will be described separately for the first to third embodiments.

(第1実施形態)
先ず、第1実施形態に係るSAM2の詳細について説明する。
(First embodiment)
First, details of the SAM 2 according to the first embodiment will be described.

図2は、SAM2の概要構成例を示すブロック図である。図3は、SAM2の電源端子及び入出力ポートの構成例を示す図である。   FIG. 2 is a block diagram illustrating a schematic configuration example of the SAM2. FIG. 3 is a diagram illustrating a configuration example of the power supply terminal and the input / output port of the SAM2.

図2に示すように、SAM2は、CPU21、RAM等の揮発性メモリ22(識別情報記憶手段の一例)、フラッシュROM等の不揮発性メモリ23(暗号鍵データ記憶手段、プログラム記憶手段、識別情報記憶手段、及び入力順序記憶手段の一例)、及び入出力ポート24等を備え、中央制御装置2からの認証用コマンド(コマンド番号を含む)に応じた認証処理を実行し、その認証結果を中央制御装置2に出力するようになっている。つまり、SAM2は、コマンド番号により識別される複数の認証用コマンドのうち、入力された認証用コマンドに応じた(言い換えれば、コマンド番号に対応する)認証処理を実行し、その認証結果を中央制御装置2に出力する。   As shown in FIG. 2, the SAM 2 includes a CPU 21, a volatile memory 22 such as a RAM (an example of identification information storage means), and a nonvolatile memory 23 such as a flash ROM (an encryption key data storage means, a program storage means, an identification information storage). And an input order storage means), an input / output port 24, and the like, execute an authentication process according to an authentication command (including a command number) from the central controller 2, and centrally control the authentication result. The data is output to the device 2. That is, the SAM 2 executes an authentication process corresponding to the input authentication command (in other words, corresponding to the command number) among the plurality of authentication commands identified by the command number, and centrally controls the authentication result. Output to device 2.

図3の例では、入出力ポート24は、I/O1〜I/O12まで複数設けられている。これらの複数の入出力ポートの一つ(例えば、I/O8)が認証処理用(認証処理のデータ交換用)入出力ポートに使用され、その他の複数の入出力ポート(例えば、I/O1〜I/O7)が複数の周辺装置(のコントローラ)の夫々に接続される周辺装置用入出力ポートに使用される。   In the example of FIG. 3, a plurality of input / output ports 24 from I / O1 to I / O12 are provided. One of the plurality of input / output ports (for example, I / O 8) is used as an input / output port for authentication processing (for data exchange of authentication processing), and the other plurality of input / output ports (for example, I / O 1 to I / O 1). I / O 7) is used as a peripheral device input / output port connected to each of a plurality of peripheral devices (controllers).

揮発性メモリ22には、中央制御装置1から認証処理用入出力ポートを介して認証用コマンドが入力される度に、当該認証用コマンドのコマンド番号が記憶される。   Each time an authentication command is input from the central controller 1 via the authentication processing input / output port, the command number of the authentication command is stored in the volatile memory 22.

図4(A)は、揮発性メモリ22に記憶されたコマンド番号の一例を示す概念図である。図4(A)に示す例では、揮発性メモリ22には、認証用コマンドが入力された順番で若番のアドレスから順次コマンド番号が時系列的に記憶されている。これにより、CPU21は、認証用コマンドの入力順序を特定することができる。   FIG. 4A is a conceptual diagram showing an example of command numbers stored in the volatile memory 22. In the example shown in FIG. 4A, the volatile memory 22 stores command numbers in chronological order from the lowest numbered address in the order in which the authentication commands are input. As a result, the CPU 21 can specify the input order of authentication commands.

不揮発性メモリ23には、各認証用コマンドに応じた認証処理の内容を規定する各認証処理プログラムが予め記憶されている。また、不揮発性メモリ23には、各認証用コマンドのコマンド番号と、各認証処理プログラムが記憶されたメモリ領域の先頭アドレスとを対応付けるコマンドテーブルが記憶されている。このコマンドテーブルにより、各認証用コマンドのコマンド番号と、各認証処理プログラムとが対応付けられる。   In the nonvolatile memory 23, each authentication processing program that prescribes the contents of the authentication processing corresponding to each authentication command is stored in advance. The nonvolatile memory 23 also stores a command table that associates the command number of each authentication command with the head address of the memory area in which each authentication processing program is stored. With this command table, the command number of each authentication command is associated with each authentication processing program.

図4(B)は、コマンドテーブル及び認証処理プログラムの一例を示す概念図である。そして、各認証処理プログラム中には、各認証処理において用いられる暗号鍵データ(以下、「暗号鍵」という)を識別するための鍵識別子が記述されている。例えば、図4(B)の例において、コマンド番号「0001」に対応付けられた先頭アドレスから始まるメモリ領域に記憶された認証処理プログラムには、この認証処理に使用するべき暗号鍵aの鍵識別子axが記述されている。   FIG. 4B is a conceptual diagram illustrating an example of a command table and an authentication processing program. In each authentication processing program, a key identifier for identifying encryption key data (hereinafter referred to as “encryption key”) used in each authentication process is described. For example, in the example of FIG. 4B, the authentication processing program stored in the memory area starting from the head address associated with the command number “0001” includes the key identifier of the encryption key a to be used for this authentication processing. ax is described.

なお、不揮発性メモリ23には、候補となる複数の認証用コマンドの入力順序の組合せを、該入力順序の組合せ毎に各鍵識別子に対応付けて予め記憶するように構成しても良い。例えば、図4(B)の例において、コマンド番号「0002」に対応付けられた先頭アドレスから始まるメモリ領域に記憶された認証処理プログラムには、候補となる複数の認証用コマンドの入力順序の組合せと、各鍵識別子とが対応付けられて記述されている。この例によれば、コマンド番号「0001」→「0002」という入力順序で認証用コマンドが入力された場合、この認証処理で暗号鍵b(鍵識別子bx)が使用され、コマンド番号「0002」→「0001」という入力順序で認証用コマンドが入力された場合、この認証処理で暗号鍵c(鍵識別子cx)が使用されることになる。   The non-volatile memory 23 may be configured to store in advance combinations of input orders of a plurality of authentication commands as candidates in association with each key identifier for each input order combination. For example, in the example of FIG. 4B, the authentication processing program stored in the memory area starting from the head address associated with the command number “0002” includes combinations of input orders of a plurality of authentication commands as candidates. And each key identifier is described in association with each other. According to this example, when authentication commands are input in the input order of command numbers “0001” → “0002”, the encryption key b (key identifier bx) is used in this authentication process, and the command number “0002” → When authentication commands are input in the input order “0001”, the encryption key c (key identifier cx) is used in this authentication process.

また、不揮発性メモリ23には、認証処理に使用される複数の暗号鍵が予め記憶(格納)されている。   The nonvolatile memory 23 stores (stores) a plurality of encryption keys used for authentication processing in advance.

図5(A)は、暗号鍵の格納形式の一例を示す図である。各暗号鍵には、図5(A)に示すように、外部から認証処理用入出力ポートを介して受信(入力)された認証用コマンド(認証処理実行命令)の対象となる暗号鍵の鍵識別子と、認証処理成功時に状態を変化させる対象となる周辺装置用入出力ポートを示す入出力ポート識別子と、が対応付けられて記憶されている。つまり、この例では、暗号鍵と周辺装置用入出力ポートとは1対1に対応付けられる。   FIG. 5A is a diagram illustrating an example of an encryption key storage format. As shown in FIG. 5A, each encryption key includes a key of an encryption key that is a target of an authentication command (authentication process execution instruction) received (input) from the outside via the authentication process input / output port. An identifier and an input / output port identifier indicating a peripheral device input / output port whose state is to be changed upon successful authentication processing are stored in association with each other. That is, in this example, the encryption key and the peripheral device input / output port are associated one-to-one.

ここで、上記「状態を変化させる」とは、周辺装置用入出力ポートのレジスタに格納される状態情報を変化させることを意味する。なお、状態情報の一例としては、「High(1)」又は「Low(0)」、或いはその組合せ(複数ビットからなるシリアルデータ)が挙げられる。   Here, “changing the state” means changing the state information stored in the register of the peripheral device input / output port. As an example of the status information, “High (1)”, “Low (0)”, or a combination thereof (serial data including a plurality of bits) may be used.

CPU21(取得手段の一例)は、認証用コマンドが認証処理用入出力ポートを介して受信(入力)された場合に、入力された認証用コマンドのコマンド番号に基づいて鍵識別子を特定し、当該特定した鍵識別子に対応する暗号鍵を不揮発性メモリ23から取得する。   When the authentication command is received (input) via the authentication processing input / output port, the CPU 21 (an example of an acquisition unit) specifies the key identifier based on the command number of the input authentication command, and An encryption key corresponding to the identified key identifier is acquired from the nonvolatile memory 23.

図5(B)は、認証用コマンドの電文形式の一例を示す図である。図5(B)に示すように、認証用コマンドには、認証処理実行命令を示す命令コード、及び認証データが含まれる。ここで、認証処理実行命令を示す命令コードには、当該認証用コマンドのコマンド番号が含まれている。   FIG. 5B is a diagram illustrating an example of a message format of the authentication command. As shown in FIG. 5B, the authentication command includes an instruction code indicating an authentication process execution instruction and authentication data. Here, the command code indicating the authentication processing execution command includes the command number of the authentication command.

次に、CPU21(認証手段の一例)は、不揮発性メモリ23から取得した暗号鍵と、入力された認証用コマンドに含まれる認証データとを用いて認証処理(例えば、認証データを暗号鍵で解読する)を実行する。そして、認証処理が成功した場合には、CPU21(制御手段の一例)は、当該認証処理に関係する周辺装置用入出力ポートから周辺装置を動作させる動作信号を出力させる。つまり、CPU21は、当該周辺装置用入出力ポートのレジスタの状態情報を変化(Low→High)させることにより、当該周辺装置用入出力ポートから動作信号を出力させる。これにより、当該周辺装置は、当該動作信号に応じて動作を開始する。言い換えれば、当該周辺装置は、周辺装置用入出力ポートの変化を動作のトリガとして利用する。   Next, the CPU 21 (an example of an authentication unit) uses the encryption key acquired from the nonvolatile memory 23 and the authentication data included in the input authentication command to decrypt the authentication data (for example, the authentication data with the encryption key). Execute). When the authentication process is successful, the CPU 21 (an example of a control unit) outputs an operation signal for operating the peripheral device from the peripheral device input / output port related to the authentication process. That is, the CPU 21 changes the state information of the register of the peripheral device input / output port (Low → High) to output an operation signal from the peripheral device input / output port. As a result, the peripheral device starts to operate according to the operation signal. In other words, the peripheral device uses a change in the input / output port for the peripheral device as an operation trigger.

ここで、上記「認証処理に関係する周辺装置用入出力ポート」とは、第1実施形態においては、当該認証処理に用いられた暗号鍵に対応する鍵識別子に対応付けられた入出力ポート識別子に示される周辺装置用入出力ポートである(鍵識別子に対応付けられた入出力ポート識別子は、不揮発性メモリ23から特定される)。   Here, the above-mentioned “input / output port for peripheral device related to authentication processing” refers to the input / output port identifier associated with the key identifier corresponding to the encryption key used in the authentication processing in the first embodiment. (The input / output port identifier associated with the key identifier is specified from the nonvolatile memory 23).

図6は、第1実施形態に係るSAM2のCPU21におけるコマンド処理を示すフローチャートである。   FIG. 6 is a flowchart showing command processing in the CPU 21 of the SAM 2 according to the first embodiment.

図6に示す処理が開始されると、CPU21は、コマンド受信を待つ(ステップS1)。次いで、CPU21は、中央制御装置1から、認証処理用入出力ポートを介してコマンドを受信した場合には(ステップS2:YES)、当該受信したコマンドが認証用コマンドであるか否かを、当該コマンドに含まれる命令コードにより判別する(ステップS3)。そして、CPU21は、受信したコマンドが認証用コマンドでない場合には(ステップS3:NO)、ステップS4に進み、認証用コマンドである場合には(ステップS3:YES)、当該認証用コマンドに含まれるコマンド番号を揮発性メモリ22に記憶し、ステップS5に進む。   When the processing shown in FIG. 6 is started, the CPU 21 waits for command reception (step S1). Next, when the CPU 21 receives a command from the central control device 1 via the authentication processing input / output port (step S2: YES), the CPU 21 determines whether or not the received command is an authentication command. It discriminate | determines by the instruction code contained in a command (step S3). If the received command is not an authentication command (step S3: NO), the CPU 21 proceeds to step S4. If the received command is an authentication command (step S3: YES), the CPU 21 is included in the authentication command. The command number is stored in the volatile memory 22, and the process proceeds to step S5.

ステップS4では、CPU21は、受信したコマンドに応じたコマンド処理を実行し、ステップS1に戻る。   In step S4, the CPU 21 executes command processing according to the received command, and returns to step S1.

ステップS5では、CPU21は、入力された認証用コマンドのコマンド番号に基づいて鍵識別子を特定し、当該特定した鍵識別子に対応する暗号鍵(鍵識別子にて指定された暗号鍵)を不揮発性メモリ23から取得し、当該暗号鍵と、認証用コマンドに含まれる認証データとを用いて認証処理を実行する。   In step S5, the CPU 21 specifies a key identifier based on the command number of the input authentication command, and stores an encryption key (encryption key specified by the key identifier) corresponding to the specified key identifier in the nonvolatile memory. The authentication process is executed using the encryption key and the authentication data included in the authentication command.

ここで、コマンド番号に基づく鍵識別子の特定は、次のように行われる。   Here, the identification of the key identifier based on the command number is performed as follows.

一つの例として、CPU21は、入力された認証用コマンドに含まれるコマンド番号に対応付けられた先頭アドレスをコマンドテーブルから特定し、該特定した先頭アドレスから始まるメモリ領域に記憶された認証処理プログラムを読み出して上記認証処理を開始し、該認証処理プログラム中から鍵識別子を特定する。   As an example, the CPU 21 specifies a head address associated with a command number included in the input authentication command from the command table, and stores an authentication processing program stored in a memory area starting from the specified head address. The authentication process is read out and the key identifier is specified from the authentication process program.

また、別の例として、CPU21は、先ず、図4(A)に示すように揮発性メモリ22に記憶されているコマンド番号に基づいて、入力された複数の認証用コマンドの入力順序(言い換えれば、認証用コマンドの実行順序)を特定する。次に、CPU21は、当該特定した入力順序に対応する鍵識別子を不揮発性メモリ23から特定する。より具体的には、CPU21は、入力された認証用コマンドに含まれるコマンド番号に対応付けられた先頭アドレスをコマンドテーブルから特定し、該特定した先頭アドレスから始まるメモリ領域に記憶された認証処理プログラムを読み出して上記認証処理を開始し、該認証処理プログラム中から、上記特定した入力順序に対応する鍵識別子を特定する。   As another example, the CPU 21 first inputs the input order of a plurality of authentication commands (in other words, based on the command number stored in the volatile memory 22 as shown in FIG. 4A). And the order of execution of authentication commands). Next, the CPU 21 specifies a key identifier corresponding to the specified input order from the nonvolatile memory 23. More specifically, the CPU 21 identifies the head address associated with the command number included in the input authentication command from the command table, and stores the authentication processing program stored in the memory area starting from the identified head address. The authentication process is started, and the key identifier corresponding to the specified input order is specified from the authentication process program.

次いで、CPU21は、認証処理が成功したか否かを判別し(ステップS6)、認証処理が成功しない場合には(ステップS6:NO)、中央制御装置1への応答として、認証処理用入出力ポートを介してエラーメッセージを送信(出力)し(ステップS7)、ステップS1に戻る。   Next, the CPU 21 determines whether or not the authentication process is successful (step S6). If the authentication process is not successful (step S6: NO), the authentication process input / output is performed as a response to the central controller 1. An error message is transmitted (output) through the port (step S7), and the process returns to step S1.

一方、認証処理が成功した場合には(ステップS6:YES)、CPU21は、当該認証処理に用いた暗号鍵に対応する鍵識別子にて指定される周辺装置用入出力ポートのレジスタの状態情報をHighに設定する(ステップS8)。これにより、当該周辺装置用入出力ポートに接続された周辺装置に対して動作信号が送信される。   On the other hand, if the authentication process is successful (step S6: YES), the CPU 21 obtains the status information of the register of the peripheral device input / output port specified by the key identifier corresponding to the encryption key used for the authentication process. Set to High (step S8). As a result, an operation signal is transmitted to the peripheral device connected to the peripheral device input / output port.

次いで、CPU21は、中央制御装置1への応答として、認証処理用入出力ポートを介して正常終了メッセージを送信(出力)し(ステップS9)、ステップS1に戻る。   Next, as a response to the central controller 1, the CPU 21 transmits (outputs) a normal end message via the authentication processing input / output port (step S9), and returns to step S1.

以上説明したように、上記第1実施形態によれば、暗号鍵と周辺装置用入出力ポートとを対応付けておき、認証処理に用いられた暗号鍵に対応する周辺装置用入出力ポートのレジスタの状態情報を変化させることにより、当該周辺装置用入出力ポートから周辺装置を動作させる動作信号を出力させるように構成したので、中央処理装置1が偽装された場合であっても、SAM2の少ない記憶領域で周辺装置へセキュリティ性の高い動作信号を送信することができ、その結果、周辺装置の誤動作を防止することができる。特に、レジスタの状態情報を、「1」又は「0」の1ビットの情報とすることで、SAM2の少ない記憶領域で効率良く周辺装置用入出力ポートを制御することができる。   As described above, according to the first embodiment, the encryption key and the peripheral device input / output port are associated with each other, and the peripheral device input / output port register corresponding to the encryption key used for the authentication process is registered. Since the operation information for operating the peripheral device is output from the peripheral device input / output port by changing the state information of the peripheral device, even if the central processing unit 1 is camouflaged, the SAM2 is small. An operation signal with high security can be transmitted to the peripheral device in the storage area, and as a result, malfunction of the peripheral device can be prevented. In particular, by setting the register status information to 1-bit information of “1” or “0”, the peripheral device input / output port can be efficiently controlled in a storage area with a small amount of SAM2.

また、認証処理で用いられる暗号鍵の鍵識別子が含まれる認証用コマンドが認証処理用入出力ポートを介して入力される構成も考えられるが、本実施形態においては、認証用コマンドに鍵識別子を含めずに、認証処理に使用される暗号鍵に対応する鍵識別子を、入力された認証用コマンドのコマンド番号に基づいて特定するように構成したので、認証時の通信内容を隠蔽することができ、攻撃の糸口になる認証関連情報(鍵識別子)を外部に漏らさないようにすることができる。更に、認証時の通信内容のバリエーションを減少させることができることより、オペレーションミスを減少させることができる。   Also, a configuration in which an authentication command including a key identifier of an encryption key used in authentication processing is input via an authentication processing input / output port is conceivable, but in this embodiment, a key identifier is added to the authentication command. Since the key identifier corresponding to the encryption key used for authentication processing is specified based on the command number of the input authentication command without being included, the communication contents at the time of authentication can be concealed Thus, it is possible to prevent leakage of authentication-related information (key identifier) that becomes a clue to attack. Furthermore, since it is possible to reduce variations in communication contents during authentication, operation errors can be reduced.

(第2実施形態)
次に、第2実施形態に係るSAM2の詳細について説明する。なお、第2実施形態に係るSAM2は、図2に示す構成になっていることに加えて、タイマを備えている。また、第2実施形態に係るSAM2の電源端子及び入出力ポートは、図3に示す構成になっている。また、第2実施形態においても、揮発性メモリ22には、図4(A)に示すように、認証用コマンドが入力された順番で若番のアドレスから順次コマンド番号が記憶される。また、第2実施形態においても、図4(B)に示されるコマンドテーブル及び認証処理プログラムの例が適用可能である。また、第2実施形態においても、暗号鍵の格納形式は、図5(A)に示す通りである。また、第2実施形態においても、認証用コマンドの電文形式は、図5(B)に示す通りである。また、第2実施形態においても、CPU21におけるコマンド処理は、ステップS8を除き、図6に示す通りである。なお、第1実施形態と重複する部分については説明を省略する。
(Second Embodiment)
Next, details of the SAM 2 according to the second embodiment will be described. Note that the SAM 2 according to the second embodiment includes a timer in addition to the configuration shown in FIG. Further, the power supply terminal and the input / output port of the SAM 2 according to the second embodiment are configured as shown in FIG. Also in the second embodiment, the command numbers are sequentially stored in the volatile memory 22 from the lowest numbered address in the order in which the authentication commands are input, as shown in FIG. Also in the second embodiment, the example of the command table and the authentication processing program shown in FIG. 4B can be applied. Also in the second embodiment, the encryption key storage format is as shown in FIG. Also in the second embodiment, the message format of the authentication command is as shown in FIG. Also in the second embodiment, command processing in the CPU 21 is as shown in FIG. 6 except for step S8. Note that a description of the same parts as those in the first embodiment is omitted.

第2実施形態においては、各周辺装置用入出力ポートに対応する状態情報と、各状態情報に基づき生成されるエラー検出情報が揮発性メモリ22(状態記憶手段の一例)に記憶されるようになっている。   In the second embodiment, status information corresponding to each peripheral device input / output port and error detection information generated based on each status information are stored in the volatile memory 22 (an example of status storage means). It has become.

図7は、各周辺装置用入出力ポートに対応する状態情報及びエラー検出情報の格納形式の一例を示す図である。図7の例では、I/O1〜I/O7の周辺装置用入出力ポートに対応する状態情報を格納するための記憶領域と、エラー検出情報を格納するための記憶領域が揮発性メモリ22に割り当てられる。なお、I/O1〜I/O7の周辺装置用入出力ポートに対応する状態情報を格納するための記憶領域を2重化するように構成しても良い。   FIG. 7 is a diagram illustrating an example of a storage format of status information and error detection information corresponding to each peripheral device input / output port. In the example of FIG. 7, the volatile memory 22 has a storage area for storing status information corresponding to the I / O 1 to I / O 7 peripheral device input / output ports and a storage area for storing error detection information. Assigned. The storage area for storing the status information corresponding to the peripheral device input / output ports of I / O1 to I / O7 may be duplicated.

ここで、エラー検出情報は、例えば、全ての周辺装置用入出力ポートに対応する状態情報(例えば、1又は0)を足し合わせた値(チェックサム)等であり、周辺装置用入出力ポートのレジスタの状態情報が不正に変更(改竄)されているのを検知するために使用される。   Here, the error detection information is, for example, a value (check sum) obtained by adding status information (for example, 1 or 0) corresponding to all peripheral device input / output ports, and the like. Used to detect that the register status information has been altered (tampered).

第2実施形態に係るCPU21は、認証処理が成功した場合には、周辺装置用入出力ポートのレジスタの状態情報を変化させずに(直ぐには更新しない)、状態情報及び生成したエラー検出情報を揮発性メモリ22に記憶(更新)する。つまり、図6に示すステップS8において、CPU21は、周辺装置用入出力ポートのレジスタの状態情報をHighに設定せずに、当該周辺装置用入出力ポートに対応する記憶領域(揮発性メモリ22の記憶領域)にHighを示す状態情報を記憶すると共に、生成したエラー検出情報をこれに対応する記憶領域に記憶する。   When the authentication process is successful, the CPU 21 according to the second embodiment does not change the state information of the peripheral device input / output port register (does not update immediately), and displays the state information and the generated error detection information. Store (update) in the volatile memory 22. That is, in step S8 shown in FIG. 6, the CPU 21 does not set the status information of the register of the peripheral device input / output port to High, but stores the storage area corresponding to the peripheral device input / output port (of the volatile memory 22). The status information indicating High is stored in the storage area), and the generated error detection information is stored in the corresponding storage area.

そして、CPU21は、所定間隔で実行される割り込み処理が開始された場合に、揮発性メモリ22に記憶されている各状態情報に基づきエラー検出情報を生成する。   Then, the CPU 21 generates error detection information based on each state information stored in the volatile memory 22 when an interrupt process executed at a predetermined interval is started.

ここで、割り込み処理は、例えば、インターバルタイマやウォッチドックタイマ等のタイマにより一定の周期(例えば、0.5秒毎)で発生する。   Here, the interrupt processing is generated at a constant cycle (for example, every 0.5 seconds) by a timer such as an interval timer or a watchdog timer.

そして、CPU21は、上記生成したエラー検出情報と、揮発性メモリ22に記憶されているエラー検出情報とが一致する場合に、揮発性メモリ22に記憶されている各状態情報を、対応する各周辺装置用入出力ポートのレジスタに出力(つまり、レジスタにコピー)して当該レジスタの状態情報を変化させる。   Then, when the generated error detection information matches the error detection information stored in the volatile memory 22, the CPU 21 converts each status information stored in the volatile memory 22 to the corresponding peripheral information. Output to the register of the device input / output port (that is, copy to the register) to change the status information of the register.

図8は、第2実施形態に係るSAM2のCPU21における割り込み処理を示すフローチャートである。   FIG. 8 is a flowchart showing an interrupt process in the CPU 21 of the SAM 2 according to the second embodiment.

図8に示す処理が開始されると、CPU21は、揮発性メモリ22に記憶されている各周辺装置用入出力ポートに対応する状態情報に基づきエラー検出情報を生成する(ステップS11)。   When the processing shown in FIG. 8 is started, the CPU 21 generates error detection information based on state information corresponding to each peripheral device input / output port stored in the volatile memory 22 (step S11).

次いで、CPU21は、上記生成したエラー検出情報と、揮発性メモリ22に記憶されているエラー検出情報とが一致するか否かを判別し(ステップS12)、一致しない場合には(ステップS12:NO)、ステップS13に進み、一致する場合には(ステップS12:YES)、ステップS14に進む。   Next, the CPU 21 determines whether or not the generated error detection information matches the error detection information stored in the volatile memory 22 (step S12). If they do not match (step S12: NO) ), The process proceeds to step S13. If they match (step S12: YES), the process proceeds to step S14.

ステップS13では、CPU21は、全ての周辺装置用入出力ポートのレジスタを全てLowに設定して、無限ループへ移行する。   In step S13, the CPU 21 sets all the registers of all the peripheral device input / output ports to Low and shifts to an infinite loop.

一方、ステップS14では、CPU21は、揮発性メモリ22に記憶されている各状態情報を、対応する各周辺装置用入出力ポートのレジスタにコピーし、当該処理を終了する。   On the other hand, in step S14, the CPU 21 copies each status information stored in the volatile memory 22 to the register of each corresponding peripheral device input / output port, and ends the processing.

以上説明したように、上記第2実施形態によれば、認証処理が成功した場合には、周辺装置用入出力ポートのレジスタの状態情報を直ぐには更新せずに、状態情報及び生成したエラー検出情報を揮発性メモリ22に記憶しておき、その後の割り込み処理が開始された場合に、揮発性メモリ22に記憶されている各状態情報を、対応する各周辺装置用入出力ポートのレジスタに反映するように構成したので、SAM2の周辺装置用入出力ポートの状態が不正に変更された場合であっても、周辺装置の誤動作を防止することができる(一瞬、周辺装置が誤動作することもありうるが、状態情報の反映により直ぐに復旧する)。   As described above, according to the second embodiment, when the authentication process is successful, the status information of the peripheral device input / output port register is not immediately updated, but the status information and the generated error detection are detected. When information is stored in the volatile memory 22 and subsequent interrupt processing is started, each status information stored in the volatile memory 22 is reflected in the register of each corresponding peripheral device input / output port. Therefore, even if the state of the peripheral device I / O port of the SAM2 is illegally changed, it is possible to prevent the peripheral device from malfunctioning (the peripheral device may malfunction for a moment). Yes, it will be restored immediately by reflecting the status information).

(第3実施形態)
次に、第3実施形態に係るSAM2の詳細について説明する。なお、第3実施形態に係るSAM2は、図2に示す構成になっている。また、第3実施形態に係るSAM2の電源端子及び入出力ポートは、図3に示す構成になっている。また、第2実施形態においても、揮発性メモリ22には、図4(A)に示すように、認証用コマンドが入力された順番で若番のアドレスから順次コマンド番号が記憶される。また、第2実施形態においても、図4(B)に示されるコマンドテーブル及び認証処理プログラムの例が適用可能である。また、第3実施形態においても、認証用コマンドの電文形式は、図5(A)に示す通りである。なお、第1実施形態と重複する部分については説明を省略する。
(Third embodiment)
Next, details of the SAM 2 according to the third embodiment will be described. Note that the SAM 2 according to the third embodiment has the configuration shown in FIG. Further, the power supply terminal and the input / output port of the SAM 2 according to the third embodiment are configured as shown in FIG. Also in the second embodiment, the command numbers are sequentially stored in the volatile memory 22 from the lowest numbered address in the order in which the authentication commands are input, as shown in FIG. Also in the second embodiment, the example of the command table and the authentication processing program shown in FIG. 4B can be applied. Also in the third embodiment, the message format of the authentication command is as shown in FIG. Note that a description of the same parts as those in the first embodiment is omitted.

第3実施形態においては、認証処理が複数回実行され、認証対象の暗号鍵毎に、認証結果(成功/失敗または未実行)を示す認証状態情報が揮発性メモリ22に記憶されるようになっている。   In the third embodiment, authentication processing is executed a plurality of times, and authentication status information indicating an authentication result (success / failure or not executed) is stored in the volatile memory 22 for each encryption key to be authenticated. ing.

図9は、認証状態情報の格納形式の一例を示す図である。図9の例では、暗号鍵a〜hに対応する認証状態情報を格納するための記憶領域が揮発性メモリ22に割り当てられる。   FIG. 9 is a diagram illustrating an example of a storage format of authentication status information. In the example of FIG. 9, a storage area for storing authentication state information corresponding to the encryption keys a to h is allocated to the volatile memory 22.

また、第3実施形態においても、不揮発性メモリ23には、認証処理に使用される複数の暗号鍵が記憶されている。   Also in the third embodiment, the nonvolatile memory 23 stores a plurality of encryption keys used for authentication processing.

図10は、第3実施形態における暗号鍵の格納形式の一例を示す図である。各暗号鍵には、図10に示すように、暗号鍵を識別するための鍵識別子が対応付けられて記憶されているが、入出力ポート識別子は対応付けられていない。その代わり、第3実施形態においては、入出力ポート識別子毎に認証状態比較条件情報が対応付けられて不揮発性メモリ23に記憶される。つまり、この例では、複数の暗号鍵による認証結果の組合せと周辺装置用入出力ポートとが対応付けられる。   FIG. 10 is a diagram illustrating an example of an encryption key storage format in the third embodiment. As shown in FIG. 10, a key identifier for identifying the encryption key is stored in association with each encryption key, but an input / output port identifier is not associated with each encryption key. Instead, in the third embodiment, authentication state comparison condition information is associated with each input / output port identifier and stored in the nonvolatile memory 23. That is, in this example, a combination of authentication results using a plurality of encryption keys is associated with the peripheral device input / output port.

図11は、第3実施形態における認証状態比較条件情報の格納形式の一例を示す図である。各周辺装置用入出力ポートを示す入出力ポート識別子には、図11に示すように、認証状態比較情報と、認証状態比較条件情報と、が対応付けられて記憶されている。   FIG. 11 is a diagram illustrating an example of a storage format of authentication state comparison condition information in the third embodiment. As shown in FIG. 11, authentication state comparison information and authentication state comparison condition information are stored in association with the input / output port identifiers indicating the peripheral device input / output ports.

ここで、認証状態比較情報は、例えば、上記認証状態情報がどのような状態でなければならないかを定義する。例えば、認証状態比較情報には、認証結果が成功であることが定義される。また、認証状態比較条件情報には、認証状態比較情報に示された状態を、全ての暗号鍵が満たさなければならないのか、或いは一部の暗号鍵が満たさなければならないのかを示す比較条件が定義される。例えば、認証状態比較条件情報には、暗号鍵aと暗号鍵bとのAND条件が定義される。   Here, the authentication state comparison information defines, for example, what state the authentication state information should be. For example, the authentication status comparison information defines that the authentication result is successful. Also, the authentication condition comparison condition information defines a comparison condition indicating whether all the encryption keys must satisfy the state indicated in the authentication condition comparison information or some of the encryption keys must be satisfied. Is done. For example, in the authentication state comparison condition information, an AND condition of the encryption key a and the encryption key b is defined.

第3実施形態に係るCPU21は、複数回の認証処理による認証結果に該当する認証状態比較条件情報に対応付けられた入出力ポート識別子を特定する。例えば、複数回の認証処理による認証結果、暗号鍵aと暗号鍵bとが認証処理成功であった場合に、これに該当する認証状態比較条件情報が不揮発性メモリ23から特定され、当該特定された認証状態比較条件情報に対応付けられた入出力ポート識別子が特定される。そして、CPU21は、当該特定した入出力ポート識別子に示される周辺装置用入出力ポートから、第1実施形態と同様に、周辺装置を動作させる動作信号を出力させる。   The CPU 21 according to the third embodiment specifies an input / output port identifier associated with authentication state comparison condition information corresponding to an authentication result obtained by a plurality of authentication processes. For example, in the case where the authentication result of a plurality of authentication processes indicates that the encryption key a and the encryption key b are successful, the corresponding authentication state comparison condition information is identified from the nonvolatile memory 23 and is identified. The input / output port identifier associated with the authentication state comparison condition information is identified. Then, the CPU 21 outputs an operation signal for operating the peripheral device from the peripheral device input / output port indicated by the specified input / output port identifier, as in the first embodiment.

図12は、第3実施形態に係るSAM2のCPU21におけるコマンド処理を示すフローチャートである。なお、図12に示すステップS21〜S27の処理は、図6に示すステップS1〜S7の処理と同様である。   FIG. 12 is a flowchart showing command processing in the CPU 21 of the SAM 2 according to the third embodiment. Note that the processing of steps S21 to S27 shown in FIG. 12 is the same as the processing of steps S1 to S7 shown in FIG.

図12に示すステップS28では、CPU21は、成功した認証処理に用いた暗号鍵に対応する記憶領域に、当該暗号鍵による認証処理に成功したことを示す認証状態情報を記憶する。   In step S28 shown in FIG. 12, the CPU 21 stores authentication state information indicating that the authentication process using the encryption key is successful in the storage area corresponding to the encryption key used for the successful authentication process.

次いで、CPU21は、各暗号鍵に対応する認証状態情報(更新した認証状態情報を含む)と一致する(該当する)認証状態比較情報及び認証状態比較条件情報があるか否かを判別し(ステップS29)、ある場合には(ステップS29:YES)、ステップS30に進み、ない場合には(ステップS29:NO)、ステップS31に進む。   Next, the CPU 21 determines whether or not there is authentication state comparison information and authentication state comparison condition information that matches (corresponds) the authentication state information (including updated authentication state information) corresponding to each encryption key (step). S29) If there is (step S29: YES), the process proceeds to step S30. If not (step S29: NO), the process proceeds to step S31.

ステップS30では、CPU21は、認証状態情報と一致する認証状態比較情報及び認証状態比較条件情報に対応付けられた入出力ポート識別子に示される周辺装置用入出力ポートのレジスタの状態情報をHighに設定し、ステップS31に進む。これにより、当該周辺装置用入出力ポートに接続された周辺装置に対して動作信号が送信される。   In step S30, the CPU 21 sets the status information of the peripheral device input / output port register indicated by the input / output port identifier associated with the authentication status comparison information and the authentication status comparison condition information that matches the authentication status information to High. Then, the process proceeds to step S31. As a result, an operation signal is transmitted to the peripheral device connected to the peripheral device input / output port.

ステップS31では、CPU21は、中央制御装置1への応答として、認証処理用入出力ポートを介して正常終了メッセージを送信(出力)し、ステップS21に戻る。   In step S31, the CPU 21 transmits (outputs) a normal end message via the authentication processing input / output port as a response to the central control device 1, and returns to step S21.

以上説明したように、上記第3実施形態によれば、複数の暗号鍵による認証結果の組合せと周辺装置用入出力ポートとを対応付けておき、複数回の認証処理による認証結果に該当する認証状態比較条件情報に対応付けられた周辺装置用入出力ポートから、周辺装置を動作させる動作信号を出力させるように構成したので、複数の認証結果の組合せによって、単一、または複数の周辺装置用入出力ポートを制御することができ、SAM2の少ない記憶領域で、より一層、セキュリティ性の高い動作信号を送信することができる。   As described above, according to the third embodiment, a combination of authentication results using a plurality of encryption keys is associated with an input / output port for a peripheral device, and an authentication corresponding to an authentication result by a plurality of authentication processes. Since the operation signal for operating the peripheral device is output from the peripheral device input / output port associated with the state comparison condition information, depending on the combination of a plurality of authentication results, the peripheral device can be used. The input / output port can be controlled, and an operation signal with higher security can be transmitted in a storage area with a small amount of SAM2.

なお、上記実施形態においては、ATMに対して本発明を適用した場合について説明したが、これに限定されるものではなく、その他の処理システムに対して適用可能である。   In addition, although the case where this invention was applied with respect to ATM was demonstrated in the said embodiment, it is not limited to this, It is applicable with respect to another processing system.

1 中央制御装置
2 SAM
21 CPU
22 揮発性メモリ
23 不揮発性メモリ
24 入出力ポート
1 Central controller 2 SAM
21 CPU
22 Volatile memory 23 Nonvolatile memory 24 I / O port

Claims (13)

識別情報により識別される複数の認証用コマンドのうち少なくとも何れか一つの認証用コマンドであって中央制御装置から入力された当該認証用コマンドに応じた認証処理を実行し、その認証結果を前記中央制御装置に出力する認証処理装置であって、
認証処理用入出力ポートと、
複数の周辺装置の夫々に接続される複数の周辺装置用入出力ポートと、
複数の鍵識別子と、各前記鍵識別子に対応する各暗号鍵データを予め記憶する暗号鍵データ記憶手段と、
認証データ及び認証用コマンドの識別情報を含む認証用コマンドが前記認証処理用入出力ポートを介して入力された場合に、当該入力された認証用コマンドの識別情報に基づいて前記鍵識別子を特定し、当該特定した鍵識別子に対応する暗号鍵データ前記暗号鍵データ記憶手段から取得する取得手段と、
前記取得された暗号鍵データと、前記入力された認証用コマンドに含まれる認証データとを用いて、当該認証用コマンドに応じた認証処理を実行する認証手段と、
前記認証処理が成功した場合には、当該認証処理に関係する前記周辺装置用入出力ポートから前記周辺装置を動作させる動作信号を出力させる制御手段と、
を備えることを特徴とする認証処理装置。
An authentication process is executed according to the authentication command input from the central control device, and the authentication result is the central authentication command, the authentication command being at least one of a plurality of authentication commands identified by the identification information An authentication processing device that outputs to a control device,
I / O port for authentication processing,
A plurality of peripheral device input / output ports connected to each of the plurality of peripheral devices;
A plurality of key identifiers, and encryption key data storage means for storing in advance each encryption key data corresponding to each key identifier;
When an authentication command including authentication data and authentication command identification information is input via the authentication processing input / output port, the key identifier is specified based on the input authentication command identification information. Obtaining means for obtaining encryption key data corresponding to the identified key identifier from the encryption key data storage means;
Using the acquired encryption key data and authentication data included in the input authentication command, an authentication means for executing an authentication process according to the authentication command;
When the authentication process is successful, control means for outputting an operation signal for operating the peripheral device from the peripheral device input / output port related to the authentication processing;
An authentication processing device comprising:
請求項1に記載の認証処理装置において、
各前記認証用コマンドに応じた認証処理の内容を規定する各プログラムを、各前記認証用コマンドの識別情報に対応付けて記憶するプログラム記憶手段を更に備え、
各前記プログラム中には、各前記認証処理において用いられる暗号鍵データに対応する鍵識別子が記述されており、
前記取得手段は、前記入力された認証用コマンドの識別情報に対応付けられた前記プログラム中から前記鍵識別子を特定することを特徴とする認証処理装置。
The authentication processing device according to claim 1,
Each of the programs for defining the contents of the authentication process according to each of the authentication commands, further comprising a program storage means for storing in association with the identification information of each of the authentication commands,
In each program, a key identifier corresponding to encryption key data used in each authentication process is described.
The authentication processing apparatus characterized in that the acquisition means specifies the key identifier from the program associated with the identification information of the input authentication command.
請求項1に記載の認証処理装置において、
前記認証用コマンドの前記識別情報を、当該認証用コマンドが入力される度に記憶する識別情報記憶手段を更に備え、
前記取得手段は、前記識別情報記憶手段に記憶されている前記識別情報に基づいて、前記入力された複数の前記認証用コマンドの入力順序を特定し、当該特定した入力順序に対応する前記鍵識別子を特定することを特徴とする認証処理装置。
The authentication processing device according to claim 1,
An identification information storage means for storing the identification information of the authentication command every time the authentication command is input;
The acquisition unit specifies an input order of the plurality of authentication commands input based on the identification information stored in the identification information storage unit, and the key identifier corresponding to the specified input order An authentication processing device characterized by specifying
請求項3に記載の認証処理装置において、
候補となる複数の前記入力順序の組合せを、各前記鍵識別子に対応付けて予め記憶する入力順序記憶手段を更に備え、
前記取得手段は、前記特定された入力順序に対応する前記鍵識別子を前記入力順序記憶手段から特定することを特徴とする認証処理装置。
The authentication processing device according to claim 3,
An input order storage means for storing a plurality of combinations of candidate input orders in advance in association with the key identifiers;
The authentication processing apparatus characterized in that the acquisition means specifies the key identifier corresponding to the specified input order from the input order storage means.
請求項1乃至4の何れか一項に記載の認証処理装置において、
前記暗号鍵データ記憶手段には、各前記認証処理用入出力ポートを示す入出力ポート識別子が記憶され、前記入出力ポート識別子毎に前記鍵識別子が対応付けられており、
前記制御手段は、前記認証処理が成功した場合には、前記認証処理に用いられた暗号鍵データに対応する鍵識別子に対応付けられた入出力ポート識別子に示される前記周辺装置用入出力ポートから、前記周辺装置を動作させる動作信号を出力させることを特徴とする認証処理装置。
In the authentication processing device according to any one of claims 1 to 4,
In the encryption key data storage means, an input / output port identifier indicating each authentication processing input / output port is stored, and the key identifier is associated with each input / output port identifier,
When the authentication process is successful, the control means uses the peripheral device input / output port indicated by the input / output port identifier associated with the key identifier corresponding to the encryption key data used for the authentication process. An authentication processing device that outputs an operation signal for operating the peripheral device.
請求項1乃至4の何れか一項に記載の認証処理装置において、
前記暗号鍵データ記憶手段には、各前記周辺装置用入出力ポートを示す入出力ポート識別子が記憶され、さらに、前記入出力ポート識別子毎に認証状態比較条件情報が対応付けられて記憶されており、
前記認証手段は、前記認証処理を複数回実行し、
前記制御手段は、複数回の前記認証処理による認証結果に該当する前記認証状態比較条件情報に対応付けられた入出力ポート識別子に示される前記周辺装置用入出力ポートから、前記周辺装置を動作させる動作信号を出力させることを特徴とする認証処理装置。
In the authentication processing device according to any one of claims 1 to 4,
The encryption key data storage means stores input / output port identifiers indicating the peripheral device input / output ports, and further stores authentication state comparison condition information associated with each input / output port identifier. ,
The authentication unit executes the authentication process a plurality of times,
The control means operates the peripheral device from the peripheral device input / output port indicated by the input / output port identifier associated with the authentication state comparison condition information corresponding to the authentication result by the authentication processing a plurality of times. An authentication processing apparatus characterized by outputting an operation signal.
請求項1乃至6の何れか一項に記載の認証処理装置において、
前記制御手段は、前記周辺装置用入出力ポートのレジスタの状態情報を変化させることにより、当該周辺装置用入出力ポートから前記動作信号を出力させることを特徴とする認証処理装置。
In the authentication processing device according to any one of claims 1 to 6,
The authentication processing apparatus, wherein the control means outputs the operation signal from the peripheral device input / output port by changing state information of a register of the peripheral device input / output port.
請求項7に記載の認証処理装置において、
各前記周辺装置用入出力ポートに対応する状態情報と、各前記状態情報に基づき生成されるエラー検出情報を記憶する状態記憶手段を更に備え、
前記制御手段は、
前記認証処理が成功した場合には、前記周辺装置用入出力ポートのレジスタの状態情報を変化させずに、前記状態情報及び前記エラー検出情報を前記状態記憶手段に記憶し、
所定間隔で実行される割り込み処理が開始された場合に、前記状態記憶手段に記憶されている各前記状態情報を、対応する各前記周辺装置用入出力ポートのレジスタに出力して当該レジスタの状態情報を変化させることを特徴とする認証処理装置。
The authentication processing device according to claim 7,
It further comprises status storage means for storing status information corresponding to each of the peripheral device input / output ports and error detection information generated based on each status information,
The control means includes
If the authentication process is successful, the status information and the error detection information are stored in the status storage means without changing the status information of the register of the peripheral device input / output port,
When the interrupt process executed at a predetermined interval is started, the status information stored in the status storage means is output to the corresponding register of each peripheral device input / output port to output the status of the register An authentication processing apparatus characterized by changing information.
請求項8に記載の認証処理装置において、
前記制御手段は、
所定間隔で実行される割り込み処理が開始された場合に、前記状態記憶手段に記憶されている各前記状態情報に基づきエラー検出情報を生成し、
前記生成されたエラー検出情報と、前記状態記憶手段に記憶されているエラー検出情報とが一致する場合に、前記状態記憶手段に記憶されている各前記状態情報を、対応する各前記周辺装置用入出力ポートのレジスタに出力して当該レジスタの状態情報を変化させることを特徴とする認証処理装置。
The authentication processing device according to claim 8,
The control means includes
When an interrupt process executed at a predetermined interval is started, error detection information is generated based on each state information stored in the state storage unit,
When the generated error detection information matches the error detection information stored in the state storage unit, the state information stored in the state storage unit is used for each corresponding peripheral device. An authentication processing apparatus characterized in that the status information of the register is changed by outputting to the register of the input / output port.
請求項1乃至9の何れか一項に記載の認証処理装置と、モータ駆動により入出力口が開閉する前記周辺装置と、を備え、
前記周辺装置は、前記認証処理装置により動作制御されることを特徴とすることを特徴とする処理システム。
An authentication processing device according to any one of claims 1 to 9, and the peripheral device whose input / output port is opened and closed by driving a motor,
The processing system is characterized in that the peripheral device is controlled by the authentication processing device.
請求項1乃至9の何れか一項に記載の認証処理装置と、当該認証処理装置に認証用コマンドを出力する中央制御装置と、前記認証処理装置又は前記中央制御装置により動作制御される複数の周辺装置と、を備えることを特徴とする現金自動預け払い機。   An authentication processing device according to any one of claims 1 to 9, a central control device that outputs an authentication command to the authentication processing device, and a plurality of operations controlled by the authentication processing device or the central control device And an automatic teller machine comprising a peripheral device. 認証処理用入出力ポートと、複数の周辺装置の夫々に接続される複数の周辺装置用入出力ポートと、複数の鍵識別子と各前記鍵識別子に対応する各暗号鍵データを予め記憶する暗号鍵データ記憶手段と、を備え、中央制御装置からの認証用コマンドに応じて認証処理を実行し、その認証結果を前記中央制御装置に出力するコンピュータにより実行される認証処理方法であって、
認証データ及び認証用コマンドの識別情報を含む認証用コマンドが前記認証処理用入出力ポートを介して入力された場合に、当該入力された認証用コマンドの識別情報に基づいて前記鍵識別子を特定し、当該特定した鍵識別子に対応する暗号鍵データ前記暗号鍵データ記憶手段から取得するステップと、
前記取得された暗号鍵データと、前記入力された認証用コマンドに含まれる認証データとを用いて認証処理を実行するステップと、
前記認証処理が成功した場合には、当該認証処理に関係する前記周辺装置用入出力ポートから前記周辺装置を動作させる動作信号を出力させるステップと、
を備えることを特徴とする認証処理方法。
An authentication processing input / output port, a plurality of peripheral device input / output ports connected to each of the plurality of peripheral devices, a plurality of key identifiers, and an encryption key for storing each encryption key data corresponding to each key identifier An authentication processing method that is executed by a computer that includes data storage means, executes authentication processing in response to an authentication command from the central control device, and outputs the authentication result to the central control device,
When an authentication command including authentication data and authentication command identification information is input via the authentication processing input / output port, the key identifier is specified based on the input authentication command identification information. Obtaining the encryption key data corresponding to the identified key identifier from the encryption key data storage means;
Performing authentication processing using the acquired encryption key data and authentication data included in the input authentication command;
If the authentication processing is successful, outputting an operation signal for operating the peripheral device from the peripheral device input / output port related to the authentication processing;
An authentication processing method comprising:
請求項12に記載の認証処理方法をコンピュータに実行させることを特徴とする認証処理プログラム。   An authentication processing program for causing a computer to execute the authentication processing method according to claim 12.
JP2010120564A 2010-05-26 2010-05-26 Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine Active JP5464052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010120564A JP5464052B2 (en) 2010-05-26 2010-05-26 Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010120564A JP5464052B2 (en) 2010-05-26 2010-05-26 Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine

Publications (2)

Publication Number Publication Date
JP2011248593A true JP2011248593A (en) 2011-12-08
JP5464052B2 JP5464052B2 (en) 2014-04-09

Family

ID=45413778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010120564A Active JP5464052B2 (en) 2010-05-26 2010-05-26 Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine

Country Status (1)

Country Link
JP (1) JP5464052B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017017685A (en) * 2015-07-02 2017-01-19 ジーエヌ リザウンド エー/エスGn Resound A/S Hearing device and method of hearing device communication
JP2017017686A (en) * 2015-07-02 2017-01-19 ジーエヌ リザウンド エー/エスGn Resound A/S Hearing device with communication logging and related method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186186A (en) * 1999-12-27 2001-07-06 Toshiba Corp Device for exchanging packets, network system and method for exchanging packets
JP2003316263A (en) * 2002-04-19 2003-11-07 Sony Corp Arithmetic unit and operation method
JP2006174519A (en) * 2006-03-17 2006-06-29 Fujitsu Ltd Method and apparatus for security
JP2006236051A (en) * 2005-02-25 2006-09-07 Mitsubishi Electric Corp Execution limiting device and use limiting device
JP2006252110A (en) * 2005-03-10 2006-09-21 Oki Electric Ind Co Ltd Financial transaction system
JP2007293443A (en) * 2006-04-21 2007-11-08 Hitachi Ltd Electronic tag system and data processing method to be performed by electronic tag system
JP2009015651A (en) * 2007-07-05 2009-01-22 Toshiba Corp Information storage medium
JP2009048415A (en) * 2007-08-20 2009-03-05 Toshiba Corp Portable electronic device and control method of portable electronic device
JP2009276917A (en) * 2008-05-13 2009-11-26 Sony Corp Communication device, communication method, communication system and service issuing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186186A (en) * 1999-12-27 2001-07-06 Toshiba Corp Device for exchanging packets, network system and method for exchanging packets
JP2003316263A (en) * 2002-04-19 2003-11-07 Sony Corp Arithmetic unit and operation method
JP2006236051A (en) * 2005-02-25 2006-09-07 Mitsubishi Electric Corp Execution limiting device and use limiting device
JP2006252110A (en) * 2005-03-10 2006-09-21 Oki Electric Ind Co Ltd Financial transaction system
JP2006174519A (en) * 2006-03-17 2006-06-29 Fujitsu Ltd Method and apparatus for security
JP2007293443A (en) * 2006-04-21 2007-11-08 Hitachi Ltd Electronic tag system and data processing method to be performed by electronic tag system
JP2009015651A (en) * 2007-07-05 2009-01-22 Toshiba Corp Information storage medium
JP2009048415A (en) * 2007-08-20 2009-03-05 Toshiba Corp Portable electronic device and control method of portable electronic device
JP2009276917A (en) * 2008-05-13 2009-11-26 Sony Corp Communication device, communication method, communication system and service issuing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017017685A (en) * 2015-07-02 2017-01-19 ジーエヌ リザウンド エー/エスGn Resound A/S Hearing device and method of hearing device communication
JP2017017686A (en) * 2015-07-02 2017-01-19 ジーエヌ リザウンド エー/エスGn Resound A/S Hearing device with communication logging and related method

Also Published As

Publication number Publication date
JP5464052B2 (en) 2014-04-09

Similar Documents

Publication Publication Date Title
US7212637B2 (en) Cartridge validation with radio frequency identification
US11055413B2 (en) Information processing apparatus, method, and storage medium to sequentially activate a plurality of modules after activation of a boot program
EP2300952B1 (en) A method for adapting and executing a computer program and computer program product and computer architecture therefor
US20170255384A1 (en) Efficient secure boot carried out in information processing apparatus
WO2015079725A1 (en) Programmable controller
US11755694B2 (en) Barcode-based license configuration for air-gapped systems
JP2018508063A (en) Secure element
JP5464052B2 (en) Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine
CN113190880B (en) Determining whether to perform an action on a computing device based on analysis of endorsement information of a security co-processor
US20080148249A1 (en) System and method for setting software option of numeric control device
JP5464053B2 (en) Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine
JP5402598B2 (en) Authentication processing apparatus, authentication processing method, authentication processing program, processing system, and automatic teller machine
JP2007173911A (en) Data processing apparatus, program, and system
JP5865878B2 (en) Programmable display
JP5358599B2 (en) Software rewriting device and software rewriting method using the device
KR102449476B1 (en) Card terminal performing card payment using secure access module and method of operating the same
JP2014115803A (en) Information processor, control method of information processor, and program
US9633229B2 (en) Semiconductor device module, license setting method and medium having license setting program recorded therein
Moravec et al. Developing countermeasures against cloning of identity tokens in legacy systems
JP6493672B2 (en) Electronic information storage medium, abnormality detection method, abnormality detection program, and IC card
JP2022067721A (en) Ic card, logging information processing method of ic card, and program
WO2020183562A1 (en) Validity authentication activation management system
CN113728320A (en) Interface controller for product equipment
JP2020119328A (en) Semiconductor device, control method, and program
JP2008152452A (en) Portable electronic device, control method for portable electronic device, and ic card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130311

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131218

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: 20131224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140106

R150 Certificate of patent or registration of utility model

Ref document number: 5464052

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150