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

CN100517290CActive Publication Date: 2009-07-22FEITIAN TECHNOLOGIES
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2009-07-22

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The invention discloses a compound device method for realizing a universal serial bus key belonging to the compound device range. The composite device is connected to the host and reports to the host that it is a mass storage device; the host sends a URB packet to the composite device, and the composite device judges the source of the command, and then processes it according to the standard storage SCSI command or parses the user from a specific command. Custom commands. Then return to the host in the form of USB command packet. The invention adopts the universal serial bus protocol including the communication between the device and the host, the self-defined information security device protocol and the user interface library. In the existing operating system, it appears as a common storage device, and realizes the function of an information security device through the provided API. Functionally, it has the common advantages of MESS STORAGE devices and information security devices, and has good usability.
Need to check novelty before this filing date? Find Prior Art

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...