A CPLD non-sensing upgrade method, system, storage medium and device

By introducing dual control signal modules and internal data recording mechanisms into CPLD, the problem of server power outage and business interruption during the CPLD upgrade process is solved, and stable upgrade under power on state and business stability under power off condition are achieved.

CN114860286BActive Publication Date: 2024-10-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210577671.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-25
Publication Date
2024-10-15
Estimated Expiration
2042-05-25

AI Technical Summary

Technical Problem

In the existing technology, the CPLD upgrade process may cause abnormal power outage or service interruption of the server, and the false triggering of the invisible upgrade function may cause power-on abnormalities, affecting user experience.

Method used

Introduce a dual control signal module into the server, use the PG signal and the control signal issued by the BMC through i2c to decide whether to trigger a non-inductive upgrade, and record key data inside the CPLD to ensure risk-free upgrade in the power on state.

Benefits of technology

Ensure the stable operation of the server system during the CPLD upgrade process, and ensure the stability of the business after the upgrade is completed under power off conditions, avoiding false triggering of the silent upgrade function and data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860286B_ABST
    Figure CN114860286B_ABST
Patent Text Reader

Abstract

The present invention provides a CPLD senseless upgrade method, system, storage medium and device, the method comprising: setting a senseless upgrade enable signal in a server, and the senseless upgrade enable signal is configured to be effective when a PG signal and a control signal are both high, and the control signal is low by default; the server is powered on, the CPLD controls the power-on timing, the PG signal is pulled high, and the BMC monitors and judges the server status; in response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM; the BMC sends a reload instruction to execute the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on; in response to the reload execution being completed, the CPLD recovers the key data from the UFM and releases the pin voltage latch. According to the present invention, the reliability and executability of the CPLD senseless upgrade are optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, in particular to the technical field of server control systems, and specifically to CPLD upgrade in a server control system. Background Art

[0002] CPLD (Complex Programmable Logic Device) is a programmable logic device widely used in server control systems. It is responsible for power switch control, power-on timing control, abnormal monitoring, and implementation of low-speed bus protocols such as i2c (simple bidirectional two-wire synchronous serial bus), SGPIO (Serial General-purpose input / output), eSPI (Enhanced Serial Peripheral Interface bus), etc. During the use of the server, it is inevitable to upgrade the CPLD code. How to ensure that the server does not lose power and the business does not need to be interrupted during the CPLD upgrade is a problem that technicians need to solve.

[0003] Currently, a common method is to use BMC to upgrade CPLD and trigger the hitless upgrade function of CPLD during the upgrade process. That is, during the upgrade process, CPLD will latch the current pin voltage to achieve the upgrade without powering off the board.

[0004] There are two ways to trigger the non-sensing upgrade:

[0005] First, use the GPIO (General-purpose input / output) of the BMC (Baseboard Manager Controller) to control the hitless_en-no-sense upgrade enable signal. When the BMC upgrades the CPLD, pull this signal high to make it effective. After the upgrade is completed, the CPLD sends an upgrade completion signal to the BMC, and the BMC pulls down hitless_en after receiving it. This upgrade completion signal can be sent via GPIO or reported to the BMC via i2c.

[0006] Second, use the PG (POWER GOOD) signal of an external device. This signal is always valid after being pulled high during the server power-on process and can be used as an enable signal for the CPLD non-sensing upgrade.

[0007] However, both of the above two methods have corresponding disadvantages or shortcomings.

[0008] When using the BMC's GPIO to control the hitless_en signal, if the BMC hangs during the upgrade process and the hitless_en signal loses control, the hitless upgrade function will fail and the CPLD will be unable to latch the current pin status. This may cause the server to power off abnormally, resulting in service interruption.

[0009] When the PG signal of other electronic devices on the board is used as the hitless_en signal, it can ensure that the hitless upgrade function always remains valid. However, when the server is powered on for the first time, the CPLD may not be loaded yet and the PG signal may be valid. This will mistakenly trigger the hitless upgrade function, causing the CPLD to latch the pin status during the power-on process, resulting in power-on abnormalities in the server.

[0010] In addition, no matter which method is used to control the hitless_en signal, the value of the internal register will be cleared during the CPLD upgrade process. This means that if the CPLD is upgraded when the server is powered on, it can ensure that the server does not lose power, but some services may become abnormal due to the clearing of the register. Upgrading in the power off state can reduce the risk but requires the service to be offline, which brings inconvenience to users.

