Method for transporting data through universal serial bus and universal serial bus device
AssigneeFeitian Technologies Co., Ltd.
InventorsYu Huang, Zhou Lu, Fan Chen
Life of this patent
Estimating the term…
Abstract
A Universal Serial Bus data transport method and its device is disclosed. Data transport is performed through a high-speed transport technique based on a Universal Serial Bus, which consists of Universal Serial Bus protocol for communication between the device and the host, and SCSI protocol for interaction between the device and the upper driver layer. A data transport device using the Universal Serial Bus thus uses the embedded driver inside the operating system, which may be self-loaded/self-initialized, and have high data transport speed, and convenient to use.
Claims18
A method for transporting data between a host and a Universal Serial Bus device through Universal Serial Bus, comprising:
- initializing the Universal Serial Bus device;
- sending commands from the host to the Universal Serial Bus device;
- parsing and processing the commands by the Universal Serial Bus device;
- and
- responding to an application of the host by the Universal Serial Bus device;
- wherein, when the host sends the commands to the Universal Serial Bus device, the host converts the commands into Small Computer System Interface (SCSI) commands through a SCSI protocol, encapsulates the SCSI commands into a Universal Serial Bus command package, and transfers data through a Universal Serial Bus protocol;
- no disk letter is generated for the Universal Serial Bus device at the host;
- the step of parsing and processing the commands by the Universal Serial Bus device comprises:
- processing a Universal Serial Bus data package that contains the SCSI commands by the Universal Serial Bus device;
- and
- parsing the Universal Serial Bus data package into a user data package, and executing related commands based on the user data package by the Universal Serial Bus device;
- the related commands, when being executed, implement a function of data processing;
- the data processing includes customized data processing and standard data processing, the standard data processing including processing data through at least one encryption/decryption algorithm;
- and
- the related commands are executed by implementing only a part of the SCSI protocol without considering offset and length information and by considering only a DataBuf field, which includes user data returned by the Universal Serial Bus device after an operating system sends the related commands to the Universal Serial Bus device.
A Universal Serial Bus device comprising:
- a Central Processing Unit (CPU), for running firmware and user programs;
- a Universal Serial Bus interface chip, for communicating between the Universal Serial Bus device and a host;
- and
- a memory, for storing firmware, user data, algorithms and other information;
- wherein the CPU is connected with the Universal Serial Bus interface chip and the memory, and is configured to process a Universal Serial Bus data package that is transported from the host and contains Small Computer System Interface (SCSI) commands converted by the host, parse the Universal Serial Bus data package into a user data package, and execute related commands based on the user data package;
- the Universal Serial Bus device is configured so that no disk letter is generated for the Universal Serial Bus device at the host when the Universal Serial Bus device is connected to the host;
- the related commands, when being executed by the CPU, implement a function of data processing;
- and
- the data processing includes customized data processing and standard data processing, the standard data processing including processing data through at least one encryption/decryption algorithm;
- and
- the related commands are executed by implementing only a part of a SCSI protocol without considering offset and length information and by considering only a DataBuf field, which includes user data returned by the Universal Serial Bus device after an operating system coupled to the device sends the related commands to the Universal Serial Bus device.
Dependencies are inferred from the claim text.