Linux USB Port Identification via AT Command Response

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The Linux system lacks a mechanism to accurately identify device ports of a data card, which is essential for distinguishing AT command control ports and Modem data ports, unlike the Windows system, where such identification is straightforward.

Innovation Solution

A method and apparatus for identifying device ports in a Linux system by acquiring USB device information, port information, and determining port attributes through library functions, specifically identifying AT and Modem ports by their response to AT commands and preset order attributes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the Windows system port description mechanism is used, then port identification is straightforward and accurate, but the method cannot work properly in the Linux system which has no similar mechanism

Engineering Contradiction:
Improveport identification accuracyVSAvoidsystem compatibility
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent introduces an intermediary identification mechanism that bridges the gap between Windows and Linux systems. It uses library functions as intermediaries to acquire USB device information and port information, and employs AT command responses as mediators to distinguish port attributes, enabling port identification in Linux without relying on the Windows-specific port description mechanism

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the mechanical system of Windows port description mechanism with a software-based identification approach in Linux. Instead of relying on system-level port description infrastructure, it substitutes a software solution that uses library function calls, information acquisition, and AT command testing to achieve port identification

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If library functions are called to acquire USB device information and port information, then port attributes can be identified without port description mechanism, but the process becomes more complex compared to Windows system

Engineering Contradiction:
ImproveLinux system adaptabilityVSAvoididentification process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the port identification process into distinct modular steps: acquiring USB device information through library functions, acquiring port information based on device information, and identifying port attributes by testing AT command responses. This segmentation makes the complex process more manageable and systematic

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary actions by first acquiring USB device information and port information before attempting to identify port attributes. This preliminary data collection prepares the necessary information foundation, making the subsequent attribute identification more efficient and accurate

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8825916B2Method and device for identifying device ports of data card in Linux system
Publication Date: 2014.09.02 ZTE CORP
  • US8825916B2 patent drawing
  • US8825916B2 patent drawing
  • US8825916B2 patent drawing

AI summary

A method and an apparatus for identifying device ports of a data card in a Linux system are provided, the method comprises: acquiring information of a Universal Serial Bus (USB) device; recording device information that is related to the USB device to be identified in said information; acquiring port information of each port of said USB device to be identified according to the device information of the said USB device to be identified; identifying attributes of said ports according to the information of each port. By acquiring the device information and the port information, the Attention (AT) port and the Modem port could be identified correctly according to the feature that the AT port and the Modem port could send and receive AT commands as well as the preset order attribute of the AT port and the Modem port, thus identifying the attributes of each port of the device accurately.