Method for realizing universal series bus key compound equipment
A universal serial bus and composite device technology, applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of inconvenient resources, different functions, waste, etc., and achieve the effects of protecting data security, solving security, and being convenient to use
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2009-07-22
Smart Images
Figure 1
Abstract
Description
technical field
[0001] The invention belongs to the scope of composite equipment, and in particular relates to a method for realizing the composite equipment of a universal serial bus key. Background technique
[0002] Existing composite devices refer to devices in which one device completes the functions of two or more different devices. It utilizes the Universal Serial Bus STORAGE technology, through the Universal Serial Bus block transfer protocol, to combine two or more devices with different functions into one device, which has good usability. Devices that use this Universal Serial Bus STORAGE technology usually include:
[0003] The first category of removable storage devices includes: magnetic disks, optical disks, disk-optical composite devices, and printers.
[0004] The second type of information security equipment includes software protection equipment and identity verification security equipment.
[0005] At present, removable storage devices have been widely ...
Examples
Embodiment 1
[0034] Embodiment 1, integrating disks and information security devices into composite devices
[0035] Such as figure 1 As shown, the composite device uses the TargetId in each SCSI command to distinguish whether the command comes from the operating system or the application program, and the device appears as a disk on the operating system. The specific steps are:
[0036] (1) The composite device is connected to the host; and reports to the host that it belongs to a mass storage device;
[0037] (2) Start to respond to the USB protocol, and the device reports as a bulk transfer protocol;
[0038] (3) responding to the GET-MAX-LUN command in the SCSI command, reporting that the LUN maximum value of the composite device is 0, and the composite device is a storage device;
[0039] (4) process the SCSI command, the SCSI command of the operating system is delivered to the Universal Serial Bus STORAGE, and the Universal Serial Bus STORAGE encapsulates the SCSI command into a Un...