Computing device starting method, chip, hard disk, computing device and computer system

By using the independent power supply of the memory device to keep the operating system data from being lost when powering on the motherboard of the computing device, and directly using the operating system in the memory device to start the computing device, the problem of long startup time of the computing device is solved and the startup efficiency is improved.

CN119718434APending Publication Date: 2025-03-28XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311266863.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When the computing device is powered back on after power outage, it needs to reload the operating system, resulting in a long startup time and affecting the startup efficiency.

Method used

Provides a method for starting a computing device. By running the BIOS when powering on the motherboard, and using independent power supply in the memory device to keep the operating system data in the memory device from being lost, so as to directly use the operating system in the memory device to start the computing device when powering on the motherboard.

Benefits of technology

Save time to reload the operating system and start the operating system, shorten the startup time of the computing device, and improve startup efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718434A_ABST
    Figure CN119718434A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a computing device starting method, a chip, a hard disk, a computing device and a computer system, and relates to the technical field of computers. The method is used for the computer system, the computer system comprises a computing device, a memory device and a first power supply, the first power supply supplies power to the memory device, the computing device comprises a mainboard, a CPU and a second power supply, the CPU is arranged on the mainboard, the second power supply is connected with the CPU through the mainboard, and the CPU is connected with the memory device. On the basis, when the mainboard is powered on, the CPU runs the BIOS; and under the condition that the CPU runs the BIOS, starting the computing equipment by using an operating system in the memory equipment. Compared with the prior art that the CPU needs to load the operating system to the local memory again and restart the operating system in the local memory every time when the mainboard is powered on again, the time for reloading the operating system to the local memory is at least saved under the condition that the first power supply supplies power to the memory equipment, so that the starting time of the computing equipment is shortened, and the starting efficiency of the computing equipment is improved. And the starting speed of the computing equipment is accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a computing device startup method, a chip, a hard disk, a computing device and a computer system. Background Art

[0002] The motherboard of a computing device is usually equipped with a central processing unit (CPU) and memory. The power supply is connected to the motherboard to supply power to the memory and CPU on the motherboard. After the motherboard is powered on, the CPU will load the operating system (OS) into the memory and run the operating system on the memory, thereby starting the computing device.

[0003] Since the memory is a volatile storage medium, the data in the memory (such as the operating system) will be lost after the motherboard is powered off. In this case, the operating system needs to be reloaded into the memory every time the motherboard is powered on again after a power outage, which results in a long startup time for the computing device and seriously affects the startup efficiency of the computing device. Summary of the invention

[0004] The embodiments of the present application provide a computing device startup method, chip, hard disk, computing device and computer system, which can shorten the startup time of the computing device and improve the startup efficiency of the computing device.

[0005] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:

[0006] In a first aspect, a method for starting a computing device is provided, which is used in a computer system. The computer system includes a computing device, a memory device and a first power supply, the first power supply supplies power to the memory device, the computing device includes a motherboard, a central processing unit (CPU) and a second power supply, the CPU is arranged on the motherboard, the second power supply supplies power to the CPU through the motherboard, and the CPU is connected to the memory device; the method includes: when the motherboard is powered on, the CPU runs a basic input / output system (BIOS); when the CPU finishes running the BIOS, the computing device is started using an operating system in the memory device.

[0007] This solution is used in a computer system, where the computing device includes a motherboard, a CPU, and a second power supply. The CPU is arranged on the motherboard, and the second power supply supplies power to the CPU through the motherboard. The CPU is connected to the memory device, and the memory device is connected to the first power supply. The first power supply is used to supply power to the memory device. Since the memory device has an independent power supply (i.e., the first power supply), when the motherboard is powered off, the first power supply will continue to supply power to the memory device. In this way, the data stored in the memory device will not be lost due to power failure of the motherboard, such as: the boot program of the operating system in the memory device and the operating system that has executed the startup process will not be lost due to power failure of the motherboard. On this basis, when the motherboard is powered on, after the CPU runs the BIOS, the operating system in the memory device can be used to directly run the operating system and start the computing device, without the need to reload the operating system into the memory device and execute the startup process for the operating system in the memory device.

[0008] Compared to the situation where the CPU needs to reload the operating system into the local memory and restart the operating system in the local memory every time the motherboard is powered on again, the solution of the embodiment of the present application at least saves the time of reloading the operating system into the local memory and restarting the operating system in the local memory, thereby shortening the startup time of the computing device, accelerating the startup speed of the computing device, and improving the startup efficiency of the computing device.

[0009] In a possible implementation, the computing device is started using the operating system in the memory device, including: the CPU instructs the memory device based on the BIOS, runs the operating system read from the memory device, and starts the computing device.

[0010] In another possible implementation, the computing device also includes a memory and a hard disk, the second power supply is to power the memory through the motherboard, the memory is connected to the CPU, and the hard disk stores the boot program of the operating system; using the operating system in the memory device to start the computing device includes: the CPU copies the boot program of the operating system in the hard disk to the memory; during the CPU running the boot program, based on the boot program instructing the memory device, the operating system in the memory device is copied to the memory; the CPU runs the operating system read from the memory to start the computing device.

[0011] In another possible implementation, the hard disk also stores an operating system; the method further includes: when the operating system is not stored in the memory device, the CPU copies the operating system in the hard disk to the memory device; and the CPU starts the operating system from the memory device.

[0012] In another possible implementation, the CPU copies the operating system in the hard disk to the memory device, including: the CPU copies the boot program of the operating system in the hard disk to the memory device; during the process of the CPU running the boot program, based on the boot program instructing the memory device, the CPU copies the operating system in the hard disk to the memory device.

[0013] In another possible implementation, the hard disk also stores an operating system; the method also includes: when the operating system is not stored in the memory device, the CPU copies the operating system in the hard disk to the memory; the CPU starts the operating system from the memory; when the CPU detects a power-off signal from the motherboard, the operating system in the memory is copied to the memory device.

[0014] In another possible implementation, the memory device includes a CXL memory device.

[0015] In a second aspect, a computing device startup method is provided, which is used for a computing device, wherein the computing device includes a motherboard, a CPU and a second power supply, and the motherboard is connected to the second power supply; the method includes: when the motherboard is powered on, the CPU runs the BIOS; when the CPU finishes running the BIOS, the operating system in the memory device is read; the CPU uses the operating system in the memory device to start the computing device, and the memory device is powered by the first power supply.

[0016] In one possible implementation, reading the operating system in the memory device includes: the CPU instructs the memory device based on the BIOS to read the operating system in the memory device; the CPU uses the operating system in the memory device to start the computing device, including: the CPU runs the operating system read from the memory device to start the computing device.

[0017] In another possible implementation, the computing device further includes a memory and a hard disk, the memory is connected to the CPU, and the hard disk stores a boot program of an operating system; reading the operating system in the memory device includes: the CPU copies the boot program of the operating system in the hard disk to the memory; during the CPU running the boot program read from the memory, based on the boot program instructing the memory device, the CPU reads the operating system in the memory device; the CPU uses the operating system in the memory device to start the computing device, including: the CPU copies the operating system from the memory device to the memory; the CPU runs the operating system read from the memory to start the computing device.

[0018] In another possible implementation, the hard disk also stores an operating system, and the method further includes: when the CPU fails to read the operating system from the memory device, copying the operating system in the hard disk to the memory device; and the CPU starts the operating system read from the memory device.

[0019] In another possible implementation, copying the operating system in the hard disk to the memory device includes: the CPU copies the boot program of the operating system in the hard disk to the memory device; during the CPU running the boot program read from the memory device, based on the boot program instructing the memory device, the CPU copies the operating system in the hard disk to the memory device.

[0020] In another possible implementation, the hard disk also stores an operating system; the method further includes: when the CPU fails to read the operating system from the memory device, copying the operating system in the hard disk to the memory; the CPU starts the operating system read from the memory; when the CPU detects a power-off signal from the motherboard, copying the operating system in the memory to the memory device.

[0021] In another possible implementation, the memory device includes a CXL memory device.

[0022] In a third aspect, a computing device startup device is provided, the device comprising: a functional unit for executing any one of the methods provided in the first aspect, the actions performed by each functional unit are implemented by hardware or by hardware executing corresponding software. For example, the computing device startup device may include: an operation unit and a startup unit. The operation unit is used for the CPU to run the basic input and output system BIOS when the mainboard is powered on. The startup unit is used for starting the computing device using the operating system in the memory device when the CPU has finished running the BIOS.

[0023] In a fourth aspect, a computing device startup device is provided, the device comprising: a functional unit for executing any one of the methods provided in the first aspect, the actions performed by each functional unit being implemented by hardware or by hardware executing corresponding software. For example, the computing device startup device may include: an operation unit, a reading unit, and a startup unit. The operation unit is used for the CPU to run the BIOS when the mainboard is powered on. The reading unit is used for reading the operating system in the memory device when the CPU has finished running the BIOS. The startup unit is used for the CPU to use the operating system in the memory device to start the computing device.

[0024] In a fifth aspect, a computer system is provided, which includes a computing device, a memory device and a first power supply, the memory device is connected to the first power supply, the computing device includes a motherboard, a CPU and a second power supply, the CPU is arranged on the motherboard, the second power supply supplies power to the CPU through the motherboard, and the CPU is connected to the memory device; the computing device implements any one of the methods provided in the first aspect above.

[0025] In a sixth aspect, a computing device is provided, which includes a motherboard, a CPU and a second power supply, wherein the CPU is arranged on the motherboard, and the second power supply supplies power to the CPU through the motherboard; and is used to start the computing device using an operating system in a memory device when the CPU has finished running the BIOS.

[0026] It should be noted that in the sixth aspect, a computing device is provided, including a mainboard, a CPU and a second power supply, wherein the CPU is arranged on the mainboard, and the second power supply supplies power to the CPU through the mainboard;

[0027] The CPU is used to run the BIOS when the mainboard is powered on;

[0028] The CPU is also used to start the computing device using the operating system in the memory device when the CPU finishes running the BIOS, and the memory device is powered by a first power supply.

[0029] In the seventh aspect, a chip is provided, such as a CPU chip, which includes a CPU and an interface circuit; the interface circuit is used to receive code instructions and transmit them to the CPU; the CPU is used to run the code instructions to execute any one of the methods provided in the first aspect above.

[0030] In an eighth aspect, a computer-readable storage medium is provided, the computer-readable storage medium includes computer software instructions, such as: the computer software instructions include BIOS and a boot program; when the computer software instructions are executed by a computing device, the computing device executes any one of the methods provided in the first aspect above, or any one of the methods provided in the second aspect above. In a ninth aspect, a computer program product is provided, the computer program product includes BIOS and a boot program; when the BIOS and the boot program are executed by a computing device, the computing device executes any one of the methods provided in the first aspect above.

[0031] The technical effects brought about by any design method in the second to ninth aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here.

[0032] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of a startup process of a computing device in a related technology provided in an embodiment of the present application;

[0034] Figure 2 A schematic diagram of a system architecture provided in an embodiment of the present application;

[0035] Figure 3 A schematic diagram of another system architecture provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of a memory pool provided in an embodiment of the present application providing memory resources for multiple computing devices;

[0037] Figure 5 A schematic diagram of the structure of a memory device provided in an embodiment of the present application;

[0038] Figure 6 A hierarchical schematic diagram of a computing device provided in an embodiment of the present application;

[0039] Figure 7 A flowchart of a method for starting a computing device provided in an embodiment of the present application;

[0040] Figure 8 A flowchart of another method for starting a computing device provided in an embodiment of the present application;

[0041] Fig. 9 Provided for the embodiments of this application Figure 8 A schematic diagram of the process of the startup method shown;

[0042] Fig.10 Provided for the embodiments of this application Figure 8 A schematic diagram of the process of the operation method shown;

[0043] Fig.11 A flowchart of another method for starting a computing device provided in an embodiment of the present application;

[0044] Fig.12 Provided for the embodiments of this application Fig.11 A schematic diagram of the process of copying the operating system method shown;

[0045] Fig.13 Provided for the embodiments of this application Fig.11 A schematic diagram of the process of the operation method shown;

[0046] Fig.14 A schematic diagram of the structure of a computing device startup device provided in an embodiment of the present application;

[0047] Fig.15 A schematic diagram of the structure of a computing device startup device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0049] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0050] Furthermore, in the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0051] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

[0052] Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0053] The following is a brief introduction to the explanations of relevant terms involved in the embodiments of the present application.

[0054] CXL protocol: also known as the Computing Express Link protocol, is a high-speed serial protocol that enables fast and reliable data transmission between different components within a computing device, such as the central processing unit (CPU) and accelerator, memory buffer, and smart network interface card (Smart NIC). CXL protocols include CXL.io protocol, CXL.cache protocol, CXL.memory protocol, etc.

[0055] CXL memory device: It is a Type 3 device defined in the CXL protocol. It is a memory device with a peripheral component interconnect express (PCIE) interface that complies with the CXL protocol. Based on this, the CXL memory device can be connected to the CPU through the PCIE interface.

[0056] Exemplarily, a plurality of CXL memory devices may form a memory pool, and the memory pool may be used as an extended memory of a computing device to improve the performance of the computing device.

[0057] Cold boot: It is a way to start a computing device. Specifically, it refers to the startup process that requires loading the operating system into the memory and starting the operating system in the memory after the computing device is powered on.

[0058] Hot boot: It is a way to start a computing device. Specifically, it refers to the startup process of the operating system in the memory that can be directly run after the computing device is powered on.

[0059] The following is an illustrative introduction to the application scenarios of the embodiments of the present application.

[0060] A computing device may include a motherboard, a CPU, a memory, and a power supply. The CPU and the memory are usually located on the motherboard. The power supply is electrically connected to the motherboard and is used to supply power to the motherboard and the memory and the CPU on the motherboard. The power supply supplies power to the memory and the CPU through the motherboard. The power supply is used to connect to an external power supply. When the computing device is started, the power supply supplies power to the motherboard and other electronic devices. After the motherboard is powered on, the CPU will load the operating system into the memory, and start and run the operating system read from the memory, thereby starting the computing device.

[0061] For example, Figure 1 Schematic diagram of the startup process of a computing device in the related art. Figure 1 After the computing device is powered on, the startup process includes the following S1-S6. Among them, S1: Run BIOS and perform power on self-test (POST). S2: Search for the boot program of the operating system (such as Bootloader) in the hard disk. S3: Load the boot program on the hard disk into the local memory (that is, the memory set on the motherboard) and run it. S4: Copy the operating system in the hard disk to the local memory. S5: Use the boot program loaded in S3 to start the operating system in the local memory. S6: Run the operating system in the local memory.

[0062] Since the memory is a volatile storage medium, the data stored in the memory (such as the boot program and the operating system) will be lost after the motherboard is powered off. In this case, each time the motherboard is powered on again after a power outage, the boot program and the operating system of the operating system need to be reloaded into the memory, and the operating system in the memory needs to be restarted. That is, the above S2-S5 is executed, which results in a particularly long startup time for the computing device, which seriously affects the startup efficiency of the computing device.

