Unlock instant, AI-driven research and patent intelligence for your innovation.

Password card drive implementation method and system supporting multiple devices

An implementation method and device-driven technology, applied in the computer field, can solve problems such as waste of resources, multi-system resources, and occupation of device numbers, and achieve the effect of convenient search and saving system resources

Pending Publication Date: 2022-05-27
ZHENGZHOU XINDA JIEAN INFORMATION TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually a pci-e password card requires the device to be associated with a character device, a corresponding device file needs to be created, and a device number needs to be applied for at the same time. One card can virtualize 128 pci-e devices) will occupy multiple linux system device numbers, occupying too many system resources, resulting in waste of resources

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
  • Password card drive implementation method and system supporting multiple devices
  • Password card drive implementation method and system supporting multiple devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to understand the above objects, features and advantages of the present invention more clearly, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments may be combined with each other in the case of no conflict.

[0040] Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. Example limitations.

[0041] figure 1 A flow chart of a method for implementing a cipher card driver supporting multiple devices of the present invention is shown.

[0042] like figure 1 As shown, the first aspect of the p...

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 provides a password card driver implementation method and system supporting multiple devices, and the method comprises the steps: creating character devices and device nodes in a moduleinit module of a Linux system driver, then registering a pci-e device driver in the system by using a pciregister driver, and registering a pci device structural body pcidev in the system by using the pci-e device driver; initializing at least one pci-e password card one by one by a detection function probe driven by the pci-e equipment, and applying for a corresponding equipment resource structural body for each pci-e password card; for each pci-e password card, respectively acquiring I / O resources and DMA resources, and storing the I / O resources and the DMA resources in corresponding equipment resource structural bodies; a function list is used for linking each equipment resource structure body to a preset global linked list (struct list acceltable), and a function list is used for linking each equipment resource structure body to a preset global linked list (struct list acceltable); and setting each equipment resource structure body as private data of the pci equipment structure body pcidev. According to the invention, all the pci-e password cards occupy one device node of the system, so that system resources are saved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and system for implementing a cipher card driver supporting multiple devices. Background technique [0002] In the Linux system, devices are divided into three basic types: character devices, block devices and network devices. The pci-e password card is generally a character device, and the character device generally implements system calls such as open, close, write, and read. The character device system call implements the functions required by the user, and the application layer user completes the operation of the password card by calling the character device system call. Usually, a pci-e password card requires a device to be associated with a character device, a corresponding device file needs to be created, and a device number needs to be applied. One card can virtualize 128 pci-e devices), which will occupy multiple linux system device numbers, occupy too many sy...

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/4401
CPCG06F9/4411
Inventor 雷宗华彭金辉李鑫刘武忠王凯霖
Owner ZHENGZHOU XINDA JIEAN INFORMATION TECH