CN111694604A - Method, device and equipment for installing drivers in batches and machine-readable storage medium - Google Patents

Method, device and equipment for installing drivers in batches and machine-readable storage medium Download PDF

Info

Publication number
CN111694604A
CN111694604A CN202010370744.8A CN202010370744A CN111694604A CN 111694604 A CN111694604 A CN 111694604A CN 202010370744 A CN202010370744 A CN 202010370744A CN 111694604 A CN111694604 A CN 111694604A
Authority
CN
China
Prior art keywords
installation
driver
file
image file
hardware information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010370744.8A
Other languages
Chinese (zh)
Inventor
黄雪琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Cloud Technologies Co Ltd filed Critical New H3C Cloud Technologies Co Ltd
Priority to CN202010370744.8A priority Critical patent/CN111694604A/en
Publication of CN111694604A publication Critical patent/CN111694604A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本公开提供一种驱动批量安装方法、装置、设备及机器可读存储介质,该方法包括:检测服务器设备的真实硬件信息;根据所述真实硬件信息,选择对应的系统文件和驱动文件;根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。通过本公开的技术方案,管理设备通过分析服务器设备提供的真实硬件信息,选择对应的系统和驱动,并生成安装镜像后挂载到服务器设备上,使服务器进行自动安装系统和驱动,从而省去了人工逐个服务器手动安装驱动的繁琐操作,改善了上述驱动安装耗费人力的问题。

Figure 202010370744

The present disclosure provides a method, device, device and machine-readable storage medium for batch installation of drivers. The method includes: detecting real hardware information of a server device; selecting corresponding system files and driver files according to the real hardware information; The system files and driver files are generated, and an installation image file is generated, so that the server device can mount and install the installation image file. Through the technical solution of the present disclosure, the management device selects the corresponding system and driver by analyzing the real hardware information provided by the server device, generates an installation image and mounts it on the server device, so that the server can automatically install the system and driver, thereby eliminating the need for The tedious operation of manually installing the driver manually one by one server is eliminated, and the above problem of labor-consuming driver installation is improved.

Figure 202010370744

Description

一种驱动批量安装方法、装置、设备及机器可读存储介质A method, device, device and machine-readable storage medium for batch installation of drivers

技术领域technical field

本公开涉及通信技术领域,尤其是涉及一种驱动批量安装方法、装置、设备及机器可读存储介质。The present disclosure relates to the field of communication technologies, and in particular, to a method, apparatus, device, and machine-readable storage medium for batch installation of drivers.

背景技术Background technique

OS(Operating System,操作系统)。是管理计算机硬件与软件资源的计算机程序。操作系统需要处理如管理与配置内存、决定系统资源供需的优先次序、控制输入设备与输出设备、操作网络与管理文件系统等基本事务。操作系统也提供一个让用户与系统交互的操作界面。OS (Operating System, operating system). A computer program that manages computer hardware and software resources. The operating system handles basic tasks such as managing and configuring memory, prioritizing the supply and demand of system resources, controlling input and output devices, operating the network, and managing the file system. The operating system also provides an interface for the user to interact with the system.

FIST(Fast Intelligent Scalable Toolkit,快速智能可扩展工具集),基于OSGi架构的一组服务器管理软件。FIST (Fast Intelligent Scalable Toolkit, Fast Intelligent Scalable Toolkit), a set of server management software based on OSGi architecture.

iFIST:可内嵌于服务器SD卡中,基于OSGI架构的服务器本地管理软件。iFIST: It can be embedded in the SD card of the server and is a local management software for the server based on the OSGI architecture.

KVM(Keyboard Video Mouse,键盘、显示和鼠标),可以通过管理网络查看服务器的画面,并对其进行鼠标和键盘的操作。KVM通过直接连接键盘、视频和鼠标(KVM)端口,能够访问和控制计算机。KVM技术无需目标服务器修改软件。这就意味着可以在BIOS环境下,随时访问目标计算机。KVM提供真正的主板级别访问,并支持多平台服务器和串行设备。KVM (Keyboard Video Mouse, keyboard, display and mouse), you can view the screen of the server through the management network, and perform mouse and keyboard operations on it. KVM provides the ability to access and control a computer by connecting directly to the keyboard, video and mouse (KVM) ports. KVM technology does not require the target server to modify the software. This means that the target computer can be accessed at any time in the BIOS environment. KVM provides true board-level access and supports multi-platform servers and serial devices.

驱动,驱动程序即添加到操作系统中的一小段代码,其中包含有关硬件设备的信息。A driver is a small piece of code added to the operating system that contains information about a hardware device.

IPMI(Intelligent Platform Management Interface,智能平台管理接口),是一种开发标准的硬件接口规格,定义了嵌入式管理子系统进行通信的特定方法。IPMI (Intelligent Platform Management Interface, Intelligent Platform Management Interface) is a hardware interface specification that develops a standard and defines a specific method for the embedded management subsystem to communicate.

BMC(Baseboard Management Controller,基板管理控制器),一组固化到一个独立于主板CPU的服务处理机上的程序,它利用传感器来监视一台计算机,网络服务器,或者是其他硬件驱动设备的状态,并且通过独立的连接线路和系统管理员进行通信。BMC (Baseboard Management Controller, Baseboard Management Controller), a set of programs solidified on a service processor independent of the motherboard CPU, it uses sensors to monitor the status of a computer, network server, or other hardware-driven devices, and Communicate with the system administrator through a separate connection line.

目前,由于云计算的普及,OS的批量自动安装已经在服务器集群环境下,使用的越来越普遍,然而必要的驱动安装,相对比较繁琐,需手动一个一个驱动包安装。并且安装不同的操作系统,对应安装的驱动包也不尽相同,必须挑选与设备上硬件匹配的驱动进行安装,增加了安装驱动的难度和复杂度,大大耗费了人力成本。At present, due to the popularity of cloud computing, batch automatic installation of OS has become more and more common in the server cluster environment. However, the necessary driver installation is relatively cumbersome and needs to be manually installed one by one driver package. In addition, different operating systems are installed, and the corresponding installed driver packages are also different. The driver that matches the hardware on the device must be selected for installation, which increases the difficulty and complexity of installing the driver, and greatly consumes labor costs.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本公开提供一种驱动批量安装方法、装置及电子设备、机器可读存储介质,以改善上述驱动安装耗费人力的问题。In view of this, the present disclosure provides a method, apparatus, electronic device, and machine-readable storage medium for batch installation of drivers, so as to improve the above-mentioned problem of labor-intensive driver installation.

具体地技术方案如下:The specific technical solutions are as follows:

本公开提供了一种驱动批量安装方法,应用于管理设备,所述方法包括:检测服务器设备的真实硬件信息;根据所述真实硬件信息,选择对应的系统文件和驱动文件;根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。The present disclosure provides a driver batch installation method, which is applied to management equipment. The method includes: detecting real hardware information of a server device; selecting corresponding system files and driver files according to the real hardware information; and driver files, and generate an installation image file, so that the server device can mount and install the installation image file.

作为一种技术方案,所述方法还包括:在检测服务器设备的真实硬件信息之前,检测服务器设备是否已挂载镜像,若否,则继续执行检测服务器设备的真实硬件信息的步骤。As a technical solution, the method further includes: before detecting the real hardware information of the server device, detecting whether the server device has mounted an image, and if not, continuing to perform the step of detecting the real hardware information of the server device.

本公开同时提供了一种驱动批量安装方法,应用于服务器设备,所述方法包括:上报本地真实硬件信息,以使管理设备根据真实硬件信息选择对应的系统文件和驱动文件并生成相应的安装镜像文件;根据管理设备的指令,挂载所述安装镜像文件;安装所述安装镜像文件包含的系统和驱动。The present disclosure also provides a driver batch installation method, which is applied to a server device. The method includes: reporting local real hardware information, so that the management device selects corresponding system files and driver files according to the real hardware information and generates a corresponding installation image file; mount the installation image file according to the instruction of the management device; install the system and driver included in the installation image file.

作为一种技术方案,所述方法还包括:安装所述安装镜像文件包含的系统和驱动后,解除挂载所述安装镜像文件。As a technical solution, the method further includes: after installing the system and the driver included in the installation image file, unmounting the installation image file.

本公开同时提供了一种驱动批量安装装置,应用于管理设备,所述装置包括:检测模块,用于检测服务器设备的真实硬件信息;处理模块,用于根据所述真实硬件信息,选择对应的系统文件和驱动文件;镜像模块,用于根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。The present disclosure also provides a driver batch installation device, which is applied to a management device. The device includes: a detection module for detecting real hardware information of a server device; a processing module for selecting a corresponding device according to the real hardware information System files and driver files; an image module for generating an installation image file according to the corresponding system files and driver files, so that the server device can mount and install the installation image file.

作为一种技术方案,所述装置还包括:在检测服务器设备的真实硬件信息之前,检测服务器设备是否已挂载镜像,若否,则继续执行检测服务器设备的真实硬件信息的步骤。As a technical solution, the apparatus further includes: before detecting the real hardware information of the server device, detecting whether the server device has mounted an image, and if not, continuing to perform the step of detecting the real hardware information of the server device.

本公开同时提供了一种驱动批量安装装置,应用于服务器设备,所述装置包括:发送模块,用于上报本地真实硬件信息,以使管理设备根据真实硬件信息选择对应的系统文件和驱动文件并生成相应的安装镜像文件;挂载模块,用于根据管理设备的指令,挂载所述安装镜像文件;安装模块,用于安装所述安装镜像文件包含的系统和驱动。The present disclosure also provides a driver batch installation device, which is applied to a server device. The device includes: a sending module, configured to report local real hardware information, so that the management device selects corresponding system files and driver files according to the real hardware information and A corresponding installation image file is generated; a mounting module is used to mount the installation image file according to the instruction of the management device; the installation module is used to install the system and the driver included in the installation image file.

作为一种技术方案,所述装置还包括:安装所述安装镜像文件包含的系统和驱动后,解除挂载所述安装镜像文件。As a technical solution, the apparatus further includes: after installing the system and the driver included in the installation image file, unmounting the installation image file.

本公开同时提供了一种电子设备,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,处理器执行所述机器可执行指令以实现前述的驱动批量安装方法。The present disclosure also provides an electronic device including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions. Instructions to implement the aforementioned driver batch installation method.

本公开同时提供了一种机器可读存储介质,所述机器可读存储介质存储有机器可执行指令,所述机器可执行指令在被处理器调用和执行时,所述机器可执行指令促使所述处理器实现前述的驱动批量安装方法。The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the machine-executable instructions to cause all The processor implements the aforementioned driver batch installation method.

本公开提供的上述技术方案至少带来了以下有益效果:The above-mentioned technical solutions provided by the present disclosure bring at least the following beneficial effects:

管理设备通过分析服务器设备提供的真实硬件信息,选择对应的系统和驱动,并生成安装镜像后挂载到服务器设备上,使服务器进行自动安装系统和驱动,从而省去了人工逐个服务器手动安装驱动的繁琐操作,改善了上述驱动安装耗费人力的问题。The management device analyzes the real hardware information provided by the server device, selects the corresponding system and driver, generates an installation image and mounts it on the server device, so that the server can automatically install the system and driver, thus eliminating the need to manually install the driver server by server. tedious operation, which improves the above-mentioned problem of manpower-consuming driver installation.

附图说明Description of drawings

为了更加清楚地说明本公开实施方式或者现有技术中的技术方案,下面将对本公开实施方式或者现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开中记载的一些实施方式,对于本领域普通技术人员来讲,还可以根据本公开实施方式的这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present disclosure or the prior art. Obviously, the drawings in the following description These are just some embodiments described in the present disclosure, and for those of ordinary skill in the art, other drawings can also be obtained according to these drawings of the embodiments of the present disclosure.

图1是本公开一种实施方式中的驱动批量安装方法的流程图;FIG. 1 is a flowchart of a method for batch installation of drivers in an embodiment of the present disclosure;

图2是本公开一种实施方式中的驱动批量安装方法的流程图;FIG. 2 is a flowchart of a method for batch installation of drivers in an embodiment of the present disclosure;

图3是本公开一种实施方式中的驱动批量安装方法的结构图;3 is a structural diagram of a method for batch installation of drivers in an embodiment of the present disclosure;

图4是本公开一种实施方式中的驱动批量安装装置的结构图;4 is a structural diagram of a drive batch installation device in an embodiment of the present disclosure;

图5是本公开一种实施方式中的电子设备的硬件结构图。FIG. 5 is a hardware structure diagram of an electronic device in an embodiment of the present disclosure.

具体实施方式Detailed ways

在本公开实施方式使用的术语仅仅是出于描述特定实施方式的目的,而非限制本公开。本公开和权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其它含义。还应当理解,本文中使用的术语“和/或”是指包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the embodiments of the present disclosure are for the purpose of describing particular embodiments only, and are not intended to limit the present disclosure. As used in this disclosure and the claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本公开实施方式可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,此外,所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure. Furthermore, the use of the word "if" can be interpreted as "at the time of" or "when" or "in response to determining", depending on the context.

目前,由于云计算的普及,OS的批量自动安装已经在服务器集群环境下,使用的越来越普遍。然而必要的驱动安装,相对比较繁琐。需手动一个一个驱动包安装。并且安装不同的操作系统,对应安装的驱动包也不尽相同,必须挑选与设备上硬件匹配的驱动进行安装,增加了安装驱动的难度和复杂度,大大耗费了人力成本。因此,急需一种能够在批量安装操作系统的同时安装对应设备的驱动的方法。At present, due to the popularity of cloud computing, batch automatic installation of OS has become more and more common in the server cluster environment. However, the necessary driver installation is relatively cumbersome. Need to manually install one driver package one by one. In addition, different operating systems are installed, and the corresponding installed driver packages are also different. The driver that matches the hardware on the device must be selected for installation, which increases the difficulty and complexity of installing the driver, and greatly consumes labor costs. Therefore, there is an urgent need for a method that can install drivers for corresponding devices while installing operating systems in batches.