[0063] In view of this, an embodiment of the present application provides a computing device startup method for a computer system, wherein the computer system includes a computing device, a memory device and a first power supply. The computing device includes a mainboard, a CPU and a second power supply, wherein the CPU is arranged on the mainboard, the mainboard is connected to the second power supply, and the second power supply supplies power to the mainboard and the CPU arranged on the mainboard. The CPU is connected to the memory device, and the memory device is connected to the first power supply, and the first power supply is used to supply power to the memory device. Since the memory device has an independent power supply (i.e., the first power supply), when the mainboard is powered off, the first power supply will continue to supply power to the memory device, so that the data stored in the memory device will not be lost due to the power failure of the mainboard, such as: the boot program of the operating system in the memory device and the operating system that has executed the startup process will not be lost due to the power failure of the mainboard. On this basis, when the mainboard is powered on, after the CPU runs the BIOS, the operating system in the memory device can be used to directly run the operating system and start the computing device without reloading the operating system into the memory device and executing the startup process for the operating system in the memory device.

[0064] Compared to the motherboard, every time the power is turned on again, the CPU needs to reload the operating system into the local memory and restart the operating system in the local memory (i.e. Figure 1 The solution of the embodiment of the present application at least saves the time of reloading the operating system into the local memory and restarting the operating system in the local memory (i.e. Figure 1 The execution time of steps S2-S5 etc. shown in the figure) is shortened, thereby shortening the startup time of the computing device, accelerating the startup speed of the computing device, and improving the startup efficiency of the computing device.

[0065] The following is an exemplary introduction to the system architecture of the embodiments of the present application.

[0066] Figure 2 A schematic diagram of the structure of a computer system provided in an embodiment of the present application. Figure 2 As shown, the computer may include: a computing device, a memory pool and a first power supply. Figure 2 The various components included are introduced as follows:

[0067] like Figure 2As shown, the computing device may include a motherboard, a CPU, a memory, and a second power supply. The CPU and the memory are both arranged on the motherboard, and the motherboard is connected to the second power supply, and the second power supply is used to supply power to the motherboard and the CPU and the memory arranged on the motherboard to ensure that the CPU and the memory can work.

[0068] Exemplarily, a memory slot may be provided on the mainboard, and the memory is plugged into the memory slot. The memory may include a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), or a double data rate synchronous dynamic random access memory (DDR SDRAM).

[0069] It should be noted that, since the memory is set on the motherboard, the memory can also be called the local memory of the computing device.

[0070] The computing device may also include a read-only memory (ROM) chip, in which BIOS (also referred to as a BIOS program) is stored. The ROM chip is disposed on the motherboard, and the ROM chip is connected to the CPU. The CPU can read the BIOS program in the ROM chip and load the BIOS program into the memory.

[0071] The computing device may also include a hard disk in which an operating system and a boot program of the operating system are stored. The hard disk is connected to the CPU, and the CPU can read the operating system and the boot program of the operating system in the hard disk and load the operating system and the boot program of the operating system into the memory.

[0072] Exemplarily, the hard disk may be a hard disk drive (HDD) or a solid state drive (SSD).

[0073] It should be noted that, since the hard disk stores an operating system and a boot program of the operating system, etc., the hard disk may also be called a system hard disk.

[0074] Exemplarily, the computing device may be a network device. The network device may include a server, and the server is used to perform big data computing, super computing, etc. The server may be a physical server, or two or more physical servers with different responsibilities may cooperate with each other to realize various functions of the server.

[0075] On this basis, the application embodiment provides a memory pool, which includes multiple memory devices.

[0076] The CPU can access the memory devices in the memory pool based on the CXL.memory protocol in the CXL protocol, and regard the memory pool as a memory extension of the memory in the computing device to store more data and solve the problem of tight memory resources when the memory demand continues to grow. Based on this, the memory device can be a CXL memory device. In the following, the memory device forming the memory pool is a CXL memory device as an example to exemplify the embodiments of the present application.

[0077] It should be noted that the embodiment of the present application does not limit the number of CXL memory devices in the memory pool.

[0078] By forming a memory pool with multiple CXL memory devices, it is possible to dynamically allocate memory resources from the memory pool to different computing devices according to the different needs of different computing devices, thereby improving the utilization rate of memory resources and reducing the cost of using memory resources.

[0079] Illustratively, multiple CXL memory devices in a memory pool may be placed on a cabinet, and the cabinet may serve as a CXL memory cabinet.

[0080] On this basis, each CXL memory device in the memory pool can be directly connected to the computing device based on the CXL port. For example, each CXL memory device in the memory pool can also be connected to the computing device through a switch to provide memory resources for the computing device. For example, each CXL memory device in the memory pool can be connected to the CPU on the motherboard in the computing device through a CXL switch.

[0081] Exemplarily, a CXL port may also be provided on the CXL switch, and the CXL port is connected to the CPU on the mainboard of the computing device through the PCIE bus, thereby connecting the CXL memory to the CPU of the computing device, so that the CPU can access the CXL memory.

[0082] In the embodiment of the present application, the first power supply may be a power supply for supplying power to the CXL memory devices in the memory pool, connected to each CXL memory device, and independent of the second power supply for supplying power to the memory on the main board, that is, the first power supply and the second power supply are different power supplies. When the main board is powered off, the data stored in the CXL memory device will not be lost because the first power supply supplies power to the CXL memory device, making the CXL memory non-volatile.

[0083] Based on this, the memory device in the embodiment of the present application may be the above-mentioned CXL memory device, or may be other forms of memory devices that can realize the memory expansion function and are powered by an independent power supply, and the embodiment of the present application does not limit this.

[0084] In the embodiment of the present application, a single CXL memory device may also provide memory resources for the computing device.

[0085] Based on this, a single CXL memory device is connected to a computing device, wherein the single CXL memory device is also connected to a first power source, and the first power source is used to supply power to the single CXL memory device.

[0086] It should be noted that the above-mentioned single CXL memory device or memory pool can be considered as an extension of the memory in the computing device, so that the computing device can store more data.

[0087] like Figure 3 , which is a schematic diagram of the structure of another computer system provided in an embodiment of the present application.

[0088] See also Figure 3 The computer system may include: a plurality of computing devices, a memory pool, and a first power supply. The plurality of computing devices may form a cluster system, or may not form a cluster system. Exemplarily, each computing device in the plurality of computing devices may be directly connected to a corresponding memory device in the memory pool based on a CXL port, or each computing device in the plurality of computing devices may be connected to a corresponding memory device in the memory pool through a switch.

[0089] The memory pool can provide memory resources to each computing device in multiple computing devices. Figure 4 A schematic diagram of a memory pool provided by an embodiment of the present application providing memory resources for multiple computing devices, such as Figure 4 As shown, the memory resources in the memory pool can be divided according to the usage requirements of each computing device, so as to dynamically allocate the memory resources in the memory pool.

[0090] For details about each computing device in the plurality of computing devices, please refer to Figure 2 The relevant description of the computing device shown is not repeated here.

[0091] Figure 5 A schematic diagram of the structure of a memory device provided in an embodiment of the present application. Taking the CXL memory device as an example, see Figure 5 The CXL memory device may include a substrate, a CXL controller, and a first memory.

[0092] The CXL controller and the first memory may be arranged on the substrate. The first memory is connected to the CXL controller. The first memory is used to store data, and the CXL controller is used to communicate with the CPU and perform read and write operations on the first memory based on the read and write instructions of the CPU.

