USB Transmission Device Multi-Thread Transfer Rings
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
USB technology experiences slower transmission rates when transferring multiple small files, and there are issues with priority level confusion and redundant transmission due to unexpected interruptions in data transfer.
Innovation Solution
A USB transmission device and method that configures multiple transfer threads and rings for efficient data transmission, using a configuration module, USB host controller, software request buffers, and an arbiter to manage and prioritize transfer requests, and resume transmission accurately.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If USB technology uses conventional single transfer thread for data transmission, then the device complexity is low, but the transmission rate when transferring multiple small files is slow
Solution Approach 1:
The patent divides the single transfer thread into multiple transfer threads (first transfer thread, second transfer thread, etc.), each with its own transfer ring. This segmentation allows parallel processing of multiple small files, significantly improving transmission rate while managing complexity through structured organization of transfer rings and pointers in memory.
2Adaptability or versatility
If USB technology allows multiple pipes to initiate data transmission, then the adaptability of the system increases, but priority level confusion occurs between pipes
Solution Approach 1:
The patent introduces an arbiter as an intermediary component that manages multiple pipes and transfer threads. The arbiter resolves priority conflicts between pipes by selecting which transfer request to process next, maintaining system adaptability while preventing priority level confusion through centralized arbitration.
3Productivity
If USB technology interrupts data transmission unexpectedly, then the system can respond to higher priority requests, but the data pointer of the current transmission is lost causing redundant transmission
Solution Approach 1:
The patent implements preliminary actions by saving transfer state information (including data pointers and transfer ring positions) in buffer registers before interruption occurs. When resuming transmission, the system retrieves these saved pointers from the buffer, preventing data pointer loss and avoiding redundant transmission while allowing the system to respond to higher priority requests during interruption.
Data Source
AI summary
The present application relates to the field of integrated circuit design and manufacturing, and discloses a USB transmission device and a transmission method, which may greatly improve the transmission rate when transmitting a large number of small files. The device includes: a configuration module, configured to configure a first transfer ring corresponding to a first transfer thread and a second transfer ring corresponding to a second transfer thread for one endpoint in a memory; a USB host controller, configured to directly perform a transmission of the second transfer thread according to the configured second transfer ring when a transmission of the first transfer thread ends.

