CN116166330A - Processing module shutdown method, array server and computer readable storage medium - Google Patents

Processing module shutdown method, array server and computer readable storage medium Download PDF

Info

Publication number
CN116166330A
CN116166330A CN202310158248.XA CN202310158248A CN116166330A CN 116166330 A CN116166330 A CN 116166330A CN 202310158248 A CN202310158248 A CN 202310158248A CN 116166330 A CN116166330 A CN 116166330A
Authority
CN
China
Prior art keywords
processing module
shutdown
module
signal
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310158248.XA
Other languages
Chinese (zh)
Inventor
吴大鹏
张定乾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qishuo Shenzhen Technology Co ltd
Original Assignee
Qishuo Shenzhen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qishuo Shenzhen Technology Co ltd filed Critical Qishuo Shenzhen Technology Co ltd
Priority to CN202310158248.XA priority Critical patent/CN116166330A/en
Publication of CN116166330A publication Critical patent/CN116166330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a processing module shutdown method, an array server and a computer readable storage medium. The method comprises the following steps: in response to acquiring a shutdown instruction, determining a processing module to be shutdown according to the shutdown instruction; sending a first signal to the processing module, wherein the first signal is used for controlling the processing module to execute a shutdown process; and when the second signal sent back by the processing module is received, cutting off a power supply circuit of the processing module. Therefore, the control module and the processing module in the array server can be controlled to be matched with each other, the power supply of the processing module is cut off after the processing module is controlled to be shut down, the problem that the processing module is restarted repeatedly after the processing module is shut down is avoided, the processing module is ensured to be shut down correctly, and data damage or loss is avoided.

Description

