SMART CARD READ/WRITE CONTROL METHOD BASED ON USB INTERFACE AND READER/WRITER THEREOF
First Claim
1. A smart card read/write control method based on a USB interface, wherein comprising the steps of:
- a host establishing a connection with the smart card reader/writer by enumerating a USB Human Interface Device (HID), gaining human interface class and report descriptors, and setting up communications with the smart card reader/writer;
the host sending commands to the smart card reader/writer via the USB interface with a standard HID protocol;
the smart card reader/writer resolving and processing the control commands, including data interaction with the smart card according to the commands; and
the smart card reader/writer converting a processing result to be returned into data compliant with the HID protocol, and sending the data back to the host.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention uses a smart control module with HID descriptors to communicate with the host side in accordance with the standard HID communication protocol, so as to interact with the smart card, which can eliminate the need of installing a private driver from a particular manufacturer when installing its reader/writer. The driver of the HID device can be installed automatically upon installation of the operating system. The users can use the reader/writer easily without carrying a driver around. It is not necessary for the users to deal with upgraded versions of the driver, to consider compatibilities of drivers for different products, to confront usage risks of the operating system due to the driver, or to worry about contamination of the operating system resulted from the installation and uninstallation of the driver.
29 Citations
9 Claims
-
1. A smart card read/write control method based on a USB interface, wherein comprising the steps of:
-
a host establishing a connection with the smart card reader/writer by enumerating a USB Human Interface Device (HID), gaining human interface class and report descriptors, and setting up communications with the smart card reader/writer; the host sending commands to the smart card reader/writer via the USB interface with a standard HID protocol; the smart card reader/writer resolving and processing the control commands, including data interaction with the smart card according to the commands; and the smart card reader/writer converting a processing result to be returned into data compliant with the HID protocol, and sending the data back to the host. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification