WO2017097176A1 - Procédé, appareil et système de démarrage de système d'exploitation - Google Patents

Procédé, appareil et système de démarrage de système d'exploitation Download PDF

Info

Publication number
WO2017097176A1
WO2017097176A1 PCT/CN2016/108652 CN2016108652W WO2017097176A1 WO 2017097176 A1 WO2017097176 A1 WO 2017097176A1 CN 2016108652 W CN2016108652 W CN 2016108652W WO 2017097176 A1 WO2017097176 A1 WO 2017097176A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
storage device
computer system
operating system
boot
Prior art date
Application number
PCT/CN2016/108652
Other languages
English (en)
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 WO2017097176A1 publication Critical patent/WO2017097176A1/fr

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/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for starting an operating system.
  • the Basic Input Output System In the existing operating system booting method, after the computer is powered on, the Basic Input Output System (BIOS) reads the BIOS settings to obtain the order of the boot drivers, and then checks the boot drivers in turn. Determine the disks that can be used for booting (including floppy disks, hard disks, CDs, etc.) and call the boot sector of the disk to boot. In this case, if you want to create 10 Linux-type virtual machines on one hard disk, you need to use the hard disk. Create 10 partitions, and each partition is formatted as a file system recognized by Linux. Since the operating systems of the 10 virtual machines are all Linux operating systems, the boot sectors of the 10 partitions are used to boot the operating system. The startup program is the same. When the 10 virtual machines need to be started at the same time, the BIOS of each virtual machine will access the hard disk at least once, which causes the operating system startup speed of the virtual machine to be slow.
  • BIOS Basic Input Output System
  • Embodiments of the present invention provide a method, apparatus, and system for operating system startup for improving a startup speed of an operating system of a computer system.
  • a method for booting an operating system including:
  • the computer system reads the startup information of the operating system of the computer system in the memory of the key value KV storage device according to the at least one primary key information, and the value corresponding to the at least one primary key information is the startup information;
  • the computer system If the computer system reads the startup information in the memory of the KV storage device, the computer system reads the startup information into the memory of the computer system, and starts the operating system according to the startup information;
  • the computer system If the computer system does not read the startup information in the memory of the KV storage device, the computer system reads the startup information of the operating system of the computer system in the persistent storage medium of the KV storage device according to the at least one primary key information, if the computer system Persistence in KV storage devices The boot information is read from the storage medium, and the computer system reads the startup information from the persistent storage medium of the KV storage device into the memory of the KV storage device, and then reads the startup information from the memory of the KV storage device to the computer system. In memory, then start the operating system based on the startup information.
  • the operating system of another computer system is the same as the operating system of the computer system, and the operating system of the other computer system is started after the operating system of the computer system
  • the another computer system reads the startup information in the memory of the KV storage device according to the at least one primary key information, and reads the startup information into the memory of the another computer system, and then starts the other computer system according to the startup information. operating system.
  • the startup information includes: basic input output system BIOS startup information, boot manager boot information, and an operating system boot image; and the computer system is based on the at least one primary key information on the KV storage device
  • the startup information of the operating system of the computer system is read in the storage medium, including:
  • the computer system reads the BIOS startup information in the storage medium of the KV storage device according to the first primary key information, reads the boot manager boot information in the storage medium of the KV storage device according to the second primary key information, and stores the boot information according to the third primary key information in the KV.
  • the operating system boot image is read from the storage medium of the device, and the storage medium is an internal memory or a persistent storage medium.
  • the computer system reads the operating system of the computer system in the memory of the KV storage device according to the at least one primary key information. Before starting the information, the method further includes:
  • the computer system determines at least one KV storage device.
  • a computer system comprising: a reading unit and a starting unit;
  • the reading unit reads the startup information of the operating system of the computer system in the memory of the key value KV storage device according to the at least one primary key information, and the value corresponding to the at least one primary key information is the startup information;
  • the reading unit reads the startup information in the memory of the KV storage device, the reading unit reads the startup information into the memory of the computer system, and the startup unit starts the operating system according to the startup information;
  • the reading unit If the reading unit does not read the startup information in the memory of the KV storage device, the reading unit reads the startup information of the operating system of the computer system in the persistent storage medium of the KV storage device according to the at least one primary key information, if Read unit persistent storage medium on KV storage device Reading the startup information, the reading unit reads the startup information from the persistent storage medium of the KV storage device into the memory of the KV storage device, and then reads the startup information into the memory of the computer system from the memory of the KV storage device. Medium, and then the boot unit starts the operating system based on the boot information.
  • the startup information includes: basic input and output system BIOS startup information, boot manager boot information, and an operating system boot image; and the reading unit is specifically configured to:
  • Reading BIOS boot information in a storage medium of the KV storage device according to the first primary key information, and reading boot manager boot information in the storage medium of the KV storage device according to the second primary key information, according to the third primary key information on the KV storage device The operating system boot image is read from the storage medium, and the storage medium is internal memory or persistent storage medium.
  • the computer system further includes:
  • a determining unit for determining at least one KV storage device A determining unit for determining at least one KV storage device.
  • the boot device sequence in the BIOS configuration interface of the computer system includes KV storage Device startup item, KV storage device startup item is used by the user to select whether to start the operating system from the KV storage device.
  • the boot manager configuration interface of the computer system includes the slave KV
  • the option of the operating system booted by the storage device, the option of the operating system booted from the KV storage device is used by the user to select the operating system booted from the KV storage device.
  • a third aspect provides a computer system, including: a memory and an execution module, where at least one primary key information is stored in the memory,
  • An execution module configured to read, according to the at least one primary key information, startup information of an operating system of the computer system in a memory of the key value KV storage device, where the value corresponding to the at least one primary key information is startup information;
  • startup information is read in the memory of the KV storage device, the startup information is read into the memory of the computer system, and the operating system is started according to the startup information;
  • the primary key information reads the startup information of the operating system of the computer system in the persistent storage medium of the KV storage device, and if the startup information is read in the persistent storage medium of the KV storage device, the persistent storage from the KV storage device.
  • the boot information is read into the memory of the KV storage device, and the boot information is read from the memory of the KV storage device into the memory of the computer system, and then the operating system is started according to the startup information.
  • the startup information includes: basic input and output system BIOS startup information, boot manager boot information, and an operating system boot image; and the execution module includes a BIOS and a processor.
  • BIOS configured to read BIOS startup information in a storage medium of the KV storage device according to the first primary key information
  • a processor configured to read boot manager boot information in a storage medium of the KV storage device according to the second primary key information, and read an operating system boot image in a storage medium of the KV storage device according to the third primary key information, where the storage medium is a memory Or a persistent storage medium.
  • the BIOS is also used to determine at least one KV storage device.
  • the boot device sequence in the BIOS configuration interface of the computer system includes KV storage Device startup item, KV storage device startup item is used by the user to select whether to start the operating system from the KV storage device.
  • the boot manager configuration interface of the computer system includes the slave KV
  • the option of the operating system booted by the storage device, the option of the operating system booted from the KV storage device is used by the user to select the operating system booted from the KV storage device.
  • a fourth aspect provides a system for operating system startup, comprising at least: a key value KV storage device, and a first computer system and a second computer system connected to the KV storage device, an operating system of the first computer system and a second computer
  • the operating system of the system is the same, and the operating system of the second computer system is an operating system that is started after the operating system of the first computer system is started;
  • a first computer system configured to read in a memory of the KV storage device according to the at least one primary key information Taking the startup information of the operating system of the first computer system, and the value corresponding to the at least one primary key information is the startup information;
  • startup information is read in the memory of the KV storage device, the startup information is read into the memory of the first computer system, and the operating system of the first computer system is started according to the startup information;
  • the startup information of the operating system of the first computer system is read in the persistent storage medium of the KV storage device according to the at least one primary key information, if the startup information of the KV storage device is persistent.
  • the boot information is read from the storage medium, and the boot information is read from the persistent storage medium of the KV storage device into the memory of the KV storage device, and the boot information is read from the memory of the KV storage device to the first computer.
  • the operating system of the system, and the operating system of the first computer system is started according to the startup information;
  • a second computer system configured to read startup information in a memory of the KV storage device according to the at least one primary key information, read the startup information into a memory of the second computer system, and start an operating system of the second computer system according to the startup information .
  • the method, the device and the system provided by the embodiments of the present invention store the startup information of the operating system in the KV storage device. Therefore, for the same operating system, only one startup information needs to be stored, compared with the prior art. Saves space.
  • the startup information of the operating system is cached in the KV storage device.
  • the computer system when the operating system of another computer system is started, the computer system can obtain the startup information in the cache of the KV storage device, and start the operating system according to the startup information, compared with the prior art, other computer systems do not
  • the boot information needs to be read in the persistent storage medium of the KV storage device, so that the startup speed of the operating system can be greatly improved.
  • FIG. 1 is a schematic diagram of a connection between a physical computer system and a KV storage device in the prior art
  • FIG. 2 is a flowchart of a method for starting an operating system according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a sequence of a boot device in a BIOS configuration interface according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a GRUB configuration interface according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another method for starting an operating system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a computer system according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another computer system according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another computer system according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of still another computer system according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a system for starting an operating system according to an embodiment of the present invention.
  • FIG. 1 it is a schematic diagram of a connection between a physical computer system and a key-value (KV) storage device, and multiple physical computer systems can be simultaneously connected to a KV storage device through an Ethernet, and multiple physical computer systems. And the virtual computer system in the physical computer system can acquire the data stored in the KV storage device according to the primary key information.
  • the operating system running in the physical computer system 1 is a Linux operating system
  • the operating system running in the physical computer system 2 is a Windows operating system
  • the operating system running is the Linux operating system.
  • each value stored corresponds to a primary key information (Key), and the primary key information is an index of the value, and the physical computer system or the virtual computer system can obtain the value according to the primary key information.
  • a typical KV storage device such as the Seagate Kinetic IP Drive (also known as the Seagate Kinetic IP Disk), provides two Ethernet interfaces as physical connections.
  • An embodiment of the present invention provides a method for starting an operating system, as shown in FIG. 2, including:
  • the computer system reads the startup information of the operating system of the computer system in the memory of the KV storage device according to the at least one primary key information, and the value corresponding to the at least one primary key information is the startup information.
  • the method provided in the embodiment of the present invention may be used for starting an operating system in a physical computer system.
  • the execution subject of the embodiment of the present invention is a physical computer system, for example, as shown in FIG.
  • the method provided by the embodiment of the present invention can be used for starting the Linux operating system in the physical computer system 1.
  • the method provided in the embodiment of the present invention can also be used for starting the operating system in the virtual computer system.
  • the present invention The execution body of the embodiment is a virtual computer system.
  • the method provided by the embodiment of the present invention can be used for booting a Linux operating system in a virtual computer system in the physical computer system 3.
  • step 202 If the computer system reads the startup information of the operating system of the computer system in the memory of the KV storage device after performing step 201, the computer system performs step 202, if the computer system does not read the startup information in the memory of the KV storage device. The computer system performs step 203.
  • the computer system reads the startup information into a memory of the computer system, and starts the operating system according to the startup information.
  • the computer system reads, according to the at least one primary key information, startup information of an operating system of the computer system in a persistent storage medium of the KV storage device, if the computer system is in the KV storage device. Reading the boot information in a persistent storage medium, the computer system reading the boot information into a memory of the KV storage device from a persistent storage medium of the KV storage device, and then from the The boot information is read into a memory of the computer system in a memory of the KV storage device, and the operating system is started according to the boot information.
  • the KV storage device includes a memory and a persistent storage medium.
  • the memory is used to cache data.
  • the KV storage device is powered off, the data in the memory is lost, but the data in the persistent storage medium is not lost.
  • the primary key information is preset.
  • the value corresponding to the at least one primary key information is the startup information of the operating system of the computer system. If the KV storage device includes startup information of multiple operating systems, and the startup information of different operating systems is different, the preset primary key information is also different.
  • the computer system first acquires the startup information from the KV storage device.
  • the boot information is read in the memory. If the boot information is read in the memory of the KV storage device, the boot information is read into the memory of the computer system, and the operating system is started according to the boot information; if the KV storage device is If the startup information is not read in the memory, the startup information is read in the persistent storage medium of the KV storage device, and if the startup information is read in the persistent storage medium, the startup information is read to The memory of the KV storage device is read from the memory of the KV storage device into the memory of the computer system, and the operating system is started according to the startup information, and the computer system reads the startup information to the KV storage device. After the in-memory, the boot information is cached in the memory of the KV storage device.
  • the computer system reads the startup information from the next KV storage device.
  • the operating system of another computer system is the same as the operating system of the computer system, and the operating system of the other computer system is an operating system that is started after the operating system of the computer system is started, And another computer system reads the startup information in a memory of the KV storage device according to the at least one primary key information, reads the startup information into a memory of the another computer system, and starts according to the The information initiates an operating system of the other computer system.
  • the startup information is cached in the memory of the KV storage device, so when the operating system of the other computer system is started, the KV can be directly based on the at least one primary key information.
  • the boot information is read in the memory of the storage device without reading the boot information in the persistent storage medium of the KV storage device, which can improve the startup efficiency of the other computer system.
  • the operating system of the other computer system described above is the same as the operating system of the above computer system, but is not the same operating system.
  • the startup information includes: BIOS startup information, boot manager boot information, and an operating system boot image; in this case, the computer system reads the storage medium in a storage medium of the KV storage device according to the at least one primary key information.
  • the startup information of the operating system of the computer system including:
  • the computer system reads the BIOS boot information in a storage medium of the KV storage device according to the first primary key information, and reads the boot manager boot in the storage medium of the KV storage device according to the second primary key information.
  • Information, according to the third primary key information in the storage device of the KV storage device The operating system boot image is read in quality, and the storage medium is the memory or the persistent storage medium.
  • the boot manager may be a GRUB (GRand Unified Bootloader), a LILO (LInux Loader), or the like.
  • the boot manager is used as an example for GRUB.
  • the first primary key information, the second primary key information, and the third primary key information may also be set to other values, which are not limited in this embodiment of the present invention.
  • the BIOS in the computer system performs a hardware self-test to determine whether the computer hardware can meet the basic operating conditions. If the computer hardware can meet the basic operating conditions, the BIOS is in the KV storage device. After reading the BIOS startup information, determine whether the contents of the BIOS startup information (including the BIOS version, MAGIC (magic word) number, GRUB boot information corresponding to the primary key information, and the length of the GRUB boot information) are valid. If valid, the BIOS will boot the BIOS. The information is sent to a central processing unit (CPU) in the computer system, and the control is transferred to the CPU.
  • CPU central processing unit
  • the CPU reads the GRUB boot information, and displays the GRUB configuration interface according to the GRUB boot information, when the user selects the boot. After the operating system, the CPU reads the boot image of the operating system and starts the operating system based on the boot image of the operating system.
  • the startup information of the operating system will be cached in the memory of the KV storage device, because the data that can be cached in the memory of the KV storage device is limited. After the new data is cached, the old data will be eliminated. Therefore, in order to ensure the startup speed of other operating systems except the first operating system, the priority of the startup information cache can be increased, so that the startup information of the operating system is It can be kept in memory for a long time.
  • the method further includes: the computer system determining at least one KV storage device.
  • the BIOS sends a signal to the device connected to the computer system during the hardware self-test, so that the device connected to the computer system reports its own device information.
  • the device information of a device specifically includes the manufacturer, type, and the like of the device. Specific When the device type in the device information reported by one device is a KV storage device type, the BIOS determines that the device is a KV storage device.
  • the boot device sequence in the BIOS configuration interface of the computer system includes a KV storage device startup item, and the KV storage device startup item is used by the user to select whether to start the operating system from the KV storage device.
  • the optional method can be set in the BIOS setting during specific implementation.
  • FIG. 3 it is a part of a boot device sequence in a BIOS configuration interface according to an embodiment of the present invention, and a Boot Device Priority in a Boot Settings Configuration in the configuration interface.
  • the order is: Hard Disk Drives, Key Value Storage; Key Value Storage is the KV storage device startup item.
  • the boot manager configuration interface of the computer system includes an option of an operating system booted from the KV storage device, and the option of the operating system booted from the KV storage device is used by the user to select an operation initiated from the KV storage device. system.
  • the optional method can be set in the GRUB setting during the specific implementation.
  • FIG. 4 a schematic diagram of a GRUB configuration interface provided by an embodiment of the present invention, wherein Windows 7 (loader) (on/dev/sda1) indicates that the Windows 7 operating system is started in the partition 1 of the sda hard disk; -3.18boot from KV means to boot the operating system Linux-3.18 from the KV storage device, Linux-3.18boot from KV is the option of the operating system booted from the KV storage device.
  • Windows 7 loader
  • -3.18boot from KV means to boot the operating system Linux-3.18 from the KV storage device
  • Linux-3.18boot from KV is the option of the operating system booted from the KV storage device.
  • the method provided by the embodiment of the present invention stores the startup information of the operating system in the KV storage device. Therefore, for the same operating system, only one startup information needs to be stored, which saves space compared with the prior art.
  • the startup information of the operating system is cached in the KV storage device.
  • the computer system when the operating system of another computer system is started, the computer system can obtain the startup information in the cache of the KV storage device, and start the operating system according to the startup information, compared with the prior art, other computer systems do not
  • the boot information needs to be read in the persistent storage medium of the KV storage device, so that the startup speed of the operating system can be greatly improved.
  • the embodiment of the present invention further provides a method for starting the operating system, which is used to describe the method provided in the first embodiment.
  • a method for starting the operating system which is used to describe the method provided in the first embodiment.
  • FIG. Methods include:
  • the BIOS in the computer system After the computer system is powered on, the BIOS in the computer system performs a hardware self-test to determine whether the computer hardware can meet the basic conditions for operation.
  • the computer hardware can satisfy the basic conditions of operation, and it is considered that the startup information of the computer system is stored in the KV storage device.
  • the BIOS sends a signal to the device connected to the computer system, so that the device connected to the computer system reports its own device information.
  • the device information of a device specifically includes the manufacturer, type, and the like of the device. Specifically, when the device type in the device information reported by one device is a KV storage device type, the BIOS determines that the device is a KV storage device.
  • the setting may be made in the BIOS setting, so that the boot device sequence in the BIOS configuration interface includes the KV storage device startup item, and is set in the GRUB setting, so that the GRUB configuration interface includes the operation initiated from the KV storage device.
  • the display interface of the computer system displays the BIOS configuration interface, and the BIOS configuration interface includes the boot device sequence.
  • the boot device sequence is a hard disk-floppy-KV storage device
  • the computer system sequentially reads the startup information in the hard disk-floppy-KV storage device according to the above startup sequence, and once the startup information is read, according to the Start the information to start the operating system.
  • the computer system can start the operating system from the KV storage device through steps 502 to 512.
  • the BIOS reads the BIOS startup information in the memory of the KV storage device according to the first primary key information.
  • BIOS does not read the BIOS startup information in the memory of the KV storage device, go to step 503, otherwise go to step 504.
  • the BIOS reads the BIOS startup information in the persistent storage medium of the KV storage device according to the first primary key information, and if it is read, reads the BIOS startup information into the memory of the KV storage device.
  • the BIOS reads the BIOS startup information in the memory of the KV storage device into the memory of the computer system.
  • the BIOS determines whether the content in the BIOS startup information is valid. If valid, the BIOS sends the BIOS startup information to the CPU of the computer system, and transfers the control to the CPU.
  • the contents of the BIOS startup information include a BIOS version, a MAGIC (magic word) number, a GRUB boot information corresponding to the primary key information, and a length of the GRUB boot information.
  • the CPU reads the GRUB boot information in a memory of the KV storage device according to the second primary key information.
  • step 507 If the CPU does not read the GRUB boot information in the memory of the KV storage device, step 507 is performed, otherwise step 508 is performed.
  • the CPU reads the GRUB boot information in the persistent storage medium of the KV storage device according to the second primary key information, and if read, reads the GRUB boot information into the memory of the KV storage device.
  • the CPU reads the GRUB boot information in the memory of the KV storage device into the memory of the computer system.
  • the CPU displays the GRUB configuration interface according to the GRUB boot information.
  • the GRUB configuration interface includes at least one option that can be booted from the KV storage device. If the user selects the operating system to be started from the at least one operating system to be the Lunix operating system, step 510-512 is performed.
  • the CPU reads the Lunix boot image in a memory of the KV storage device according to the third primary key information.
  • step 511 If the CPU does not read the Lunix boot image in the memory of the KV storage device, go to step 511, otherwise go to step 512.
  • the CPU reads the Lunix boot image in the persistent storage medium of the KV storage device according to the third primary key information, and if read, reads the Lunix boot image into the memory of the KV storage device.
  • the CPU reads the Lunix boot image in the memory of the KV storage device into the memory of the computer system, and starts the Lunix operating system according to the Lunix boot image.
  • the method provided by the embodiment of the present invention stores the startup information of the operating system in the KV storage device. Therefore, for the same operating system, only one startup information needs to be stored, which saves space compared with the prior art.
  • the startup information of the operating system is cached in the KV storage device.
  • the computer system when the operating system of another computer system is started, the computer system can obtain the startup information in the cache of the KV storage device, and start the operating system according to the startup information, compared with the prior art, other computer systems do not
  • the boot information needs to be read in the persistent storage medium of the KV storage device, so that the startup speed of the operating system can be greatly improved.
  • the embodiment of the present invention further provides a computer system 60 for performing the above method.
  • the computer system 60 includes: a reading unit 601 and a starting unit 602;
  • the reading unit 601 reads the startup information of the operating system of the computer system in the memory of the KV storage device according to the at least one primary key information, and the value corresponding to the at least one primary key information is the startup information;
  • the reading unit 601 If the reading unit 601 reads the startup information in the memory of the KV storage device, the reading unit 601 reads the startup information into a memory of the computer system, the startup unit 602: Start the operating system according to the startup information;
  • the reading unit 601 If the reading unit 601 does not read the startup information in the memory of the KV storage device, the reading unit 601 is in the persistent storage medium of the KV storage device according to the at least one primary key information. Reading the startup information of the operating system of the computer system, if the reading unit 601 reads the startup information in the persistent storage medium of the KV storage device, the reading unit 601 reads from the KV Reading the boot information into a memory of the KV storage device in a persistent storage medium of the storage device, and reading the boot information into a memory of the computer system from a memory of the KV storage device The startup unit 602 starts the operating system according to the startup information.
  • the startup information includes: BIOS startup information, boot manager boot information, and an operating system boot image; and the reading unit 601 is specifically configured to:
  • the storage medium is the memory or the persistent storage medium.
  • the computer system 60 further includes: a determining unit 603, configured to determine at least one KV storage device.
  • the boot device sequence in the BIOS configuration interface of the computer system includes a KV storage device startup item, and the KV storage device startup item is used by the user to select whether to start the operating system from the KV storage device.
  • the boot manager configuration interface of the computer system includes an option of an operating system booted from the KV storage device, and the option of the operating system booted from the KV storage device is used by the user to select an operation initiated from the KV storage device. system.
  • the device (computer system) provided by the embodiment of the present invention stores the startup information of the operating system in the KV storage device. Therefore, for the same operating system, only one startup information needs to be stored, compared with the prior art. Saves space.
  • the startup information of the operating system is cached in the KV storage device.
  • the computer system when the operating system of another computer system is started, the computer system can obtain the startup information in the cache of the KV storage device, and start the operating system according to the startup information, compared with the prior art, other computer systems do not
  • the boot information needs to be read in the persistent storage medium of the KV storage device, so that the startup speed of the operating system can be greatly improved.
  • the embodiment of the present invention further provides a computer system 80 for performing the above method.
  • the computer system 80 includes: a memory 801 and an execution module 802, where the memory 801 stores at least one primary key information.
  • the execution module 802 is configured to read, according to the at least one primary key information, startup information of an operating system of the computer system in a memory of the KV storage device, where the at least one primary key information corresponds to the startup information;
  • startup information is read in the memory of the KV storage device, the startup information is read into a memory of the computer system, and the operating system is started according to the startup information;
  • startup information is not read in the memory of the KV storage device, read the startup information of the operating system of the computer system in the persistent storage medium of the KV storage device according to the at least one primary key information. If the boot information is read in a persistent storage medium of the KV storage device, the boot information is read from a persistent storage medium of the KV storage device into a memory of the KV storage device And booting the boot information into the memory of the computer system from the memory of the KV storage device, and starting the operating system according to the startup information.
  • the startup information includes: BIOS startup information, boot manager boot information, and an operating system boot image.
  • the execution module 802 includes a BIOS 8021 and a processor 8022.
  • the BIOS 8021 is configured to read the BIOS startup information in a storage medium of the KV storage device according to the first primary key information.
  • the processor 8022 is configured to read the boot manager boot information in a storage medium of the KV storage device according to the second primary key information, and read in the storage medium of the KV storage device according to the third primary key information.
  • the operating system boot image, the storage medium being the memory or the persistent storage medium.
  • the BIOS 8021 is further configured to determine at least one KV storage device.
  • the boot device sequence in the BIOS configuration interface of the computer system includes a KV storage device startup item, and the KV storage device startup item is used by the user to select whether to start the operating system from the KV storage device.
  • the boot manager configuration interface of the computer system includes an option of an operating system booted from the KV storage device, and the option of the operating system booted from the KV storage device is used by the user to select an operation initiated from the KV storage device. system.
  • the device (computer system) provided by the embodiment of the present invention stores the startup information of the operating system in the KV storage device. Therefore, for the same operating system, only one startup information needs to be stored, compared with the prior art. Saves space.
  • the startup information of the operating system is cached in the KV storage device.
  • the computer system when the operating system of another computer system is started, the computer system can obtain the startup information in the cache of the KV storage device, and start the operating system according to the startup information, compared with the prior art, other computer systems do not
  • the boot information needs to be read in the persistent storage medium of the KV storage device, so it can be large Greatly improve the startup speed of the operating system.
  • the embodiment of the present invention further provides an operating system-enabled system 100 for performing the above method.
  • the operating system-enabled system 100 includes at least: a KV storage device 1001, and the KV storage device 1001.
  • the first computer system 1002 and the second computer system 1003 are connected, the operating system of the first computer system 1002 is the same as the operating system of the second computer system 1003, and the operating system of the second computer system 1003 is An operating system started after the operating system of the first computer system 1002 is started;
  • the first computer system 1002 is configured to read, in the memory of the KV storage device 1001, startup information of an operating system of the first computer system 1002 according to at least one primary key information, and a value corresponding to the at least one primary key information. For the startup information;
  • startup information is read in the memory of the KV storage device 1001
  • the startup information is read into the memory of the first computer system 1002, and the first computer is started according to the startup information.
  • the first computer system 1002 is read in the persistent storage medium of the KV storage device 1001 according to the at least one primary key information.
  • the startup information of the operating system if the startup information is read in the persistent storage medium of the KV storage device 1001, the startup information is read from the persistent storage medium of the KV storage device 1001 In the memory of the KV storage device 1001, the startup information is read from the memory of the KV storage device 1001 into the memory of the first computer system 1002, and the first is started according to the startup information.
  • the second computer system 1003 is configured to read the startup information in a memory of the KV storage device 1001 according to the at least one primary key information, and read the startup information to the second computer system 1003.
  • the operating system of the second computer system 1003 is started in memory and according to the startup information.
  • the first computer system may be the computer system described in the foregoing embodiment, and the second computer system may be another computer system described in the foregoing embodiment, or may be another computer system.
  • the operating system booted system 100 may also include other computer systems than the first computer system and the second computer system, and the operating system booted system 100 may include a plurality of KV storage devices.
  • the system provided by the embodiment of the present invention stores the startup information of the operating system in the KV storage device. Therefore, for the same operating system, only one startup information needs to be stored, which saves space compared with the prior art.
  • the startup information of the operating system is cached in the KV storage device.
  • the computer system when the operating system of another computer system is started, the computer system can obtain the startup information in the cache of the KV storage device, and start the operating system according to the startup information, compared with the prior art, other computer systems do not
  • the boot information needs to be read in the persistent storage medium of the KV storage device, so that the startup speed of the operating system can be greatly improved.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un procédé, un appareil et un système de démarrage de système d'exploitation qui se rapportent au domaine technique des ordinateurs, destinés à être utilisés dans l'amélioration de la vitesse de démarrage d'un système d'exploitation d'un système informatique. Le procédé comprend les étapes suivantes : un système informatique lit des informations de démarrage d'un système d'exploitation d'un système informatique dans une mémoire d'un dispositif de stockage KV conformément à au moins une information de clé primaire (201) ; si le système informatique lit les informations de démarrage dans la mémoire du dispositif de stockage KV, le système informatique démarre le système d'exploitation conformément aux informations de démarrage (202) ; si le système informatique ne lit pas les informations de démarrage dans la mémoire du dispositif de stockage KV, le système informatique lit les informations de démarrage du système d'exploitation du système informatique dans un support de stockage persistant du dispositif de stockage KV conformément à l'au moins une information de clé primaire ; et si le système informatique lit les informations de démarrage dans le support de stockage persistant du dispositif de stockage KV, le système informatique démarre le système d'exploitation conformément aux informations de démarrage (203).
