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

A method for automatically updating drivers of all external plug-in card devices of a linux system

A device-driven, automatic update technology, applied in the direction of program control design, program loading/starting, software deployment, etc., can solve the problem of manpower increase, achieve a high degree of automation, save test time and manpower, and have strong practicability

Inactive Publication Date: 2017-09-15
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there are multiple external cards in the system, the manpower consumed by the personnel will increase exponentially

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
  • A method for automatically updating drivers of all external plug-in card devices of a linux system
  • A method for automatically updating drivers of all external plug-in card devices of a linux system
  • A method for automatically updating drivers of all external plug-in card devices of a linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Such as figure 1 As shown, a method for automatically updating all external card device drivers in the linux system of the present invention, it first extracts system information and updates the system driver version library, then judges whether the current driver version is the latest, and finally determines the current model and os version And perform a driver update. Further, the system information is extracted through a shell script, the system driver version library is established using the python language, and whether the current driver version is the latest is judged using the python language, and the driver version is determined using a shell script to determine the current model and os version and upgrade.

[0065] Further, the method includes the following specific steps:

[0066] 1) Detect current external card information and driver module information. Such as figure 2 As shown, the step 1) includes the following specific steps:

[0067] 11) Obtain the...

Embodiment 2

[0102] Such as Image 6 As shown, another method for automatically updating all external card device drivers of the linux system provided by the present invention requires system driver version library design and driver package installation package storage structure design before updating the external card device drivers. Said method comprises the following steps:

[0103] 1) Write an automatic installation shell script for each driver;

[0104] 2) Scan the external card device and detect the driver module;

[0105] 3) Obtain the current driver version and the latest driver version;

[0106] 4) If the current driver version is lower than the latest driver version, select the latest driver from the system driver version library and install it automatically, otherwise go directly to the next step;

[0107] 5) If the detection of all external card devices is completed, then enter the next step, otherwise go to step 2) and continue to detect other external card devices;

[010...

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 method for automatically updating drivers of all external plug-in card devices of a linux system. The method is characterized by firstly extracting system information and updating a system driver version library, judging whether current driver versions are the latest and finally determining current types and os versions for driver program upgrade. Via mutual invoking of python and shell, a program structure is simplified as much as possible and repeated operation of commands is avoided; driver module versions in a linux system can be automatically updated by using shell and python languages, so that the method has the advantages of simple operation, high automation degree and great practicality; the method can save a great amount of manpower and greatly increase working efficiency of people and a server utilization rate; the method is suitable for all current versions of linux systems.

Description

technical field [0001] The invention relates to a method for automatically updating the drivers of all external card devices in a linux system, in particular to a method for automatically updating the drivers for all external card devices under linux based on shell / python language, which belongs to the technical field of computers. Background technique [0002] A driver is a special program that enables a computer to communicate with a hardware device. It runs on the kernel of the operating system and is equivalent to the interface from the operating system to the hardware device. It tells the operating system the functions of the hardware device and also conveys the instructions of the operating system. to the hardware device. The operating system can control the work of the hardware device through the interface of the driver program. If the driver program of a certain hardware device is not installed correctly, it will not work normally. The installation of a driver is th...

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/44G06F9/445
CPCG06F8/65G06F9/4411
Inventor 李建波曹加峰
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD