Apparatus enabling the human interface device to provide a smart card interface and operating method therein
First Claim
1. A method for operating an apparatus for enabling a human interface device (HID) to provide a smart card interface, the apparatus being a virtual reader driver layer comprisinga monitoring module for monitoring connection and disconnection of the HID and obtaining a name of a human interface device object,a Personal Computer/Smartcard (PC/SC) interface module for providing a driver interface complying with a PC/SC Specification Version 2.01.3 to an application layer, receiving an I/O Request Package (IRP) sent from the application layer, and transmitting it to a data processing module, andthe data processing module for receiving and process the IRP sent from the application layer through the PC/SC interface module, and sending the IRP to a HID device class driver layer in accordance with the name of the human interface device object obtained by the monitoring module,the method comprising:
- the monitoring module monitoring if the HID is connected;
if the HID is connected, the monitoring module obtaining the name of the human interface device object at lower-level;
the monitoring module determining if the connected HID needs to be processed;
the monitoring module initializing variables in a program and notifying a smart card service system of the connection of a smart card;
the monitoring module monitoring if the HID is disconnected;
if so, the monitoring module releasing system resources occupied by the HID since its connection, and notifying the smart card service system of the disconnection of the smart card;
the data processing module receiving the IRP relating to the HID, which is sent from the application layer, and reorganizing the IRP in accordance with a HID data transfer protocol; and
the data processing module sending the reorganized IRP to the HID device class driver layer at lower-level for data interacting, and returning the result to the application layer.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides an apparatus enabling the Human Interface Device (HID) to provide a smart card interface and an operating method therein. The apparatus is a virtual reader driver layer comprising a monitoring module for monitoring the connection and disconnection of the HID and obtaining the name of the HID object; a PC/SC interface module for providing a driver interface complying with the PC/SC Specification to the application layer, receiving the IRP sent from the application layer, and transmitting it to a data processing module; and a data processing module for receiving and processing the IRP sent from the application layer through the PC/SC interface module, and sending the IRP to the HID device class driver layer in accordance with the name of the HID object obtained by the monitoring module.
12 Citations
8 Claims
-
1. A method for operating an apparatus for enabling a human interface device (HID) to provide a smart card interface, the apparatus being a virtual reader driver layer comprising
a monitoring module for monitoring connection and disconnection of the HID and obtaining a name of a human interface device object, a Personal Computer/Smartcard (PC/SC) interface module for providing a driver interface complying with a PC/SC Specification Version 2.01.3 to an application layer, receiving an I/O Request Package (IRP) sent from the application layer, and transmitting it to a data processing module, and the data processing module for receiving and process the IRP sent from the application layer through the PC/SC interface module, and sending the IRP to a HID device class driver layer in accordance with the name of the human interface device object obtained by the monitoring module, the method comprising: -
the monitoring module monitoring if the HID is connected; if the HID is connected, the monitoring module obtaining the name of the human interface device object at lower-level; the monitoring module determining if the connected HID needs to be processed; the monitoring module initializing variables in a program and notifying a smart card service system of the connection of a smart card; the monitoring module monitoring if the HID is disconnected;
if so, the monitoring module releasing system resources occupied by the HID since its connection, and notifying the smart card service system of the disconnection of the smart card;the data processing module receiving the IRP relating to the HID, which is sent from the application layer, and reorganizing the IRP in accordance with a HID data transfer protocol; and the data processing module sending the reorganized IRP to the HID device class driver layer at lower-level for data interacting, and returning the result to the application layer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification