Implementation method and device of drive program, electronic equipment, storage medium and program product
By introducing the separate design of host drivers and slave drivers in the drivers, the problems of strong hardware coupling, difficulty in open source, and high development and maintenance costs are solved, and the isolation of hardware operations and the portability and maintainability of software are achieved.
Patent Information
- Application Number
- CN202411713229.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-18
AI Technical Summary
In the prior art, drivers are tightly coupled with specific hardware, making it difficult to adapt to the rapid iteration and diversification of hardware requirements, and the code of the hardware operation process is directly exposed to the open source system, increasing security risks and development and maintenance costs.
Using the separate design of the host driver and the slave driver, the host driver runs on the host operating system and sends hardware operation requests to the slave operating system through inter-process messages or shared memory. The slave driver directly interacts with the hardware to perform specific hardware operations.
It realizes isolation of hardware operations, blocks hardware differences, simplifies driver development and maintenance, improves software portability and maintainability, and protects the security of hardware information.