[0093] Exemplarily, a memory slot is provided on the substrate, and the first memory can be plugged into the memory slot. The first memory can be a dual inline memory module (DIMM). Of course, in other embodiments, the first memory can be one or more DRAM particles, and the first or more DRAM particles can be directly provided on the substrate.

[0094] The CXL controller is also called a memory expansion (CXL memory expander) chip, a CXL memory controller (CXLmemory expander controller), or a CXL memory pooling (CXL memory expander pooling) chip.

[0095] The first memory is described below as an example, wherein the first memory may be a first memory on a single CXL memory device, or may be a first memory on any CXL memory device in a memory pool.

[0096] In the embodiment of the present application, the CXL memory device includes a first memory and is not arranged on the motherboard. In this way, it can not only provide memory resources for the computing device, but also avoid occupying space on the motherboard of the computing device, which not only helps to reduce the wiring requirements on the motherboard, but also facilitates heat dissipation of other components on the motherboard.

[0097] It should be noted that, since the first memory is not arranged on the mainboard and the first memory is powered by a power supply (ie, the first power supply) independent of the second power supply, the first memory may also be referred to as a non-local memory.

[0098] Figure 6 A hierarchical diagram of a computing device provided for an embodiment of the present application.

[0099] See also Figure 6 ,Computing devices include hardware layer and software layer.,The software layer is the program code running on the hardware layer.,Among them, the software layer can be divided into several layers, and the layers communicate with each other through software interfaces.

[0100] The hardware layer includes the second power supply, motherboard, CPU, memory, ROM chip, hard disk, etc. Figure 2 shown.

[0101] The software layer includes the application layer, OS layer, and BIOS layer from top to bottom.

[0102] The BIOS layer is the most basic software code loaded on the computer hardware system. The BIOS layer is the bottom-level running program below the OS layer, which is used to set up the hardware and provide a reliable hardware environment for the OS layer and the application layer, ensuring that the OS layer can start and run normally and the application layer can provide application services normally.

[0103] The OS layer includes the program code of the OS. The OS can be Linux, Windows, or vxWorks, etc.

[0104] It should be noted that the BIOS layer may also be referred to as BIOS, and the OS layer may also be referred to as OS.

[0105] It can be understood that in the following, the BIOS copies the boot program in the hard disk to the memory device, which can be considered as the process in which the CPU runs the BIOS, and the BIOS loads the boot program from the hard disk to the memory device.

[0106] The application layer includes a series of program codes that run the application.

[0107] It should be noted that the system architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0108] For ease of understanding, the following Figures 2 to 6 , the computing device startup method provided in the embodiment of the present application is exemplarily introduced, and the operating system here can be as follows Figure 6 The OS layer in can also be called OS.

[0109] Figure 7 A flowchart of a method for starting a computing device provided in an embodiment of the present application is provided. Exemplarily, the method may include S701-S702.

[0110] In the embodiment of the present application, a single memory device (such as a CXL memory device) may provide memory resources for the computing device, or one or more memory devices in a memory pool may provide memory resources for the computing device.

[0111] Based on this, before executing the following S701-S702, the memory device has already stored the operating system that has executed the startup process, so that the CPU can directly run the operating system in the memory device. For example, after the CPU of the computing device is powered on, it can directly run the operating system in the memory device without having to copy the operating system in the hard disk to the local memory and start the operating system in the local memory.

[0112] In the embodiment of the present application, there are multiple implementation methods for storing the operating system that has executed the boot process into the memory device, and two implementation methods are exemplified below.

[0113] In one implementation, the CPU can copy the operating system in the hard disk to the memory device, start and run the operating system read from the memory device, see Figure 8 The embodiments shown (such as S802-S805, etc.) will not be described in detail here.

[0114] In another implementation, the CPU can copy the operating system in the memory device to the memory and run the operating system read from the memory. For details, see Fig.11 The embodiments shown (such as S1104-S1109, etc.) will not be described in detail here.

[0115] The method described in S701-S702 below can be used for Figure 2 or Figure 3 The system architecture is shown.

[0116] S701. When the mainboard is powered on, the CPU runs the BIOS.

[0117] Here, powering on the mainboard can also be considered as powering on the computing device, or the computing device starting to start.

[0118] When the power button of the computing device is triggered, the mainboard is connected to the mains, and the mainboard is powered on. When the mainboard is powered on, the CPU runs the BIOS stored in the ROM chip to perform a power-on self-test on the hardware devices on the computing device.

[0119] In one example, when the mainboard is powered on for the first time, the CPU may load the BIOS into the local memory and run the BIOS in the local memory. Exemplarily, when the CPU runs the BIOS in the local memory, the power-on self-test may include testing the CPU, the mainboard, the local memory, the second power supply, the hard disk and other hardware devices.

[0120] In another example, when the mainboard is powered on for the first time, the CPU can load the BIOS into the memory device and run the BIOS in the memory device. When the CPU runs the BIOS in the memory device, the power-on self-test can include testing the memory device, the first power supply and other hardware devices, such as detecting whether the working status of the hardware device is normal. In this way, on the one hand, the BIOS and the operating system can be run on the same memory (i.e., the second memory), which helps to ensure the continuity and reliability of the startup process of the computing device. On the other hand, when the mainboard is powered on again next time (i.e., not the first time), since the BIOS is already stored in the memory device, the CPU can directly run the BIOS in the memory device without re-executing the operation of loading the BIOS into the memory device, thereby helping to speed up the startup speed of the computing device and shorten the startup time of the computing device.

[0121] For example, if an error is detected in a hardware device (eg, hardware device 1) during the power-on self-test, hardware device 1 may be initialized and configuration parameters of hardware device 1 may be updated to ensure that the configuration parameters of hardware device 1 return to normal.

[0122] In the embodiment of the present application, the CPU can also identify the memory device during the BIOS operation. Exemplarily, during the BIOS operation, the CPU can send an initialization instruction to the memory device connected to the CPU based on the PCIE bus to notify the memory device to enter the working waiting state, thereby identifying the memory device.

[0123] On this basis, while the CPU is running BIOS, it can also run the driver of the CXL memory device to support read and write access and management of the CXL memory.

[0124] S702: After the BIOS is executed, the CPU uses the operating system in the memory device to start the computing device.

[0125] In the embodiment of the present application, when the memory device is a CXL memory device, the CPU may use the operating system in the CXL memory device to start the computing device.

[0126] Since the CXL protocol has the characteristics of high bandwidth and low latency, the CPU uses the operating system in the CXL memory device based on the CXL protocol, which helps to increase the data transmission rate between the CPU and the memory device and reduce the delay of data transmission, thereby helping to shorten the startup time of the computing device and improve the startup efficiency of the computing device.

[0127] In the embodiment of the present application, the CPU uses the operating system in the memory device to start the computing device. The CPU may indicate the memory device based on the BIOS, run the operating system read from the memory device, and start the computing device. Alternatively, the CPU may indicate the memory device based on the boot program of the operating system, copy the operating system in the memory device to the memory, run the operating system read from the memory, and start the computing device. Specifically, the CPU uses the operating system in the memory device to start the computing device, which is exemplified by Method 1 and Method 2.

[0128] Method 1: Based on the BIOS indicating the memory device, the CPU runs the operating system read from the memory device to start the computing device.

[0129] In method 1, the BIOS includes the address of the memory device. On this basis, when the CPU finishes running the BIOS, it can jump to read the operating system in the memory device and run the operating system based on the address of the memory device in the BIOS to start the computing device.