有鉴于此,本公开提供一种驱动批量安装方法、装置及电子设备、机器可读存储介质,以改善上述驱动安装耗费人力的问题。In view of this, the present disclosure provides a method, apparatus, electronic device, and machine-readable storage medium for batch installation of drivers, so as to improve the above-mentioned problem of labor-intensive driver installation.

具体地技术方案如后述。The specific technical solution will be described later.

在一种实施方式中,本公开提供了一种驱动批量安装方法,应用于管理设备,所述方法包括:检测服务器设备的真实硬件信息;根据所述真实硬件信息,选择对应的系统文件和驱动文件;根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。In one embodiment, the present disclosure provides a method for batch installation of drivers, which is applied to management devices. The method includes: detecting real hardware information of a server device; and selecting corresponding system files and drivers according to the real hardware information file; an installation image file is generated according to the corresponding system file and driver file, so that the server device can mount and install the installation image file.

具体地,如图1,包括以下步骤:Specifically, as shown in Figure 1, the following steps are included:

步骤S11,检测服务器设备的真实硬件信息。Step S11, detecting the real hardware information of the server device.

步骤S12,根据所述真实硬件信息,选择对应的系统文件和驱动文件。Step S12, according to the real hardware information, select the corresponding system file and driver file.

步骤S13,据对应的系统文件和驱动文件,生成安装镜像文件。In step S13, an installation image file is generated according to the corresponding system file and driver file.

管理设备通过分析服务器设备提供的真实硬件信息,选择对应的系统和驱动,并生成安装镜像后挂载到服务器设备上,使服务器进行自动安装系统和驱动,从而省去了人工逐个服务器手动安装驱动的繁琐操作,改善了上述驱动安装耗费人力的问题。The management device analyzes the real hardware information provided by the server device, selects the corresponding system and driver, generates an installation image and mounts it on the server device, so that the server can automatically install the system and driver, thus eliminating the need to manually install the driver server by server. tedious operation, which improves the above-mentioned problem of manpower-consuming driver installation.

在一种实施方式中,所述方法还包括:在检测服务器设备的真实硬件信息之前,检测服务器设备是否已挂载镜像,若否,则继续执行检测服务器设备的真实硬件信息的步骤。In one embodiment, the method further includes: before detecting the real hardware information of the server device, detecting whether the server device has mounted an image, and if not, continuing to perform the step of detecting the real hardware information of the server device.

在检测到服务器设备当前已经挂载了镜像时,则不继续执行本方法,以免造成冲突,影响上一正挂载的镜像对应的操作,仅在服务器设备未挂载镜像时,执行本方法。When it is detected that the server device has currently mounted an image, this method is not continued to avoid conflicts and affect the operation corresponding to the last image being mounted. This method is only performed when the server device has not mounted an image.

在一种实施方式中,本公开同时提供了一种驱动批量安装方法,应用于服务器设备,所述方法包括:上报本地真实硬件信息,以使管理设备根据真实硬件信息选择对应的系统文件和驱动文件并生成相应的安装镜像文件;根据管理设备的指令,挂载所述安装镜像文件;安装所述安装镜像文件包含的系统和驱动。In one embodiment, the present disclosure also provides a method for batch installation of drivers, which is applied to a server device. The method includes: reporting local real hardware information, so that the management device selects corresponding system files and drivers according to the real hardware information. file and generate a corresponding installation image file; mount the installation image file according to the instruction of the management device; install the system and driver included in the installation image file.

具体地,如图2,包括以下步骤:Specifically, as shown in Figure 2, the following steps are included:

步骤S21,上报本地真实硬件信息。Step S21, reporting local real hardware information.

步骤S22,根据管理设备的指令,挂载所述安装镜像文件。Step S22, according to the instruction of the management device, mount the installation image file.

步骤S23,安装所述安装镜像文件包含的系统和驱动。Step S23, install the system and driver included in the installation image file.

管理设备通过分析服务器设备提供的真实硬件信息,选择对应的系统和驱动,并生成安装镜像后挂载到服务器设备上,使服务器进行自动安装系统和驱动,从而省去了人工逐个服务器手动安装驱动的繁琐操作,改善了上述驱动安装耗费人力的问题。The management device analyzes the real hardware information provided by the server device, selects the corresponding system and driver, generates an installation image and mounts it on the server device, so that the server can automatically install the system and driver, thus eliminating the need to manually install the driver server by server. tedious operation, which improves the above-mentioned problem of manpower-consuming driver installation.

在一种实施方式中,所述方法还包括:安装所述安装镜像文件包含的系统和驱动后,解除挂载所述安装镜像文件。In one embodiment, the method further includes: after installing the system and driver included in the installation image file, unmounting the installation image file.

完成整个安装过程后,自动解挂镜像,不影响后续镜像挂载。After the entire installation process is completed, the image will be automatically unmounted, and subsequent image mounting will not be affected.

在一种实施方式中,本公开同时提供了一种驱动批量安装装置,应用于管理设备,如图3,所述装置包括:检测模块31,用于检测服务器设备的真实硬件信息;处理模块32,用于根据所述真实硬件信息,选择对应的系统文件和驱动文件;镜像模块33,用于根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。In one embodiment, the present disclosure also provides an apparatus for batch installation of drivers, which is applied to management equipment. As shown in FIG. 3 , the apparatus includes: a detection module 31 for detecting real hardware information of a server device; a processing module 32 , used to select the corresponding system file and driver file according to the real hardware information; the mirroring module 33 is used to generate an installation mirror file according to the corresponding system file and driver file, so that the server device can mount and install the installation image file.

在一种实施方式中,所述装置还包括:在检测服务器设备的真实硬件信息之前,检测服务器设备是否已挂载镜像,若否,则继续执行检测服务器设备的真实硬件信息的步骤。In one embodiment, the apparatus further includes: before detecting the real hardware information of the server device, detecting whether the server device has mounted an image, and if not, continuing to perform the step of detecting the real hardware information of the server device.

在一种实施方式中,本公开同时提供了一种驱动批量安装装置,应用于服务器设备,如图4,所述装置包括:发送模块41,用于上报本地真实硬件信息,以使管理设备根据真实硬件信息选择对应的系统文件和驱动文件并生成相应的安装镜像文件;挂载模块42,用于根据管理设备的指令,挂载所述安装镜像文件;安装模块43,用于安装所述安装镜像文件包含的系统和驱动。In one embodiment, the present disclosure also provides an apparatus for batch installation of drivers, which is applied to server equipment. As shown in FIG. 4 , the apparatus includes: a sending module 41 for reporting local real hardware information, so that the management device can The real hardware information selects the corresponding system file and driver file and generates the corresponding installation image file; the mounting module 42 is used to mount the installation image file according to the instruction of the management device; the installation module 43 is used to install the installation. The system and drivers contained in the image file.

在一种实施方式中,所述装置还包括:安装所述安装镜像文件包含的系统和驱动后,解除挂载所述安装镜像文件。In one embodiment, the apparatus further includes: after installing the system and the driver included in the installation image file, unmounting the installation image file.

在管理设备解决批量安装操作系统时的驱动自动安装,可以包括以下部分:The automatic installation of drivers when the management device solves the batch installation of the operating system can include the following parts:

设备管理:由于需要实现系统安装过程中的驱动的自动安装,需要接管若干台设备的BMC,由于BMC实现了带外管理功能。因此可以接受FIST的管理,为后续执行批量安装操作系统和驱动作数据支持。Device management: Due to the need to realize the automatic installation of the driver during the system installation process, it is necessary to take over the BMC of several devices, because the BMC realizes the out-of-band management function. Therefore, it can be managed by FIST and provide data support for subsequent batch installation of operating systems and drivers.

镜像管理:通过网页端上传操作系统镜像,可以用于批量安装操作系统和驱动时,选择安装特定操作系统,无需手动挂载镜像到每台设备上,通过网页端上传驱动镜像,清点驱动文件和驱动配置文件,可展示镜像文件中的所有驱动文件以及具体驱动所支持安装在指定的某些操作系统上。Image management: Upload operating system images through the web, which can be used to install operating systems and drivers in batches, choose to install a specific operating system, and do not need to manually mount the image to each device, upload the driver image through the web, and inventory the driver files and The driver configuration file can display all the driver files in the image file and the specific drivers that are supported to be installed on some specified operating systems.

配置模板管理:创建符合需求的模板。包括操作系统,指定逻辑盘,网络配置,以及选择符合已选操作系统和符合设备硬件的驱动文件。Configuration Template Management: Create templates that meet your needs. Including the operating system, specifying the logical disk, network configuration, and selecting the driver file that matches the selected operating system and the device hardware.

模板应用管理:将配置模板管里中创建的模板,应用到特性的设备上。在安装系统前,需要检查当前OS镜像和驱动镜像的合法性,驱动配置文件通过MD5加密,无法手动篡改驱动配置文件。完成上述校验后,还需识别模板中驱动和设备硬件是否匹配。通过IPMI命令,可以获取指定设备的PCIE信息列表。并且通过匹配驱动配置文件中各个驱动对应的设备类型和指定设备PCIE信息中的设备类型,主要匹配信息有:厂商ID、设备ID等,可以唯一确定设备硬件的信息。当模板中选中的驱动都可以唯一匹配到真实设备硬件后,执行模拟挂载KVM的操作,将操作系统镜像和驱动镜像挂载到每台选中的设备上。执行IPMI命令,使设备从IFIST启动,并获取IFIST IP地址。FIST向每台设备的IFIST进行通信,根据模板信息执行安装特定操作系统和驱动的命令。等待IFIST端返回操作结果信息后,FIST向用户展示操作结果。用户也可通过FIST提供的接口,打开设备KVM,实现实时展示安装系统及驱动的画面。在IFIST端接收到安装操作系统和驱动的命令后,根据模板信息,修改对应的ks脚本文件,或antoinst.xml文件等自动应答脚本,可进行自动安装操作系统。设备的驱动文件,从挂载点拷贝到IFIST中,然后拷贝到需要安装系统的逻辑盘中,在安装脚本中增加完成系统安装后,安装驱动的命令。IFIST端弹出操作系统镜像和驱动镜像,整个过程安装完毕。Template application management: Apply the template created in the configuration template pipe to the feature device. Before installing the system, you need to check the validity of the current OS image and driver image. The driver configuration file is encrypted by MD5, and the driver configuration file cannot be manually tampered with. After completing the above verification, it is also necessary to identify whether the driver and device hardware in the template match. Through the IPMI command, you can obtain the PCIE information list of the specified device. And by matching the device type corresponding to each driver in the driver configuration file and the device type in the specified device PCIE information, the main matching information includes: manufacturer ID, device ID, etc., the information of the device hardware can be uniquely determined. When all the drivers selected in the template can be uniquely matched to the real device hardware, perform the operation of simulating mount KVM, and mount the operating system image and driver image to each selected device. Execute the IPMI command to make the device boot from IFIST and obtain the IFIST IP address. FIST communicates to each device's IFIST to execute commands to install specific operating systems and drivers based on template information. After waiting for the IFIST terminal to return the operation result information, FIST displays the operation result to the user. Users can also open the KVM of the device through the interface provided by FIST, and realize the real-time display of the installation system and the driver. After the IFIST side receives the command to install the operating system and the driver, it can modify the corresponding ks script file or the automatic response script such as the antoinst.xml file according to the template information to automatically install the operating system. The driver file of the device is copied from the mount point to IFIST, and then copied to the logical disk where the system needs to be installed. After the system installation is completed, the command to install the driver is added to the installation script. The operating system image and driver image are popped up on the IFIST side, and the installation is complete.

在一种实施方式中,本公开提供了一种电子设备,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,处理器执行所述机器可执行指令以实现前述的驱动批量安装方法,从硬件层面而言,硬件架构示意图可以参见图5所示。In one embodiment, the present disclosure provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor The machine-executable instructions are executed to implement the foregoing method for installing drivers in batches. From a hardware perspective, a schematic diagram of a hardware architecture can be referred to as shown in FIG. 5 .

在一种实施方式中,本公开提供了一种机器可读存储介质,所述机器可读存储介质存储有机器可执行指令,所述机器可执行指令在被处理器调用和执行时,所述机器可执行指令促使所述处理器实现前述的驱动批量安装方法。In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that when invoked and executed by a processor, the Machine-executable instructions cause the processor to implement the aforementioned method of batch driver installation.

