WO2013135047A1 - Method for single-board plug and play, single-board and system therefor - Google Patents

Method for single-board plug and play, single-board and system therefor Download PDF

Info

Publication number
WO2013135047A1
WO2013135047A1 PCT/CN2012/083488 CN2012083488W WO2013135047A1 WO 2013135047 A1 WO2013135047 A1 WO 2013135047A1 CN 2012083488 W CN2012083488 W CN 2012083488W WO 2013135047 A1 WO2013135047 A1 WO 2013135047A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
file
new
initrd
program
Prior art date
Application number
PCT/CN2012/083488
Other languages
French (fr)
Chinese (zh)
Inventor
景玉超
刘永合
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2013135047A1 publication Critical patent/WO2013135047A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06F9/4413Plug-and-play [PnP]

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a method, a single board, and a system for implementing plug and play of a single board.
  • Linux systems Due to its open source and stability, Linux systems are widely used in many fields. Whether it is an embedded board with relatively few resources or a large server board with abundant resources, Linux systems run on it. Linux The system has extensive technical support and rich hardware and software resources. In the actual use environment, considering the cost savings, the resources on the board are relatively small, the Linux system software version is simplified as much as possible, and only the drivers and scripts related to the single board hardware are integrated, so that the system can be made normal on a limited resource. run.
  • Embedded board The existing embedded board, the software version mainly releases bzImage and Initrd, and the driver of the board is placed in Initrd. If the peripheral device of the board changes, the driver is incompatible. In this case, bzImage must be re-released. And the Initrd file, the board can be loaded normally.
  • the existing server board The software version mainly releases the driver installation package, including the driver and script.
  • the driver installation package is executed.
  • the board driver and script are placed in the specified directory of the system.
  • the peripheral device changes cause the driver to be incompatible. In this case, you must re-release the driver installation package and reinstall the OS for the board to work properly.
  • the peripheral device of the board is changed, in order to solve the problem that the board can be plugged and used, bzImage and Initrd need to be re-released for the embedded board, and the driver board is re-released for the server board.
  • the package can realize the plug-and-play of the single board, but it has the problem of complicated operation and increased cost.
  • the embedded board or the server board that uses other operating systems with files as the operating unit also has the problem of plug and play after the peripheral device is changed.
  • the embodiment of the present invention provides a method, a board, and a system for implementing a single-board plug-and-play method, which can solve the problem that the new single-board peripheral device is replaced after the replacement of the original single-board peripheral device. Only when the plug-and-play of the new board can be realized, there is a problem that the operation is complicated and the cost is increased.
  • a method for the plug-and-play of a single board is used to replace the old board with a new board running the Linux system, including:
  • the BIOS program copies a new driver file that is pre-stored on the board and needs to be updated to the system reserved memory;
  • Running Initrd the program in Initrd reads the new driver file from the system reserved memory and replaces the old driver file in Initrd;
  • a method for the plug-and-play of a single board is used to replace the old board with a new board running the Linux system, including:
  • the BIOS program copies a new driver file that is pre-stored on the board and needs to be updated to the system reserved memory;
  • Running Initrd the program in Initrd reads a portion of the new driver file from the system reserved memory and replaces the old driver file in Initrd;
  • the program in Initrd reads the rest of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system;
  • the non-volatile memory is used to store a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
  • the memory is used to store data required for the program to run
  • the CPU is configured to execute a program
  • the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program.
  • the CPU executes the bzImage program
  • the CPU executes the Initrd program, reads the new driver file from the memory and replaces the old driver file in the Initrd;
  • a plug-and-play board that is used to replace an old board running a Linux system, and includes:
  • the non-volatile memory is used to store a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
  • the memory is used to store data required for the program to run
  • the CPU is configured to execute a program
  • the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program.
  • the CPU executes the bzImage program
  • the CPU executes the Initrd program, reads a part of the new driver file from the memory reserved by the system, and replaces the old driver file in the Initrd;
  • the CPU executes the load driver file to start the hard disk file system
  • the CPU executes the Initrd program to read the remaining portion of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system;
  • the CPU executes the driver file in the hard disk file system, the CPU runs the subsequent programs of the operating system running on the board.
  • a system for implementing plug and play of a single board comprising:
  • the chassis and the plurality of boards are inserted into the chassis, and at least one of the plurality of boards is configured by using the single board.
  • the method provided by the embodiment of the present invention replaces the old driver file with a new driver file of the device before the driver is loaded by using a new driver file on the board to change the device. After the new board is replaced with the old board, it is plug-and-play, which simplifies the software upgrade mode of the board. The operation is simple, and the work efficiency and maintainability are improved.
  • FIG. 1 is a flowchart of a method for implementing plug and play of a single board according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for implementing plug-and-play of an embedded single board according to Embodiment 1 of the present invention
  • FIG. 4 is a flowchart of a method for implementing plug-and-play of a single board according to Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of a server board startup according to Embodiment 2 of the present invention.
  • FIG. 6 is a flowchart of a method for implementing plug-and-play of a server board according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of a plug-and-play single board according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a plug-and-play single board according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic diagram of a system for implementing plug and play of a single board according to Embodiment 5 of the present invention.
  • the embodiment of the invention provides a method for the plug-and-play of a single board, which can be used to replace the old board with a new board running the Linux system, and can be applied to replace the old embedded board with a new embedded board, such as As shown in Figure 1, the method includes:
  • Step 1 Start the BIOS program after the board is powered on.
  • Step 2 The BIOS program copies the new driver file that is pre-stored on the board and needs to be updated to the system reserved memory.
  • Step 3 bzImage starts
  • Step 4 Run Initrd, the program in Initrd reads the new driver file from the system reserved memory and replaces the old driver file in Initrd;
  • Step 5 After loading the driver file, execute the startup of the operating system running the board (such as starting Dopra).
  • the new driver file that needs to be updated in advance on the board is a plurality of new driver files, and the plurality of new driver files are compressed into a new driver file and the compression package is stored on the board.
  • the program in the Initrd reads the new driver file from the system reserved memory and replaces the old driver file in the Initrd including: the program in the Initrd
  • the new driver file compression package read from the system reserved memory is decompressed, and the corresponding new driver files in Initrd are replaced by a plurality of new driver files obtained after decompression.
  • the above method is applicable to the implementation of plug-and-play after the new embedded board running the Linux operating system replaces the old embedded board.
  • the embedded board running Linux system is taken as an example:
  • the current boot process of the embedded board running Linux system is shown in Figure 2.
  • the driver associated with the embedded board is mainly placed in the initrd file (Linux).
  • the BIOS Operations and Maintenance Unit
  • OMU Operations
  • And Maintenance Unit, operation and maintenance unit load bzImage (Linux kernel image file) and initrd (Linux kernel image file), bzImage starts after loading successfully, then initrd starts, inserts the board driver during initrd startup process, and finally dopra (Distributed Object-oriented Programable Realtime Architecture,
  • the distributed object-oriented programmable real-time architecture is the next generation of telecom support platform).
  • the embedded board-related driver is placed in the initrd, and the initrd also has the related files of the dopra; if the peripheral components of the embedded board change, then the initrd The driver in the drive also needs to be changed to support the new board. If the initrd file compatible with the new and old boards is released, the initrd file will become larger, and the complexity of the software will increase. increase cost. If the initrd file compatible with the new and old boards is not released, there is no plug and play for the new board.
  • the processing flow of the method for implementing the plug-and-play method of the embedded board by using the method of the embodiment of the present invention is as shown in FIG. 3 , and specifically includes the following steps:
  • Step 30 Insert the embedded board running the Linux system (the board is used as a new board to replace the old board);
  • Step 31 The BIOS of the embedded board is started.
  • Step 32 The BIOS of the embedded board requests the OMU to load bzImage and initrd (when the bzImage on the OMU supports the current CPU, when the peripheral device of the board changes, the bzImage and the initrd on the OMU do not need to be changed, only need to be loaded.
  • the old bzImage and initrd can be);
  • Step 34 The BIOS of the embedded board copies a new driver file (which can be a driver file or multiple driver files, and multiple drive files can be stored in a compressed package) to the system reserved memory.
  • a new driver file (which can be a driver file or multiple driver files, and multiple drive files can be stored in a compressed package)
  • Step 35 bzImage starts, Linux initializes the system
  • step 36 Initrd starts running and prepares the initrd environment.
  • Step 37 Before the initrd driver is loaded, the new driver file is read from the system reservation;
  • Step 38 replacing the old driver file in the initrd with the read new driver file (if the new driver file is multiple and is a compressed package, after decompressing, the obtained new driver files are respectively replaced with the corresponding old ones in the initrd Drive file);
  • Step 39 Insert the replaced driver file into the board driver in the initrd in the original manner
  • step 310 the Dopra is started, and the insertion of the embedded board driver is completed, and the board can be started normally.
  • the new driver file that changes the device between the new board and the old board is loaded on the new board, and the changed new driver file is copied to the system when the BIOS starts.
  • the new driver file is read from the system reserved memory and the old driver file in the initrd is replaced before the related driver is loaded, so that the new card replaces the plug-and-play function of the old board, and the new single is blocked.
  • the difference between the board and the upper layer improves the maintainability of the system.
  • the method simplifies the software upgrade mode of the board. If the underlying software has a bug, it only needs to upgrade the driver file of the onboard change device, and does not need to upgrade the entire driver file to improve work efficiency.
  • This embodiment provides a method for the plug-and-play of a single board.
  • the new board is used to replace the old board.
  • the new server board can be used to replace the old server board. Show, including:
  • Step 40 After the board is powered on, the BIOS program is started.
  • Step 41 The BIOS program copies the new driver file that is pre-stored on the board and needs to be updated to the system reserved memory.
  • Step 42 bzImage is started
  • Step 43 running Initrd, the program in Initrd reads a part of the new driver file from the system reserved memory and replaces the old driver file in the Initrd;
  • Step 44 Load the driver file to start the hard disk file system
  • Step 45 The program in Initrd reads the remaining part of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system;
  • Step 46 After loading the driver file in the hard disk file system, perform the startup of the operating system running the board (such as starting Dopra).
  • the new driver file that needs to be updated in advance on the board may be a plurality of new driver files, and the plurality of new driver files are compressed into a new driver file and the compression package is stored on the board.
  • the program in the Initrd reads a part of the new driver file from the system reserved memory and replaces the old driver file in the Initrd as:
  • the program in Initrd decompresses the new driver file compression package read from the system reserved memory, and replaces the corresponding old driver file in Initrd with the new driver file corresponding to the hard disk device among the plurality of new driver files obtained after decompression. .
  • the program in Initrd reads the rest of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system including:
  • the program in Initrd replaces the new drive file in the hard disk file system with the new drive file of the remaining part of the new drive file obtained by decompressing the new drive file compression package read from the system reserved memory.
  • the above method is applicable to the implementation of plug and play after the new server board running the Linux operating system replaces the old server board.
  • the current startup process of the server board running Linux system is shown in Figure 5.
  • the startup of the server board is more complicated than that of the embedded board.
  • the main reason is that it must be run in the ram root file system, first load a part of the driver, especially It is necessary to load the hard disk drive, mount the hard disk partition after finding the hard disk, and then switch the root file system from the ram (memory) to the hard disk partition; after the hard disk root file system is started, continue to load the single board driver, and finally start dopra.
  • the processing flow of the method for implementing the plug-and-play method of the server board running the Linux system by using the method of the embodiment of the present invention is as shown in FIG. 6 , and specifically includes the following steps:
  • Step 50 After the server running the Linux system is powered on, the board is used as a new board to replace the old board.
  • Step 51 The BIOS of the server board is started.
  • Step 52 The BIOS of the server board copies the new driver file on the board that is matched with the board to the system reserved memory.
  • Step 53 The server board runs the GRUB boot of the Linux system, and loads the bzImage and the initrd from the hard disk boot partition to the memory;
  • Step 54 bzImage is started, and the system is initialized
  • Step 55 initrd starts, ready for the initrd environment
  • Step 56 Read the new driver file from the system reserved memory before the initrd driver loads
  • Step 57 replacing the corresponding old driver file in the initrd with a part of the driver file in the new driver file, that is, replacing the old driver file corresponding to the hard disk setting in the initrd with the driver file corresponding to the hard disk device in the new driver file;
  • Step 58 After the replacement is completed, insert the driver file into the driver of the initrd according to the original manner, and find the hard disk device;
  • Step 59 Mount the hard disk partition and switch the root file system.
  • Step 510 the hard disk file system is started
  • Step 511 replacing the old driver file in the hard disk file system with the remaining driver files in the new driver file, that is, replacing the old driver file in the corresponding part of the hard disk file system with the remaining driver files in the new driver file;
  • Step 512 insert the replaced driver file into the driver of the hard disk file system
  • step 513 the dopra is started, and the driver insertion of the server board is completed, and the subsequent startup of the server board can be implemented.
  • the method of the embodiment of the present invention uses a new driver file that is changed on the new board and the new driver file of the new board is changed on the new board.
  • the new driver file is copied to the system reserved memory.
  • the new driver file is read from the system reserved memory, and the corresponding old driver file in the initrd is replaced, so that the new board replaces the old ticket.
  • the plug-and-play function behind the board shields the difference between the board and the upper layer and improves the maintainability of the system.
  • the method simplifies the software upgrade of the board. If there is a bug in the underlying software, only the driver file of the onboard change needs to be upgraded, and the entire driver file package does not need to be upgraded, thereby improving work efficiency.
  • This embodiment provides a plug-and-play board, which is used to replace an old board running Linux. It can be used as an embedded board. As shown in Figure 7, the board includes: CPU, memory, and Non-volatile memory; each component can be soldered to a printed circuit of a single board and electrically connected through a printed circuit;
  • the non-volatile memory is used for storing a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
  • Memory is used to store the data needed to run the program
  • the CPU is used to execute the program
  • the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program.
  • the CPU executes the bzImage program
  • the CPU executes the Initrd program, reads the new driver file from the memory and replaces the old driver file in the Initrd;
  • the CPU executes the Initrd program to read the new driver file from the memory reserved by the system into a compressed package containing a plurality of new driver files
  • the CPU executes the Initrd program to read the new memory from the system reserved.
  • the driver file compression package is decompressed, and the corresponding new driver files in Initrd are replaced by a plurality of new driver files obtained after decompression.
  • the embodiment provides a plug-and-play board, which is used to replace the old board running the Linux system, and can be used as a server board, as shown in FIG. 8, the CPU, the memory, and the non-volatile memory;
  • the components can be soldered to the printed circuit of the board and electrically connected through the printed circuit;
  • the non-volatile memory is used for storing a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
  • Memory is used to store the data needed to run the program
  • the CPU is used to execute the program
  • the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program.
  • the CPU executes the bzImage program
  • the CPU executes the Initrd program, reads a part of the new driver file from the memory reserved by the system, and replaces the old driver file in the Initrd;
  • the CPU executes the load driver file to start the hard disk file system
  • the CPU executes the Initrd program to read the remaining portion of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system;
  • the CPU executes the driver file in the hard disk file system, the CPU runs the subsequent programs of the operating system running on the board.
  • the CPU executes the Initrd program to read a new driver file from the memory reserved in the system to a compressed package containing a plurality of new driver files
  • the CPU executes a new driver file compression package that the Initrd program reads from the system reserved memory. Decompressing, replacing the corresponding old driver file in Initrd with the new driver file corresponding to the hard disk device among the plurality of new driver files obtained after decompressing.
  • the CPU executes the program in Initrd to read the remaining part of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system, including:
  • the CPU executes the program in Initrd to replace the new driver file of the remaining part of the new driver file obtained by decompressing the new driver file compressed in the memory reserved by the system, respectively, with the corresponding old driver file in the hard disk file system.
  • This embodiment provides a system for implementing plug and play of a single board. As shown in FIG. 9, the system includes:
  • the chassis 80 and the plurality of boards 81 to 8n are inserted into the chassis 80. At least one of the plurality of boards 81 to 8n is provided by the third or fourth embodiment. veneer.
  • the new driver file is changed on the board, and the driver file of the new board is changed on the new board, and the newly changed driver file is copied to the BIOS when the BIOS is started.
  • the system is reserved in the memory. Before the related driver is loaded, the driver file is read from the system reserved memory, and the driver file in the Initrd program is replaced, so that the plug-and-play function of the old board is replaced by the new board, and the board is shielded. Improve the maintainability of the system by making differences to the upper layers.
  • the method simplifies the software upgrade of the board. If there is a bug in the underlying software, only the onboard change driver file needs to be upgraded, and the entire driver file does not need to be upgraded, thereby improving work efficiency.
  • the operating system can also replace the old driver files with new driver files during startup or operating system execution, and can also modify some
  • the code of the program (similar to the Initrd program) is used to complete the replacement action, then it should be considered that these solutions adopt basically similar technical means to achieve the same technical problems, and achieve substantially the same technical effect, which is a kind of this embodiment. Equivalent alternatives are also intended to be covered by the scope of the invention.

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