[0130] Exemplarily, in the process of starting the computing device, the interaction between the computing device and the memory device includes: when the CPU of the computing device finishes running the BIOS, a first instruction is sent to the memory device, and the first instruction is used to instruct to read the operating system in the memory device. The memory device (such as: the CXL controller of the memory device) receives the first instruction sent by the CPU, and in response to the first instruction, returns the operating system to the CPU of the computing device. The CPU of the computing device runs the read operating system to start the computing device.

[0131] Exemplarily, the BIOS includes multiple configuration items, and the address of the memory device may be one of the multiple configuration items. Based on this, when the CPU runs to the configuration item of the address of the memory device in the BIOS, it starts to run the operating system read from the memory device.

[0132] In the above embodiment, since the memory device connected to the CPU is powered by the first power supply, the data stored in the memory device will not be lost when the mainboard is powered off. On this basis, when the mainboard is powered on again, after the CPU runs the BIOS, it can directly run the operating system read from the memory device based on the memory device indicated by the BIOS, without the need to reload the operating system into the memory device and restart the operating system.

[0133] Compared to when the motherboard is powered on again, the CPU needs to reload the operating system into the local memory and restart the operating system in the local memory (i.e. Figure 1The solution of the embodiment of the present application runs the operating system read from the memory device with an independent power supply, thereby ensuring that the operating system in the memory device will not be lost after the mainboard is powered off, and at least saves the time of reloading the operating system into the local memory and restarting the operating system in the local memory (i.e. Figure 1 The execution time of steps S2-S5 etc. shown in the figure) is shortened, thereby shortening the startup time of the computing device, accelerating the startup speed of the computing device, and improving the startup efficiency of the computing device.

[0134] It should be noted that the specific implementation process of method 1 will be described in subsequent embodiments. Figures 8 to 10 The embodiments described will not be described in detail here.

[0135] Method 2: Based on the memory device indicated by the boot program, the CPU copies the operating system in the memory device to the memory, and runs the operating system read from the memory to start the computing device.

[0136] In method 2, the CPU first copies the boot program of the operating system in the hard disk to the memory. The boot program includes the address of the memory device. After the CPU runs the BIOS, it can copy the operating system in the memory device to the memory based on the address of the memory device in the boot program, run the operating system read from the memory, and start the computing device.

[0137] Exemplarily, the boot program includes multiple configuration items, and the address of the memory device can be one of the multiple configuration items. Based on this, when the CPU runs to the configuration item of the address of the memory device in the boot program, it starts to copy the operating system in the memory device to the memory and runs the operating system read from the memory.

[0138] Since the memory here is the local memory of the computing device, it can better guarantee the performance of the computing device and reduce the computing delay and storage delay during the operation of the computing device. In addition, compared to copying the operating system from the hard disk to the memory, the operating system needs to re-execute the startup process of the operating system before it can run. In the embodiment of the present application, since the operating system that has already executed the startup process is copied from the memory device to the memory, the hardware environment (all memory) of the operating system has not changed, so it is not necessary to re-execute the startup process of the operating system on the memory, so that the startup time of the computing device will not be increased too much.

[0139] It should be noted that the specific implementation process of method 2 will be described in subsequent embodiments. Figures 11 to 13 The embodiments described will not be described in detail here.

[0140] The following, combined Figures 8 to 10, describes the process by which the CPU runs an operating system that is read from a memory device.

[0141] Figure 8 A flowchart of another method for starting a computing device provided in an embodiment of the present application. Exemplarily, the method may include S801-S806.

[0142] S801: When the mainboard is powered on, the CPU runs the BIOS.

[0143] It should be noted that for the relevant description of S801, please refer to S701, which will not be repeated here.

[0144] Optionally, S802: determine whether an operating system is stored in the memory device.

[0145] If the determination result is no, then execute S803 , and if the determination result is yes, then execute S806 .

[0146] In the embodiment of the present application, the BIOS includes the address of the memory device. Based on this, it can be considered that the BIOS instructs the execution to determine whether the memory device stores an operating system.

[0147] It should be noted that when the mainboard is powered on for the first time, since there is no operating system stored in the memory device, the determination result of S802 is no, and S803-S805 are executed; after the mainboard is powered on for the first time, powered off and powered on again, the operating system is stored in the memory device (see S803), therefore, the determination result of S802 is yes, and S806 is executed without executing S803-S805.

[0148] Fig. 9 Provided for the embodiments of this application Figure 8 Schematic diagram of the process of starting method shown.

[0149] See also Fig. 9 , during the CPU running BIOS, it performs a power-on self-test and identifies the memory device. After completing the power-on self-test, the operating system boot process begins. The first boot process is based on the address of the memory device indicated by the BIOS, jumps to the memory device to find the operating system, and then runs the operating system. This process can be considered a "hot boot". If the operating system is not found in the memory device, it is considered that the "hot boot" has failed, and the second boot process is executed, that is, S803-S805 below. This process can be considered a "cold boot".

[0150] In this embodiment, before copying the operating system in the hard disk to the memory device, it is first determined whether the memory device stores the operating system. In this way, when the operating system is stored in the memory device, it is possible to avoid executing the operation of copying the operating system in the hard disk to the memory device every time the computing device is started, thereby shortening the startup time of the computing device when the storage system is stored in the memory device.

[0151] S803: The CPU copies the boot program of the operating system in the hard disk to the memory device.

[0152] In the embodiment of the present application, the BIOS also includes the address of the hard disk, and the hard disk stores the boot program. Based on this, it can be considered that the BIOS instructs the boot program in the hard disk to be loaded into the memory device.

[0153] For example, see Fig. 9 , the CPU searches for the boot program in the hard disk, and after finding the boot program, loads the boot program in the hard disk into the memory device.

[0154] Exemplarily, the BIOS includes multiple configuration items, and the address of the hard disk can be one of the multiple configuration items. Based on this, when the CPU runs to the configuration item indicating the address of the hard disk in the BIOS, the boot program of the operating system in the hard disk is loaded into the memory device.

[0155] It should be noted that the boot program in the embodiment of the present application is a program used to boot the operating system.

[0156] S804: When the CPU is running the boot program, based on the boot program's instructions to the hard disk, the CPU copies the operating system in the hard disk to the memory device.

[0157] In the embodiment of the present application, the boot program includes the address of the hard disk, and the hard disk stores the operating system. Based on this, it can be considered that the boot program instructs to copy the operating system in the hard disk to the memory device.

[0158] It should be noted that in the boot program, the memory device is equivalent to the non-local memory of the computing device.

[0159] For example, see Fig. 9 ,When the CPU runs the boot program, the image of the operating system (i.e., the copy of the operating system) in the hard disk is copied to the memory device based on the address of the hard disk indicated by the boot program.

[0160] Exemplarily, the boot program includes multiple configuration items, and the address of the hard disk can be one of the multiple configuration items. Based on this, when the CPU runs to the configuration item of the address of the hard disk in the boot program, the image of the operating system in the hard disk is copied to the memory device.

[0161] In this embodiment, by copying the operating system in the hard disk to the memory device, it helps to ensure the integrity and accuracy of the operating system in the memory device.

[0162] S805: The CPU starts the operating system read from the memory device.

[0163] For example, see Fig. 9 After the CPU copies the operating system in the hard disk to the memory device, it directly starts the operating system read from the memory device.

[0164] Exemplarily, the process of starting the operating system stage may include loading the kernel, running the kernel (detecting hardware → loading drivers → mounting the root file system → switching to the root file system, etc.), performing operating system initialization (mounting devices, opening the graphical interface, setting system parameters, starting boot services, etc.), and providing an operating system login entry and other operations.

[0165] S806: The CPU runs the operating system read from the memory device and starts the computing device.

[0166] See also Fig. 9 After the operating system read from the memory device is started, the CPU can directly run the operating system read from the memory device to complete the startup of the computing device. The process of the CPU running the operating system can also be considered as handing over the control of the CPU to the operating system.

[0167] In the embodiment of the present application, since the memory device is powered by the first power supply, and the mainboard and the CPU and memory on the mainboard are powered by the second power supply, when the mainboard is powered off, that is, when the computing device is shut down, the operating system in the memory device that has executed the startup process is not lost. Since the memory device stores the operating system that has executed the startup process, each time the computing device is restarted, that is, each time the mainboard is powered on again, the process of running the operating system can only include the above-mentioned S801, S802, and S806.

[0168] Fig.10 Provided for the embodiments of this application Figure 8 Schematic diagram of the process of running the method shown.

[0169] See also Fig.10 After the motherboard is powered off and then powered on again, the CPU runs the BIOS to perform a power-on self-test. After the power-on self-test is completed, the CPU searches for the operating system in the memory device based on the address of the memory device indicated by the BIOS. After the CPU finds the operating system, it directly runs the operating system read from the memory device. This process can be considered a "hot boot" process.

[0170] Since the operating system that has executed the boot process is stored in the memory device after the above steps S803-S805, and when the mainboard is powered off, the first power supply can continue to supply power to the memory device, so the operating system stored in the memory device is not lost. Based on this, when the mainboard is powered on again, the CPU finds the operating system in the memory device and directly runs the operating system read from the memory device, that is, the "hot boot" is successful. In other words, every time the mainboard is powered on again, the CPU runs the BIOS, and after completing the power-on self-test, the computing device can be started by executing the "hot boot" process.

[0171] Based on S802-S805, whenever the computing device is restarted (that is, when the mainboard is powered on again), the operating system read from the memory device is directly run, which can omit the intermediate stages of loading the operating system into the memory device and starting the operating system in the memory device. Therefore, a large amount of execution time of the intermediate stages is saved, which can significantly improve the startup speed of the computing device and shorten the startup time of the computing device.

[0172] Based on the above, in the embodiment of the present application, when the mainboard is powered on for the first time, the operating system in the hard disk is copied to the memory device and the operating system in the memory device is started. This process can be called a "cold start" process. After the mainboard is powered on for the first time and then powered off, when it is powered on again, that is, when the mainboard is not powered on for the first time, since the operating system is already stored in the memory device and the operating system read from the memory device has been started, the operating system read from the memory device can be directly run. This process can be called a "hot start" process.

[0173] When the motherboard is not started for the first time, a hot boot process is executed. Compared with loading the operating system into the local memory of the computing device for running, this saves the time of moving the operating system from the hard disk to the local memory and restarting the operating system in the local memory. This can significantly shorten the startup time of the computing device, thereby helping to improve the startup efficiency of the computing device.

[0174] In the embodiment of the present application, when the computing device is not started for the first time, unlike S806, the computing device startup method may also include: the CPU copies the operating system in the memory device to the memory; the CPU reads the operating system in the memory and runs the read operating system.

[0175] In this embodiment, the CPU copies the operating system in the memory device to the memory, and runs the operating system read from the memory. On the one hand, the operating system can be run locally on the computing device, which helps to ensure the performance stability of the computing device. On the other hand, copying the operating system that has been started in the memory device to the local memory is compared to copying the operating system that has not been started in the hard disk to the local memory. Since the copying behavior occurs between the memory and the memory, and the operating system that is copied to the memory is already started, it helps to shorten the startup time of the computing device and speed up the startup speed of the computing device.

[0176] Based on the above S802-S806, the interaction between the computing device and the memory device may include: when the mainboard is powered on for the first time, the CPU of the computing device completes running the BIOS, and sends a second instruction to the memory device, the second instruction is used to instruct to read the operating system in the memory device. The memory device receives the second instruction sent by the CPU, and since the operating system is not stored in the memory device when the mainboard is powered on for the first time, the reading result returned by the memory device to the CPU indicates that the operating system is not stored in the memory device.

[0177] When the CPU does not read the operating system, it sends the boot program of the operating system in the hard disk to the memory device, and in the process of running the boot program read from the memory device, based on the boot program instructing the memory device, the CPU sends the operating system in the hard disk to the memory device. The operating system is sent by the CPU based on the reading result that the operating system is not stored in the memory device. After that, the CPU starts and runs the operating system read from the memory device and starts the computing device.

[0178] When the mainboard is not powered on for the first time, the CPU of the computing device instructs the memory device based on the BIOS and sends a first instruction to the memory device; the first instruction is used to instruct the operating system to read the memory device. The memory device receives the first instruction sent by the CPU. Since the CPU sent the operating system in the hard disk to the memory device when the mainboard was powered on for the first time, and the operating system has already executed the startup process, when the first power supply is powering the memory device, the memory device stores the operating system that has executed the startup process. When the mainboard is not powered on for the first time, the CPU can read the operating system that has executed the startup process in the memory device according to the first instruction. Based on this, the CPU of the computing device can directly run the operating system read from the memory device to start the computing device.

[0179] The following, combined Figures 11 to 13 , describes the process of copying the operating system in the memory device to the memory and running the operating system read from the memory.

[0180] Fig.11A flowchart of another method for starting a computing device provided in an embodiment of the present application is provided. Exemplarily, the method may include S1101-S1109.

[0181] S1101: When the mainboard is powered on, the CPU runs the BIOS.

[0182] It should be noted that for the relevant description of S1101, please refer to the above-mentioned S801 and will not be repeated here.

[0183] S1102: After the BIOS is executed, the CPU copies the boot program of the operating system in the hard disk to the memory.

[0184] In the embodiment of the present application, the BIOS also includes the address of the memory, and the hard disk stores the boot program. Based on this, it can be considered that the BIOS indicates that the boot program in the hard disk is loaded into the memory.

[0185] Exemplarily, the BIOS includes multiple configuration items, and the address of the memory may be one of the multiple configuration items. Based on this, when the CPU runs to the configuration item indicating the address of the memory in the BIOS, the boot program of the operating system in the hard disk is loaded into the memory.

[0186] S1103: Determine whether an operating system is stored in the memory device.

[0187] If the determination result is no, execute S1104, and if the determination result is yes, execute S1108.

[0188] It should be noted that when the mainboard is powered on for the first time, since there is no operating system stored in the memory device, the determination result of S1103 is no, and S1104-S1107 are executed; after the mainboard is powered on for the first time, powered off and powered on again, the operating system is stored in the memory device (see S1107), therefore, the determination result of S802 is yes, and S1108-S1109 are executed without the need to execute S1104-S1107.

[0189] It should be noted that for other related instructions of S1103, please refer to the above S802 and will not be repeated here.

[0190] S1104: When the CPU is running the boot program, based on the boot program's instruction to the hard disk, the CPU copies the operating system in the hard disk to the memory.

[0191] In the embodiment of the present application, the boot program includes the address of the memory, and the hard disk stores the operating system. Based on this, when the CPU runs the boot program, the boot program indicates the hard disk and copies the operating system in the hard disk to the memory.

[0192] S1105: The CPU starts the operating system in the memory.

[0193] It should be noted that for the relevant description of S1105, please refer to the above-mentioned S805 and will not be repeated here.

[0194] S1106: The CPU runs the operating system read from the memory.

[0195] It should be noted that for the relevant description of S1106, reference can be made to the relevant description in the above S806, which will not be repeated here.

[0196] S1107: When the CPU detects a power-off signal from the mainboard, the CPU copies the operating system in the memory to the memory device.

[0197] The power-off signal is used to indicate that the second power supply is about to power off the mainboard.

[0198] In an embodiment of the present application, after the CPU copies the operating system in the memory to the memory device, it sends a power-off notification to the second power supply to notify the second power supply to power off the computing device. After the second power supply receives the power-off notification, the second power supply powers off the computing device.

[0199] It should be noted that, since the operating system in the memory has executed the boot process (ie, executed S1105), the operating system copied to the memory device is the operating system that has executed the boot process.

[0200] See also Fig.12 In the embodiment of the present application, when the CPU is running the operating system read from the local memory, if a power-off signal of the mainboard is detected, it means that the second power supply is about to power off the mainboard. Based on this, after the CPU finds the operating system in the local memory, it copies the operating system in the local memory to the memory device, thereby backing up the operating system that has executed the startup process in the local memory to the memory device. In this way, it is ensured that whenever the mainboard is powered on again, the CPU directly performs a hot start, that is, the computing device can be started using the operating system in the memory device, thereby shortening the startup time of the computing device.

[0201] In one example, the CPU can copy the operating system in the local memory to the memory device during the process of running the BIOS. In another example, the CPU can copy the operating system in the local memory to the memory device during the process of running the operating system.

[0202] In the above embodiment, when the CPU detects a power-off signal from the motherboard, the operating system in the memory is copied to the memory device, thereby backing up the operating system that has executed the startup process to the memory device before the motherboard is powered off. When the motherboard is powered on next time, the CPU can execute a "hot boot" process. Compared with using a "cold boot" process to copy the operating system in the hard disk to the memory device, this helps to simplify the process of storing the operating system in the memory device.

[0203] Exemplarily, the interaction process between the computing device and the memory device may include: when the CPU of the computing device detects a power-off signal from the motherboard, the CPU sends the operating system in the memory to the memory device, and the memory device receives the operating system in the memory sent by the CPU.

[0204] S1108: When the CPU is running the boot program, based on the boot program instructing the memory device, the CPU copies the operating system in the memory device to the memory.

[0205] See also Fig.13 , the CPU searches for the operating system in the memory device based on the address of the memory device indicated by the boot program. After finding the operating system, the CPU copies the operating system in the memory device to the memory, thereby copying the operating system that has executed the startup process in the memory device to the memory.

[0206] It should be noted that for other related instructions of S1108, please refer to the above-mentioned S804, which will not be repeated here.

[0207] Exemplarily, the interaction process between the computing device and the memory device may include: the CPU of the computing device may send a first instruction to the memory device, the first instruction being used to instruct to copy the operating system in the memory device to the memory, and the memory device receiving the first instruction sent by the CPU.

[0208] S1109: The CPU runs the operating system read from the memory and starts the computing device.

[0209] Since the memory device stores an operating system that has already executed the boot process, after copying the operating system in the memory device to the memory, the CPU can directly run the operating system read from the memory to start the computing device without having to execute the process of starting the operating system. This can significantly shorten the time required to start the computing device.

[0210] It should be noted that for other relevant instructions of S1109, please refer to the above-mentioned S805, which will not be repeated here. Based on the above, in the embodiment of the present application, the CPU running the operating system read from the memory can be divided into a "backup" process before the mainboard is powered off and a "hot start" process after the mainboard is powered on again. Among them, in the "backup" process, the CPU copies the operating system that has executed the startup process in the memory to the memory device. In the "hot start" process, the CPU copies the operating system that has executed the startup process in the memory device to the memory, and directly runs the operating system read from the memory to start the computing device.

[0211] It should be noted that the above "hot start" process is different from Fig.10 The difference between the "hot boot" process in the example is that the CPU runs the operating system read from the local memory instead of running the operating system read from the memory device to better ensure the performance of the computing device.

[0212] Based on the above-mentioned embodiments, by modifying the operating system startup process in the BIOS and the boot program, and based on the operating system stored in the memory device, the operating system in the memory device can be run with a "hot boot" process when the motherboard is powered on again, that is, during the restart of the computing device, the time for copying the operating system to the memory device and starting the operating system in the memory device is saved, which can speed up the startup speed of the computing device and improve the user experience.

[0213] In the embodiment of the present application, when the computing device is not started for the first time, unlike S1108-S1109, the computing device startup method may also include: the CPU reads the operating system in the memory device and runs the read operating system.

[0214] In this embodiment, the CPU directly runs the operating system read from the memory device. Compared with copying the operating system in the memory device to the internal memory and running the operating system read from the internal memory, this at least saves the time of copying the operating system from the memory device to the internal memory, which helps to shorten the startup time of the computing device and speed up the startup speed of the computing device.

[0215] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the computing device startup device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0216] The embodiment of the present application can exemplarily divide the functional modules of the data management device according to the above method. For example, the computing device startup device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0217] For example, Fig.14 A possible structural diagram of the computing device startup device (referred to as computing device startup device 1400) involved in the above-mentioned embodiment is shown. The actions performed by the computing device startup device 1400 are implemented through a computer system or through the computer system executing corresponding software. The computer system includes a computing device, a memory device and a first power supply, the first power supply supplies power to the memory device, the computing device includes a motherboard, a central processing unit CPU and a second power supply, the CPU is arranged on the motherboard, the second power supply supplies power to the CPU through the motherboard, and the CPU is connected to the memory device. The computing device startup device includes an operating unit 1401 and a startup unit 1402. The operating unit 1401 is used to run the basic input and output system BIOS when the motherboard is powered on. For example, Figure 7 The startup unit 1402 is used to start the computing device using the operating system in the memory device after the BIOS is executed. Figure 7 S702 shown.