Processing module shutdown method, array server and computer readable storage medium
Technical Field
The application belongs to the technical field of server systems, and particularly relates to a processing module shutdown method, an array server and a computer readable storage medium.
Background
The array server is provided with a plurality of hot-pluggable blades, and one blade is provided with a control module and a plurality of processing modules. When all the processing modules on the blade are powered off after the blade is pulled out, the illegal powering-off mode can cause the probability of damage or loss of user memory area data on the processing modules on the blade, and even damage of a memory chip UFS (Universal Flash Storage, universal flash memory) or the processing modules. In addition, the processing module can be a ARM (Advanced RISC Machine) architecture chip, and 3 hardware starting circuits are simultaneously supported for an ARM architecture chip, namely KEY-POWER-ON, CHARGEJDN, CBL-PWR-ON. KEY-POWER-ON is POWER KEY ON, charge jdn is ON when the charger is plugged in, CBL-PWR-ON is ON immediately. Wherein, KEY-POWER-ON and charge jdn are both powered ON with external trigger condition, CBL-PWR-ON is not required. The processing module is an ARM array server of an ARM architecture chip and is in a CBL-PWR-ON startup mode, so that when an operating system of the processing module is shut down, the processing module is automatically started immediately at the moment of shutdown. Therefore, how to control the processing module in the ARM array server to shut down is a technical problem to be solved by those skilled in the art.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a processing module shutdown method, an array server, and a computer-readable storage medium capable of designating to control a proper shutdown of a certain processor in the array server.
The technical problem that this application solved is realized by adopting following technical scheme:
the application provides a shutdown method of a processing module, which is applied to a control module in an array server and comprises the following steps: in response to acquiring a shutdown instruction, determining a processing module to be shutdown according to the shutdown instruction; sending a first signal to the processing module, wherein the first signal is used for controlling the processing module to execute a shutdown process; and when the second signal sent back by the processing module is received, cutting off a power supply circuit of the processing module.
In an alternative embodiment of the present application, sending a first signal to a processing module includes: transmitting a first signal to the processing module for a first time; and/or, canceling interference generated when the first signal is transmitted.
In an alternative embodiment of the present application, when receiving the second signal sent back by the processing module, cutting off the power supply circuit of the processing module includes: and after receiving the second signal sent back by the processing module, cutting off the power supply circuit of the processing module in a second time.
In an alternative embodiment of the present application, the method further comprises: when the power failure of the array server is detected, controlling to start a temporary power supply module, wherein the temporary power supply module is used for supplying power for the array server at a third time; continuously sending a first signal to all the processing modules; when a second signal sent back by the processing module is received, cutting off a power supply circuit of the corresponding processing module; and after the power supply circuits of all the processing modules are cut off, the temporary power supply module is closed.
The application provides a shutdown method of a processing module, which is applied to the processing module in an array server and comprises the following steps: acquiring a first signal issued by a control module; executing a shutdown procedure to shutdown the processing module when the first signal duration is greater than the first time; and after the processing module is shut down, feeding back a second signal to the control module.
In an alternative embodiment of the present application, the method further comprises: executing a shutdown process to shut down the processing module in response to the shutdown instruction; and after the processing module is shut down, feeding back a second signal to the control module.
The application provides an array server, which comprises a control module and at least one processing module; the control module is used for executing a processing module shutdown method applied to the control module; the processing module is used for executing a processing module shutdown method applied to the processing module.
In an optional embodiment of the present application, the control module and the processing module are connected through a preset interface, where the preset interface includes any one of a PWM interface, an I2C interface, a UART interface, and a GPIO interface.
In an optional embodiment of the present application, the array server further includes a temporary power supply module: the temporary power supply module is connected with the control module and the processing module and is used for supplying power for the array server for a third time according to control.
The present application also provides a computer readable storage medium storing a computer program which when executed by a processor implements a method as described above.
By adopting the embodiment of the application, the method has the following beneficial effects:
the control module and the processing module in the array server can be controlled to be matched with each other, the power supply of the processing module is cut off after the processing module is powered off, the problem that the processing module is restarted repeatedly after the processing module is powered off is avoided, the processing module is ensured to be powered off correctly, and data damage or loss is avoided.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification, so that the foregoing and other objects, features and advantages of the present application can be more clearly understood, and the following detailed description of the preferred embodiments is given with reference to the accompanying drawings. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a flowchart of a shutdown method of a processing module applied to a control module according to an embodiment;
FIG. 2 is a flowchart of a shutdown method of a processing module according to an embodiment;
FIG. 3 is a schematic diagram illustrating a flow timing diagram of a control module for controlling a processing module to shut down according to an embodiment;
FIG. 4 is a schematic diagram illustrating a process sequence of a processing module self-controlling shutdown according to an embodiment;
fig. 5 is a schematic block diagram of an array server according to an embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
For the array server with ARM chips as the processing modules, the processing modules usually adopt CBL-PWR-ON hardware starting circuits, namely power-ON starting circuits, in order to facilitate the hot plug-in function and the functional requirements of the server. However, this brings a problem that the processing module cannot be normally shut down, and even if the processing module is shut down, the processing module is restarted immediately. And the forced shutdown can cause damage to the hardware of the processing module. How to correctly shut down a processing module in an array server which adopts an ARM architecture chip as the processing module, the application provides a shutdown method of the processing module. The method executed in the present embodiment is applied to the control module and includes steps S110 to S130. In order to clear the shutdown method of the processing module applied to the control module provided in this embodiment, please refer to fig. 1.
Step S110: and responding to the acquired shutdown instruction, and determining a processing module to be shutdown according to the shutdown instruction.
In one embodiment, an array server may be composed of a plurality of blades, with a control module and a plurality of processing modules disposed on one blade. The processing module is a part for realizing data processing in the array server, for example, the processing module can be a CPU of ARM architecture and the like; the control module is used for interacting with the outside and comprehensively realizing the control and management of a plurality of processing modules on the blade, such as shutdown operation mentioned in the application. The shutdown instruction may be input by an external control, or may be automatically generated by the processing module, which is not particularly limited. For example, when the external device needs to overhaul a certain processing module in the blade, a shutdown instruction is generated and sent to the control module to control and realize shutdown of the processing module. Or the control module finds that one processing module in the blade has operation faults and needs to be disconnected, and then the control module automatically generates and responds to a shutdown instruction. It can be seen that, since the control module manages a plurality of processing modules, the shutdown command actually needs to have directionality, that is, a certain processing module in the designated blade performs the shutdown operation. Therefore, when the control module acquires the shutdown instruction, the processing module needing shutdown is determined according to the shutdown instruction, and subsequent control is realized on the processing module.
Step S120: and sending a first signal to the processing module, wherein the first signal is used for controlling the processing module to execute a shutdown process.
In one embodiment, step S120: transmitting a first signal to a processing module, comprising: transmitting a first signal to the processing module for a first time; and/or, canceling interference generated when the first signal is transmitted.
In an embodiment, the first signal is sent to control the processing module to perform shutdown, which naturally affects the operation computing power of the array server, so that shutdown operation needs to be carefully performed, that is, shutdown caused by false triggering needs to be prevented. In this regard, in the process of transmitting the first signal in step S120, it is necessary to prevent the erroneous operation by the operation at the control module. Specific operations may include, but are not limited to, sending a first signal for a duration such that a processing module at the receiving end determines whether a shutdown requirement is actually present according to the length of the duration. The specific length of the first time is not specifically limited, and may be 1s, 3s, 5s, etc., which may be arbitrarily set according to practical situations. In addition, it can be understood that, since the array server includes a plurality of blades, one blade realizes overall control of a plurality of processing modules by one control module, and the control to realize shutdown is directional and purposeful. Therefore, interference is inevitably present in the transmission process of the first signal. For this, the interference generated during the transmission of the first signal by the control module is to be eliminated. An embodiment in which a control module and a processing module are connected by a GPIO interface (General-purpose input/output) is described. Assuming that the control module and the processing module are connected through the GPIO_1, whether the GPIO_1 outputs a first signal is respectively corresponding to the two states of high and low level: if GPIO_1 is high level, the processing module is in normal working state; if GPIO_1 is low, i.e., the first signal is output. Therefore, in the process of outputting the low level, the control module can eliminate interference such as level jitter and the like, so that the first signal can be output to the processing module according to the preset requirement. Based on the method, the first signal can be accurately, correctly and error-free transmitted to the processing module, so that abnormal shutdown of the processing module caused by error triggering is avoided, calculation force of the array server is influenced, and normal operation of the array server is ensured.
Step S130: and when the second signal sent back by the processing module is received, cutting off a power supply circuit of the processing module.
In one embodiment, step S130: when receiving the second signal sent back by the processing module, cutting off a power supply circuit of the processing module, and comprising: and after receiving the second signal sent back by the processing module, cutting off the power supply circuit of the processing module in a second time.
In one embodiment, as described above, the processing modules ON the array server are configured as hardware power-ON circuits for CBL-PWR-ON, i.e. power-ON. After the processing module is powered off according to the first signal, if the power supply to the processing module is still maintained, the processing module is powered on again, so that the failure of the power on is caused. For this, after the processing module is turned off, the power supply circuit of the processing module is turned off in time, so that the processing module is practically turned off. Specific operations require cooperation of processing modules, and operations performed by the processing modules will be described in detail below, and are not expanded herein. In short, the processing module sends a second signal for confirming that the processing module is shut down back to the control module after the shut down is confirmed. For this control module, it needs to grasp the window period at the shutdown moment and cut off the power supply of the processing module. That is, after receiving the second signal, the control module needs to cut off the power supply of the processing module in a second time. The second time specific value may be arbitrarily set, and in a preferred embodiment, the second time may be 50ms in consideration of the time of data processing, information transmission, i.e., the switching-off operation. And after the processing module feeds back the second signal, the power supply circuit corresponding to the processing module is cut off in time, so that the processing module is ensured to be capable of being accurately shut down, shutdown failure caused by repeated starting and damage to hardware are avoided, and normal operation of the array server is maintained.
In one embodiment, the method further comprises: when the power failure of the array server is detected, controlling to start a temporary power supply module, wherein the temporary power supply module is used for supplying power for the array server at a third time; continuously sending a first signal to all the processing modules; when a second signal sent back by the processing module is received, cutting off a power supply circuit of the corresponding processing module; and after the power supply circuits of all the processing modules are cut off, the temporary power supply module is closed.
In one embodiment, the foregoing embodiments are all cases where the specified processing module is powered down under normal operation. However, in actual situations, abnormal shutdown situations may occur, for example, the blade is illegally pulled out of the array server, or the machine room fails, which may cause abnormal shutdown of the processing module in the running process. In this case, the processing module cannot run continuously and must be shut down to protect the hardware. And when the control module detects that the array server is powered down, the temporary power supply module is controlled to be started. The temporary power supply module is arranged in each blade of the array server and can supply power for a third time length for all hardware in the blade. The third time length is determined by the capacitance of the temporary power supply module, the amount of hardware in the blade and the power consumption, and at least the time that all the processing modules can be shut down under the condition that the blade is fully loaded can be ensured, for example, the time length of 1 minute, 3 minutes, 5 minutes and the like can be used, and the method is not particularly limited. When the temporary power supply module is started, unlike the processing logic that the control module controls the corresponding processing module to be powered off according to the power-off instruction, in this embodiment, the control module needs to control the power-off of all the processing modules controlled by the temporary power supply module, that is, send the first signal to all the processing modules. The subsequent steps are similar to step S130, and each time the second signal sent back by one processing module is retracted, the power supply circuit of the processing module is correspondingly cut off. The control module may perform the power-off operation of the plurality of processing modules sequentially or simultaneously, and is not limited thereto. After the control module determines that the power supply circuits of all the processing modules are cut off, the temporary power supply module can be turned off, that is, the whole blade or the whole array server is normally turned off. Therefore, for the method flow provided by the embodiment, after the array server is illegally powered off, all the administered processing modules are controlled to enter the shutdown flow to realize shutdown by the power supply of the temporary power supply module, so that the processing modules are ensured to be correctly shut down, the data damage or the hardware damage is avoided, the normal use of the array server is greatly maintained, and the service life of the array server is prolonged.
Therefore, the control module and the processing module in the array server can be controlled to be matched with each other, the power supply of the processing module is cut off after the processing module is powered off, the problem that the processing module is restarted repeatedly after the processing module is powered off is avoided, the processing module is ensured to be powered off correctly, data damage or loss is avoided, the normal use of the array server is greatly maintained, and the service life of the array server is prolonged.
Fig. 2 is a flowchart of a process module shutdown method applied to a process module according to an embodiment, which specifically includes steps S210 to S230.
Step S210: and acquiring a first signal issued by the control module.
Step S220: and when the duration of the first signal is longer than the first time, executing a shutdown procedure to shutdown the processing module.
Step S230: and after the processing module is shut down, feeding back a second signal to the control module.
In an embodiment, in the process of shutting down the processing module in the array server, not only the control of the control module on the processing module, but also the cooperation control of the processing module is required to realize the whole process. Specifically, a shutdown process is executed according to the received first signal to save the existing operation data, stop the operation process, and shut down the power supply to carry out a sleep state so as to realize shutdown. In addition, to ensure accurate transmission of the first signal, it is also necessary to identify the first signal before performing the shutdown procedure, for example, whether the transmission time lasts for more than the first time, so as to prevent no triggering due to interference. In addition, if the first signal carries the designability information, the first signal can be analyzed to judge whether the shutdown instruction corresponding to the first signal is really designating self shutdown. The management flow is performed only if the first signal does specify that the processing module is powered off. Otherwise, the first signal is ignored and operation is continued. In addition, when the shutdown is completed, due to the characteristic set by the processing module in the array server, a second signal which is confirmed to be shutdown is fed back to the control module, so that the control module is coordinated to disconnect a power supply circuit of the processing module, the shutdown is practically realized, and the shutdown failure caused by restarting is avoided.
In one embodiment, the method further comprises: executing a shutdown process to shut down the processing module in response to the shutdown instruction; and after the processing module is shut down, feeding back a second signal to the control module.
In an embodiment, the foregoing embodiments are all used for explaining the process that the control module responds according to the shutdown instruction, and correspondingly controls shutdown of the corresponding processing module. However, in practice, the processing module may generate a shutdown instruction by itself in some situations during the actual operation, and for this purpose, the control module needs to cooperate to achieve a practical shutdown, so as to avoid restarting. The specific process is that when the processing module obtains the shutdown instruction by itself, the processing module shuts down by itself. And sending a second signal to the control module to request the control module to be matched with the power supply circuit of the disconnection processing module so as to practically realize shutdown and avoid shutdown failure caused by restarting.
Therefore, the control module and the processing module in the array server can be controlled to be matched with each other, the power supply of the processing module is cut off after the processing module is powered off, the problem that the processing module is restarted repeatedly after the processing module is powered off is avoided, the processing module is ensured to be powered off correctly, data damage or loss is avoided, the normal use of the array server is greatly maintained, and the service life of the array server is prolonged.
Fig. 3 is a schematic flow timing diagram of a control module for controlling a processing module to be turned off according to an embodiment, which specifically includes steps S310 to S350.
Step S310: the control module responds to the acquired shutdown instruction, and determines a processing module to be shutdown according to the shutdown instruction.
In one embodiment, an array server may be composed of a plurality of blades, with a control module and a plurality of processing modules disposed on one blade. The processing module is a part for realizing data processing in the array server, for example, the processing module can be a CPU of ARM architecture and the like; the control module is used for interacting with the outside and comprehensively realizing the control and management of a plurality of processing modules on the blade, such as shutdown operation mentioned in the application. The shutdown instruction may be input by an external control, or may be automatically generated by the processing module, which is not particularly limited. For example, when the external device needs to overhaul a certain processing module in the blade, a shutdown instruction is generated and sent to the control module to control and realize shutdown of the processing module. Or the control module finds that one processing module in the blade has operation faults and needs to be disconnected, and then the control module automatically generates and responds to a shutdown instruction. It can be seen that, since the control module manages a plurality of processing modules, the shutdown command actually needs to have directionality, that is, a certain processing module in the designated blade performs the shutdown operation. Therefore, when the control module acquires the shutdown instruction, the processing module needing shutdown is determined according to the shutdown instruction, and subsequent control is realized on the processing module.
Step S320: the control module continuously transmits a first signal to the processing module for a first time, and the first signal is used for controlling the processing module to execute a shutdown process.
In an embodiment, the first signal is sent to control the processing module to perform shutdown, which naturally affects the operation computing power of the array server, so that shutdown operation needs to be carefully performed, that is, shutdown caused by false triggering needs to be prevented. In this regard, in the process of transmitting the first signal in step S320, it is necessary to prevent the erroneous operation by the operation at the control module. Specific operations may include, but are not limited to, sending a first signal for a duration such that a processing module at the receiving end determines whether a shutdown requirement is actually present according to the length of the duration. The specific length of the first time is not specifically limited, and may be 1s, 3s, 5s, etc., which may be arbitrarily set according to practical situations. In addition, it can be understood that, since the array server includes a plurality of blades, one blade realizes overall control of a plurality of processing modules by one control module, and the control to realize shutdown is directional and purposeful. Therefore, interference is inevitably present in the transmission process of the first signal. For this, the interference generated during the transmission of the first signal by the control module is to be eliminated. The first signal can be accurately, correctly and correctly transmitted to the processing module, so that abnormal shutdown of the processing module caused by false triggering is avoided, calculation force of the array server is influenced, and normal operation of the array server is ensured.
Step S330: and when the processing module continuously acquires the first signal for the first time, executing a shutdown process to shutdown the processing module.
In an embodiment, in the process of shutting down the processing module in the array server, not only the control of the control module on the processing module, but also the cooperation control of the processing module is required to realize the whole process. Specifically, a shutdown process is executed according to the received first signal to save the existing operation data, stop the operation process, and shut down the power supply to carry out a sleep state so as to realize shutdown. In addition, to ensure accurate transmission of the first signal, it is also necessary to identify the first signal before performing the shutdown procedure, for example, whether the transmission time lasts for more than the first time, so as to prevent no triggering due to interference. In addition, if the first signal carries the designability information, the first signal can be analyzed to judge whether the shutdown instruction corresponding to the first signal is really designating self shutdown. The management flow is performed only if the first signal does specify that the processing module is powered off. Otherwise, the first signal is ignored and operation is continued.
Step S340: after the processing module is shut down, the processing module feeds back a second signal to the control module.
Step S350: and when the control module receives the second signal sent back by the processing module, cutting off a power supply circuit of the processing module.
In an embodiment, when the shutdown is completed, due to the characteristic set by the processing module in the array server, a second signal that has confirmed the shutdown needs to be fed back to the control module, so as to coordinate the control module to disconnect the power supply circuit of the processing module, thereby actually realizing the shutdown and avoiding the shutdown failure caused by restarting. In short, the processing module sends a second signal for confirming that the processing module is shut down back to the control module after the shut down is confirmed. For this control module, it needs to grasp the window period at the shutdown moment and cut off the power supply of the processing module. That is, after receiving the second signal, the control module needs to cut off the power supply of the processing module in a second time. The second time specific value may be arbitrarily set, and in a preferred embodiment, the second time may be 50ms in consideration of the time of data processing, information transmission, i.e., the switching-off operation. And after the processing module feeds back the second signal, the power supply circuit corresponding to the processing module is cut off in time, so that the processing module is ensured to be capable of being accurately shut down, shutdown failure caused by repeated starting and damage to hardware are avoided, and normal operation of the array server is maintained.
Therefore, the control module and the processing module in the array server can be controlled to be matched with each other, the power supply of the processing module is cut off after the processing module is powered off, the problem that the processing module is restarted repeatedly after the processing module is powered off is avoided, the processing module is ensured to be powered off correctly, data damage or loss is avoided, the normal use of the array server is greatly maintained, and the service life of the array server is prolonged.
Fig. 4 is a schematic flow timing diagram of a self-controlled shutdown of a processing module according to an embodiment, which specifically includes steps S410 to S430.
Step S410: the processing module executes a shutdown process to shutdown the processing module in response to the shutdown instruction
In an embodiment, the foregoing embodiments are all used for explaining the process that the control module responds according to the shutdown instruction, and correspondingly controls shutdown of the corresponding processing module. However, in practice, the processing module may generate a shutdown instruction by itself in some situations during the actual operation, and for this purpose, the control module needs to cooperate to achieve a practical shutdown, so as to avoid restarting. The specific process is that when the processing module obtains the shutdown instruction by itself, the processing module shuts down by itself. The processing module may automatically acquire the shutdown instruction, for example, may include automatically generating the shutdown instruction when the processing module is started or operated, and automatically overhauls that the system level fault exists and cannot be repaired, stopping operation, and waiting for overhauling.
Step S420: after the processing module is shut down, the processing module feeds back a second signal to the control module
Step S430: and when the control module receives the second signal sent back by the processing module, cutting off a power supply circuit of the processing module.
In an embodiment, when the shutdown is completed, due to the characteristic set by the processing module in the array server, a second signal that has confirmed the shutdown needs to be fed back to the control module, so as to coordinate the control module to disconnect the power supply circuit of the processing module, thereby actually realizing the shutdown and avoiding the shutdown failure caused by restarting. In short, the processing module sends a second signal for confirming that the processing module is shut down back to the control module after the shut down is confirmed. For this control module, it needs to grasp the window period at the shutdown moment and cut off the power supply of the processing module. That is, after receiving the second signal, the control module needs to cut off the power supply of the processing module in a second time. The second time specific value may be arbitrarily set, and in a preferred embodiment, the second time may be 50ms in consideration of the time of data processing, information transmission, i.e., the switching-off operation.
Therefore, the processing module can respond according to the shutdown instruction by itself in the operation process to finish the shutdown process, and the second signal is sent back to request the control module to be matched with the power supply circuit corresponding to the processing module to be cut off in time, so that the processing module is ensured to be shut down accurately, shutdown failure caused by repeated starting is avoided, damage to hardware is avoided, and normal operation of the array server is maintained.
Fig. 5 shows an array server. The array server 50 includes a control module a510 and at least one processing module a520; the control module A510 is used for executing a processing module shutdown method applied to the control module; the processing module a520 is configured to execute a processing module shutdown method applied to the processing module.
In an embodiment, the control module a510 and the processing module a520 are connected through a preset interface, where the preset interface includes any one of a PWM interface (Pulse width modulation ), an I2C interface (Inter-Integrated Circuit, internal integrated circuit), a UART interface (Universal Asynchronous Receiver-transceiver), and a GPIO interface.
In one embodiment, the array server 50 further includes a temporary power module: the temporary power supply module is connected with the control module a510 and the processing module a520, and is used for providing power for the array server 50 for a third time according to control.
In one embodiment, the present application also proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the steps of the method as described above,
those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A processing module shutdown method is applied to a control module in an array server and is characterized by comprising the following steps:
responding to a shutdown instruction, and determining a processing module to be shutdown according to the shutdown instruction;
sending a first signal to the processing module, wherein the first signal is used for controlling the processing module to execute a shutdown process;
and when receiving a second signal sent back by the processing module, cutting off a power supply circuit of the processing module.
2. The processing module shutdown method of claim 1, wherein the sending a first signal to the processing module comprises:
transmitting the first signal to the processing module for a first time; and/or the number of the groups of groups,
and eliminating interference generated when the first signal is transmitted.
3. The process module shutdown method of claim 1, wherein the switching off the power supply circuit of the process module when the second signal sent back by the process module is received comprises:
and after receiving a second signal sent back by the processing module, cutting off a power supply circuit of the processing module in a second time.
4. The processing module shutdown method of claim 1, wherein the method further comprises:
when the array server is detected to be powered down, controlling to start a temporary power supply module, wherein the temporary power supply module is used for supplying power for the array server at a third time;
continuously sending a first signal to all the processing modules;
when the second signal sent back by the processing module is received, cutting off a power supply circuit corresponding to the processing module;
and after the power supply circuits of all the processing modules are cut off, closing the temporary power supply module.
5. A processing module shutdown method is applied to a processing module in an array server and is characterized by comprising the following steps:
acquiring a first signal issued by a control module;
executing a shutdown procedure to shutdown the processing module when the first signal duration is greater than a first time;
and after the processing module is shut down, feeding back a second signal to the control module.
6. The processing module shutdown method of claim 5, wherein the method further comprises:
executing a shutdown process to shut down the processing module in response to the shutdown instruction;
and after the processing module is shut down, feeding back a second signal to the control module.
7. An array server, comprising a control module and at least one processing module;
the control module being adapted to perform the method of any one of claims 1 to 4;
the processing module is configured to perform the method of claim 5 or 6.
8. The array server of claim 7, wherein the control module and the processing module are connected by a preset interface, the preset interface comprising any one of a PWM interface, an I2C interface, a UART interface, a GPIO interface.
9. The array server of claim 7 or 8, further comprising a temporary power module:
the temporary power supply module is connected with the control module and the processing module and is used for supplying power for the array server for a third time according to control.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1 to 6.
CN202310158248.XA 2023-02-13 2023-02-13 Processing module shutdown method, array server and computer readable storage medium Pending CN116166330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310158248.XA CN116166330A (en) 2023-02-13 2023-02-13 Processing module shutdown method, array server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310158248.XA CN116166330A (en) 2023-02-13 2023-02-13 Processing module shutdown method, array server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116166330A true CN116166330A (en) 2023-05-26

