Configuration method and device for userspace I/O (UIO)equipment

An input and output device, input and output technology, applied in the direction of multi-programming device, program control device, program control design, etc., can solve the problems of high development cost, complicated operation, and inability to use UIO equipment directly, to reduce the development cost. Effect

Active Publication Date: 2017-12-29
NEUSOFT CORP
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, a large number of open source configuration tools developed for kernel-mode drivers in the prior art are not only complicated to operate, but also targeted, and cannot be directly used for UIO devices, and often require a large number of modifications for UIO devices, and the development cost is relatively high.

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
  • Configuration method and device for userspace I/O (UIO)equipment
  • Configuration method and device for userspace I/O (UIO)equipment
  • Configuration method and device for userspace I/O (UIO)equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0058] like figure 1 Shown, a kind of configuration method of user state input and output device, described method comprises:

[0059] Step S110, creating a message path between the kernel state and the user state.

[0060] In this embodiment, the essence of the message path is a first-in-first-out (First Input First Output, FIFO) queue, which is established on the shared memory of the kernel state and the user state, and both the...

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 discloses a configuration method for userspace I/O (UIO) equipment. The method comprises the steps that a message path between a kernel mode and a user mode is created, wherein a user mode configuration proxy and a kernel mode configuration proxy can both access an inner memory of the message path; corresponding kernel mode pseudo equipment is created for the userspace I/O (UIO) equipment; the kernel mode configuration proxy receives a configuration request of an equipment configuration tool for the kernel mode pseudo equipment; the kernel mode configuration proxy sends the configuration request to the user mode configuration proxy through the message path; the user mode configuration proxy receives the configuration request from the message path and invokes a corresponding UIO equipment drive to execute a corresponding configuration command. The invention further discloses a device corresponding to the method. By means of the configuration method and device for the userspace I/O (UIO) equipment, on the promise of not modifying the user mode configuration tool, the UIO equipment is directly configured, and the development cost is greatly reduced.

Description

technical field [0001] The present disclosure relates to the technical field of Linux operating system configuration, and in particular to a method and device for configuring input and output devices in user mode. Background technique [0002] In the prior art, the general drive devices of the Linux operating system run in the kernel state, and are invoked by application programs in the user state. Since the traditional driver runs in the kernel mode, in order to solve the driver problem of the kernel mode driver for the user mode application, a large number of open source configuration tools have been developed for the kernel mode driver. [0003] With the development, user-mode input and output (Userspace I / O, UIO) gets more applications. UIO is an input-output technology that runs in user-mode. It runs a small part of the driver in kernel-mode and implements it in user-mode. Most of the functions of the driver. Using UIO can avoid the problem that the driver of the devi...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/54G06F5/06
CPCG06F5/06G06F9/44505G06F9/545G06F9/546G06F2209/548
Inventor 李拓刘芳宁
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products