[0218] Optionally, the startup unit 1402 is specifically configured to: based on the BIOS indicating the memory device, run the operating system read from the memory device to start the computing device.

[0219] Optionally, the computing device also includes a memory and a hard disk, the second power supply is to power the memory through the motherboard, the memory is connected to the CPU, and the hard disk stores the boot program of the operating system; the startup unit 1402 is specifically used to: copy the boot program of the operating system in the hard disk to the memory; during the running of the boot program, based on the boot program indicating the memory device, copy the operating system in the memory device to the memory; run the operating system read from the memory to start the computing device.

[0220] Optionally, the hard disk also stores an operating system; the startup unit 1402 is also used to: if the operating system is not stored in the memory device, copy the operating system in the hard disk to the memory device; and start the operating system from the memory device.

[0221] Optionally, the startup unit 1402 is further used to: copy the boot program of the operating system in the hard disk to the memory device; during the running of the boot program, based on the boot program indicating the memory device, copy the operating system in the hard disk to the memory device.

[0222] Optionally, an operating system is also stored in the hard disk; the startup unit 1402 is also used to: when the operating system is not stored in the memory device, copy the operating system in the hard disk to the memory; start the operating system from the memory; when a power-off signal from the motherboard is detected, copy the operating system in the memory to the memory device.