Family

ID=86414433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310158248.XA Pending CN116166330A (en) 2023-02-13 2023-02-13 Processing module shutdown method, array server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116166330A (en)

Similar Documents

Publication Publication Date Title
CN101882085B (en) System starting method and embedded equipment
CN110445638B (en) Switch system fault protection method and device
US10788872B2 (en) Server node shutdown
US20150170753A1 (en) Refresh Apparatus and Electronic Device That Ensure Simplified Refresh Process of Flash Memory
US10102916B1 (en) Flash memory device having abnormal power protection
US12141575B2 (en) Method for upgrading CPLD and CPLD upgrading system, and computer-readable storage medium
CN114116280A (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN112034784B (en) Machining method, device, equipment and storage medium for machine tool
CN115568005B (en) Sleep control method of wireless control module, projector and storage medium
WO2020010864A1 (en) Data storage method, system, and device during abnormal shutdown, and readable storage medium
US9218029B2 (en) Method and system for resetting a SoC
CN116166330A (en) Processing module shutdown method, array server and computer readable storage medium
CN109471757A (en) A method and system for triggering NVDIMM-N backup during normal shutdown
CN117093403B (en) Watchdog control circuit, control method thereof and electronic equipment
CN113778732A (en) Method and device for fault location of service board
CN119127609A (en) Processor status monitoring method, device, equipment and medium
CN111078452A (en) BMC firmware image recovery method and device
US9529581B2 (en) Circuit and method for writing program codes of basic input/output system
CN116755538A (en) A memory power supply detection method, device, electronic equipment and storage medium
CN114218010B (en) Data backup and recovery method, system, terminal equipment and storage medium
CN118642582B (en) Power supply circuit, power supply method and server
CN119621157B (en) Method and device for detecting and recovering fault of operation system of AI (advanced technology attachment) server
CN119576098B (en) Edge server self-starting method, apparatus, computer equipment and storage medium
KR101587951B1 (en) Apparatus and method for backupping memory
CN119902804B (en) Peripheral Start-up Control Circuit and Method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination