USB Communication Apparatus Dynamic Report Size Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing USB communication protocols face inefficiencies due to fixed packet sizes, leading to low communication speeds when large data sizes need to be transmitted, as they require multiple interactions and packet division.

Innovation Solution

A method and apparatus for USB communication that dynamically selects a report size based on current data size, allowing for single transmission of data without packet division by using a report descriptor with varying feature sizes, enabling flexible data interaction and increased speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If fixed packet size is used in USB HID communication, then protocol simplicity is maintained, but communication speed decreases when large data needs to be transmitted

Engineering Contradiction:
Improvecommunication speedVSAvoidprotocol complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements dynamic packet size selection by introducing multiple report descriptor features with different report sizes (e.g., 8 bytes, 16 bytes, 32 bytes, 64 bytes). The system dynamically chooses the appropriate report size based on the data transmission requirements, allowing the packet size to adapt rather than remain fixed. This resolves the contradiction by enabling high-speed transmission for large data while maintaining protocol simplicity for small data through selective feature usage.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of packet size from a fixed value to a variable that can be selected from multiple predefined values. By modifying the report descriptor to include multiple features with different report size parameters, the system can adjust the transmission packet size according to actual needs, thereby improving communication speed for large data transfers without fundamentally complicating the protocol structure.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If data is divided into multiple packets for transmission, then complete data transfer is achieved, but interaction time increases

Engineering Contradiction:
Improvedata transfer completenessVSAvoidinteraction time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent enables dynamic selection of report size based on the actual data size to be transmitted. When large data needs to be transmitted, the system selects a larger report size feature from the report descriptor, allowing more data to be sent in a single interaction. This reduces the number of interactions required compared to fixed small packet sizes, thereby reducing interaction time while maintaining complete data transfer through the use of appropriately sized packets.

Inventive Principle:
Principle #15Dynamics

3Productivity

If multiple interactions are executed to send large data, then data transmission is completed, but communication efficiency decreases

Engineering Contradiction:
Improvecommunication efficiencyVSAvoidcommunication process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements dynamic packet size adaptation by providing multiple report descriptor features with different report sizes. The communication process dynamically selects the appropriate feature based on data size requirements, enabling efficient single-interaction transmission for large data. This improves communication efficiency by reducing the number of interactions needed, while the underlying complexity is managed through the pre-defined feature structure in the report descriptor.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11663155B2Method and apparatus for realizing USB communication
Publication Date: 2023.05.30 FEITIAN TECHNOLOGIES CO LTD
  • US11663155B2 patent drawing
  • US11663155B2 patent drawing
  • US11663155B2 patent drawing

AI summary

The disclosure provides a method and an apparatus for realizing USB communication; the method includes: step S1, when receiving a command sent by a host computer, a device determines a type of the command and returns enumerated general information of the device to the host computer if the command is an enumerating command, go back to step S1; if the command is a setting report command, the device acquires response data according to the setting report command and stores the response data, go back to step S1; if the command is a getting report command, the device selects a corresponding report size according to a size of current response data, acquires a second report identification corresponding to the report size, generates return data according to the acquired second report identification and the current response data and sends the return data to the host computer, go back to step S1.