[0223] In another possible implementation, the memory device includes a CXL memory device.

[0224] For the detailed description of the above optional methods, please refer to the above method embodiments, which will not be repeated here. In addition, the explanation and description of the beneficial effects of any computing device startup device 1400 provided above can refer to the above corresponding method embodiments, which will not be repeated here.

[0225] For example, Fig.15 A possible structural schematic diagram of the computing device startup device (referred to as computing device startup device 1500) involved in the above-mentioned embodiment is shown. The actions performed by the computing device startup device 1500 are implemented by the computing device or by the computing device executing corresponding software. Among them, the computing device includes a mainboard, a central processing unit CPU and a second power supply. The CPU is arranged on the mainboard. The second power supply supplies power to the CPU through the mainboard. The CPU is connected to the memory device. The computing device startup device includes an operation unit 1501, a reading unit 1502 and a startup unit 1503. The operation unit 1501 is used to run the BIOS when the mainboard is powered on. The reading unit 1502 is used to read the operating system in the memory device when the BIOS is running. The startup unit 1503 is used to start the computing device using the operating system in the memory device.

[0226] Optionally, the reading unit 1502 is specifically used to: read the operating system in the memory device based on the memory device indicated by the BIOS; the starting unit 1503 is specifically used to: run the operating system read from the memory device to start the computing device.

[0227] Optionally, the computing device also includes a memory and a hard disk, the memory is connected to the CPU, and the hard disk stores a boot program of an operating system; the reading unit 1502 is specifically used to: copy the boot program of the operating system in the hard disk to the memory; in the process of running the boot program read from the memory, based on the boot program indicating the memory device, read the operating system in the memory device; the startup unit 1503 is specifically used to: copy the operating system from the memory device to the memory; run the operating system read from the memory, and start the computing device.

[0228] Optionally, the hard disk also stores an operating system, and the reading unit 1502 is specifically used to: copy the operating system in the hard disk to the memory device if the operating system is not read; and start the operating system read from the memory device.

[0229] Optionally, the reading unit 1502 is specifically used to: copy the boot program of the operating system in the hard disk to the memory device; during the process of running the boot program read from the memory device, based on the boot program indicating the memory device, copy the operating system in the hard disk to the memory device.

[0230] Optionally, an operating system is also stored in the hard disk; the reading unit 1502 is also used to: copy the operating system in the hard disk to the memory if the operating system is not read from the memory device; start the operating system read from the memory; and copy the operating system in the memory to the memory device when a power-off signal from the motherboard is detected.

[0231] In another possible implementation, the memory device includes a CXL memory device.

[0232] For the detailed description of the above optional methods, please refer to the above method embodiments, which will not be repeated here. In addition, the explanation and description of the beneficial effects of any computing device startup device 1500 provided above can refer to the above corresponding method embodiments, which will not be repeated here.

[0233] The present application also provides a computer system, such as Figure 2 , Figure 3The computer system shown includes a computing device, a memory device and a first power supply, the memory device is connected to the first power supply, the computing device includes a motherboard, a CPU and a second power supply, the CPU is arranged on the motherboard, the second power supply supplies power to the CPU through the motherboard, and the CPU is connected to the memory device; the computing device is used to implement the method in the above embodiment.

[0234] The present application also provides a computing device, such as Figure 2 , Figure 3 The computing device shown includes a mainboard, a CPU and a second power supply, wherein the CPU is arranged on the mainboard, and the second power supply supplies power to the CPU through the mainboard. The computing device is used to implement the method in the above embodiment.

[0235] The method steps in the embodiments of the present application can be implemented by hardware or by CPU executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art.

[0236] In an exemplary embodiment, the storage medium is coupled to the CPU so that the CPU can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the CPU. The CPU and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a computing device. Of course, the CPU and the storage medium can also exist as discrete components in a network device or a terminal device.

[0237] The present application also provides a chip, which includes a CPU, for implementing the function of using an operating system in a memory device to start a computing device in the above method. In a possible design, the chip also includes a memory for storing program instructions and / or data. The chip can be composed of a chip, or can include a chip and other discrete devices.

[0238] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0239] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for starting a computing device, characterized in that: Used in a computer system, the computer system comprises a computing device, a memory device and a first power supply, the first power supply supplies power to the memory device, the computing device comprises a motherboard, a central processing unit (CPU) and a second power supply, the CPU is arranged on the motherboard, the second power supply supplies power to the CPU through the motherboard, and the CPU is connected to the memory device; the method comprises: When the mainboard is powered on, the CPU runs a basic input and output system BIOS; When the CPU finishes running the BIOS, the computing device is started using the operating system in the memory device.

2. The method according to claim 1, characterized in that The step of starting the computing device using the operating system in the memory device includes: The CPU instructs the memory device based on the BIOS, runs the operating system read from the memory device, and starts the computing device.

3. The method according to claim 1, characterized in that: The computing device further includes a memory and a hard disk, the second power supply supplies power to the memory through the mainboard, the memory is connected to the CPU, and the hard disk stores a boot program of an operating system; The step of starting the computing device using the operating system in the memory device includes: The CPU copies the boot program of the operating system in the hard disk to the memory; During the process of the CPU running the boot program, based on the boot program instructing the memory device, the operating system in the memory device is copied to the memory; The CPU runs the operating system read from the memory to start the computing device.

4. The method according to claim 2 or 3, characterized in that: The hard disk also stores the operating system; the method further includes: When the operating system is not stored in the memory device, the CPU copies the operating system in the hard disk to the memory device; The CPU boots the operating system from the memory device.

5. The method according to claim 4, characterized in that The CPU copies the operating system in the hard disk to the memory device, including: The CPU copies the boot program of the operating system in the hard disk to the memory device; During the process of the CPU running the boot program, the operating system in the hard disk is copied to the memory device based on the boot program instructing the memory device.

6. The method according to claim 2 or 3, characterized in that: The hard disk also stores the operating system; the method further includes: When the operating system is not stored in the memory device, the CPU copies the operating system in the hard disk to the memory; The CPU starts the operating system from the memory; When the CPU detects a power-off signal from the mainboard, the operating system in the memory is copied to the memory device.

7. A method for starting a computing device, characterized in that: Used in a computing device, the computing device comprises a mainboard, a central processing unit (CPU), and a second power supply, the CPU is arranged on the mainboard, and the second power supply supplies power to the CPU through the mainboard; the method comprises: When the mainboard is powered on, the CPU runs the BIOS; When the CPU finishes running the BIOS, reading the operating system in the memory device; The CPU uses the operating system in the memory device to start the computing device, and the memory device is powered by a first power supply.

8. The method according to claim 7, characterized in that The computing device further comprises a memory and a hard disk, the memory is connected to the CPU, and the hard disk stores a boot program of an operating system; Reading the operating system in the memory device includes: the CPU copies the boot program of the operating system in the hard disk to the memory; during the CPU running the boot program read from the memory, based on the boot program instructing the memory device, reading the operating system in the memory device; The CPU uses the operating system in the memory device to start the computing device, including: the CPU copies the operating system from the memory device to the memory; the CPU runs the operating system read from the memory to start the computing device.

9. The method according to claim 8, characterized in that The hard disk also stores the operating system; the method further includes: When the CPU fails to read the operating system from the memory device, the CPU copies the operating system in the hard disk to the memory; The CPU starts the operating system read from the memory; When the CPU detects a power-off signal from the mainboard, the operating system in the memory is copied to the memory device.

10. A computer system, characterized in that: The computer system includes a computing device, a memory device and a first power supply, the memory device is connected to the first power supply, the computing device includes a motherboard, a CPU and a second power supply, the CPU is arranged on the motherboard, the second power supply supplies power to the CPU through the motherboard, and the CPU is connected to the memory device; the CPU is used to start the computing device using the operating system in the memory device when the CPU finishes running the BIOS.

11. A computing device, characterized in that: The computing device includes a mainboard, a CPU and a second power supply, wherein the CPU is arranged on the mainboard, and the second power supply supplies power to the CPU through the mainboard; The CPU is used to run the BIOS when the mainboard is powered on; The CPU is also used to start the computing device using the operating system in the memory device when the CPU finishes running the BIOS, and the memory device is powered by a first power supply.