Driver Hardware Resource Loading for Runtime Device Configuration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing Zephyr system fixes hardware resource allocation during software compilation, limiting dynamic configuration and requiring multiple software versions for different device configurations, leading to increased management and maintenance workload.

Innovation Solution

A method and system for automatically configuring hardware resources by reading device model information from a configuration file, matching and loading corresponding hardware resource configuration information into the driver, allowing dynamic adaptation to different device models and configurations without code modifications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If hardware resources are fixed during software compilation stage, then driver can use specified hardware resource, but driver cannot be dynamically configured and modified during software operation

Engineering Contradiction:
Improvedriver hardware resource specificationVSAvoiddriver dynamic configuration capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic configuration by introducing a configuration file that can be loaded at runtime, allowing hardware resource parameters to be modified without recompiling the driver. The driver reads configuration from external files (e.g., JSON, XML, YAML) enabling flexible adjustment of hardware resources during system operation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the state of hardware resource configuration from fixed at compile-time to variable at runtime. By externalizing configuration parameters into separate configuration files, the system allows parameter changes without modifying the driver code or recompiling, thus achieving flexible adaptation to different hardware scenarios.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If different hardware resource configurations require different software versions, then each device configuration can have dedicated software, but the number of software versions increases and management and maintenance workload increases

Engineering Contradiction:
Improvesoftware support for different device configurationsVSAvoidsoftware version management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a universal driver that can support multiple device configurations through a single software version. The driver incorporates a configuration file interface that allows it to adapt to different hardware setups, eliminating the need for separate software versions for each device type.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces a configuration file as an intermediary between the driver and hardware resources. This configuration file acts as a mediator that translates hardware-specific parameters into driver-compatible formats, allowing a single driver to work with multiple hardware configurations without requiring multiple software versions.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of manufacture

If hardware resource configuration is fixed at compilation stage, then software compilation is straightforward, but seamless hardware resource adjustments during operation cannot be achieved

Engineering Contradiction:
Improvesoftware compilation simplicityVSAvoidhardware resource adjustment flexibility
Core Design Contradiction:
Ease of manufactureVSEase of operation

Solution Approach 1:

The patent segments the software system into two independent parts: the driver code (compiled once) and the configuration file (modifiable at runtime). This segmentation allows the driver to remain simple and stable while the configuration file provides flexibility for hardware resource adjustments without affecting compilation complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20260079719A1Method and system for automatically configuring hardware resources of driver, and storage medium
Publication Date: 2026.03.19 PAX COMP TECH SHENZHEN
  • US20260079719A1 patent drawing
  • US20260079719A1 patent drawing
  • US20260079719A1 patent drawing

AI summary

A method for automatically configuring hardware resources of a driver, includes: reading device model information in a configuration file; matching corresponding hardware resource configuration information and a loading function of the hardware resource configuration information according to the device model information, the hardware resource configuration information including description information of the hardware resources; and executing the loading function of the hardware resource configuration information, and loading the hardware resource configuration information into the driver.