Network Driver Generation From Capability Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current network device drivers are developed using hard-coded methods, leading to a heavy workload and high maintenance costs, and are not adaptable to the evolving requirements of network operation and maintenance services, impacting network stability.
Innovation Solution
A system and method for generating network device driver files through a network device capability model construction, driver function interface generation, and control message generation, allowing automatic driver file creation without manual development, using standardized formats and protocols like YANG to ensure interoperability and security.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If network device drivers are developed using hard-coded methods, then the drivers can be implemented with specific functionality, but the workload for specific driving processes becomes very heavy and maintenance costs increase
Solution Approach 1:
The patent uses template files as reusable copies that define the structure and content of driver files. Instead of manually coding each driver from scratch, the system copies and adapts predefined templates, significantly reducing development workload and complexity while maintaining specific functionality through parameterization
Solution Approach 2:
The system parameterizes driver development by allowing dynamic substitution of device-specific parameters into template files. This enables the same template to generate different drivers for various network devices by changing parameters such as device names, interface configurations, and operational settings, rather than creating hard-coded solutions for each case
2Adaptability or versatility
If network device drivers are constantly updated to meet evolving operation and maintenance requirements, then the drivers can adapt to new services, but maintenance costs increase and network stability is impacted
Solution Approach 1:
The patent creates universal template files that can serve multiple network devices and various operation and maintenance scenarios. A single template structure can be adapted for different devices and services through parameter configuration, reducing the need for constant driver updates and maintaining stability while providing adaptability
Solution Approach 2:
The system performs preliminary action by pre-defining driver templates with standard structures and common configurations. This advance preparation allows rapid adaptation to new requirements through parameter modification rather than complete driver rewriting, reducing maintenance frequency and preserving network stability
3Ease of operation
If manual development methods are used for network device drivers, then drivers can be customized for specific devices, but the development efficiency is low and automation is reduced
Solution Approach 1:
The system enables self-service by automatically generating driver files from template files and configuration parameters. The generation unit autonomously processes templates, substitutes parameters, and produces ready-to-use driver files without manual coding, significantly improving development efficiency while maintaining customization capabilities through parameter specification
Data Source
AI summary
The present disclosure relates to a network operation and maintenance technology, and in particular to a system and method for generating network device driver files. One aspect of the present disclosure provides a system for generating network device driver files. The system includes: a network device capability model construction unit, configured to construct a capability model following a standard format on the basis of a capability set acquired from a network device; a driver function interface generation unit, configured to generate, based on the capability model, a driver function interface that can be called by an upper-layer application; and a control message generation unit, configured to receive configuration data from the upper-layer application via the generated driver function interface, and to generate, based on the configuration data, a control message for driving the network device.