[0011] Therefore, in view of the above-mentioned shortcomings and problems in the prior art, it is necessary to propose an optimized CPLD senseless upgrade method, which can ensure the effectiveness of the senseless upgrade function, prevent server power-on abnormalities due to false triggering of the senseless upgrade function, and ensure that user services are not affected. Summary of the invention

[0012] In view of this, the purpose of the present invention is to propose an improved CPLD hitless upgrade method, system, storage medium and device, so as to solve the problems in the prior art that the hitless_en signal of BMC hangs and loses control, resulting in failure of the hitless upgrade function, server power-on abnormality due to false triggering of the hitless upgrade function, and user business abnormality due to register clearing.

[0013] Based on the above purpose, on the one hand, the present invention provides a CPLD non-sensing upgrade method, wherein the method comprises the following steps:

[0014] A senseless upgrade enable signal is set in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default;

[0015] The server is powered on, CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status;

[0016] In response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM (User Flash Memory);

[0017] The BMC sends a reload command to perform the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on;

[0018] In response to the reload execution being completed, the CPLD restores the critical data from the UFM and releases the pin voltage latch.

[0019] In some embodiments of the CPLD senseless upgrade method according to the present invention, in response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM further includes:

[0020] In response to the completion of the server power-on process, the CPLD reports through the I2C that the server has entered the power-on state.

[0021] In some embodiments of the CPLD senseless upgrade method according to the present invention, in response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM further includes:

[0022] The value of the control signal is recorded in the register of the CPLD.

[0023] In some embodiments of the CPLD senseless upgrade method according to the present invention, in response to the reloading being completed, the CPLD recovers the key data from the UFM and releases the pin voltage latch further comprises:

[0024] In response to the reloading being completed, the CPLD releases the pin voltage latch after a certain delay.

[0025] Another aspect of the present invention further provides a CPLD non-sensing upgrade system, comprising:

[0026] An enable signal configuration module, wherein the enable signal configuration module is configured to set a senseless upgrade enable signal in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default;

[0027] A power-on control module, wherein the power-on control module is configured to power on the server, the CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status;

[0028] An enable signal validation module, wherein the enable signal validation module is configured to respond to monitoring that the server enters a power-on state, and the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM;

[0029] A senseless upgrade execution module, wherein the senseless upgrade execution module is configured so that the BMC sends a reload instruction to execute the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on;

[0030] The component state recovery module is configured to respond to the completion of the reload execution, and the CPLD recovers the key data from the UFM and releases the pin voltage latch.

[0031] According to some embodiments of the CPLD non-sensing upgrade system of the present invention, the enable signal validation module is further configured as follows:

[0032] In response to the completion of the server power-on process, the CPLD reports through the I2C that the server has entered the power-on state.

[0033] According to some embodiments of the CPLD non-sensing upgrade system of the present invention, the enable signal validation module is further configured as follows:

[0034] The value of the control signal is recorded in the register of the CPLD.

[0035] According to some embodiments of the CPLD non-sensing upgrade system of the present invention, the component state recovery module is further configured as follows:

[0036] In response to the reloading being completed, the CPLD releases the pin voltage latch after a certain delay.

[0037] In another aspect of the present invention, a computer-readable storage medium is provided, which stores computer program instructions, and when the computer program instructions are executed, any of the above-mentioned CPLD senseless upgrade methods according to the present invention is implemented.

[0038] In another aspect of the present invention, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, any one of the above-mentioned CPLD senseless upgrade methods according to the present invention is executed.

[0039] The present invention has at least the following beneficial technical effects: Based on the method of the present invention, the PG signal of other devices in the server is used as the hitless_en signal and the control signal sent by the BMC through i2c is used to determine whether the hitless upgrade should be triggered at present. And during the operation of the system, the internal resources of the CPLD are used to record key data to ensure that the CPLD can be upgraded without risk without poweroff. According to the present invention, it can ensure that the server system operation is stable during the CPLD upgrade process, and the internal resources of the CPLD are used to record key data during the operation process, and the business stability after the upgrade is completed can also be guaranteed under the power off condition. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.

[0041] In the figure:

[0042] Figure 1 A schematic diagram of a process flow of an embodiment of a CPLD senseless upgrade method according to the present invention is shown;

[0043] Figure 2 A schematic block diagram of an embodiment of a CPLD senseless upgrade method according to the present invention is shown;

[0044] Figure 3 A schematic block diagram of an embodiment of a CPLD senseless upgrade system according to the present invention is shown;

[0045] Figure 4 A schematic diagram showing an embodiment of a computer-readable storage medium for implementing a CPLD senseless upgrade method according to the present invention;