Disclosed are a method for single-board plug and play, a single-board and a system therefor, belonging to the technical field of computer applications. The method comprises: enabling a BIOS program after the single-board powers on; a new driver file previously stored in the single-board and which needs to be updated is copied by the BIOS program to a system reserved memory; starting bzImage; running Initrd, a program wherein reads the new driver file from the system reserved memory and replaces the old driver file in the Initrd; after loading the driver file, executing start-up of the next program of the single-board operating system. The method utilizes an on-board change component to load new driver files on the single-board, hence before a driver is loaded, the old driver file of the element to be changed is replaced by a new driver file, thus simplifying single-board software up-grades, simplifying operations, and improving work efficiency and maintainability.

Description

实现单板即插即用的方法、单板及系统  Plug-and-play method, board and system for implementing single board
本申请要求了2012年3月14日提交的、申请号为201210066368.9、发明名称为“实现单板即插即用的方法、单板及系统”的中国申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese application filed on March 14, 2012, the application number is 201210066368.9, and the invention is entitled "Implementation of a single-panel plug-and-play method, board and system", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及计算机应用技术领域,尤其涉及一种实现单板即插即用的方法、单板及系统。The present invention relates to the field of computer application technologies, and in particular, to a method, a single board, and a system for implementing plug and play of a single board.
发明背景Background of the invention
目前Linux系统由于其开源性和稳定性,在很多领域都有大量的使用,无论是资源相对较少的嵌入式单板还是资源丰富的大型服务器单板,都有Linux系统在其上面运行,Linux系统拥有广泛的技术支持,软硬件资源丰富。在现实使用环境中,考虑到节约成本,单板上的资源相对较少,Linux系统软件版本都尽量简化,只集成与单板硬件相关的驱动和脚本,从而在有限的资源上能够让系统正常运行。Due to its open source and stability, Linux systems are widely used in many fields. Whether it is an embedded board with relatively few resources or a large server board with abundant resources, Linux systems run on it. Linux The system has extensive technical support and rich hardware and software resources. In the actual use environment, considering the cost savings, the resources on the board are relatively small, the Linux system software version is simplified as much as possible, and only the drivers and scripts related to the single board hardware are integrated, so that the system can be made normal on a limited resource. run.
在现有Linux系统开发过程中尽量减少发布版本的文件大小,采用下面的方式来处理:Minimize the file size of the released version during the development of the existing Linux system, and use the following methods to handle:
嵌入式单板:现有的嵌入式单板,软件版本主要发布bzImage和Initrd,单板的驱动放在Initrd中,如单板的外围器件变更导致驱动不兼容,这种情况必须要重新发布bzImage和Initrd文件,单板才能正常加载启动。 Embedded board: The existing embedded board, the software version mainly releases bzImage and Initrd, and the driver of the board is placed in Initrd. If the peripheral device of the board changes, the driver is incompatible. In this case, bzImage must be re-released. And the Initrd file, the board can be loaded normally.
服务器单板:现有的服务器单板,软件版本主要发布驱动安装包,包括驱动和脚本等,镜像安装时执行驱动安装包,把单板驱动和脚本放入系统的指定目录中;如果单板的外围器件变更导致驱动不兼容,这种情况必须要重新发布驱动安装包并且重新安装OS,单板才能正常使用。 Server board: The existing server board. The software version mainly releases the driver installation package, including the driver and script. When the image is installed, the driver installation package is executed. The board driver and script are placed in the specified directory of the system. The peripheral device changes cause the driver to be incompatible. In this case, you must re-release the driver installation package and reinstall the OS for the board to work properly.
从上述介绍中可以看出,在单板的外围器件变更后,为解决单板能够即插即用,针对嵌入式单板需要重新发布bzImage和Initrd,而针对服务器单板则要重新发布驱动安装包,才能够实现单板即插即用,但却存在操作复杂,增加成本的问题。并且应用其它以文件为操作单位的操作系统的嵌入式单板或服务器单板也存在外围器件变更后,不便于解决即插即用的问题。 As shown in the above description, after the peripheral device of the board is changed, in order to solve the problem that the board can be plugged and used, bzImage and Initrd need to be re-released for the embedded board, and the driver board is re-released for the server board. The package can realize the plug-and-play of the single board, but it has the problem of complicated operation and increased cost. Moreover, the embedded board or the server board that uses other operating systems with files as the operating unit also has the problem of plug and play after the peripheral device is changed.
发明内容Summary of the invention
本发明实施方式提供一种实现单板即插即用的方法、单板及系统,可以解决目前在替换原单板的新单板外围器件发生变化后,要重新发布针对该新单板的驱动,才能够实现新单板的即插即用,存在操作复杂、增加成本的问题。The embodiment of the present invention provides a method, a board, and a system for implementing a single-board plug-and-play method, which can solve the problem that the new single-board peripheral device is replaced after the replacement of the original single-board peripheral device. Only when the plug-and-play of the new board can be realized, there is a problem that the operation is complicated and the cost is increased.
一种实现单板即插即用的方法,应用于运行Linux系统的新单板替换掉旧单板,包括:A method for the plug-and-play of a single board is used to replace the old board with a new board running the Linux system, including:
单板上电后启动BIOS程序;Start the BIOS program after the board is powered on;
所述BIOS程序将预先存储于所述单板的需要更新的新驱动文件复制到系统保留内存;The BIOS program copies a new driver file that is pre-stored on the board and needs to be updated to the system reserved memory;
bzImage启动;bzImage starts;
运行Initrd,Initrd中的程序从所述系统保留内存中读取新驱动文件并替换Initrd中的旧驱动文件;Running Initrd, the program in Initrd reads the new driver file from the system reserved memory and replaces the old driver file in Initrd;
加载所述驱动文件后,执行单板所运行操作系统后续程序的启动。After the driver file is loaded, the startup of the operating system running the board is executed.
一种实现单板即插即用的方法,应用于运行Linux系统的新单板替换掉旧单板,包括:A method for the plug-and-play of a single board is used to replace the old board with a new board running the Linux system, including:
单板上电后启动BIOS程序;Start the BIOS program after the board is powered on;
所述BIOS程序将预先存储于所述单板的需要更新的新驱动文件复制到系统保留内存;The BIOS program copies a new driver file that is pre-stored on the board and needs to be updated to the system reserved memory;
bzImage启动;bzImage starts;
运行Initrd,Initrd中的程序从所述系统保留内存中读取新驱动文件的一部分并替换Initrd中的旧驱动文件;Running Initrd, the program in Initrd reads a portion of the new driver file from the system reserved memory and replaces the old driver file in Initrd;
加载驱动文件启动硬盘文件系统;Load the driver file to start the hard disk file system;
Initrd中的程序从所述系统保留内存中读取新驱动文件的剩余部分并替换硬盘文件系统中的旧驱动文件;The program in Initrd reads the rest of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system;
加载硬盘文件系统中的驱动文件后,执行单板所运行操作系统后续程序的启动。After the driver files in the hard disk file system are loaded, the subsequent programs of the operating system running on the board are started.
一种实现即插即用的单板,应用于替换掉运行Linux系统的旧单板,包括:A plug-and-play board that replaces the old boards running Linux, including:
CPU、内存和非易失性存储器;其中,CPU, memory, and non-volatile memory; among them,
所述非易失性存储器用于存储BIOS程序,需要更新的新驱动文件,bzImage程序以及Initrd程序;The non-volatile memory is used to store a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
所述内存用于存储程序运行所需的数据;The memory is used to store data required for the program to run;
所述CPU用于执行程序;The CPU is configured to execute a program;
当单板上电后,所述CPU执行存储在所述非易失性存储器中的BIOS程序,通过执行BIOS程序,将预先存储在所述非易失性存储器中的新驱动文件加载到系统保留的内存中;After the board is powered on, the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program. In memory
CPU执行bzImage程序;The CPU executes the bzImage program;
CPU执行Initrd程序,从所述内存中读取新驱动文件并替换Initrd中的旧驱动文件;The CPU executes the Initrd program, reads the new driver file from the memory and replaces the old driver file in the Initrd;
CPU执行加载驱动文件后,执行单板所运行操作系统后续程序的启动。After the CPU loads the driver file, it starts the startup of the operating system running on the board.
一种实现即插即用的单板,应用于替换掉运行Linux系统的旧单板,其特征在于,包括:A plug-and-play board that is used to replace an old board running a Linux system, and includes:
CPU、内存和非易失性存储器;其中,CPU, memory, and non-volatile memory; among them,
所述非易失性存储器用于存储BIOS程序,需要更新的新驱动文件,bzImage程序以及Initrd程序;The non-volatile memory is used to store a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
所述内存用于存储程序运行所需的数据;The memory is used to store data required for the program to run;
所述CPU用于执行程序;The CPU is configured to execute a program;
当单板上电后,所述CPU执行存储在所述非易失性存储器中的BIOS程序,通过执行BIOS程序,将预先存储在所述非易失性存储器中的新驱动文件加载到系统保留的内存中;After the board is powered on, the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program. In memory
CPU执行bzImage程序;The CPU executes the bzImage program;
CPU执行Initrd程序,从系统保留的内存中读取新驱动文件的一部分并替换Initrd中的旧驱动文件;The CPU executes the Initrd program, reads a part of the new driver file from the memory reserved by the system, and replaces the old driver file in the Initrd;
CPU执行加载驱动文件启动硬盘文件系统;The CPU executes the load driver file to start the hard disk file system;
CPU执行Initrd程序从系统保留的内存中读取新驱动文件的剩余部分并替换硬盘文件系统中的旧驱动文件;The CPU executes the Initrd program to read the remaining portion of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system;
CPU执行加载硬盘文件系统中的驱动文件后,执行单板所运行操作系统后续程序的启动。After the CPU executes the driver file in the hard disk file system, the CPU runs the subsequent programs of the operating system running on the board.
一种实现单板即插即用的系统,包括:A system for implementing plug and play of a single board, comprising:
机框和多个单板,各单板插装在所述机框上,其中,多个单板中至少一个单板采用上述的单板。The chassis and the plurality of boards are inserted into the chassis, and at least one of the plurality of boards is configured by using the single board.
由上述提供的技术方案可以看出,本发明实施方式提供的方法,采用在单板上板载变更器件的新驱动文件的方式,在驱动加载前,用变更器件的新驱动文件替换旧驱动文件,实现了新单板替换旧单板后即插即用,简化了单板的软件升级方式,操作较简单,提高了工作效率和可维护性。It can be seen from the technical solution provided by the foregoing that the method provided by the embodiment of the present invention replaces the old driver file with a new driver file of the device before the driver is loaded by using a new driver file on the board to change the device. After the new board is replaced with the old board, it is plug-and-play, which simplifies the software upgrade mode of the board. The operation is simple, and the work efficiency and maintainability are improved.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those of ordinary skill in the art will be able to obtain other figures from these drawings without the inventive effort.
图1为本发明实施例一提供的实现单板即插即用的方法的流程图;1 is a flowchart of a method for implementing plug and play of a single board according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的嵌入式单板启动流程图;2 is a flowchart of starting an embedded board according to Embodiment 1 of the present invention;
图3为本发明实施例一提供的实现嵌入式单板即插即用的方法的流程图;FIG. 3 is a flowchart of a method for implementing plug-and-play of an embedded single board according to Embodiment 1 of the present invention;
图4为本发明实施例二提供的实现单板即插即用的方法的流程图;4 is a flowchart of a method for implementing plug-and-play of a single board according to Embodiment 2 of the present invention;
图5为本发明实施例二提供的服务器单板启动流程图;FIG. 5 is a flowchart of a server board startup according to Embodiment 2 of the present invention;
图6为本发明实施例二提供的实现服务器单板插即用的方法的流程图;FIG. 6 is a flowchart of a method for implementing plug-and-play of a server board according to Embodiment 2 of the present invention;
图7为本发明实施例三提供的实现即插即用的单板的结构示意图;FIG. 7 is a schematic structural diagram of a plug-and-play single board according to Embodiment 3 of the present invention;
图8为本发明实施例四提供的实现即插即用的单板的结构示意图;FIG. 8 is a schematic structural diagram of a plug-and-play single board according to Embodiment 4 of the present invention; FIG.
图9为本发明实施例五提供的实现单板即插即用的系统的示意图。FIG. 9 is a schematic diagram of a system for implementing plug and play of a single board according to Embodiment 5 of the present invention.
实施本发明的方式Mode for carrying out the invention
下面结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明的保护范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
下面将结合附图对本发明实施例作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例提供一种实现单板即插即用的方法,可用于运行Linux系统的新单板替换掉旧单板,可适用于新的嵌入式单板替换旧的嵌入式单板,如图1所示,该方法包括:The embodiment of the invention provides a method for the plug-and-play of a single board, which can be used to replace the old board with a new board running the Linux system, and can be applied to replace the old embedded board with a new embedded board, such as As shown in Figure 1, the method includes:
步骤1,单板上电后启动BIOS程序;Step 1. Start the BIOS program after the board is powered on.
步骤2, BIOS程序将预先存储于所述单板的需要更新的新驱动文件复制到系统保留内存;Step 2: The BIOS program copies the new driver file that is pre-stored on the board and needs to be updated to the system reserved memory.
步骤3,bzImage启动;Step 3, bzImage starts;
步骤4,运行Initrd,Initrd中的程序从所述系统保留内存中读取新驱动文件并替换Initrd中的旧驱动文件;Step 4: Run Initrd, the program in Initrd reads the new driver file from the system reserved memory and replaces the old driver file in Initrd;
步骤5,加载所述驱动文件后,执行单板所运行操作系统后续程序的启动(如启动Dopra)。Step 5: After loading the driver file, execute the startup of the operating system running the board (such as starting Dopra).
上述方法中,预先存储于单板上的需要更新的新驱动文件为多个新驱动文件,多个新驱动文件压缩成新驱动文件压缩包存储于单板上。In the above method, the new driver file that needs to be updated in advance on the board is a plurality of new driver files, and the plurality of new driver files are compressed into a new driver file and the compression package is stored on the board.
上述方法中,当新驱动文件为包括多个新驱动文件的新驱动文件压缩包,Initrd中的程序从系统保留内存中读取新驱动文件并替换Initrd中的旧驱动文件包括:Initrd中的程序将从系统保留内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件分别替换Initrd中对应的旧驱动文件。In the above method, when the new driver file is a new driver file compression package including a plurality of new driver files, the program in the Initrd reads the new driver file from the system reserved memory and replaces the old driver file in the Initrd including: the program in the Initrd The new driver file compression package read from the system reserved memory is decompressed, and the corresponding new driver files in Initrd are replaced by a plurality of new driver files obtained after decompression.
上述方法适用于实现运行Linux操作系统的新嵌入式单板替换掉旧嵌入式单板后实现即插即用。The above method is applicable to the implementation of plug-and-play after the new embedded board running the Linux operating system replaces the old embedded board.
下面分别结合运行Linux系统的嵌入式单板及服务器单板的即插即用实现过程,对上述方法作进一步说明。The following describes the above method in combination with the plug-and-play implementation process of the embedded board and the server board running the Linux system.
首先以运行Linux系统的嵌入式单板为例进行说明:First, the embedded board running Linux system is taken as an example:
目前的运行Linux系统的嵌入式单板启动流程如图2所示,是将与嵌入式单板相关的驱动主要放在initrd文件(Linux 根文件系统)中,嵌入式单板启动时BIOS(Operations and Maintenance Unit,操作维护单元)要从OMU(Operations and Maintenance Unit,操作维护单元)上加载bzImage(Linux内核镜像文件)和initrd(Linux内核镜像文件),加载成功后bzImage启动,然后initrd启动,在initrd启动过程中插入单板的驱动,最后dopra(Distributed Object-oriented Programable Realtime Architecture, 分布式面向对象可编程实时架构,是下一代的电信支撑平台)开始运行。The current boot process of the embedded board running Linux system is shown in Figure 2. The driver associated with the embedded board is mainly placed in the initrd file (Linux). In the root file system, when the embedded board starts, the BIOS (Operations and Maintenance Unit) must be from OMU (Operations). And Maintenance Unit, operation and maintenance unit) load bzImage (Linux kernel image file) and initrd (Linux kernel image file), bzImage starts after loading successfully, then initrd starts, inserts the board driver during initrd startup process, and finally dopra (Distributed Object-oriented Programable Realtime Architecture, The distributed object-oriented programmable real-time architecture is the next generation of telecom support platform).
上述嵌入式单板启动流程所存的缺点为:由于嵌入式单板相关的驱动是放在initrd中的,同时initrd中还有dopra的相关文件;如果嵌入式单板的外围器件发生变化,那么initrd中的驱动也要发生变化才能支持新的单板,这时如果发布兼容新老单板的initrd文件,initrd文件就会变大,同时软件的复杂度也加大了,增加版本发布的流程,增加成本。若不发布兼容新老单板的initrd文件,则存在无法实现新单板的即插即用。 The disadvantages of the above-mentioned embedded board startup process are as follows: the embedded board-related driver is placed in the initrd, and the initrd also has the related files of the dopra; if the peripheral components of the embedded board change, then the initrd The driver in the drive also needs to be changed to support the new board. If the initrd file compatible with the new and old boards is released, the initrd file will become larger, and the complexity of the software will increase. increase cost. If the initrd file compatible with the new and old boards is not released, there is no plug and play for the new board.
利用本发明实施例的方法实现嵌入式单板即插即用的方法的处理流程如图3所示,具体包括以下步骤: The processing flow of the method for implementing the plug-and-play method of the embedded board by using the method of the embodiment of the present invention is as shown in FIG. 3 , and specifically includes the following steps:
步骤30,插装运行Linux系统的嵌入式单板(该单板作为新单板用于替换旧单板); Step 30: Insert the embedded board running the Linux system (the board is used as a new board to replace the old board);
步骤31,该嵌入式单板的BIOS启动; Step 31: The BIOS of the embedded board is started.
步骤32,该嵌入式单板的BIOS向OMU请求加载bzImage和initrd(在OMU上的bzImage支持当前CPU的情况下,单板外围器件变化时,OMU上的bzImage和initrd不需要改变,只需要加载旧的bzImage和initrd即可); Step 32: The BIOS of the embedded board requests the OMU to load bzImage and initrd (when the bzImage on the OMU supports the current CPU, when the peripheral device of the board changes, the bzImage and the initrd on the OMU do not need to be changed, only need to be loaded. The old bzImage and initrd can be);
步骤33,加载返回; Step 33, loading back;
步骤34,嵌入式单板的BIOS复制单板上板载的新驱动文件(可以是一个驱动文件,也可以是多个驱动文件,多个驱动文件时可以压缩包形式存储)到系统保留内存;Step 34: The BIOS of the embedded board copies a new driver file (which can be a driver file or multiple driver files, and multiple drive files can be stored in a compressed package) to the system reserved memory.
步骤35,bzImage启动,Linux初始化系统; Step 35, bzImage starts, Linux initializes the system;
步骤36,Initrd开始运行,准备好initrd环境;In step 36, Initrd starts running and prepares the initrd environment.
步骤37,在initrd驱动加载之前,从系统保留内中读取新驱动文件;Step 37: Before the initrd driver is loaded, the new driver file is read from the system reservation;
步骤38,用读取的新驱动文件替换initrd中的旧驱动文件(若新驱动文件是多个,并为压缩包,则解压后,将得到的多个新驱动文件分别替换initrd中对应的旧驱动文件);Step 38, replacing the old driver file in the initrd with the read new driver file (if the new driver file is multiple and is a compressed package, after decompressing, the obtained new driver files are respectively replaced with the corresponding old ones in the initrd Drive file);
步骤39,将替换的驱动文件按原有方式插入到initrd中的单板驱动中;Step 39: Insert the replaced driver file into the board driver in the initrd in the original manner;
步骤310,Dopra启动,至此完成该嵌入式单板驱动的插入,后续可实现该单板正常启动。In step 310, the Dopra is started, and the insertion of the embedded board driver is completed, and the board can be started normally.
从上述流程中可以看出,本实施例方法中采用将新单板相对于旧单板变更器件的新驱动文件板载于新单板上,在BIOS启动时把变更的新驱动文件复制到系统保留内存中,在相关驱动加载之前,从系统保留内存中读取新驱动文件,替换initrd中的旧驱动文件,从而实现新单板替换掉旧单板后的即插即用功能,屏蔽新单板对上层的差异,提升系统的可维护性。并且,该方法简化了单板的软件升级方式,如果是底层软件有bug时,只需要升级板载变更器件的驱动文件就可以,而不需要升级整个驱动文件,提高工作效率。As shown in the above process, the new driver file that changes the device between the new board and the old board is loaded on the new board, and the changed new driver file is copied to the system when the BIOS starts. In the reserved memory, the new driver file is read from the system reserved memory and the old driver file in the initrd is replaced before the related driver is loaded, so that the new card replaces the plug-and-play function of the old board, and the new single is blocked. The difference between the board and the upper layer improves the maintainability of the system. Moreover, the method simplifies the software upgrade mode of the board. If the underlying software has a bug, it only needs to upgrade the driver file of the onboard change device, and does not need to upgrade the entire driver file to improve work efficiency.
实施例二 Embodiment 2
本实施例提供一种实现单板即插即用的方法,应用于运行Linux系统的新单板替换掉旧单板,可适用于新的服务器单板替换旧的服务器单板,如图4所示,包括:This embodiment provides a method for the plug-and-play of a single board. The new board is used to replace the old board. The new server board can be used to replace the old server board. Show, including:
步骤40,单板上电后启动BIOS程序;Step 40: After the board is powered on, the BIOS program is started.
步骤41,BIOS程序将预先存储于所述单板的需要更新的新驱动文件复制到系统保留内存;Step 41: The BIOS program copies the new driver file that is pre-stored on the board and needs to be updated to the system reserved memory.
步骤42,bzImage启动; Step 42, bzImage is started;
步骤43,运行Initrd,Initrd中的程序从所述系统保留内存中读取新驱动文件的一部分并替换Initrd中的旧驱动文件; Step 43, running Initrd, the program in Initrd reads a part of the new driver file from the system reserved memory and replaces the old driver file in the Initrd;
步骤44,加载驱动文件启动硬盘文件系统;Step 44: Load the driver file to start the hard disk file system;
步骤45,Initrd中的程序从所述系统保留内存中读取新驱动文件的剩余部分并替换硬盘文件系统中的旧驱动文件;Step 45: The program in Initrd reads the remaining part of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system;
步骤46,加载硬盘文件系统中的驱动文件后,执行单板所运行操作系统后续程序的启动(如启动Dopra)。Step 46: After loading the driver file in the hard disk file system, perform the startup of the operating system running the board (such as starting Dopra).
上述方法中,预先存储于所述单板上的需要更新的新驱动文件可为多个新驱动文件,多个新驱动文件压缩成新驱动文件压缩包存储于单板上。In the above method, the new driver file that needs to be updated in advance on the board may be a plurality of new driver files, and the plurality of new driver files are compressed into a new driver file and the compression package is stored on the board.
上述方法中,若新驱动文件为包括多个新驱动文件的新驱动文件压缩包,Initrd中的程序从系统保留内存中读取新驱动文件一部分并替换Initrd中的旧驱动文件为: Initrd中的程序将从系统保留内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件中对应于硬盘设备的新驱动文件分别替换Initrd中对应的旧驱动文件。In the above method, if the new driver file is a new driver file compression package including a plurality of new driver files, the program in the Initrd reads a part of the new driver file from the system reserved memory and replaces the old driver file in the Initrd as: The program in Initrd decompresses the new driver file compression package read from the system reserved memory, and replaces the corresponding old driver file in Initrd with the new driver file corresponding to the hard disk device among the plurality of new driver files obtained after decompression. .
上述方法中,Initrd中的程序从系统保留内存中读取新驱动文件剩余部分并替换硬盘文件系统中的旧驱动文件包括:In the above method, the program in Initrd reads the rest of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system including:
Initrd中的程序将从系统保留内存中读取的新驱动文件压缩包解压缩后得到的多个新驱动文件中剩余部分的新驱动文件分别替换硬盘文件系统中对应的旧驱动文件。The program in Initrd replaces the new drive file in the hard disk file system with the new drive file of the remaining part of the new drive file obtained by decompressing the new drive file compression package read from the system reserved memory.
上述方法适用于实现运行Linux操作系统的新服务器单板替换掉旧服务器单板后实现即插即用。The above method is applicable to the implementation of plug and play after the new server board running the Linux operating system replaces the old server board.
下面以运行Linux系统的服务器单板为例进行说明:The following takes the server board running Linux as an example:
目前的运行Linux系统的服务器单板启动流程如图5所示,服务器单板的启动比嵌入式单板要复杂一些,主要是它先要在ram根文件系统中运行,先加载一部分驱动,特别是要加载硬盘驱动,找到硬盘后挂载硬盘分区,然后把根文件系统从ram(内存)切换到硬盘分区上;硬盘根文件系统启动后,继续加载单板驱动,最后启动dopra。The current startup process of the server board running Linux system is shown in Figure 5. The startup of the server board is more complicated than that of the embedded board. The main reason is that it must be run in the ram root file system, first load a part of the driver, especially It is necessary to load the hard disk drive, mount the hard disk partition after finding the hard disk, and then switch the root file system from the ram (memory) to the hard disk partition; after the hard disk root file system is started, continue to load the single board driver, and finally start dopra.
上述这种启动流程存在的缺点是:若服务器单板的外围器件变化,如果涉及到驱动软件变化,服务器系统将面临嵌入式系统同样的问题,更严重的是如果硬盘控制器发生了变化,系统将不能正常启动,除非重装系统,才能实现服务器单板的即插即用。The shortcomings of the above startup process are: if the peripheral components of the server board change, if the driver software changes, the server system will face the same problem of the embedded system, and more serious if the hard disk controller changes, the system It will not start properly, unless the system is reinstalled, the plug-and-play of the server board can be realized.
利用本发明实施例的方法实现运行Linux系统的服务器单板即插即用的方法的处理流程如图6所示,具体包括以下步骤: The processing flow of the method for implementing the plug-and-play method of the server board running the Linux system by using the method of the embodiment of the present invention is as shown in FIG. 6 , and specifically includes the following steps:
步骤50,运行Linux系统的服务器单板上电启动后(该单板作为新单板用于替换旧单板);Step 50: After the server running the Linux system is powered on, the board is used as a new board to replace the old board.
步骤51,服务器单板的BIOS启动;Step 51: The BIOS of the server board is started.
步骤52,服务器单板的BIOS复制该单板上板载的与该单板配套的新驱动文件到系统保留内存;Step 52: The BIOS of the server board copies the new driver file on the board that is matched with the board to the system reserved memory.
步骤53,服务器单板运行Linux系统的GRUB启动,从硬盘启动分区加载bzImage和initrd到内存;Step 53: The server board runs the GRUB boot of the Linux system, and loads the bzImage and the initrd from the hard disk boot partition to the memory;
步骤54,bzImage启动,初始化系统; Step 54, bzImage is started, and the system is initialized;
步骤55,initrd启动,准备好initrd环境; Step 55, initrd starts, ready for the initrd environment;
步骤56,在initrd驱动加载之前,从系统保留内存中读取新驱动文件;Step 56: Read the new driver file from the system reserved memory before the initrd driver loads;
步骤57,用新驱动文件中的一部分驱动文件替换initrd中对应的旧驱动文件,即用新驱动文件中对应于硬盘设备的驱动文件替换initrd中对应于硬盘设置的旧驱动文件; Step 57, replacing the corresponding old driver file in the initrd with a part of the driver file in the new driver file, that is, replacing the old driver file corresponding to the hard disk setting in the initrd with the driver file corresponding to the hard disk device in the new driver file;
步骤58,替换完成后,按照原有方式将驱动文件插入到initrd的驱动中,找到硬盘设备;Step 58: After the replacement is completed, insert the driver file into the driver of the initrd according to the original manner, and find the hard disk device;
步骤59,挂载硬盘分区,切换根文件系统;Step 59: Mount the hard disk partition and switch the root file system.
步骤510,硬盘文件系统启动;Step 510, the hard disk file system is started;
步骤511,用新驱动文件中的剩余驱动文件替换硬盘文件系统中的旧驱动文件,即用新驱动文件中的剩余驱动文件替换硬盘文件系统中对应部分的旧驱动文件; Step 511, replacing the old driver file in the hard disk file system with the remaining driver files in the new driver file, that is, replacing the old driver file in the corresponding part of the hard disk file system with the remaining driver files in the new driver file;
步骤512,将替换后的驱动文件插入到硬盘文件系统的驱动中; Step 512, insert the replaced driver file into the driver of the hard disk file system;
步骤513,dopra启动,至此完成在该服务器单板的驱动插入,后续可实现服务器单板的正常启动。In step 513, the dopra is started, and the driver insertion of the server board is completed, and the subsequent startup of the server board can be implemented.
从上述流程可以看出,本发明实施例的方法中采用新单板上板载变更的新驱动文件的方式,将新单板相对于旧单板变更的新驱动文件板载于新单板上,在BIOS启动时新驱动文件复制到系统保留内存中,在相关驱动加载之前,从系统保留内存中读取新驱动文件,替换initrd中对应的旧驱动文件,从而实现新单板替换掉旧单板后的即插即用功能,屏蔽单板对上层的差异,提升系统的可维护性。并且,该方法简化了单板的软件升级,如果是底层软件有bug时,只需要升级板载变更的驱动文件就可以,不需要升级整个驱动文件包,提高了工作效率。It can be seen from the foregoing process that the method of the embodiment of the present invention uses a new driver file that is changed on the new board and the new driver file of the new board is changed on the new board. When the BIOS starts, the new driver file is copied to the system reserved memory. Before the relevant driver is loaded, the new driver file is read from the system reserved memory, and the corresponding old driver file in the initrd is replaced, so that the new board replaces the old ticket. The plug-and-play function behind the board shields the difference between the board and the upper layer and improves the maintainability of the system. Moreover, the method simplifies the software upgrade of the board. If there is a bug in the underlying software, only the driver file of the onboard change needs to be upgraded, and the entire driver file package does not need to be upgraded, thereby improving work efficiency.
实施例三Embodiment 3
本实施例提供一种实现即插即用的单板,应用于替换掉运行Linux系统的旧单板,可作为嵌入式单板使用,如图7所示,该单板包括:CPU、内存和非易失性存储器;各部件可焊接在单板的印刷电路上,通过印刷线路电连接;This embodiment provides a plug-and-play board, which is used to replace an old board running Linux. It can be used as an embedded board. As shown in Figure 7, the board includes: CPU, memory, and Non-volatile memory; each component can be soldered to a printed circuit of a single board and electrically connected through a printed circuit;
其中,非易失性存储器用于存储BIOS程序,需要更新的新驱动文件,bzImage程序以及Initrd程序;Wherein, the non-volatile memory is used for storing a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
内存用于存储程序运行所需的数据;Memory is used to store the data needed to run the program;
CPU用于执行程序;The CPU is used to execute the program;
当单板上电后,所述CPU执行存储在所述非易失性存储器中的BIOS程序,通过执行BIOS程序,将预先存储在所述非易失性存储器中的新驱动文件加载到系统保留的内存中;After the board is powered on, the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program. In memory
CPU执行bzImage程序;The CPU executes the bzImage program;
CPU执行Initrd程序,从所述内存中读取新驱动文件并替换Initrd中的旧驱动文件;The CPU executes the Initrd program, reads the new driver file from the memory and replaces the old driver file in the Initrd;
CPU执行加载驱动文件后,执行单板所运行操作系统后续程序的启动。After the CPU loads the driver file, it starts the startup of the operating system running on the board.
上述单板中,当CPU执行Initrd程序从所述系统保留的内存中读取新驱动文件为包含多个新驱动文件的压缩包时,CPU执行Initrd程序将从系统保留的内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件分别替换Initrd中对应的旧驱动文件。In the above-mentioned board, when the CPU executes the Initrd program to read the new driver file from the memory reserved by the system into a compressed package containing a plurality of new driver files, the CPU executes the Initrd program to read the new memory from the system reserved. The driver file compression package is decompressed, and the corresponding new driver files in Initrd are replaced by a plurality of new driver files obtained after decompression.
实施例四 Embodiment 4
本实施例提供一种实现即插即用的单板,应用于替换掉运行Linux系统的旧单板,可作为服务器单板使用,如图8所示,CPU、内存和非易失性存储器;各部件可焊接在单板的印刷电路上,通过印刷线路电连接;The embodiment provides a plug-and-play board, which is used to replace the old board running the Linux system, and can be used as a server board, as shown in FIG. 8, the CPU, the memory, and the non-volatile memory; The components can be soldered to the printed circuit of the board and electrically connected through the printed circuit;
其中,非易失性存储器用于存储BIOS程序,需要更新的新驱动文件,bzImage程序以及Initrd程序;Wherein, the non-volatile memory is used for storing a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
内存用于存储程序运行所需的数据;Memory is used to store the data needed to run the program;
CPU用于执行程序;The CPU is used to execute the program;
当单板上电后,所述CPU执行存储在所述非易失性存储器中的BIOS程序,通过执行BIOS程序,将预先存储在所述非易失性存储器中的新驱动文件加载到系统保留的内存中;After the board is powered on, the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program. In memory
CPU执行bzImage程序;The CPU executes the bzImage program;
CPU执行Initrd程序,从系统保留的内存中读取新驱动文件的一部分并替换Initrd中的旧驱动文件;The CPU executes the Initrd program, reads a part of the new driver file from the memory reserved by the system, and replaces the old driver file in the Initrd;
CPU执行加载驱动文件启动硬盘文件系统;The CPU executes the load driver file to start the hard disk file system;
CPU执行Initrd程序从系统保留的内存中读取新驱动文件的剩余部分并替换硬盘文件系统中的旧驱动文件;The CPU executes the Initrd program to read the remaining portion of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system;
CPU执行加载硬盘文件系统中的驱动文件后,执行单板所运行操作系统后续程序的启动。After the CPU executes the driver file in the hard disk file system, the CPU runs the subsequent programs of the operating system running on the board.
上述单板中, CPU执行Initrd程序从系统保留的内存中所述内存中读取新驱动文件为包含多个新驱动文件的压缩包时,CPU执行Initrd程序将从系统保留的内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件中对应于硬盘设备的新驱动文件分别替换Initrd中对应的旧驱动文件。Among the above boards, When the CPU executes the Initrd program to read a new driver file from the memory reserved in the system to a compressed package containing a plurality of new driver files, the CPU executes a new driver file compression package that the Initrd program reads from the system reserved memory. Decompressing, replacing the corresponding old driver file in Initrd with the new driver file corresponding to the hard disk device among the plurality of new driver files obtained after decompressing.
上述单板中,CPU执行Initrd中的程序从系统保留的内存中读取新驱动文件剩余部分并替换硬盘文件系统中的旧驱动文件包括:In the above-mentioned board, the CPU executes the program in Initrd to read the remaining part of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system, including:
CPU执行Initrd中的程序将从系统保留的内存中读取的新驱动文件压缩包解压缩后得到的多个新驱动文件中剩余部分的新驱动文件分别替换硬盘文件系统中对应的旧驱动文件。The CPU executes the program in Initrd to replace the new driver file of the remaining part of the new driver file obtained by decompressing the new driver file compressed in the memory reserved by the system, respectively, with the corresponding old driver file in the hard disk file system.
实施例五 Embodiment 5
本实施例提供一种实现单板即插即用的系统,如图9所示,该系统包括:This embodiment provides a system for implementing plug and play of a single board. As shown in FIG. 9, the system includes:
机框80和多个单板81~8n,各单板插装在所述机框80上,其中,多个单板81~8n中至少一个单板81采用上述实施例三或四给出的单板。The chassis 80 and the plurality of boards 81 to 8n are inserted into the chassis 80. At least one of the plurality of boards 81 to 8n is provided by the third or fourth embodiment. veneer.
本发明实施例的方法中采用板载变更后的新驱动文件方式,将新单板相对于旧单板变化的驱动文件板载于新单板上,在BIOS启动时新变化的驱动文件拷贝到系统保留内存中,在相关驱动加载之前,从系统保留内存中读取驱动文件,替换Initrd程序中的驱动文件,从而实现新单板替换掉旧单板后的即插即用功能,屏蔽单板对上层的差异,提升系统的可维护性。并且,该方法简化了单板的软件升级,如果是底层软件有bug时,只需要升级板载的变更驱动文件就可以,不需要升级整个驱动文件,提高了工作效率。In the method of the embodiment of the present invention, the new driver file is changed on the board, and the driver file of the new board is changed on the new board, and the newly changed driver file is copied to the BIOS when the BIOS is started. The system is reserved in the memory. Before the related driver is loaded, the driver file is read from the system reserved memory, and the driver file in the Initrd program is replaced, so that the plug-and-play function of the old board is replaced by the new board, and the board is shielded. Improve the maintainability of the system by making differences to the upper layers. Moreover, the method simplifies the software upgrade of the board. If there is a bug in the underlying software, only the onboard change driver file needs to be upgraded, and the entire driver file does not need to be upgraded, thereby improving work efficiency.
需要说明的是,如果存在其他与Linux操作系统类似操作机制相似的操作系统,例如,该操作系统也可以在启动或操作系统执行时使用新的驱动文件替换旧的驱动文件,也可以修改某一些程序(类似Initrd程序)的代码来完成替换动作,那么应当认为这些方案都采用了基本相似的技术手段来实现基本相同的技术问题,并取得了基本相同的技术效果,是本实施例的一种等同替换方式,也应涵盖在本发明的保护范围之内。It should be noted that if there are other operating systems similar to the operating system similar to the Linux operating system, for example, the operating system can also replace the old driver files with new driver files during startup or operating system execution, and can also modify some The code of the program (similar to the Initrd program) is used to complete the replacement action, then it should be considered that these solutions adopt basically similar technical means to achieve the same technical problems, and achieve substantially the same technical effect, which is a kind of this embodiment. Equivalent alternatives are also intended to be covered by the scope of the invention.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明披露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope of the present disclosure. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (13)

  1. 一种实现单板即插即用的方法,应用于运行Linux系统的新单板替换掉旧单板,其特征在于,包括:A method for implementing a single-board plug-and-play method, which is applied to a new board running a Linux system to replace the old board, and includes:
    单板上电后启动BIOS程序;Start the BIOS program after the board is powered on;
    所述BIOS程序将预先存储于所述单板的需要更新的新驱动文件复制到系统保留内存;The BIOS program copies a new driver file that is pre-stored on the board and needs to be updated to the system reserved memory;
    bzImage启动;bzImage starts;
    运行Initrd,Initrd中的程序从所述系统保留内存中读取新驱动文件并替换Initrd中的旧驱动文件;Running Initrd, the program in Initrd reads the new driver file from the system reserved memory and replaces the old driver file in Initrd;
    加载所述驱动文件后,执行单板所运行操作系统后续程序的启动。After the driver file is loaded, the startup of the operating system running the board is executed.
  2. 根据权利要求1所述的方法,其特征在于,所述预先存储于所述单板上的需要更新的新驱动文件为多个新驱动文件,多个新驱动文件压缩成新驱动文件压缩包存储于所述单板上。The method according to claim 1, wherein the new drive file that is pre-stored on the board and needs to be updated is a plurality of new drive files, and the plurality of new drive files are compressed into a new drive file compression package storage. On the board.
  3. 根据权利要求1所述的方法,其特征在于,所述Initrd中的程序从系统保留内存中读取新驱动文件并替换Initrd中的旧驱动文件包括:The method according to claim 1, wherein the program in the Initrd reads a new driver file from the system reserved memory and replaces the old driver file in the Initrd, including:
    若新驱动文件为包括多个新驱动文件的新驱动文件压缩包,则Initrd中的程序将从系统保留内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件分别替换Initrd中对应的旧驱动文件。If the new driver file is a new driver file package including multiple new driver files, the program in Initrd decompresses the new driver file compression package read from the system reserved memory, and decompresses multiple new drivers. The files replace the corresponding old driver files in Initrd.
  4. 一种实现单板即插即用的方法,应用于运行Linux系统的新单板替换掉旧单板,其特征在于,包括:A method for implementing a single-board plug-and-play method, which is applied to a new board running a Linux system to replace the old board, and includes:
    单板上电后启动BIOS程序;Start the BIOS program after the board is powered on;
    所述BIOS程序将预先存储于所述单板的需要更新的新驱动文件复制到系统保留内存;The BIOS program copies a new driver file that is pre-stored on the board and needs to be updated to the system reserved memory;
    bzImage启动;bzImage starts;
    运行Initrd,Initrd中的程序从所述系统保留内存中读取新驱动文件的一部分并替换Initrd中的旧驱动文件;Running Initrd, the program in Initrd reads a portion of the new driver file from the system reserved memory and replaces the old driver file in Initrd;
    加载驱动文件启动硬盘文件系统;Load the driver file to start the hard disk file system;
    Initrd中的程序从所述系统保留内存中读取新驱动文件的剩余部分并替换硬盘文件系统中的旧驱动文件;The program in Initrd reads the rest of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system;
    加载硬盘文件系统中的驱动文件后,执行单板所运行操作系统后续程序的启动。After the driver files in the hard disk file system are loaded, the subsequent programs of the operating system running on the board are started.
  5. 根据权利要求4所述的方法,其特征在于,所述预先存储于所述单板上的需要更新的新驱动文件为多个新驱动文件,多个新驱动文件压缩成新驱动文件压缩包存储于所述单板上。The method according to claim 4, wherein the new drive file that is pre-stored on the board and needs to be updated is a plurality of new drive files, and the plurality of new drive files are compressed into a new drive file. On the board.
  6. 根据权利要求4所述的方法,其特征在于,所述Initrd中的程序从系统保留内存中读取新驱动文件一部分并替换Initrd中的旧驱动文件包括:The method according to claim 4, wherein the program in the Initrd reads a part of the new driver file from the system reserved memory and replaces the old driver file in the Initrd includes:
    若新驱动文件为包括多个新驱动文件的新驱动文件压缩包,则Initrd中的程序将从系统保留内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件中对应于硬盘设备的新驱动文件分别替换Initrd中对应的旧驱动文件。If the new driver file is a new driver file package including multiple new driver files, the program in Initrd decompresses the new driver file compression package read from the system reserved memory, and decompresses multiple new drivers. The new driver file corresponding to the hard disk device in the file replaces the corresponding old driver file in Initrd.
  7. 根据权利要求6所述的方法,其特征在于,所述Initrd中的程序从所述系统保留内存中读取新驱动文件剩余部分并替换硬盘文件系统中的旧驱动文件包括:The method according to claim 6, wherein the program in the Initrd reads the remaining portion of the new driver file from the system reserved memory and replaces the old driver file in the hard disk file system, including:
    Initrd中的程序将从系统保留内存中读取的新驱动文件压缩包解压缩后得到的多个新驱动文件中剩余部分的新驱动文件分别替换硬盘文件系统中对应的旧驱动文件。The program in Initrd replaces the new drive file in the hard disk file system with the new drive file of the remaining part of the new drive file obtained by decompressing the new drive file compression package read from the system reserved memory.
  8. 一种实现即插即用的单板,应用于替换掉运行Linux系统的旧单板,其特征在于,包括:A plug-and-play board that is used to replace an old board running a Linux system, and includes:
    CPU、内存和非易失性存储器;其中,CPU, memory, and non-volatile memory; among them,
    所述非易失性存储器用于存储BIOS程序,需要更新的新驱动文件,bzImage程序以及Initrd程序;The non-volatile memory is used to store a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
    所述内存用于存储程序运行所需的数据;The memory is used to store data required for the program to run;
    所述CPU用于执行程序;The CPU is configured to execute a program;
    当单板上电后,所述CPU执行存储在所述非易失性存储器中的BIOS程序,通过执行BIOS程序,将预先存储在所述非易失性存储器中的新驱动文件加载到系统保留的内存中;After the board is powered on, the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program. In memory
    CPU执行bzImage程序;The CPU executes the bzImage program;
    CPU执行Initrd程序,从所述内存中读取新驱动文件并替换Initrd中的旧驱动文件;The CPU executes the Initrd program, reads the new driver file from the memory and replaces the old driver file in the Initrd;
    CPU执行加载驱动文件后,执行单板所运行操作系统后续程序的启动。After the CPU loads the driver file, it starts the startup of the operating system running on the board.
  9. 根据权利要求8所述的单板,其特征在于,所述当CPU执行Initrd程序从所述系统保留的内存中读取新驱动文件为包含多个新驱动文件的压缩包时,CPU执行Initrd程序将从系统保留的内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件分别替换Initrd中对应的旧驱动文件。The board according to claim 8, wherein the CPU executes the Initrd program when the CPU executes the Initrd program to read the new driver file from the memory reserved by the system into a compressed package containing a plurality of new driver files. The new driver file compression package read from the memory reserved by the system is decompressed, and the corresponding new driver files in Initrd are replaced by a plurality of new driver files obtained after decompression.
  10. 一种实现即插即用的单板,应用于替换掉运行Linux系统的旧单板,其特征在于,包括:A plug-and-play board that is used to replace an old board running a Linux system, and includes:
    CPU、内存和非易失性存储器;其中,CPU, memory, and non-volatile memory; among them,
    所述非易失性存储器用于存储BIOS程序,需要更新的新驱动文件,bzImage程序以及Initrd程序;The non-volatile memory is used to store a BIOS program, a new driver file that needs to be updated, a bzImage program, and an Initrd program;
    所述内存用于存储程序运行所需的数据;The memory is used to store data required for the program to run;
    所述CPU用于执行程序;The CPU is configured to execute a program;
    当单板上电后,所述CPU执行存储在所述非易失性存储器中的BIOS程序,通过执行BIOS程序,将预先存储在所述非易失性存储器中的新驱动文件加载到系统保留的内存中;After the board is powered on, the CPU executes a BIOS program stored in the non-volatile memory, and loads a new driver file pre-stored in the non-volatile memory into the system by executing a BIOS program. In memory
    CPU执行bzImage程序;The CPU executes the bzImage program;
    CPU执行Initrd程序,从系统保留的内存中读取新驱动文件的一部分并替换Initrd中的旧驱动文件;The CPU executes the Initrd program, reads a part of the new driver file from the memory reserved by the system, and replaces the old driver file in the Initrd;
    CPU执行加载驱动文件启动硬盘文件系统;The CPU executes the load driver file to start the hard disk file system;
    CPU执行Initrd程序从系统保留的内存中读取新驱动文件的剩余部分并替换硬盘文件系统中的旧驱动文件;The CPU executes the Initrd program to read the remaining portion of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system;
    CPU执行加载硬盘文件系统中的驱动文件后,执行单板所运行操作系统后续程序的启动。After the CPU executes the driver file in the hard disk file system, the CPU runs the subsequent programs of the operating system running on the board.
  11. 根据权利要求10所述的单板,其特征在于,所述当CPU执行Initrd程序从系统保留的内存中所述内存中读取新驱动文件为包含多个新驱动文件的压缩包时,CPU执行Initrd程序将从系统保留的内存中读取的新驱动文件压缩包解压缩,用解压缩后得到的多个新驱动文件中对应于硬盘设备的新驱动文件分别替换Initrd中对应的旧驱动文件。The board according to claim 10, wherein when the CPU executes the Initrd program to read the new driver file into the memory in the memory reserved by the system as a compressed package including a plurality of new driver files, the CPU executes The Initrd program decompresses the new driver file compression package read from the memory reserved by the system, and replaces the corresponding old driver file in the Initrd with the new driver file corresponding to the hard disk device among the plurality of new driver files obtained after decompression.
  12. 根据权利要求11所述的方法,其特征在于,所述CPU执行Initrd中的程序从系统保留的内存中读取新驱动文件剩余部分并替换硬盘文件系统中的旧驱动文件包括:The method according to claim 11, wherein the CPU executes a program in the Initrd to read the remaining portion of the new driver file from the memory reserved by the system and replace the old driver file in the hard disk file system, including:
    CPU执行Initrd中的程序将从系统保留的内存中读取的新驱动文件压缩包解压缩后得到的多个新驱动文件中剩余部分的新驱动文件分别替换硬盘文件系统中对应的旧驱动文件。The CPU executes the program in Initrd to replace the new driver file of the remaining part of the new driver file obtained by decompressing the new driver file compressed in the memory reserved by the system, respectively, with the corresponding old driver file in the hard disk file system.
  13. 一种实现单板即插即用的系统,其特征在于,包括:A system for implementing plug and play of a single board, comprising:
    机框和多个单板,各单板插装在所述机框上,其中,多个单板中至少一个单板采用权利要求8~9任一项或权利要求10~12任一项所述的单板。The chassis and the plurality of boards are inserted into the chassis, wherein at least one of the plurality of boards is used according to any one of claims 8 to 9 or any one of claims 10 to 12. The board described.
PCT/CN2012/083488 2012-03-14 2012-10-25 Method for single-board plug and play, single-board and system therefor WO2013135047A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210066368.9 2012-03-14
CN201210066368.9A CN102629209B (en) 2012-03-14 2012-03-14 Method, single board and system for realizing plug-and-play of single board

Publications (1)

Publication Number Publication Date
WO2013135047A1 true WO2013135047A1 (en) 2013-09-19

Family

ID=46587469

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/083488 WO2013135047A1 (en) 2012-03-14 2012-10-25 Method for single-board plug and play, single-board and system therefor

Country Status (2)

Country Link
CN (1) CN102629209B (en)
WO (1) WO2013135047A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629209B (en) * 2012-03-14 2015-06-03 华为技术有限公司 Method, single board and system for realizing plug-and-play of single board
CN104375866B (en) * 2014-11-24 2018-01-23 杭州华为数字技术有限公司 The driving update method and device of a kind of veneer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN102193804A (en) * 2010-03-03 2011-09-21 华为技术有限公司 Loading method of drivers in single board and communication equipment
CN102629209A (en) * 2012-03-14 2012-08-08 华为技术有限公司 Method, single board and system for realizing plug-and-play of single board

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100463534C (en) * 2003-12-08 2009-02-18 中兴通讯股份有限公司 A single board version management method for plug and play
CN101807153B (en) * 2009-02-18 2011-11-16 华为终端有限公司 Method for initiating single board and single board device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN102193804A (en) * 2010-03-03 2011-09-21 华为技术有限公司 Loading method of drivers in single board and communication equipment
CN102629209A (en) * 2012-03-14 2012-08-08 华为技术有限公司 Method, single board and system for realizing plug-and-play of single board

Also Published As

Publication number Publication date
CN102629209A (en) 2012-08-08
CN102629209B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US8166477B1 (en) System and method for restoration of an execution environment from hibernation into a virtual or physical machine
WO2018227772A1 (en) Automatic teller machine control updating method and apparatus, computer device and storage medium
US7664834B2 (en) Distributed operating system management
US9160612B2 (en) Management of distributed virtual switch and distributed virtual ports
WO2014071755A1 (en) Method for realizing downloading of mobile terminal application program and mobile terminal
WO2012034486A1 (en) Method and system for installing and upgrading software on application terminal in home network
US20060026590A1 (en) Method and apparatus for modifying software
WO2018076841A1 (en) Data sharing method, apparatus, storage medium and server
JPH03278126A (en) Computer system starting system
WO2015003516A1 (en) Upgrade packet generation method, server, software upgrade method, and mobile terminal
WO2021040167A1 (en) Software update agent apparatus and patch method using same
WO2019100593A1 (en) Television standby and startup method, television and computer-readable storage medium
WO2018076844A1 (en) Data backup method and device, storage medium and electronic apparatus
WO2018120680A1 (en) Virtual disk backup system, method, apparatus, service host and storage medium
WO2009136740A2 (en) Method and apparatus for managing binding information about a bundle installed remotely in an osgi service platform
US7228526B2 (en) Application imaging infrastructure
WO2015180434A1 (en) Data management method, node and system for database cluster
WO2018076863A1 (en) Data storage method, apparatus, storage medium, server and system
WO2013135047A1 (en) Method for single-board plug and play, single-board and system therefor
WO2018018820A1 (en) Method, device and terminal for adjusting processor operation frequency and/or operation core number
WO2014082250A1 (en) System, partition method and device based on flash memory
US20100122075A1 (en) Method for controlling boot sequence of server
WO2016192498A1 (en) Software startup method, terminal, and storage medium
WO2017063374A1 (en) Dynamic compiler allocation system, and method for same
US7340738B2 (en) Time optimized replacement of a software application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12871309

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12871309

Country of ref document: EP

Kind code of ref document: A1