System startup methods and related computer systems
By introducing a boot unit into the computer system, which determines the boot mode and controls the operating mode of the central processing unit, the system security risks caused by data centralization are resolved, achieving the effects of efficient computing and risk diversification.
Patent Information
- Application Number
- CN202111541126.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-25
- Filing Date
- 2021-12-16
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2041-12-16
AI Technical Summary
While existing computer systems or servers are improving their computing power, the excessive concentration of data leads to increased system security risks.
By introducing a power-on unit into the computer system, the power-on mode is determined, and the power-on signal is transmitted to multiple central processing units (CPUs) to enable them to enter a multi-CPU power-on mode or an independent power-on mode, thereby achieving efficient computing and risk diversification.
This approach achieves both enhanced computing power and reduced system security risks, thereby improving system stability and efficiency.
Smart Images

Figure CN116166327B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a system boot method and related computer systems, particularly a system boot method and related computer systems that can achieve high-speed computing and mitigate system risks. Background Technology
[0002] In response to the demands of high-performance computing, cloud computing, and artificial intelligence (AI) computing, the demand for computing power in computer systems or servers has increased. Therefore, existing computer systems or servers have increased the number of CPU cores to improve computing power and data storage capacity.
[0003] However, because data processing is excessively concentrated in a single computer system or server, a partial overload of the central processing unit (CPU) can lead to significant data corruption. Therefore, how to mitigate system security risks while enhancing the computing power of a computer system or server is one of the important issues in this field. Summary of the Invention
[0004] In view of this, the present invention provides a system boot method and related computer system to mitigate the risks of computer systems while ensuring high-speed operation.
[0005] This invention discloses a system boot method for a computer system comprising multiple central processing units (CPUs). The computer system further includes a boot unit. The system boot method includes the boot unit determining a boot mode of the computer system; transmitting a boot signal regarding the boot mode to the multiple CPUs of the computer system; and the multiple CPUs entering a multi-CPU boot mode or an independent boot mode according to the boot signal.
[0006] This invention also discloses a computer system comprising a plurality of central processing units (CPUs); and a power-on unit for determining a power-on mode of the computer system, transmitting a power-on signal regarding the power-on mode to the plurality of CPUs of the computer system, and the plurality of CPUs entering a multi-CPU power-on mode or an independent power-on mode according to the power-on signal. Attached Figure Description
[0007] Figure 1 This is a schematic diagram of a computer system according to an embodiment of the present invention.
[0008] Figure 2 and Figure 3 This is a schematic diagram of a power-on mode according to an embodiment of the present invention.
[0009] Figure 4 and Figure 5 This is a schematic diagram of a computer system according to an embodiment of the present invention.
[0010] Figure 6 and Figure 7 This is a schematic diagram of a system power-on method according to an embodiment of the present invention.
[0011] Explanation of symbols in the attached drawings:
[0012] 10, 40, 50, Computer system;
[0013] 60, 70, System startup method;
[0014] 602-614, 702-718, Steps;
[0015] AUX_power, power supply;
[0016] BU, power-on unit;
[0017] BU_1, BU_2, power-on modules;
[0018] CPU_1, CPU_2, Central Processing Unit;
[0019] MB, motherboard;
[0020] LU, logic unit;
[0021] MUX, data multiplexer. Detailed Implementation
[0022] Please refer to Figure 1 , Figure 1This is a schematic diagram of a computer system 10 according to an embodiment of the present invention. The computer system 10 includes multiple Central Processing Units (CPUs) CPU_1, CPU_2, and a power-on unit (BU). The computer system 10 can be a server or a computer system equipped with multiple processors. The CPUs CPU_1 and CPU_2 can be single-core processors or multi-core processors, such as a single-core processor, a quad-core processor, or a sixty-four-core processor. The power-on unit (BU) determines a power-on mode of the computer system 10 and transmits a power-on signal regarding the power-on mode to the CPUs CPU_1 and CPU_2 of the computer system 10, causing the CPUs CPU_1 and CPU_2 to enter a multi-CPU power-on mode or an independent power-on mode according to the power-on signal. For example, the power-on unit (BU) can be a Baseboard Manager Controller (BMC) or a module with power-on functionality, used to manage the system power of the computer system 10. In this way, the computer system 10 of this embodiment can switch between different boot modes, allowing the central processing units CPU_1 and CPU_2 to enter the same operating system to achieve high-efficiency computing, or allowing the central processing units CPU_1 and CPU_2 to enter different operating systems independently to disperse system risks.
[0023] It is worth noting that this invention does not limit the number of central processing units (CPUs), and computer systems containing other numbers of CPUs are also applicable to this invention. That is, in another embodiment, the number of CPUs can be three or more, and is not limited to two CPUs.
[0024] For details, please refer to Figure 2 and Figure 3 , Figure 2 and Figure 3 This is a schematic diagram of the power-on mode according to an embodiment of the present invention. Figure 2 as well as Figure 3 The diagram shows a motherboard (MB) containing multiple central processing units (CPU_1, CPU_2, ...). Figure 2 The illustration shows that in a multi-CPU boot mode, CPUs CPU_1, CPU_2, ... can connect to each other during operation to enter the same operating system and process the same thread or program.
[0025] In other words, in multi-CPU boot mode, the CPUs CPU_1, CPU_2... of the computer system 10 in this embodiment of the invention work together to achieve high-efficiency computing speed. On the other hand, Figure 3The illustration shows that in independent boot mode, the central processing units CPU_1, CPU_2... boot up independently to enter different operating systems, so as to process different threads or programs simultaneously, thereby dispersing the risk of system security.
[0026] Regarding the method for determining the boot mode of computer system 10, in one embodiment, the boot unit BU determines the boot mode based on a hardware state or a firmware state of computer system 10. For example, the boot unit BU may change the boot mode based on a pin change of computer system 10, or a user changing the boot mode in the firmware of computer system 10. Therefore, when computer system 10 restarts, the boot unit BU communicates with the central processing units CPU_1 and CPU_2 through a communication interface, such as an enhanced serial peripheral interface bus (eSPI) or a quad serial peripheral interface bus (QSPI).
[0027] In one embodiment, please refer to Figure 4 This is a schematic diagram of a computer system 40 according to an embodiment of the present invention. Unlike computer system 10, computer system 40 further includes a logic unit LU and a data multiplexer MUX, wherein the logic unit LU can be a Complex Programmable Logic Device (CPLD) or a Field Programmable Gate Array (FPGA). Figure 4 As shown, when CPU_1 and CPU_2 enter multi-CPU boot mode, the boot unit BU determines that CPU_1 is the primary CPU. The boot unit BU then uses an Inter-Integrated Circuit (IIC) bus to control the boot process. 2 C) Communicate with the logic unit LU, and then the logic unit LU transmits the power-on signal to the central processing units CPU_1 and CPU_2. In addition, the logic unit LU can modify the signal states of the central processing units CPU_1 and CPU_2 according to the power-on signal, and output general-purpose input / output (GPIO) signals to the data multiplexer MUX or related components on the motherboard MB, so that the signals of other components on the motherboard MB can operate correctly.
[0028] It is worth noting that, in another embodiment, the power-on unit BU can also directly transmit the power-on signal to the central processing units CPU_1 and CPU_2, and determine the central processing unit CPU_1 as the main central processing unit according to the power-on mode, without being restricted to transmitting the power-on signal to the central processing units CPU_1 and CPU_2 through the logic unit LU.
[0029] In addition, when Figure 4 When the central processing units CPU_1 and CPU_2 of the computer system 40 enter the independent boot mode, the boot unit BU determines that each of the central processing units CPU_1 and CPU_2 is the main central processing unit, and transmits the corresponding boot signal to the central processing units CPU_1 and CPU_2 through the logic unit LU.
[0030] Please refer to Figure 5 , Figure 5 This is a schematic diagram of a computer system 50 according to an embodiment of the present invention. The difference between this system and computer system 40 is that... Figure 5 The boot unit (BU) contains multiple boot modules, such as BU_1 and BU_2. For example... Figure 5 As shown, when the power-on unit BU contains multiple power-on modules BU_1 and BU_2, power-on module BU_1 of the power-on unit BU is used to manage the system power of the computer system 10. Power-on module BU_1 confirms that the power-on unit BU contains a first number of power-on modules and performs work allocation for other power-on modules in the power-on unit BU through an integrated circuit bus communication interface. The power-on unit BU can determine the first number of power-on modules in the power-on unit BU through firmware changes on the motherboard MB, voltage level changes, or by detecting whether hardware pins are connected. For example, the power-on unit BU can confirm through the integrated circuit bus communication interface that the power-on unit BU contains power-on modules BU_1 and BU_2 (i.e., the first number is two). Then, each power-on module BU_1 and BU_2 reads a signal level to determine whether it is a primary power-on module (i.e., the power-on module used to manage the system power). For example, when the signal level read by the power-on module BU_1 is low, it means that the power-on module BU_1 is the main power-on module; when the signal level read by the power-on module BU_1 is high, it means that the power-on module BU_1 is not the main power-on module.
[0031] It is worth noting that the power-on module BU_1 (i.e., the main power-on module) used to manage the system power of the computer system 10 can be preset or set by the user via firmware. That is to say, when the power-on module BU_1 is damaged, the system power can be managed by the power-on module BU_2, either according to the preset conditions of the computer system 10 or by the user.
[0032] exist Figure 5 In this embodiment, the power-on module BU_1 can determine the corresponding power-on mode (i.e., multi-CPU power-on mode or independent power-on mode) based on the firmware or hardware status of the computer system 50, and transmit the power-on signal to the CPUs CPU_1 and CPU_2 through the logic unit LU. The logic unit LU can modify the signal states of the CPUs CPU_1 and CPU_2 based on the power-on signal, and output general-purpose input / output signals to the data multiplexer MUX or related components on the motherboard MB, ensuring that the signals of other components on the motherboard MB can operate correctly.
[0033] The signal detection procedures described above for computer system 40 and 50 can be summarized as system startup methods 60 and 70, such as... Figure 6 and Figure 7 As shown. System boot method 60 corresponds to Figure 4 An embodiment of the computer system 40 includes the following steps:
[0034] Step 602: Begin.
[0035] Step 604: Power on the power-on unit (BU);
[0036] Step 606: The boot unit (BU) determines the boot mode of the computer system 40;
[0037] Step 608: The power-on unit (BU) notifies the logic unit (LU) of the power-on signal regarding the power-on mode;
[0038] Step 610: The logic unit LU sends a power-on signal to the central processing unit CPU_1 and CPU_2 to change the signal state of the central processing unit CPU_1 and CPU_2;
[0039] Step 612: CPU_1 and CPU_2 enter the multi-CPU boot mode or the independent boot mode according to the power-on signal;
[0040] Step 614: End.
[0041] In addition, system boot method 70 corresponds to Figure 5 An embodiment of the computer system 50 includes the following steps:
[0042] Step 702: Begin.
[0043] Step 704: Power on the power-on unit (BU);
[0044] Step 706: Determine the first quantity of power-on modules BU_1 and BU_2 in the power-on unit BU;
[0045] Step 708: Determine that the power-on module BU_1 in the power-on unit BU manages the system power of the computer system 50;
[0046] Step 710: The boot module BU_1 determines the boot mode of the computer system 50;
[0047] Step 712: The power-on module BU_1 notifies the logic unit LU of the power-on signal regarding the power-on mode;
[0048] Step 714: The logic unit LU sends a power-on signal to the central processing unit CPU_1 and CPU_2 to change the signal state of the central processing unit CPU_1 and CPU_2;
[0049] Step 716: CPU_1 and CPU_2 enter the multi-CPU boot mode or the independent boot mode according to the power-on signal;
[0050] Step 718: End.
[0051] The operating procedures for system startup methods 60 and 70 can be found in the embodiments of computer systems 10, 40, and 50 described above, and will not be repeated here.
[0052] It should be noted that those skilled in the art can design computer systems appropriately according to different system requirements. For example, the number of central processing units or boot modules, the configuration of communication interfaces of components in the computer system, etc., can all be adjusted according to the needs of the system, and are not limited thereto, and all fall within the scope of this invention.
[0053] In summary, the present invention provides a system boot method and related computer system, which switches the computer system to a multi-CPU boot mode or an independent boot mode to improve the computing power of the computer system or server and mitigate system security risks.
[0054] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be included in the scope of the present invention.
Claims
1. A system boot method for a computer system comprising multiple central processing units, said computer system further comprising a boot unit, characterized in that, The system startup method includes: The power-on unit determines a power-on mode of the computer system; The power-on signal of the power-on mode is transmitted to the plurality of central processing units of the computer system; and The plurality of central processing units (CPUs) enter a multi-CPU startup mode or an independent startup mode according to the power-on signal. The first power-on module of the power-on unit is used to manage a system power supply of the computer system; The multi-CPU boot mode is the Multiple central processing units (CPUs) enter the same operating system to process the same thread or program. The independent boot mode is that the multiple CPUs independently enter different operating systems to process different threads or programs simultaneously. When the power-on unit contains multiple power-on modules, the first power-on module of the power-on unit confirms that the power-on unit contains a first number of power-on modules through an integrated circuit bus communication interface.
2. The system startup method according to claim 1, characterized in that, The power-on unit determines the power-on mode based on a hardware state or a firmware state of the computer system.
3. The system startup method according to claim 1, characterized in that, The power-on unit transmits the power-on signal to the plurality of central processing units through a communication interface.
4. The system power-on method according to claim 3, characterized in that, The number of power-on modules is determined by a firmware method or a hardware method.
5. The system startup method according to claim 3, characterized in that, The first power-on module of the power-on unit determines one of the plurality of central processing units as a primary central processing unit.
6. The system power-on method according to claim 1, characterized in that, Also includes: When the plurality of central processing units enter the multi-CPU boot mode, the boot unit determines a first central processing unit among the plurality of central processing units as a primary central processing unit. as well as The power-on unit transmits the power-on signal to the plurality of central processing units via a logic unit.
7. The system power-on method according to claim 1, characterized in that, Also includes: When the plurality of central processing units enter the independent boot mode, the boot unit determines each of the plurality of central processing units as a primary central processing unit; and The power-on unit transmits the power-on signal to the plurality of central processing units via a logic unit.
8. A computer system, characterized in that, Includes: Multiple central processing units; and A power-on unit is used to determine a power-on mode of the computer system, transmit a power-on signal about the power-on mode to the plurality of central processing units of the computer system, and the plurality of central processing units enter a multi-CPU power-on mode or an independent power-on mode according to the power-on signal. The first power-on module of the power-on unit is used to manage a system power supply of the computer system; The multi-CPU boot mode is in which multiple CPUs enter the same operating system to process the same thread or program, while the independent boot mode is in which multiple CPUs independently enter different operating systems to process different threads or programs simultaneously. When the power-on unit contains multiple power-on modules, the first power-on module of the power-on unit confirms that the power-on unit contains a first number of power-on modules through an integrated circuit bus communication interface.
9. The computer system according to claim 8, characterized in that, The power-on unit determines the power-on mode based on a hardware state or a firmware state of the computer system.
10. The computer system according to claim 8, characterized in that, The power-on unit transmits the power-on signal to the plurality of central processing units through a communication interface.
11. The computer system according to claim 8, characterized in that, The number of the plurality of power-on modules is determined by a firmware method or a hardware method.
12. The computer system according to claim 8, characterized in that, The first power-on module of the power-on unit determines one of the plurality of central processing units as a primary central processing unit.
13. The computer system according to claim 8, characterized in that, When the plurality of central processing units enter the multi-CPU power-on mode, the power-on unit determines a first central processing unit of the plurality of central processing units as a primary central processing unit; and the power-on unit transmits the power-on signal to the plurality of central processing units via a logic unit.
14. The computer system according to claim 8, characterized in that, When the plurality of central processing units enter the independent power-on mode, the power-on unit determines each of the plurality of central processing units as a primary central processing unit; and the power-on unit transmits the power-on signal to the plurality of central processing units via a logic unit.
Citation Information
Patent Citations
Information processing device, management device, and program
JP2019046148A
Offloading the processing of a network protocol stack
US20120030457A1