这里,机器可读存储介质可以是任何电子、磁性、光学或其它物理存储装置,可以包含或存储信息,如可执行指令、数据,等等。例如,机器可读存储介质可以是:RAM(RadomAccess Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘(如光盘、dvd等),或者类似的存储介质,或者它们的组合。Here, a machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk ( such as optical discs, DVDs, etc.), or similar storage media, or a combination thereof.

上述实施方式阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation device, email sending and receiving device, game control desktop, tablet, wearable device, or a combination of any of these devices.

为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本公开时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described respectively. Of course, when implementing the present disclosure, the functions of each unit may be implemented in one or more software and/or hardware.

本领域内的技术人员应明白,本公开的实施方式可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施方式、完全软件实施方式、或结合软件和硬件方面的实施方式的形式。而且,本公开实施方式可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware implementation, an entirely software implementation, or an implementation combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.

本公开是参照根据本公开实施方式的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可以由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

而且,这些计算机程序指令也可以存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或者多个流程和/或方框图一个方框或者多个方框中指定的功能。Furthermore, these computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising the instruction means, The instruction means implements the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其它可编程数据处理设备上,使得在计算机或者其它可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其它可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

本领域技术人员应明白,本公开的实施方式可提供为方法、系统或计算机程序产品。因此,本公开可以采用完全硬件实施方式、完全软件实施方式、或者结合软件和硬件方面的实施方式的形式。而且,本公开可以采用在一个或者多个其中包含有计算机可用程序代码的计算机可用存储介质(可以包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware implementation, an entirely software implementation, or an implementation combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上所述仅为本公开的实施方式而已,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above descriptions are merely embodiments of the present disclosure, and are not intended to limit the present disclosure. Various modifications and variations of the present disclosure will occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included within the scope of the claims of the present disclosure.

Claims (10)

1.一种驱动批量安装方法,其特征在于,应用于管理设备,所述方法包括:1. A method for batch installation of drivers, characterized in that, applied to management equipment, the method comprising: 检测服务器设备的真实硬件信息;Detect real hardware information of server equipment; 根据所述真实硬件信息,选择对应的系统文件和驱动文件;According to the real hardware information, select the corresponding system file and driver file; 根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。An installation image file is generated according to the corresponding system file and driver file, so that the server device can mount and install the installation image file. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 在检测服务器设备的真实硬件信息之前,检测服务器设备是否已挂载镜像,若否,则继续执行检测服务器设备的真实硬件信息的步骤。Before detecting the real hardware information of the server device, it is detected whether the server device has mounted an image, and if not, the step of detecting the real hardware information of the server device is continued. 3.一种驱动批量安装方法,其特征在于,应用于服务器设备,所述方法包括:3. A method for batch installation of drivers, characterized in that, applied to a server device, the method comprising: 上报本地真实硬件信息,以使管理设备根据真实硬件信息选择对应的系统文件和驱动文件并生成相应的安装镜像文件;Report the local real hardware information, so that the management device can select the corresponding system file and driver file according to the real hardware information and generate the corresponding installation image file; 根据管理设备的指令,挂载所述安装镜像文件;Mount the installation image file according to the instruction of the management device; 安装所述安装镜像文件包含的系统和驱动。Install the system and drivers contained in the installation image file. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. The method according to claim 3, wherein the method further comprises: 安装所述安装镜像文件包含的系统和驱动后,解除挂载所述安装镜像文件。After installing the system and driver included in the installation image file, unmount the installation image file. 5.一种驱动批量安装装置,其特征在于,应用于管理设备,所述装置包括:5. A device for driving batch installation, characterized in that, when applied to management equipment, the device comprises: 检测模块,用于检测服务器设备的真实硬件信息;The detection module is used to detect the real hardware information of the server device; 处理模块,用于根据所述真实硬件信息,选择对应的系统文件和驱动文件;a processing module, configured to select corresponding system files and driver files according to the real hardware information; 镜像模块,用于根据对应的系统文件和驱动文件,生成安装镜像文件,以使服务器设备挂载并安装所述安装镜像文件。The image module is configured to generate an installation image file according to the corresponding system file and driver file, so that the server device can mount and install the installation image file. 6.根据权利要求5装置的方法,其特征在于,所述装置还包括:6. The method according to claim 5, wherein the device further comprises: 在检测服务器设备的真实硬件信息之前,检测服务器设备是否已挂载镜像,若否,则继续执行检测服务器设备的真实硬件信息的步骤。Before detecting the real hardware information of the server device, it is detected whether the server device has mounted an image, and if not, the step of detecting the real hardware information of the server device is continued. 7.一种驱动批量安装装置,其特征在于,应用于服务器设备,所述装置包括:7. A drive batch installation device, characterized in that, applied to server equipment, the device comprising: 发送模块,用于上报本地真实硬件信息,以使管理设备根据真实硬件信息选择对应的系统文件和驱动文件并生成相应的安装镜像文件;The sending module is used to report the local real hardware information, so that the management device selects the corresponding system file and driver file according to the real hardware information and generates the corresponding installation image file; 挂载模块,用于根据管理设备的指令,挂载所述安装镜像文件;a mounting module, used for mounting the installation image file according to the instruction of the management device; 安装模块,用于安装所述安装镜像文件包含的系统和驱动。The installation module is used to install the system and the driver included in the installation image file. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The apparatus according to claim 7, wherein the apparatus further comprises: 安装所述安装镜像文件包含的系统和驱动后,解除挂载所述安装镜像文件。After installing the system and driver included in the installation image file, unmount the installation image file. 9.一种电子设备,其特征在于,包括:处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令,以实现权利要求1-4任一所述的方法。9. An electronic device, comprising: a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the The machine-executable instructions to implement the method of any one of claims 1-4. 10.一种机器可读存储介质,其特征在于,所述机器可读存储介质存储有机器可执行指令,所述机器可执行指令在被处理器调用和执行时,所述机器可执行指令促使所述处理器实现权利要求1-4任一所述的方法。10. A machine-readable storage medium, characterized in that the machine-readable storage medium stores machine-executable instructions that, when invoked and executed by a processor, cause the machine-executable instructions to The processor implements the method of any one of claims 1-4.
CN202010370744.8A 2020-05-06 2020-05-06 Method, device and equipment for installing drivers in batches and machine-readable storage medium Pending CN111694604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010370744.8A CN111694604A (en) 2020-05-06 2020-05-06 Method, device and equipment for installing drivers in batches and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010370744.8A CN111694604A (en) 2020-05-06 2020-05-06 Method, device and equipment for installing drivers in batches and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN111694604A true CN111694604A (en) 2020-09-22

Family

ID=72476960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010370744.8A Pending CN111694604A (en) 2020-05-06 2020-05-06 Method, device and equipment for installing drivers in batches and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN111694604A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306510A (en) * 2020-10-30 2021-02-02 深圳忆联信息系统有限公司 Method and device for batch downloading and deploying of drivers, computer equipment and storage medium
CN112579106A (en) * 2020-12-14 2021-03-30 深圳忆联信息系统有限公司 Microsoft drive deployment method and device based on association drive library
CN114510279A (en) * 2022-01-28 2022-05-17 浙江大豪明德智控设备有限公司 Device management method, device, electronic device, storage medium, and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004013265A (en) * 2002-06-04 2004-01-15 Seiko Epson Corp Driver installation system, method and program
JP2014052968A (en) * 2012-09-10 2014-03-20 Ricoh It Solutions Co Ltd Driver distribution server and driver distribution program
CN107577510A (en) * 2017-09-21 2018-01-12 成都领沃网络技术有限公司 One kind quickly pre-installs method and system automatically without hardware driving under disk ring border
CN109766105A (en) * 2018-12-24 2019-05-17 新华三技术有限公司 Drive programe installation method, device, server and computer readable storage medium
CN110858144A (en) * 2018-08-24 2020-03-03 中国电信股份有限公司 Automatic server deployment method, device and system and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004013265A (en) * 2002-06-04 2004-01-15 Seiko Epson Corp Driver installation system, method and program
JP2014052968A (en) * 2012-09-10 2014-03-20 Ricoh It Solutions Co Ltd Driver distribution server and driver distribution program
CN107577510A (en) * 2017-09-21 2018-01-12 成都领沃网络技术有限公司 One kind quickly pre-installs method and system automatically without hardware driving under disk ring border
CN110858144A (en) * 2018-08-24 2020-03-03 中国电信股份有限公司 Automatic server deployment method, device and system and computer readable storage medium
CN109766105A (en) * 2018-12-24 2019-05-17 新华三技术有限公司 Drive programe installation method, device, server and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306510A (en) * 2020-10-30 2021-02-02 深圳忆联信息系统有限公司 Method and device for batch downloading and deploying of drivers, computer equipment and storage medium
CN112579106A (en) * 2020-12-14 2021-03-30 深圳忆联信息系统有限公司 Microsoft drive deployment method and device based on association drive library
CN112579106B (en) * 2020-12-14 2024-04-02 深圳忆联信息系统有限公司 Microsoft driver deployment method and device based on association driver library
CN114510279A (en) * 2022-01-28 2022-05-17 浙江大豪明德智控设备有限公司 Device management method, device, electronic device, storage medium, and program product
CN114510279B (en) * 2022-01-28 2023-11-21 浙江大豪明德智控设备有限公司 Device management method, device, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
US9921940B2 (en) Creating a software performance testing environment on a virtual machine system
US9690593B2 (en) Server information handling system configuration from an end state definition file
US10146556B2 (en) System and method to perform an OS boot using service location protocol and launching OS using a dynamic update of network boot order without a reboot
US10817319B1 (en) Compatibility-based configuration of hardware with virtualization software
US12067411B2 (en) Hot growing a cloud hosted block device
US11698813B2 (en) Electronic device and method for managing computing resources of at least one cloud server for providing cloud service
CN105573955A (en) Multi-protocol system management method and system and computer readable medium
US20200301714A1 (en) Bios setting modification system
CN110908753A (en) Intelligent fusion cloud desktop server, client and system
US9979799B2 (en) Impersonating a specific physical hardware configuration on a standard server
CN111694604A (en) Method, device and equipment for installing drivers in batches and machine-readable storage medium
JP2016085728A (en) Console message collection method and system after device failure
US10178170B2 (en) Browser-based virtual media administration
US20190332409A1 (en) Identification and storage of logical to physical address associations for components in virtualized systems
US11893391B2 (en) Processing computing jobs via an acceleration device
TW201705015A (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
KR20170031131A (en) Stream based event processing utilizing virtual streams and processing agents
US20230229426A1 (en) Out-of-band firmware update
US11593121B1 (en) Remotely disabling execution of firmware components
CN108021375A (en) The management method and computer-readable recording medium of data in cloud computing system
US12487968B2 (en) Automatic namespace deletion system
US12535957B2 (en) Writing a configuration file to flash memory on a server
CN120223705A (en) Method and device for providing image cloud service
CN120255675A (en) Hard disk heat dissipation control method, device, equipment and medium
CN115480781A (en) A device management method, device, device and machine-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922