PCT/CN2016/108652 2015-12-08 2016-12-06 Procédé, appareil et système de démarrage de système d'exploitation WO2017097176A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510896928.7 2015-12-08
CN201510896928.7A CN105389190B (zh) 2015-12-08 2015-12-08 一种操作系统启动的方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2017097176A1 true WO2017097176A1 (fr) 2017-06-15

Family

ID=55421497

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108652 WO2017097176A1 (fr) 2015-12-08 2016-12-06 Procédé, appareil et système de démarrage de système d'exploitation

Country Status (2)

Country Link
CN (1) CN105389190B (fr)
WO (1) WO2017097176A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181872A (zh) * 2018-04-13 2021-01-05 北京忆芯科技有限公司 边缘计算的分布式kv存储系统
CN112181872B (zh) * 2018-04-13 2024-06-04 北京忆芯科技有限公司 边缘计算的分布式kv存储系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389190B (zh) * 2015-12-08 2019-05-24 华为技术有限公司 一种操作系统启动的方法、装置及系统
CN112559055B (zh) * 2019-09-25 2023-12-26 阿里巴巴集团控股有限公司 一种计算机系统的启动方法及装置、电子设备、存储介质
CN110780942A (zh) * 2019-09-29 2020-02-11 华为技术有限公司 系统启动方法、装置、节点设备及计算机可读存储介质
CN112685141B (zh) * 2021-03-12 2021-09-21 北京易捷思达科技发展有限公司 虚拟机启动方法、装置、设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1334510A (zh) * 2001-09-07 2002-02-06 清华大学 一种网络环境下的计算机远程启动方法
US20050050068A1 (en) * 2003-08-29 2005-03-03 Alexander Vaschillo Mapping architecture for arbitrary data models
CN1641524A (zh) * 2004-01-14 2005-07-20 英业达股份有限公司 多重操作系统的多键引导系统及方法
CN105009111A (zh) * 2012-12-13 2015-10-28 微软技术许可有限责任公司 使用键值存储系统的分布式sql查询处理
CN105389190A (zh) * 2015-12-08 2016-03-09 华为技术有限公司 一种操作系统启动的方法、装置及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080048973A1 (en) * 2000-08-30 2008-02-28 Mckay Brent T User interface for large-format interactive display systems
CN101771682A (zh) * 2009-01-05 2010-07-07 英业达集团(天津)电子技术有限公司 在无存储设备的计算机装置实现远程测试的系统及其方法
CN102999522B (zh) * 2011-09-15 2016-09-14 阿里巴巴集团控股有限公司 一种数据存储方法和装置
CN104182508B (zh) * 2014-08-19 2018-10-30 华为技术有限公司 一种数据处理方法和数据处理装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1334510A (zh) * 2001-09-07 2002-02-06 清华大学 一种网络环境下的计算机远程启动方法
US20050050068A1 (en) * 2003-08-29 2005-03-03 Alexander Vaschillo Mapping architecture for arbitrary data models
CN1641524A (zh) * 2004-01-14 2005-07-20 英业达股份有限公司 多重操作系统的多键引导系统及方法
CN105009111A (zh) * 2012-12-13 2015-10-28 微软技术许可有限责任公司 使用键值存储系统的分布式sql查询处理
CN105389190A (zh) * 2015-12-08 2016-03-09 华为技术有限公司 一种操作系统启动的方法、装置及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181872A (zh) * 2018-04-13 2021-01-05 北京忆芯科技有限公司 边缘计算的分布式kv存储系统
CN112181872B (zh) * 2018-04-13 2024-06-04 北京忆芯科技有限公司 边缘计算的分布式kv存储系统

Also Published As

Publication number Publication date
CN105389190B (zh) 2019-05-24
CN105389190A (zh) 2016-03-09

Similar Documents

Publication Publication Date Title
JP5733628B2 (ja) 仮想計算機を制御する計算機装置及び仮想計算機の制御方法
RU2568280C2 (ru) Быстрый запуск компьютера
US9069487B2 (en) Virtualizing storage for WPAR clients using key authentication
CN101650660B (zh) 从中央存储装置引导计算机系统
US20110088032A1 (en) Method and apparatus for configuring a hypervisor during a downtime state
US20210004242A1 (en) Method and system for remote selection of boot device
US10642539B2 (en) Read/write path determining method and apparatus
WO2017097176A1 (fr) Procédé, appareil et système de démarrage de système d'exploitation
US9792136B2 (en) Hardware assisted inter hypervisor partition data transfers
US10606677B2 (en) Method of retrieving debugging data in UEFI and computer system thereof
US10346065B2 (en) Method for performing hot-swap of a storage device in a virtualization environment
US9720720B2 (en) Dynamic management of assignment and number of virtual functions on SR-IOV capable hypervisors
US11138028B1 (en) Hot growing a cloud hosted block device
US9864621B2 (en) Virtual machine joiner
US20070005871A1 (en) Using a block device interface to invoke device controller functionality
US20200326956A1 (en) Computing nodes performing automatic remote boot operations
US10491736B2 (en) Computer system and method thereof for bluetooth data sharing between UEFI firmware and OS
CN113826072A (zh) 系统管理模式中的代码更新
US9304779B2 (en) Optimizing boot time of a storage system
US11249767B2 (en) Boot assist zero overhead flash extended file system
US10789082B2 (en) Execution of multiple operating systems without rebooting
US9229643B2 (en) Compatible virtual machine joiner
JP2018181305A (ja) プールされた物理リソースのローカルディスク消去メカニズム
JP2013206001A (ja) 制御プログラム、制御方法および記憶装置
JP5723554B2 (ja) マルチブートマネージャーの方法

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: 16872367

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: 16872367

Country of ref document: EP

Kind code of ref document: A1