JP2011243074A - Ic card authentication method, apparatus and program - Google Patents

Ic card authentication method, apparatus and program Download PDF

Info

Publication number
JP2011243074A
JP2011243074A JP2010115867A JP2010115867A JP2011243074A JP 2011243074 A JP2011243074 A JP 2011243074A JP 2010115867 A JP2010115867 A JP 2010115867A JP 2010115867 A JP2010115867 A JP 2010115867A JP 2011243074 A JP2011243074 A JP 2011243074A
Authority
JP
Japan
Prior art keywords
card
card reader
port
information
connection
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
JP2010115867A
Other languages
Japanese (ja)
Other versions
JP5232828B2 (en
Inventor
Chon-Gon Dou
天健 竇
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2010115867A priority Critical patent/JP5232828B2/en
Publication of JP2011243074A publication Critical patent/JP2011243074A/en
Application granted granted Critical
Publication of JP5232828B2 publication Critical patent/JP5232828B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To treat multiple types of IC cards by multiple types of IC card readers without requiring a user to change the IC card readers.SOLUTION: The IC card authentication method includes: forming, in response to a system reset pulse (41) at power-on or an initialization instruction input from an operation panel 17, connection information by associating a port number with a reader-type number as type identification information of an API function, for each of IC card reader connection ports 23-25; and polling the IC card reader connected to the port through each port to read authentication information from the IC card.

Description

本発明は、ICカードから認証情報を読み取り認証するICカード認証方法、装置及びプログラムに関する。   The present invention relates to an IC card authentication method, apparatus, and program for reading and authenticating authentication information from an IC card.

画像形成装置には、下記特許文献1に開示されているように、ICカードリーダが備えられ、ユーザがICカードをICカードリーダに挿入し又はかざすことにより、ユーザ認証が行われてログイン状態となる。   As disclosed in Patent Document 1 below, the image forming apparatus includes an IC card reader. When the user inserts or holds the IC card in the IC card reader, user authentication is performed and the login state is set. Become.

従来では、1つの画像形成装置には1つのICカードリーダしか備えられていなかった。   Conventionally, one image forming apparatus has only one IC card reader.

特開2004−214958号公報JP 2004-214958 A

このため、例えば国内の会社に設置された画像形成装置と海外の関連会社に設置された画像形成装置とで異なるタイプのICカードやICカードリーダが用いられ、これに対応できるようにするには、ICカードリーダを複数用意しておき、これらに対応したソフトウェアを画像形成装置にインストールしておくとともに、ユーザが所持しているICカードのタイプに応じて、ユーザがICカードリーダを取り替える必要があり、煩雑であった。   For this reason, for example, different types of IC cards and IC card readers are used for an image forming apparatus installed in a domestic company and an image forming apparatus installed in an overseas affiliated company. A plurality of IC card readers are prepared, and software corresponding to these is installed in the image forming apparatus, and the user needs to replace the IC card reader in accordance with the type of IC card possessed by the user. It was complicated.

本発明の目的は、このような問題点に鑑み、ユーザがICカードリーダを取り替えることなく、複数タイプのICカードリーダで複数のタイプのICカードに対応可能にするICカード認証方法、装置及びプログラムを提供することにある。   In view of such problems, an object of the present invention is to provide an IC card authentication method, apparatus, and program for enabling a plurality of types of IC card readers to support a plurality of types of IC cards without requiring the user to replace the IC card reader. Is to provide.

本発明の第1態様では、コンピュータが、ICカードから認証情報を読み取り認証するICカード認証方法において、
(a)ICカードリーダ接続状態初期化イベントの発生に応答して、複数のICカードリーダ接続ポートのそれぞれにつき、所定複数タイプのそれぞれのAPI関数でICカードリーダとの接続確立を試み、接続が確立した場合、そのポート識別情報とそのタイプ識別情報とを対応付けた接続情報を記憶手段に格納し、
(b)該接続情報に含まれる各ポート識別情報に対応したポートを介し、対応するタイプのAPI関数で定期的に、該ポートに接続されたICカードリーダに対しポーリングして、ICカードから認証情報を読み取る。
In the first aspect of the present invention, in the IC card authentication method in which the computer reads and authenticates the authentication information from the IC card,
(A) In response to the occurrence of the IC card reader connection state initialization event, the connection with the IC card reader is attempted for each of a plurality of IC card reader connection ports using respective API functions of a predetermined plurality of types. If established, the storage means stores the connection information in which the port identification information and the type identification information are associated with each other,
(B) The IC card reader connected to the port is periodically polled by the API function of the corresponding type via the port corresponding to each port identification information included in the connection information and authenticated from the IC card. Read information.

本発明によるICカード認証方法、装置及びプログラムの第2態様では、第1態様において、該ICカードリーダ接続状態初期化イベントは、該コンピュータのリセット又は入力手段からのICカードリーダ接続状態初期化指示入力に基づいて発生する。   In the second aspect of the IC card authentication method, apparatus, and program according to the present invention, in the first aspect, the IC card reader connection state initialization event is a reset of the computer or an IC card reader connection state initialization instruction from the input means. Occurs based on input.

上記第1態様の構成によれば、ICカードリーダ接続状態初期化イベントの発生に応答して、複数のICカードリーダ接続ポートのそれぞれにつき、ポート識別情報とAPI関数のタイプ識別情報とを対応付けた接続情報を作成し、これに基づいて各ポートを介し、該ポートに接続されたICカードリーダに対しポーリングしてICカードから認証情報を読み取るので、ユーザは自己が所持するICカードのタイプに応じてICカードリーダを取り替える必要がなく、操作性が向上するという効果を奏する。   According to the configuration of the first aspect, in response to the occurrence of the IC card reader connection state initialization event, the port identification information and the API function type identification information are associated with each other for each of the plurality of IC card reader connection ports. The connection information is created, and the authentication information is read from the IC card by polling the IC card reader connected to the port through each port based on the connection information. Accordingly, there is no need to replace the IC card reader, and the operability is improved.

上記第2態様の構成によれば、コンピュータへの電源投入後においてICカードリーダ接続状態を変更しても、初期化指示を入力することにより上記接続情報が更新されるという効果を奏する。   According to the configuration of the second aspect, even if the IC card reader connection state is changed after the computer is turned on, the connection information is updated by inputting an initialization instruction.

本発明の他の目的、特徴的な構成及び効果は、以下の説明を特許請求の範囲及び図面の記載と関係づけて読むことにより明らかになる。   Other objects, characteristic configurations and effects of the present invention will become apparent from the following description read in connection with the appended claims and the drawings.

本発明の実施例1に係る画像形成装置に備えられた認証処理部の機能ブロック部である。3 is a functional block unit of an authentication processing unit provided in the image forming apparatus according to the first exemplary embodiment of the present invention. 図1中のICカードリーダ接続状態初期化部の処理を示す概略フローチャートである。It is a schematic flowchart which shows the process of the IC card reader connection state initialization part in FIG. 図1中のICカードリーダ接続状態記憶部に格納されるテーブルの説明図である。It is explanatory drawing of the table stored in the IC card reader connection state memory | storage part in FIG. 図2の処理で実行される具体例を示すシーケンス図である。It is a sequence diagram which shows the specific example performed by the process of FIG. 画像形成装置のハードウェア構成を示す概略ブロック図である。FIG. 2 is a schematic block diagram illustrating a hardware configuration of the image forming apparatus.

図5は、画像形成装置10のハードウェア構成を示す概略ブロック図である。   FIG. 5 is a schematic block diagram illustrating a hardware configuration of the image forming apparatus 10.

画像形成装置10では、CPU21がインターフェイス12を介してPROM13、DRAM14、ハードディスクドライブ15、ネットワークインターフェイス16、操作パネル17、スキャナ18、プリンタ19、ファックスモデム20及び通信部21に結合されている。   In the image forming apparatus 10, the CPU 21 is coupled to the PROM 13, DRAM 14, hard disk drive 15, network interface 16, operation panel 17, scanner 18, printer 19, fax modem 20, and communication unit 21 via the interface 12.

PROM13は、例えばフラッシュメモリであり、BIOS(Basic Input/Output System)、OS(Operating System)、各種ドライバ、及び、画像形成装置として機能させるためのアプリケーションが格納されている。このアプリケーションには、認証プログラムが含まれている。DRAM14は、主記憶装置として用いられる。ハードディスクドライブ15には、印刷用データ、スキャナ2Aで読み取った画像データ及びファクシミリ受信データが保存される。操作パネル17は、キー及び表示パネルを供えている。スキャナ18は、印刷及びファクシミリ送信の入力装置として用いられるとともに、画像ファイル生成のために用いられる。プリンタ19は、プリントエンジン並びに用紙の給紙部、搬送部及び排紙部を備え、DRAM14に生成されたビットマップデータが供給され、このデータに基づいて感光ドラムに静電潜像を形成し、この像をトナーで現像し、トナー像を用紙に転写し定着させ、排紙する。   The PROM 13 is, for example, a flash memory, and stores a BIOS (Basic Input / Output System), an OS (Operating System), various drivers, and an application for functioning as an image forming apparatus. This application includes an authentication program. The DRAM 14 is used as a main storage device. The hard disk drive 15 stores printing data, image data read by the scanner 2A, and facsimile reception data. The operation panel 17 is provided with keys and a display panel. The scanner 18 is used as an input device for printing and facsimile transmission, and is used for generating an image file. The printer 19 includes a print engine, a paper feed unit, a conveyance unit, and a paper discharge unit. The bitmap data generated in the DRAM 14 is supplied, and an electrostatic latent image is formed on the photosensitive drum based on the data. This image is developed with toner, and the toner image is transferred and fixed on a sheet, and discharged.

通信部21は、インターフェイス12とICカードリーダとの間を仲介するものであって、USBインターフェイス、RS232Cインターフェイス又はネットワークインターフェイス等のハードウェアと、対応するソフトウェアドライバとを備えている。通信部21は、マルチプレクサ22のポート23、24又は25に選択的に接続され、その切替は、マルチプレクサ22に対する切替制御部26により行われる。   The communication unit 21 mediates between the interface 12 and the IC card reader, and includes hardware such as a USB interface, an RS232C interface, or a network interface, and a corresponding software driver. The communication unit 21 is selectively connected to the port 23, 24 or 25 of the multiplexer 22, and the switching is performed by the switching control unit 26 for the multiplexer 22.

切替制御部26は、初期モードとスキャンモードとを有し、初期モードでは、ICカードリーダ接続状態記憶部44からの指示に応答してマルチプレクサ22に対しポート23、24又はポート25を択一的に選択制御し、スキャンモードでは、ポート23、24及び25を定期的、例えば1秒ごとに順次選択状態にさせる。   The switching control unit 26 has an initial mode and a scan mode. In the initial mode, the port 23, 24, or port 25 is selected for the multiplexer 22 in response to an instruction from the IC card reader connection state storage unit 44. In the scan mode, the ports 23, 24, and 25 are selected at regular intervals, for example, every second.

ポート23、24及び25にはそれぞれ、任意のタイプのICカードリーダ、例えばICカードリーダ27、28及び29のいずれかが接続可能となっている。但し、ICカードリーダには、通信部21と同じタイプの通信インターフェイスを備えておく必要がある。   Any type of IC card reader, for example, any of IC card readers 27, 28 and 29 can be connected to the ports 23, 24 and 25, respectively. However, the IC card reader needs to be provided with the same type of communication interface as the communication unit 21.

図1は、上記認証プログラムに関係した認証処理部の機能ブロック部である。   FIG. 1 is a functional block unit of an authentication processing unit related to the authentication program.

例えば、ICカードリーダ27は、タイプAのICカード30を読取り可能であり、ICカードリーダ28はタイプB及びCのICカード31及び32を読取り可能であり、ICカードリーダ29はタイプDのICカード33を読取り可能である。   For example, the IC card reader 27 can read a type A IC card 30, the IC card reader 28 can read type B and C IC cards 31 and 32, and the IC card reader 29 can be a type D IC card. The card 33 can be read.

ICカードリーダ接続状態初期化部40は、リセットパルス発生部41からのリセットパルス又はUI部42からの特定のフラグのセット(両者の論理和43が‘1’へ遷移すること)に応答して、処理を介しする。この処理は、ポート23、24及び25のそれぞれにどのタイプのICリーダが接続されているかを調べてその結果をICカードリーダ接続状態記憶部44に格納するためのものである。   The IC card reader connection state initialization unit 40 responds to a reset pulse from the reset pulse generation unit 41 or a specific flag set from the UI unit 42 (the logical sum 43 of both transitions to “1”). Through the process. This process is for checking which type of IC reader is connected to each of the ports 23, 24 and 25 and storing the result in the IC card reader connection state storage unit 44.

リセットパルス発生部41は、画像形成装置10への電源投入又はリセットボタン押下に応答して、リセットパルスを発生する。UI部42は、操作パネル17の操作に応じて操作パネル17の表示部にICカード設定画面を表示させている状態で、特定のキーが押下されたことに応答して、上記フラグをセットする。   The reset pulse generator 41 generates a reset pulse in response to turning on the power to the image forming apparatus 10 or pressing the reset button. The UI unit 42 sets the flag in response to a specific key being pressed in a state where the IC card setting screen is displayed on the display unit of the operation panel 17 according to the operation of the operation panel 17. .

図1中のブロック40、42及び45はCPU11と13に格納されたプログラムとで構成され、ブロック44及び47はそれぞれDRAM14内及びPROM13内の記憶領域である。切替制御部26は、CPU11と13に格納されたプログラムとで構成され又はハードウェアで構成される。   Blocks 40, 42 and 45 in FIG. 1 are composed of programs stored in the CPUs 11 and 13, and blocks 44 and 47 are storage areas in the DRAM 14 and PROM 13, respectively. The switching control unit 26 is composed of programs stored in the CPUs 11 and 13 or hardware.

ここで、画像形成装置10で対応可能なICカードリーダのタイプが3つであり、それぞれをリーダタイプナンバ0、1及び2で識別する。例えばICカードリーダ27、28及び29はそれぞれリーダタイプナンバ1、0及び2である。図3(B)に示すように、リーダタイプナンバ0、1及び2のICカードリーダはそれぞれ、API群名A、B及びCのAPI関数呼び出しに対応可能となっており、このテーブルはPROM13に予め格納され、システムリセット時にICカードリーダ接続状態記憶部44にコピーされる。API関数0〜2をそれぞれAPI群名(例えば、DLLファイル名)A、B及びCのAPI群中の接続確立関数とする。また、ポート23、24及び25を識別するポートナンバをそれぞれ0、1及び2とする。   Here, there are three types of IC card readers that can be handled by the image forming apparatus 10, and each is identified by the reader type numbers 0, 1, and 2. For example, IC card readers 27, 28 and 29 are reader type numbers 1, 0 and 2, respectively. As shown in FIG. 3B, the IC card readers of the reader type numbers 0, 1 and 2 can support API function calls of API group names A, B and C, respectively. Stored in advance and copied to the IC card reader connection state storage unit 44 when the system is reset. API functions 0 to 2 are connection establishment functions in API groups of API group names (for example, DLL file names) A, B, and C, respectively. Port numbers for identifying the ports 23, 24, and 25 are set to 0, 1, and 2, respectively.

図2は、ICカードリーダ接続状態初期化部40の処理を示す概略フローチャートである。図3はICカードリーダ接続状態記憶部44に格納されるデータの説明図である。図4は、図2の処理の説明図である。以下、括弧内は図2中のステップ識別符号である。   FIG. 2 is a schematic flowchart showing processing of the IC card reader connection state initialization unit 40. FIG. 3 is an explanatory diagram of data stored in the IC card reader connection state storage unit 44. FIG. 4 is an explanatory diagram of the processing of FIG. Hereinafter, the parenthesized characters are step identification codes in FIG.

(S0)上記フラグをリセットし、切替制御部26を上記初期モードにし、また、ポートナンバ変数iに初期値0を代入する。   (S0) The flag is reset, the switching control unit 26 is set to the initial mode, and an initial value 0 is substituted for the port number variable i.

(S1)切替制御部26を介しマルチプレクサ22に対し、ポートナンバ変数iのポートを選択させる。   (S1) The multiplexer 22 is made to select the port of the port number variable i through the switching control unit 26.

(S2)リーダタイプナンバjに初期値0を代入する。   (S2) The initial value 0 is substituted for the reader type number j.

(S3)ICカードリーダ接続状態初期化部40は、通信部21及びマルチプレクサ22を介し、API関数j呼出情報をICカードリーダ27に送信して、ICカードリーダに対しAPI関数jを呼び出す(コマンドを与える)ことにより接続確立を試みる。ICカードリーダがAPI関数jに対応していれば、例えばバイナリ値"True"が戻り値として、マルチプレクサ22及び通信部21を介してICカードリーダ接続状態初期化部40に供給され(接続が確立し)、対応していなければ、エラー情報、例えばエラーコード又はバイナリ値"False"、が、戻り値としてICカードリーダ接続状態初期化部40に供給される。換言すれば、このようにICカードリーダ27〜29のインターフェイスが構成されている。   (S3) The IC card reader connection state initialization unit 40 transmits the API function j call information to the IC card reader 27 via the communication unit 21 and the multiplexer 22, and calls the API function j to the IC card reader (command Attempt to establish a connection. If the IC card reader supports the API function j, for example, a binary value “True” is supplied as a return value to the IC card reader connection state initialization unit 40 via the multiplexer 22 and the communication unit 21 (connection is established). If not, error information such as an error code or binary value “False” is supplied to the IC card reader connection state initialization unit 40 as a return value. In other words, the interfaces of the IC card readers 27 to 29 are configured in this way.

すなわち、ICカードリーダの本体部にAPI関数jの呼び出しが供給される前にAPI関数jがこのICカードリーダに適合しているか否かが前段部でチェックされ、否定判定された場合にはエラー情報が戻り値としてICカードリーダ接続状態初期化部40に供給され、肯定判定された場合にはICカードリーダの本体部にAPI関数jの呼び出しが供給され、その戻り値が該前段部を介しICカードリーダ接続状態初期化部40に供給される。   That is, before the API function j call is supplied to the main body of the IC card reader, whether or not the API function j is compatible with the IC card reader is checked at the preceding stage, and if a negative determination is made, an error occurs. The information is supplied as a return value to the IC card reader connection state initialization unit 40, and when an affirmative determination is made, a call to the API function j is supplied to the main body of the IC card reader, and the return value is sent via the preceding stage. This is supplied to the IC card reader connection state initialization unit 40.

(S4)API関数jの戻り値が接続確立を示していれば、ステップS5へ進み、そうでなければステップS6へ進む。   (S4) If the return value of the API function j indicates connection establishment, the process proceeds to step S5, and if not, the process proceeds to step S6.

(S5)ICカードリーダ接続状態記憶部44には、図3(A)に示すようなポートナンバ変数iとリーダタイプナンバjとを対応付けたテーブルが定義(記憶領域が確保)されており、ポートナンバ変数iに対応したアドレスにリーダタイプナンバjの値を書き込み、ステップS8へ進む。   (S5) The IC card reader connection state storage unit 44 defines a table (portion storage area is secured) associating port number variable i and reader type number j as shown in FIG. The value of the reader type number j is written in the address corresponding to the port number variable i, and the process proceeds to step S8.

(S6)リーダタイプナンバjの値を1だけインクリメントする。   (S6) The value of the leader type number j is incremented by 1.

(S7)j<rmaxであればステップS3へ戻り、そうでなければステップS8へ進む。ここに、rmaxはICカードリーダのタイプ数であり、図1の場合rmax=3である。   (S7) If j <rmax, the process returns to step S3; otherwise, the process proceeds to step S8. Here, rmax is the number of IC card reader types, and rmax = 3 in the case of FIG.

(S8)ポートナンバ変数iの値を1だけインクリメントする。   (S8) The value of the port number variable i is incremented by 1.

(S9)i<pmaxであればステップS1へ戻り、そうでなければ処理を終了する。ここに、pmaxはマルチプレクサ22のポート数である。   (S9) If i <pmax, the process returns to step S1, otherwise the process ends. Here, pmax is the number of ports of the multiplexer 22.

このようなICカードリーダ接続状態初期化処理により、例えば、図4に示すような動作が行われて、図3(A)に示すテーブルが作成される。   By such an IC card reader connection state initialization process, for example, the operation shown in FIG. 4 is performed, and the table shown in FIG. 3A is created.

図1に戻って、この初期化処理後に、認証情報読取部46は切替制御部26を上記スキャンモードにし、切替制御部26の選択状態(ポートナンバi)に応じて、図3(A)のテーブルからリーダタイプナンバjを読み取り、次いで図3(B)のテーブルから、このリーダタイプナンバjに対応したAPI群名を読み取り、通信部21及び切替制御部26を介しICカードリーダに対し、このAPI群中のポーリング関数を呼び出して(コマンドを与えて)、ICカードに対するポーリングを行わせる。   Returning to FIG. 1, after this initialization processing, the authentication information reading unit 46 sets the switching control unit 26 in the scan mode, and according to the selection state (port number i) of the switching control unit 26, the authentication information reading unit 46 of FIG. The reader type number j is read from the table, and then the API group name corresponding to the reader type number j is read from the table of FIG. 3B, and this is sent to the IC card reader via the communication unit 21 and the switching control unit 26. A polling function in the API group is called (a command is given) to poll the IC card.

ユーザが例えばICカード30をICカードリーダ27にかざし、切替制御部26がポート23を選択状態にしたときに、ポーリング応答が認証情報読取部46に返され、認証部45に制御が移る。認証部45は、認証情報読取部46を介し上記同様にして、前記API群名の所定関数でICカードリーダ27を動作させてICカード30から認証情報を読み取らせ、これを取得し、登録認証情報記憶部47を参照してユーザ認証を行う。その結果が正規のユーザであることを示していれば、画像形成装置10の機能を使用可能となる。   For example, when the user holds the IC card 30 over the IC card reader 27 and the switching control unit 26 selects the port 23, a polling response is returned to the authentication information reading unit 46, and the control is transferred to the authentication unit 45. The authentication unit 45 operates the IC card reader 27 with a predetermined function of the API group name via the authentication information reading unit 46 to read the authentication information from the IC card 30, and obtains it for registration authentication. User authentication is performed with reference to the information storage unit 47. If the result indicates that the user is an authorized user, the function of the image forming apparatus 10 can be used.

本実施例1によれば、電源投入時等のシステムリセットパルス又は操作パネル17からの初期化指示入力に応答して、ICカードリーダ接続ポート23〜25のそれぞれにつき、ポートナンバとAPI関数のタイプ識別情報でもあるリーダタイプナンバとを対応付けた接続情報を図3(A)に示すように作成し、これに基づいて各ポートを介し、該ポートに接続されたICカードリーダに対しポーリングしてICカードから認証情報を読み取るので、ユーザは自己が所持するICカードのタイプに応じてICカードリーダを取り替える必要がなく、操作性が向上するという効果を奏する。   According to the first embodiment, in response to a system reset pulse at power-on or the like or an initialization instruction input from the operation panel 17, the port number and the API function type for each of the IC card reader connection ports 23 to 25 As shown in FIG. 3A, connection information in association with the reader type number that is also identification information is created, and based on this, the IC card reader connected to the port is polled through each port. Since the authentication information is read from the IC card, the user does not need to replace the IC card reader according to the type of IC card that the user possesses, and the operability is improved.

また、画像形成装置10への電源投入後においてICカードリーダ接続状態を変更しても、初期化指示を操作パネル17から入力することにより上記接続情報が更新されるという効果を奏する。   Further, even if the IC card reader connection state is changed after the image forming apparatus 10 is turned on, the connection information is updated by inputting an initialization instruction from the operation panel 17.

以上において、本発明の好適な実施例を説明したが、本発明には他にも種々の変形例が含まれ、上記実施例で述べた各構成要素の機能を実現する他の構成を用いたもの、当業者であればこれらの構成又は機能から想到するであろう他の構成も、本発明に含まれる。   In the above, preferred embodiments of the present invention have been described. However, the present invention includes various modifications, and other configurations that realize the functions of the respective components described in the above embodiments are used. However, other configurations that would be conceived by those skilled in the art from these configurations or functions are also included in the present invention.

例えば、上記実施例ではマルチプレクサ22を用いる場合を説明したが、通信部21をネットワークインターフェイスで構成した場合には、マルチプレクサ22を用いなくてよい。この場合、ブロードキャストにより、ICカードリーダ27〜29に対し同時に接続確立の試み及びポーリングを行うことができる。   For example, although the case where the multiplexer 22 is used has been described in the above embodiment, the multiplexer 22 may not be used when the communication unit 21 is configured by a network interface. In this case, it is possible to simultaneously attempt connection establishment and polling for the IC card readers 27 to 29 by broadcasting.

また、操作パネル27からUI部52を介してICカードリーダ接続状態初期化部40に初期化指示を入力する替わりに、ICカードリーダがポートに接続されたことを検出し。その検出信号を初期化指示入力として用いてもよい。   Further, instead of inputting an initialization instruction from the operation panel 27 to the IC card reader connection state initialization unit 40 via the UI unit 52, it detects that the IC card reader is connected to the port. The detection signal may be used as an initialization instruction input.

さらに、ICカードリーダの替わりに、ICカードリーダ・ライタを用いて、例えば画像形成装置の使用情報をICカードに書き込むようにしてもよいことは勿論である。   Furthermore, it is a matter of course that the use information of the image forming apparatus may be written in the IC card using an IC card reader / writer instead of the IC card reader.

10 画像形成装置
11 CPU
12 インターフェイス
13 PROM
14 DRAM
15 ハードディスクドライブ
16 ネットワークインターフェイス
17 操作パネル
18 スキャナ
19 プリンタ
20 ファックスモデム
21 通信部
22 マルチプレクサ
23〜25 ポート
26 切替制御部
27〜29 ICカードリーダ
30〜33 ICカード
40 ICカードリーダ接続状態初期化部
41 リセットパルス発生部
42 UI部
44 ICカードリーダ接続状態記憶部
45 認証部
46 認証情報読取部
47 登録認証情報記憶部
i ポートナンバ
j リーダタイプナンバ
rmax リーダタイプ数
pmax ポート数
10 Image forming apparatus 11 CPU
12 Interface 13 PROM
14 DRAM
DESCRIPTION OF SYMBOLS 15 Hard disk drive 16 Network interface 17 Operation panel 18 Scanner 19 Printer 20 Fax modem 21 Communication part 22 Multiplexer 23-25 Port 26 Switching control part 27-29 IC card reader 30-33 IC card 40 IC card reader connection state initialization part 41 Reset pulse generation unit 42 UI unit 44 IC card reader connection state storage unit 45 Authentication unit 46 Authentication information reading unit 47 Registered authentication information storage unit i Port number j Reader type number rmax Number of reader types pmax Number of ports

Claims (5)

コンピュータが、ICカードから認証情報を読み取り認証するICカード認証方法において、
(a)ICカードリーダ接続状態初期化イベントの発生に応答して、複数のICカードリーダ接続ポートのそれぞれにつき、所定複数タイプのそれぞれのAPI関数でICカードリーダとの接続確立を試み、接続が確立した場合、そのポート識別情報とそのタイプ識別情報とを対応付けた接続情報を記憶手段に格納し、
(b)該接続情報に含まれる各ポート識別情報に対応したポートを介し、対応するタイプ識別情報に係るAPI関数で定期的に、該ポートに接続されたICカードリーダに対しポーリングして、ICカードから認証情報を読み取る、
ことを特徴とするICカード認証方法。
In an IC card authentication method in which a computer reads and authenticates authentication information from an IC card,
(A) In response to the occurrence of the IC card reader connection state initialization event, the connection with the IC card reader is attempted for each of a plurality of IC card reader connection ports using respective API functions of a predetermined plurality of types. If established, the storage means stores the connection information in which the port identification information and the type identification information are associated with each other,
(B) Periodically polling the IC card reader connected to the port via the API function related to the corresponding type identification information via the port corresponding to each port identification information included in the connection information, Read authentication information from the card,
An IC card authentication method characterized by the above.
該ICカードリーダ接続状態初期化イベントは、該コンピュータのリセット又は入力手段からのICカードリーダ接続状態初期化指示入力に基づいて発生することを特徴とする請求項1に記載のICカード認証方法。   2. The IC card authentication method according to claim 1, wherein the IC card reader connection state initialization event is generated based on a reset of the computer or an IC card reader connection state initialization instruction input from an input unit. ICカードから認証情報を読み取り認証するICカード認証装置において、
ICカードリーダ接続状態初期化イベントを発生させるイベント発生手段と、
記憶手段と、
該ICカードリーダ接続状態初期化イベントの発生に応答して、複数のICカードリーダ接続ポートのそれぞれにつき、所定複数タイプのそれぞれのAPI関数でICカードリーダとの接続確立を試み、接続が確立した場合、そのポート識別情報とそのタイプ識別情報とを対応付けた接続情報を該記憶手段に格納するICカードリーダ接続状態初期化手段と、
該接続情報に含まれる各ポート識別情報に対応したポートを介し、対応するタイプ識別情報に係るAPI関数で定期的に、該ポートに接続されたICカードリーダに対しポーリングして、ICカードから認証情報を読み取る認証情報読取手段と、
を有することを特徴とするICカード認証装置。
In an IC card authentication device that reads and authenticates authentication information from an IC card,
Event generation means for generating an IC card reader connection state initialization event;
Storage means;
In response to the occurrence of the IC card reader connection state initialization event, each of the plurality of IC card reader connection ports tries to establish a connection with the IC card reader using each API function of a predetermined plurality of types, and the connection is established. An IC card reader connection state initialization unit that stores connection information in which the port identification information is associated with the type identification information in the storage unit;
The IC card reader connected to the port is periodically polled by the API function related to the corresponding type identification information via the port corresponding to each port identification information included in the connection information, and authenticated from the IC card. Authentication information reading means for reading information;
An IC card authenticating device comprising:
該イベント発生手段は、該コンピュータに対するリセット信号発生手段又はICカードリーダ接続状態初期化指示を入力する入力手段であることを特徴とする請求項3に記載のICカード認証装置。   4. The IC card authentication apparatus according to claim 3, wherein the event generation means is a reset signal generation means for the computer or an input means for inputting an IC card reader connection state initialization instruction. コンピュータに対し、ICカードから認証情報を読み取らせて認証するICカード認証プログラムにおいて、該コンピュータに対し、
(a)ICカードリーダ接続状態初期化イベントの発生に応答して、複数のICカードリーダ接続ポートのそれぞれにつき、所定複数タイプのそれぞれのAPI関数でICカードリーダとの接続確立を試みさせ、接続が確立した場合、そのポート識別情報とそのタイプ識別情報とを対応付けた接続情報を記憶手段に格納させ、
(b)該接続情報に含まれる各ポート識別情報に対応したポートを介し、対応するタイプ識別情報に係るAPI関数で定期的に、該ポートに接続されたICカードリーダに対しポーリングさせて、ICカードから認証情報を読み取らせる、
ことを特徴とするICカード認証プログラム。
In an IC card authentication program for authenticating a computer by reading authentication information from an IC card,
(A) In response to the occurrence of an IC card reader connection state initialization event, each of a plurality of IC card reader connection ports is caused to attempt to establish a connection with the IC card reader by using a predetermined plurality of types of API functions. Is established, the storage means stores the connection information in which the port identification information and the type identification information are associated with each other,
(B) The IC card reader connected to the port is periodically polled by the API function related to the corresponding type identification information via the port corresponding to each port identification information included in the connection information, and the IC Make the authentication information read from the card,
An IC card authentication program characterized by that.
JP2010115867A 2010-05-20 2010-05-20 IC card authentication method, apparatus and program Active JP5232828B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010115867A JP5232828B2 (en) 2010-05-20 2010-05-20 IC card authentication method, apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010115867A JP5232828B2 (en) 2010-05-20 2010-05-20 IC card authentication method, apparatus and program

Publications (2)

Publication Number Publication Date
JP2011243074A true JP2011243074A (en) 2011-12-01
JP5232828B2 JP5232828B2 (en) 2013-07-10

Family

ID=45409641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010115867A Active JP5232828B2 (en) 2010-05-20 2010-05-20 IC card authentication method, apparatus and program

Country Status (1)

Country Link
JP (1) JP5232828B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000252978A (en) * 1999-03-01 2000-09-14 Rohm Co Ltd Communication system having authenticating function
JP2003076955A (en) * 2001-08-30 2003-03-14 Nippon Signal Co Ltd:The Method for preventing interference of reader/writer
JP2009086832A (en) * 2007-09-28 2009-04-23 Nidec Sankyo Corp Information system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000252978A (en) * 1999-03-01 2000-09-14 Rohm Co Ltd Communication system having authenticating function
JP2003076955A (en) * 2001-08-30 2003-03-14 Nippon Signal Co Ltd:The Method for preventing interference of reader/writer
JP2009086832A (en) * 2007-09-28 2009-04-23 Nidec Sankyo Corp Information system

Also Published As

Publication number Publication date
JP5232828B2 (en) 2013-07-10

Similar Documents

Publication Publication Date Title
US8819852B2 (en) Image forming apparatus, access control method, access control program and computer readable information recording medium
JP2008109416A (en) Image processing apparatus and program
US20040230842A1 (en) Image forming apparatus, launching method of program in the apparatus, image forming system, and program and storage medium therefor
JP5268694B2 (en) License management system, image forming apparatus, and license management method
JP6216231B2 (en) Information processing apparatus, control method thereof, and program
US10817232B2 (en) Image forming device that manages execution permission without increasing administrative workload required for remote operation
US11418659B2 (en) Information processing apparatus and method for controlling information processing apparatus comprising utilizing hardware numeric keys for character string input into input regions and pressing an input region multiple instances to display a software keyboard for character string input into an input region
US20190245854A1 (en) Server and non-transitory computer-readable recording medium storing computer-readable instructions for server
JP2020057040A (en) Information processing device, control method therefor, and program
JP2008059332A (en) Multifunctional device and use condition setting program
JP2005148934A (en) Information processor, program activation method, program activation program and recording medium
JP4730241B2 (en) Image processing system, image processing apparatus, and program
JP5232828B2 (en) IC card authentication method, apparatus and program
JP7182966B2 (en) Information processing device, method for starting information processing device, and program
JP6518302B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP5030178B2 (en) Printing system, information processing apparatus, printing apparatus, printing method, control method, and program
JP2008102678A (en) Electronic equipment
JP2007257555A (en) Image forming apparatus
JP2016178354A (en) Image processing system, image processing device, authentication method and program
JP4491660B2 (en) Image forming apparatus
JP2009194555A (en) Method for controlling electronic equipment
US20230161523A1 (en) Image forming device, method of controlling image forming device, and program
JP4616783B2 (en) Image forming apparatus
JP2006222811A (en) Image forming apparatus, electronic signature attaching method, electronic signature attaching program, and recording medium
JP2007213162A (en) Image formation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130325

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5232828

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150