Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cooperative work system and method of user mode drive and kernel mode drive

A collaborative work system and collaborative work technology, applied in the direction of program loading/starting, program control design, instruments, etc., can solve the problems of limited application, insufficient power of equipment manufacturers, performance degradation, etc., to improve stability and reliability, simplify Drives the effectiveness of the development and maintenance process

Pending Publication Date: 2021-04-30
ISOFT INFRASTRUCTURE SOFTWARE
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the problem of peripherals has always been an important factor affecting the development of Linux systems. The main reason is that the development of drivers under Linux is complicated, and it is required to comply with the GPL agreement to disclose the source code, resulting in insufficient motivation for some device manufacturers in driver development.
Implementations such as this inevitably have the problem of performance degradation, so they have not been able to be applied on a large scale
And for example, UIO in Linux does not support DMA (Direct Memory Access) in user space, which limits its application on devices that require DMA support.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cooperative work system and method of user mode drive and kernel mode drive
  • Cooperative work system and method of user mode drive and kernel mode drive
  • Cooperative work system and method of user mode drive and kernel mode drive

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] see figure 1 , a system and method for cooperating between a user driver and a kernel driver in this embodiment are applied to a Linux system.

[0048] A collaborative work system of user-mode drivers and kernel-mode drivers, for driver development, divides the implementation of device drivers into two parts: one part is in the kernel space, called the kernel-mode partial driver; the other part is in the user space, called the user-mode driver .

[0049] The two parts interact with the character devices / dev / deviceX and / dev / u-dmabufX through the sys file system interface. The system provides a loadable kernel module to use the kernel's unstable interface, which runs independently in the kernel state and provides a stable interface for some drivers in the kernel state. The steps after system startup include:

[0050] First, if image 3 As shown, build a driver device structure in the kernel, including the device owner, secondary device ID number, interrupt event cou...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of computer operating systems, in particular to a cooperative work system and method of a user mode drive and a kernel mode drive. The cooperative work system comprises a user mode driver, a kernel mode driver and a loadable kernel module, the loadable kernel module provides an operation interface for the user mode driver, and the loadable kernel module is used for registering corresponding character equipment according to a request of the kernel mode driver and creating an associated attribute file, and providing the character device and the attribute file for the user mode drive, so that the user mode drive calls the drive part data in the corresponding kernel mode drive by operating the character device. The technical scheme provided by the invention has the beneficial effects that the cooperative work system and method of the user mode drive and the kernel mode drive are provided, the cooperative processing of the user mode drive and the kernel mode drive can be achieved, the interaction with hardware is completed together, the drive development and maintenance process can be greatly simplified, and the stability and reliability of the kernel are improved.

Description

technical field [0001] The invention relates to the field of computer operating systems, in particular to a system and method for cooperating with a driver in a user mode and a driver in a kernel mode. Background technique [0002] With the development of computer technology, Linux is no longer limited to the application of servers and terminal systems, and is gradually widely used on mobile devices. However, the problem of peripherals has always been an important factor affecting the development of Linux systems. The main reason is that the development of drivers under Linux is complicated, and it is required to comply with the GPL agreement to disclose the source code, resulting in insufficient motivation for some device manufacturers in driver development. [0003] Nowadays, the proportion of device driver code in the kernel is increasing, especially the drivers ported and developed by enterprises themselves. When these drivers have problems, such as illegal memory access...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/4401G06F9/445
CPCG06F9/4411G06F9/44521
Inventor 刘家杰
Owner ISOFT INFRASTRUCTURE SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products