[0046] Figure 5 A hardware structure diagram of an embodiment of a computer device for implementing a CPLD senseless upgrade method according to the present invention is shown. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0048] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are intended to distinguish two non-identical entities or non-identical parameters with the same name. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, other steps or units inherent to a process, method, system, product or device that includes a series of steps or units.

[0049] Simply put, the concept of the present invention is based on establishing a dual control module inside the CPLD, introducing two control signals to control the senseless upgrade function, and recording internal key data in real time during server operation to ensure that the business is not affected after updating the CPLD in the power-on state. Figure 1 A schematic flow chart of an embodiment of a CPLD senseless upgrade method according to the present invention is shown.

[0050] To this end, a first aspect of the present invention provides a CPLD seamless upgrade method 100. Figure 2 A schematic block diagram of an embodiment of a CPLD senseless upgrade method according to the present invention is shown. Figure 2 In the illustrated embodiment, the method includes:

[0051] Step S110: setting a senseless upgrade enable signal in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default;

[0052] Step S120: The server is powered on, the CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status;

[0053] Step S130: In response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through the i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM;

[0054] Step S140: the BMC sends a reload instruction to execute the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on;

[0055] Step S150: In response to the reloading being completed, the CPLD recovers the key data from the UFM and releases the pin voltage latch.

[0056] In general, in view of the above problems existing in the prior art, the present invention establishes a dual control module inside the CPLD and introduces a senseless upgrade enable signal. That is, two signals are introduced to control the senseless upgrade function, and these two signals jointly affect the senseless upgrade enable signal. Therefore, in step S110, the senseless upgrade enable signal is set in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default.

[0057] Then, when the server is powered on, in step S120, the CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status. At this time, since the control signal is still low by default, although the PG signal has been pulled high, it is still ensured that no matter whether the PG signal is abnormal (for example, the PG signal is pulled high before the CPLD has finished loading), the non-sensing upgrade function will not be triggered by mistake when powered on.

[0058] On this basis, when the BMC detects that the server has entered the power-on state, in step S130, the BMC pulls up the control signal through i2c to make the senseless upgrade enable signal valid, thereby making the senseless upgrade function effective. When the CPLD needs to be upgraded, the BMC refreshes the data in the CPLD chip flash, and at this time the CPLD records the key data in the UFM to ensure that the data will not be lost after reloading.

[0059] Then in step S140, the BMC sends a reload instruction to execute the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on. In other words, the BMC sends a reload instruction, and since the hitless upgrade enable signal (hitless_en) is valid, the CPLD will latch the pin voltage to ensure that the server works normally without power failure. Since the BMC sends control instructions through i2c, the latest instruction it sends has been recorded in the CPLD, so even if the BMC hangs at this time, it will not affect the hitless upgrade function.

[0060] Finally, when the reloading is completed, in step S150, the CPLD recovers the key data from the UFM and releases the pin voltage latch. Specifically, after the reloading is completed, the CPLD reads the previously recorded key data from the UFM and then releases the pin, thereby realizing a senseless upgrade in the power-on state.

[0061] Based on the above embodiments, according to the method proposed in the present invention, a dual control module is established inside the CPLD, two control signals are introduced to control the senseless upgrade function, and internal key data is recorded in real time during the operation of the server to ensure that the business is not affected after the CPLD is updated in the power-on state. At the same time, the stability of the server system operation is ensured during the CPLD upgrade process, and the internal resources of the CPLD are used to record the key data during the operation process, so that the business stability after the upgrade is completed can be guaranteed under the power-off condition.

[0062] Combine the following Figure 1 and Figure 2 The method according to the present invention is further described.

[0063] The present invention uses the PG signal of a certain device as the hitless_en signal and uses the control signal sent by the BMC through i2c to determine whether the hitless upgrade should be triggered. In addition, during the operation of the system, the internal resources of the CPLD are used to record key data to ensure that the CPLD can be upgraded without risk without powering off. Figure 1 As shown, the method according to the present invention can be further implemented according to the following embodiments.

[0064] First of all, the senseless upgrade enable signal can only be triggered when the PG signal is high and the control signal sent by the BMC is also high. When the machine is powered on for the first time, the control signal of the BMC defaults to low, ensuring that the senseless upgrade function will not be mistakenly triggered when powered on regardless of whether the PG signal is abnormal (the abnormal state is that the PG signal is pulled high before the CPLD is loaded).

[0065] After that, when the server enters the power on state, the CPLD can report the current server status through i2c. After the BMC confirms that the server has been powered on, it can issue a command to pull the control signal high (it can also be pulled high before upgrading the CPLD). At this time, the hitless_en signal is valid. The value of the control signal will be recorded in the CPLD register and will not change with the BMC working state unless the BMC issues another command to change it.

[0066] Therefore, in some embodiments of the CPLD senseless upgrade method 100 according to the present invention, step S130: in response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM further includes: in response to the server power-on process being completed, the CPLD reports through i2c that the server enters the power-on state.

[0067] In addition, preferably, in some embodiments of the CPLD senseless upgrade method 100 according to the present invention, step S130: in response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM further includes: the value of the control signal is recorded in the register of the CPLD.

[0068] On this basis, when the CPLD needs to be upgraded, the BMC will first refresh the data in the CPLD chip flash. At this time, the CPLD will record the key data in the UFM (User Flash Memory, integrated in the CPLD chip) to ensure that the data will not be lost after reloading.

[0069] Then, BMC sends a reload command. At this time, because the hitless_en signal is valid, CPLD will latch the pin voltage to ensure that the server works normally without power failure. Because BMC sends control commands through i2c, the latest command sent has been recorded in CPLD. At this time, even if BMC hangs, it will not affect the senseless upgrade function.

[0070] Finally, after the reloading is completed, the CPLD will continue to latch the pins for a period of time (usually a few seconds). After completing the internal power-on sequence and reading the previously recorded key data from the UFM, the pins will be released, thereby achieving a senseless upgrade in the power-on state.

[0071] To this end, in some embodiments of the CPLD senseless upgrade method 100 according to the present invention, step S150: in response to the completion of the reloading, the CPLD recovers the key data from the UFM and releases the pin voltage latch further includes: in response to the completion of the reloading, the CPLD releases the pin voltage latch after a delay of a certain period of time.

[0072] In summary, according to the aforementioned embodiments of the present invention, the present invention establishes a dual control module inside the CPLD, introduces two control signals to control the hitless upgrade function, and records the internal key data in real time during the operation of the server to ensure that the business is not affected after the CPLD is updated in the power on state. That is to say, based on the method of the present invention, the PG signal of other devices in the server is used as the hitless_en signal and the control signal sent by the BMC through i2c is used to determine whether the hitless upgrade should be triggered at present. And during the operation of the system, the internal resources of the CPLD are used to record key data to ensure that the CPLD can be upgraded without risk without powering off. According to the present invention, it can ensure that the server system operation is kept stable during the CPLD upgrade process, and the internal resources of the CPLD are used to record the key data during the operation process, so that the business stability after the upgrade is completed can be guaranteed under the power off condition.

[0073] The second aspect of the present invention further provides a CPLD seamless upgrade system 200. Figure 3 FIG. 2 shows a schematic block diagram of an embodiment of a CPLD non-sensing upgrade system 200 according to the present invention. Figure 3 As shown, the system includes:

[0074] An enable signal configuration module 210, wherein the enable signal configuration module 210 is configured to set a senseless upgrade enable signal in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default;

[0075] A power-on control module 220, wherein the power-on control module 220 is configured to power on the server, the CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status;

[0076] The enable signal validation module 230 is configured to respond to monitoring that the server enters the power-on state, and the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM;

[0077] The senseless upgrade execution module 240 is configured so that the BMC sends a reload instruction to execute the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on;

[0078] The component state recovery module 250 is configured to respond to the completion of the reload execution, the CPLD recovers the key data from the UFM and releases the pin voltage latch.

[0079] According to some embodiments of the CPLD senseless upgrade system 200 of the present invention, the enable signal validation module 230 is further configured as follows: in response to the completion of the server power-on process, the CPLD reports to the server through i2c that it has entered the power-on state.

[0080] In some embodiments of the CPLD senseless upgrade system 200 according to the present invention, the enable signal validation module 230 is further configured to: record the value of the control signal in a register of the CPLD.

[0081] In some embodiments of the CPLD senseless upgrade system 200 according to the present invention, the component state recovery module 250 is further configured to: in response to the completion of the reloading, the CPLD releases the pin voltage latch after a certain delay.

[0082] A third aspect of the embodiments of the present invention further provides a computer-readable storage medium. Figure 4 A schematic diagram of a computer-readable storage medium of a CPLD non-sensing upgrade method provided according to an embodiment of the present invention is shown. Figure 4 As shown, the computer-readable storage medium 300 stores computer program instructions 310, which can be executed by a processor. When the computer program instructions 310 are executed, the method of any of the above embodiments is implemented.

[0083] It should be understood that, in the absence of mutual conflicts, all the embodiments, features and advantages described above for the CPLD senseless upgrade method according to the present invention are also applicable to the CPLD senseless upgrade system and storage medium according to the present invention.

[0084] According to a fourth aspect of the embodiments of the present invention, a computer device 400 is provided, including a memory 420 and a processor 410, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method of any one of the above embodiments is implemented.

[0085] like Figure 5 FIG. 1 is a schematic diagram of the hardware structure of a computer device for executing the CPLD non-sensing upgrade method provided by the present invention. Figure 5 The computer device 400 shown in FIG. 1 is taken as an example, and the computer device includes a processor 410 and a memory 420, and may also include: an input device 430 and an output device 440. The processor 410, the memory 420, the input device 430 and the output device 440 may be connected via a bus or other means. Figure 5 The bus connection is taken as an example. The input device 430 can receive input digital or character information and generate signal input related to the CPLD senseless upgrade. The output device 440 can include display devices such as a display screen.

[0086] The memory 420, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the resource monitoring method in the embodiment of the present application. The memory 420 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of the resource monitoring method, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 420 may optionally include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the local module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0087] The processor 410 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 420, that is, implements the method of the above method embodiment.

[0088] Finally, it should be noted that the computer-readable storage medium (e.g., memory) herein may be a volatile memory or a nonvolatile memory, or may include both a volatile memory and a nonvolatile memory. As an example and not by way of limitation, a nonvolatile memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. A volatile memory may include a random access memory (RAM), which may act as an external cache memory. As an example and not by way of limitation, RAM may be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to include, but are not limited to, these and other suitable types of memory.

[0089] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.

[0090] The various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure herein may be implemented or executed using the following components designed to perform the functions herein: a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and / or any other such configuration.

[0091] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.

[0092] It should be understood that, as used herein, the singular form "a" or "an" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the items listed in association. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.

[0093] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.

Claims

1. A CPLD non-sensing upgrade method, characterized in that: The following steps are involved: A senseless upgrade enable signal is set in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default; The server is powered on, CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status; In response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through the i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM; The BMC sends a reload command to perform the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on; In response to the reload being executed, the CPLD recovers the key data from the UFM and releases the pin voltage latch; In response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through the i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM further includes: In response to the completion of the server power-on process, the CPLD reports to the server through i2c that it has entered the power-on state; In response to monitoring that the server enters the power-on state, the BMC pulls up the control signal through the i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM further includes: The value of the control signal is recorded in the register of the CPLD; In response to the reloading being completed, the CPLD recovers the key data from the UFM and releases the pin voltage latch further comprising: In response to the reloading being completed, the CPLD releases the pin voltage latch after a certain delay.

2. A CPLD non-sensing upgrade system, characterized in that: include: An enable signal configuration module, wherein the enable signal configuration module is configured to set a senseless upgrade enable signal in the server, and the senseless upgrade enable signal is configured to be effective when the PG signal and the control signal are both high, and the control signal is low by default; A power-on control module, wherein the power-on control module is configured to power on the server, the CPLD controls the power-on sequence, the PG signal is pulled high, and the BMC monitors and determines the server status; An enable signal validation module, wherein the enable signal validation module is configured to respond to monitoring that the server enters a power-on state, and the BMC pulls up the control signal through i2c, so that the data in the CPLD chip flash is refreshed according to the upgrade requirements, wherein the CPLD records the key data in the UFM; A senseless upgrade execution module, wherein the senseless upgrade execution module is configured so that the BMC sends a reload instruction to execute the CPLD upgrade, and the CPLD latches the pin voltage to keep the server powered on; A component state recovery module, wherein the component state recovery module is configured to, in response to the reload execution being completed, the CPLD recovers the key data from the UFM and releases the pin voltage latch; The enable signal validation module is further configured as follows: In response to the completion of the server power-on process, the CPLD reports to the server through i2c that it has entered the power-on state; The enable signal validation module is further configured as follows: The value of the control signal is recorded in the register of the CPLD; The component state recovery module is further configured as follows: In response to the reloading being completed, the CPLD releases the pin voltage latch after a certain delay.

3. A computer-readable storage medium, characterized in that: Computer program instructions are stored, and when the computer program instructions are executed, the CPLD senseless upgrade method according to claim 1 is implemented.

4. A computer device comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the CPLD senseless upgrade method according to claim 1 is performed.