WO2024109026A1 - 服务器中断操作执行方法、装置、设备及存储介质 - Google Patents

服务器中断操作执行方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024109026A1
WO2024109026A1 PCT/CN2023/102843 CN2023102843W WO2024109026A1 WO 2024109026 A1 WO2024109026 A1 WO 2024109026A1 CN 2023102843 W CN2023102843 W CN 2023102843W WO 2024109026 A1 WO2024109026 A1 WO 2024109026A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
component
interrupt
steady
reduction module
Prior art date
Application number
PCT/CN2023/102843
Other languages
English (en)
French (fr)
Inventor
张帅豪
Original Assignee
苏州元脑智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州元脑智能科技有限公司 filed Critical 苏州元脑智能科技有限公司
Publication of WO2024109026A1 publication Critical patent/WO2024109026A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3293Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • 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

Definitions

  • the present application relates to the technical field of server interruption operation execution, and in particular to a server interruption operation execution method, a server interruption operation execution device, an electronic device, and a computer non-volatile readable storage medium.
  • the BBU battery back-up unit
  • the BBU battery back-up unit
  • the embodiments of the present application provide a method, device, electronic device and computer non-volatile readable storage medium for executing server interruption operations to solve the problem of how to improve the efficiency of power-off protection.
  • the embodiment of the present application discloses a method for executing a server interrupt operation, wherein the server is used to execute a power-off operation, and the server includes a first component that does not participate in the power-off operation and is not coupled with the power-off operation, a second component that does not participate in the power-off operation but is coupled with the power-off operation, and a third component that participates in the power-off operation and is coupled with the power-off operation.
  • the method may include:
  • the second power-off interrupt information is sent to the third component to control the third component to perform a third interrupt operation.
  • the first component is a transient power reduction component
  • the second component and the third component are steady-state power reduction components.
  • the server is configured with a logic programming device CPLD, and may also include:
  • a logic programming device CPLD is used to filter the first power-off interrupt information and the second power-off interrupt information.
  • the server is configured with a transient power reduction module for a first component, the first component is an uncoupled data hard disk, and the transient power reduction module is used to provide a corresponding first hard disk power switch for the uncoupled data hard disk.
  • the step of sending the first power-off interrupt information to the first component to control the first component to perform the first interrupt operation may include:
  • a first power-off interrupt message is sent to the first component, so as to use the logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch.
  • the server is configured with a steady-state power consumption reduction module for the second component, the second component is an interface card, and the steady-state power consumption reduction module is used to provide a corresponding interface card power switch for the interface card.
  • the step of sending the second power-off interrupt information to the second component to control the second component to perform the second interrupt operation may include:
  • the interface card When the error reporting function is in a closed state, the interface card is closed through a power switch of the interface card using a logic programming device CPLD.
  • it may also include:
  • the server is configured with a steady-state power consumption reduction module for the second component, the second component is a coupled data hard disk, and the steady-state power consumption reduction module is used to provide a corresponding second hard disk power switch for the coupled data hard disk.
  • the step of sending the second power-off interrupt information to the second component to control the second component to perform the second interrupt operation may include:
  • the coupled data hard disk is closed through the second hard disk power switch by using the logic programming device CPLD.
  • it may also include:
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is an onboard chip
  • the steady-state power consumption reduction module is used to provide a corresponding onboard chip power switch for the onboard chip
  • the step of sending the second power-off interrupt information to the second component to control the second component to perform the second interrupt operation may include:
  • the onboard chip is closed by using a logic programming device CPLD through an onboard chip power switch.
  • it may also include:
  • the server is configured with a steady-state power consumption reduction module for the third component
  • the third component is a central processing unit
  • the steady-state power consumption reduction module is used to provide a corresponding central processing unit frequency reduction interface for the central processing unit
  • the step of sending the second power-off interrupt information to the third component to control the third component to perform a third interrupt operation may include:
  • a second power-off interrupt message is sent to the central processing unit, so as to use the steady-state power reduction module to reduce the frequency of the central processing unit and/or the operating voltage and/or the interface signal for the central processing unit through the central processing unit frequency reduction interface.
  • the server is configured with a steady-state power consumption reduction module for a third component
  • the third component is a memory device
  • the steady-state power consumption reduction module is used to provide a corresponding memory device frequency reduction interface for the memory device
  • the step of sending the second power-off interrupt information to the third component to control the third component to perform a third interrupt operation may include:
  • a second power-off interrupt message is sent to the memory device, so as to use the steady-state power reduction module to reduce the frequency of the memory device and/or the operating voltage and/or the interface signal for the memory device through the memory device frequency reduction interface.
  • the server includes an air cooling component
  • the server is configured with a transient power reduction module for the air cooling component
  • the transient power reduction module is used to configure a corresponding air cooling component switch for the air cooling component
  • the method may further include:
  • the third power-off interrupt information is sent to the air-cooling component, so as to shut down the air-cooling component through the air-cooling component switch by using the logic programming device CPLD.
  • it may also include:
  • the logic programming device CPLD is used to turn on the air cooling component through the air cooling component switch.
  • the method may further include:
  • Whether the mains power supply is stopped is determined by the power supply signal of the logic programming device CPLD.
  • the embodiment of the present application also discloses a server interruption operation execution device, the server is used to execute a power-off operation, the server includes a first component that does not participate in the power-off operation and is not coupled with the power-off operation, a second component that does not participate in the power-off operation but is coupled with the power-off operation, and a third component that participates in the power-off operation and is coupled with the power-off operation.
  • the device may include:
  • An interruption information generating module for generating first power-off interruption information for the first component and second power-off interruption information for the second component and the third component when it is determined that the mains power supply is stopped;
  • a first interrupt information sending module used for sending first power-off interrupt information to the first component to control the first component to perform a first interrupt operation
  • a second interrupt information sending module used for sending second power-off interrupt information to the second component to control the second component to perform a second interrupt operation
  • the third interrupt information sending module is used to send the second power-off interrupt information to the third component to control the third component to perform a third interrupt operation.
  • the first component is a transient power reduction component
  • the second component and the third component are steady-state power reduction components.
  • the server is configured with a logic programming device CPLD, and may also include:
  • the interruption information filtering module uses a logic programming device CPLD to filter the first power-off interruption information and the second power-off interruption information.
  • the server is configured with a transient power reduction module for the first component
  • the first component is an uncoupled data hard disk
  • the transient power reduction module is used to provide a corresponding first hard disk power switch for the uncoupled data hard disk
  • the first interrupt information sending module may include:
  • the first interrupt information sending submodule is used to send the first power-off interrupt information to the first component, so as to use the logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is an interface card
  • the steady-state power consumption reduction module is used to provide a corresponding interface card power switch for the interface card
  • the second interrupt information sending module may include:
  • the interface card interrupt information sending submodule is used to send the second power-off interrupt information to the interface card to disable the error reporting function of the steady-state power reduction module;
  • the interface card shutdown submodule is used to shut down the interface card through the interface card power switch using the logic programming device CPLD when the error reporting function is in a closed state.
  • it may also include:
  • the interface card uninstall submodule is used to uninstall the interface card through the steady-state power reduction module.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is a coupled data hard disk
  • the steady-state power consumption reduction module is used to provide a corresponding second hard disk power switch for the coupled data hard disk
  • the second interrupt information sending module may include:
  • the data hard disk interrupt information sending submodule is used to send a second power-off interrupt information to the coupled data hard disk to disable the error reporting function of the steady-state power reduction module;
  • the data hard disk shutdown submodule is used to use the logic programming device CPLD to shut down the coupled data hard disk through the second hard disk power switch when the error reporting function is in a closed state.
  • it may also include:
  • the data hard disk unloading submodule is used to unload the coupled data hard disk through the steady-state power consumption reduction module.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is an onboard chip
  • the steady-state power consumption reduction module is used to provide a corresponding onboard chip power switch for the onboard chip
  • the second interrupt information sending module may include:
  • An onboard chip interrupt information sending submodule used for sending a second power-off interrupt information to the onboard chip to disable the error reporting function of the steady-state power reduction module
  • the onboard chip shutdown submodule is used to shut down the onboard chip through the onboard chip power switch using the logic programming device CPLD when the error reporting function is in a closed state.
  • it may also include:
  • the onboard chip unloading submodule is used to unload the onboard chip through the steady-state power reduction module.
  • the server is configured with a steady-state power consumption reduction module for the third component
  • the third component is a central processing unit
  • the steady-state power consumption reduction module is used to provide a corresponding central processing unit frequency reduction interface for the central processing unit
  • the third interrupt information sending module may include:
  • the central processing unit interrupt information sending submodule is used to send a second power-off interrupt information to the central processing unit, so as to adopt the steady-state power reduction module to reduce the frequency of the central processing unit and/or the working voltage and/or the interface signal for the central processing unit through the central processing unit frequency reduction interface.
  • the server is configured with a steady-state power consumption reduction module for the third component
  • the third component is a memory device
  • the steady-state power consumption reduction module is used to provide a corresponding memory device frequency reduction interface for the memory device
  • the third interrupt information sending module may include:
  • the memory device interrupt information sending submodule is used to send a second power-off interrupt information to the memory device, so as to adopt a steady-state power reduction module to reduce the frequency of the memory device through the memory device frequency reduction interface, and/or the operating voltage, and/or the interface signal for the memory device.
  • the server includes an air cooling component
  • the server is configured with a transient power reduction module for the air cooling component
  • the transient power reduction module is used to configure a corresponding air cooling component switch for the air cooling component
  • the device may further include:
  • the air cooling component interruption information generating module is used to generate the third power-off interruption information for the air cooling component
  • the air-cooling component interruption information sending module is used to send the third power-off interruption information to the air-cooling component, so as to close the air-cooling component through the air-cooling component switch by using the logic programming device CPLD.
  • it may also include:
  • the air-cooling component start-up module is used to turn on the air-cooling component through the air-cooling component switch using the logic programming device CPLD when completing sending the first power-off interrupt information to the first component to control the first component to perform the first interrupt operation, and completing sending the second power-off interrupt information to the second component and the third component to control the second component to perform the second interrupt operation, and controlling the third component to perform the third interrupt operation.
  • it may also include:
  • a power supply signal acquisition module used to acquire a power supply signal
  • the power supply signal judgment module is used to judge whether the mains power supply is stopped through the power supply signal by means of the logic programming device CPLD.
  • the embodiment of the present application also discloses an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
  • Memory used to store computer programs
  • the processor is used to implement the method of the embodiment of the present application when executing the program stored in the memory.
  • the embodiment of the present application also discloses a computer non-volatile readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method as in the embodiment of the present application.
  • first power-off interrupt information is generated for the first component
  • second power-off interrupt information is generated for the second component and the third component
  • the first power-off interrupt information is sent to the first component to control the first component to perform a first interrupt operation
  • the second power-off interrupt information is sent to the second component to control the second component to perform a second interrupt operation
  • the second power-off interrupt information is sent to the third component to control the third component to perform a third interrupt operation, thereby achieving targeted execution of interrupt operations on components of different categories when the server performs a power-off operation, thereby effectively improving the power-off protection efficiency.
  • FIG1 is a flow chart of the steps of a method for executing a server interrupt operation provided in an embodiment of the present application
  • FIG2 is a structural block diagram of a server interruption operation execution device provided in an embodiment of the present application.
  • FIG3 is a hardware structure block diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a computer non-volatile readable storage medium provided in an embodiment of the present application.
  • Step 101 when it is determined that the mains power supply is stopped, generating first power-off interruption information for the first component and second power-off interruption information for the second component and the third component;
  • Step 102 sending first power-off interrupt information to the first component to control the first component to perform a first interrupt operation
  • Step 103 sending second power-off interrupt information to the second component to control the second component to perform a second interrupt operation
  • Step 104 Send second power-off interrupt information to the third component to control the third component to perform a third interrupt operation.
  • the embodiments of the present application can be applied to, but not limited to, servers, PCs (Personal Computers) or other hardware devices with storage functions.
  • a server is a type of computer that runs faster, has a higher load, and is more expensive than an ordinary computer.
  • the server provides computing or application services for other clients (such as PCs, smart phones, ATMs (Automated Teller Machines) and other terminals, and even large equipment such as train systems) in the network.
  • the server has high-speed CPU (Central Processing Unit) computing power, long-term reliable operation, powerful I/O external data throughput, and better scalability.
  • CPU Central Processing Unit
  • the server of the embodiment of the present application can be used to perform a power-off operation, which may refer to a protection process executed by the server to protect stored data from being lost when the mains power supply is stopped.
  • AC industrial frequency alternating current
  • voltage voltage
  • current current
  • frequency common quantities of AC: voltage, current, and frequency.
  • Common AC power frequencies in countries around the world are 50Hz (hertz) and 60Hz (hertz), and the civilian AC voltage distribution ranges from 100V to 380V.
  • the computer room generally introduces three-phase 380V, 50HZ mains power as the power supply, but the power of the equipment is
  • the source rectifier module uses a single-phase 220V voltage.
  • the server of an embodiment of the present application may include a first component that does not participate in the power-off operation and is not coupled with the power-off operation.
  • the first component may be a component or device that does not participate in the power-off operation and is not coupled with the power-off operation when the server performs the power-off operation, such as a SAS/SATA data hard disk.
  • the server of the embodiment of the present application may also include a second component that does not participate in the power-off operation but is coupled with the power-off operation.
  • the second component may be a component or device that does not participate in the power-off operation but is coupled with the power-off operation when the server performs the power-off operation, such as an interface card, a coupled data hard disk, an onboard chip, etc.
  • the server of the embodiment of the present application may also include a third component that participates in the power-off operation and is coupled with the power-off operation.
  • the third component may be a component or device that participates in the power-off operation and is coupled with the power-off operation when the server implements the power-off operation, such as a central processing unit, a memory device, etc.
  • the first component, the second component and the third component of the embodiment of the present application are all devices that can reduce power consumption when the server performs a power-off operation.
  • a core invention point of the embodiment of the present application is that by performing an interrupt operation on the first component, the second component and the third component when the server performs a power-off operation, the power consumption of the first component, the second component and the third component is reduced, thereby reducing the probability of stored data being lost during power-off.
  • the embodiment of the present application may define the components that are not coupled with the power-off operation when the server performs a power-off operation as transient power reduction components, that is, the first component may be defined as a transient power reduction component, and the components that are coupled with the power-off operation when the server performs a power-off operation may be defined as steady-state power reduction components, that is, the second component and the third component may be defined as steady-state power reduction components.
  • the difference between the transient power reduction component and the steady-state power reduction component is that the transient power reduction component is a component that is not coupled with the power-off operation when the server performs the power-off operation, so it can be directly interrupted when the server performs the power-off operation, while the steady-state power reduction component is a component that is coupled with the power-off operation when the server performs the power-off operation, so other processes need to be executed on it before it can be interrupted when the server performs the power-off operation.
  • the steady-state power consumption reduction component also includes components that participate in the power-off operation and components that do not participate in the power-off operation when the server performs the power-off operation.
  • the embodiment of the present application can generate first power-off interruption information for the first component and second power-off interruption information for the second component and the third component when it is determined that the mains power supply is stopped.
  • the server of the embodiment of the present application may further include a power failure notification module. After generating the first power failure interruption information for the first component and the second power failure interruption information for the second component and the third component, the embodiment of the present application may respectively send the first power failure interruption information to the first component, send the second power failure interruption information to the second component, and send the third component Send the second power-off interrupt message.
  • the first power-off interrupt information can be used to control the first component to perform a first interrupt operation
  • the second power-off interrupt information can be used to control the second component to perform a second interrupt operation
  • the third component to perform a third interrupt operation.
  • first power-off interrupt information is generated for the first component
  • second power-off interrupt information is generated for the second component and the third component
  • the first power-off interrupt information is sent to the first component to control the first component to perform a first interrupt operation
  • the second power-off interrupt information is sent to the second component to control the second component to perform a second interrupt operation
  • the second power-off interrupt information is sent to the third component to control the third component to perform a third interrupt operation, thereby achieving targeted execution of interrupt operations on components of different categories when the server performs a power-off operation, thereby effectively improving the power-off protection efficiency.
  • the server is configured with a logic programming device CPLD, and further includes:
  • a logic programming device CPLD is used to filter the first power-off interrupt information and the second power-off interrupt information.
  • the embodiment of the present application can configure a logic programming device CPLD in the server.
  • CPLD Complex Programmable Logic Device
  • CPLD is the abbreviation of Complex PLD, a logic element more complex than PLD.
  • CPLD is a digital integrated circuit with logic functions that users can construct according to their own needs. Its basic design method is to use the integrated development software platform, schematic diagrams, hardware description languages and other methods to generate the corresponding target files, and transmit the code to the target chip through a download cable ("in-system" programming) to realize the designed digital system.
  • the server system may be relatively unstable.
  • the embodiment of the present application can use a logic programming device CPLD to filter the first power-off interrupt information and the second power-off interrupt information.
  • the first power-off interrupt information and the second power-off interrupt information are subjected to a 10us steady-state. Steady state is a term for the power system. After all transient effects disappear, the system maintains the state when all input variables remain constant.
  • a logic programming device CPLD is used to filter the first power-off interrupt information and the second power-off interrupt information, thereby improving the success rate of successfully sending the power-off interrupt information to each component, thereby further improving the power-off protection efficiency.
  • the server is configured with a transient power reduction module for the first component, the first component is an uncoupled data hard disk, and the transient power reduction module is used to provide a corresponding first hard disk power switch for the uncoupled data hard disk.
  • the step of sending first power-off interrupt information to the first component to control the first component to perform a first interrupt operation includes:
  • a first power-off interrupt message is sent to the first component, so as to use the logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch.
  • the embodiment of the present application may configure a transient power reduction module for the first component for the server, and the transient power reduction module may be a module for reducing power consumption for the transient power reduction component.
  • the transient power consumption reduction module of the embodiment of the present application can be used to provide a corresponding first hard disk power switch for an uncoupled data hard disk.
  • the uncoupled data hard disk can be a data hard disk that is uncoupled during power-off operation.
  • the uncoupled data hard disk is a SAS/SATA data hard disk.
  • SAS Serial Attached SCSI
  • SATA Serial ATA
  • SATA Serial ATA
  • serial port hard drives are the mainstream of computer mechanical hard drives and have basically replaced traditional PATA hard drives.
  • the full name of SATA is Serial Advanced Technology Attachment.
  • Serial ATA uses a serial connection method.
  • the serial ATA bus uses an embedded clock signal and has a stronger error correction capability. Compared with the past, its biggest difference is that it can check the transmission instructions (not just data). If an error is found, it will be automatically corrected, which greatly improves the reliability of data transmission.
  • the serial interface also has the advantages of simple structure and hot-swappable support.
  • the first hard disk power switch can be a general-purpose input/output interface GPIO for non-coupled data hard disks.
  • GPIO International: General-purpose input/output
  • GPO general-purpose output
  • GPIO general-purpose input and output
  • a pin can be used for input, output or other special functions, there must be registers to select these functions.
  • the pin potential can be determined by reading a certain register; for output, the pin can be made to output a high potential or a low potential by writing a certain register; for other special functions, there are other registers to control them.
  • the uncoupled data hard disk of the embodiment of the present application can be a transient power reduction component.
  • the transient power reduction component can be a component that is not coupled with the power-off operation when the server performs a power-off operation, it can be directly interrupted when the server performs a power-off operation. Therefore, the embodiment of the present application can send a first power-off interrupt information to the uncoupled data hard disk, so as to directly use the logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch.
  • the embodiment of the present application sends a first power-off interrupt message to the first component, and uses a logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch, thereby achieving targeted interrupt operations on transient power reduction components, thereby further improving the power-off protection efficiency.
  • CPLD logic programming device
  • the server is configured with a steady-state power consumption reduction module for the second component, the second component is an interface card, and the steady-state power consumption reduction module is used to provide a corresponding interface card power switch for the interface card.
  • the step of sending second power-off interrupt information to the second component to control the second component to perform a second interrupt operation includes:
  • the interface card When the error reporting function is in a closed state, the interface card is closed through a power switch of the interface card using a logic programming device CPLD.
  • the embodiment of the present application may configure a steady-state power consumption reduction module for the second component for the server, and the steady-state power consumption reduction module may be a module for reducing power consumption for the steady-state power consumption reduction component.
  • the interface card can be used as the second component, and the interface card can be a WAN interface card.
  • Modules and interface cards are for mid-to-high-end modular routers and switch products. For fixed-configuration routers and switches, modules and interface cards are not involved.
  • network modules are developed to expand LAN functions, while interface cards mostly refer to WAN interface cards.
  • routers and switch products can easily achieve more efficient WAN access.
  • the advantage of using modular design products is that they can effectively protect user investment and truly realize on-demand purchase.
  • the products can be powerfully expanded to meet the needs of expanding business. For example, through network modules, the Cisco 2600 series can be customized to meet the needs of any network service.
  • the wide applications of these modules include: multi-service voice and data integration, analog and ISDN dial-up, ATM access, low-density switching, intrusion detection, serial device integration, etc.
  • Some of these network modules have integrated interfaces and can be used directly; some have no interfaces, only slots, and need to install interface cards to use; some have both interfaces and slots, and interface cards may not be used or selected according to the situation.
  • the steady-state power reduction module of the embodiment of the present application can be used to provide a corresponding interface card power switch for the interface card.
  • the interface card switch can be a general input/output interface GPIO for the interface card.
  • the interface card of the embodiment of the present application can be a steady-state power reduction component.
  • the steady-state power reduction component can be a component coupled with the power-off operation when the server performs a power-off operation, when the server performs a power-off operation, other processes need to be executed on it before an interrupt operation can be performed on it.
  • the embodiment of the present application can send a second power-off interrupt information to the interface card to turn off the error reporting function of the steady-state power reduction module to avoid triggering an exception when the power of the interface card is turned off, and when the error reporting function is in the off state, the logic programming device CPLD is used to turn off the interface card through the interface card power switch.
  • the embodiment of the present application sends a second power-off interrupt message to the interface card to turn off the error reporting function of the steady-state power reduction module; when the error reporting function is in the off state, the logic programming device CPLD is used to turn off the interface card through the interface card power switch, thereby achieving targeted interrupt operations on the steady-state power reduction components, thereby further improving the power-off protection efficiency.
  • the present embodiment in order to further reduce the power consumption of the interface card, can also unload the interface card through a steady-state power consumption reduction module, that is, the embodiment of the present application can unload the interface card through a steady-state power consumption reduction module, thereby further reducing the power consumption of the interface card, thereby further improving the power-off protection efficiency.
  • the server is configured with a steady-state power reduction module for the second component, the second component is a coupled data hard disk, and the steady-state power reduction module is used to provide a corresponding second hard disk power switch for the coupled data hard disk.
  • the step of sending second power-off interrupt information to the second component to control the second component to perform a second interrupt operation includes:
  • the coupled data hard disk is closed through the second hard disk power switch by using the logic programming device CPLD.
  • the embodiment of the present application may configure a steady-state power consumption reduction module for the second component for the server, and the steady-state power consumption reduction module may be a module for reducing power consumption for the steady-state power consumption reduction component.
  • the second component of the embodiment of the present application may be a coupled data hard disk.
  • the coupled data hard disk may be a data hard disk coupled to a power-off operation during a power-off operation.
  • the coupled data hard disk can be an NVMe data hard disk.
  • NVMe solid state drive is a solid state drive with a standard interface protocol developed for PCIe. NVMe solid state drive removes various restrictions imposed by the old standard on traditional solid state drives SSD (Solid State Disk or Solid State Drive, referred to as SSD), supports all common operating systems, has good scalability, and has the advantages of low latency, low energy consumption, high performance, etc.
  • the traditional AHCI protocol has strong compatibility, but when used with an SSD connected via a PCIe (PCI-Express, peripheral component interconnect express, a high-speed serial computer expansion bus standard) bus, it cannot provide the best performance.
  • PCIe PCI-Express, peripheral component interconnect express, a high-speed serial computer expansion bus standard
  • NVMe The planning of NVMe makes full use of the low latency and parallelism of PCIe SSD, and takes into account the processor and platform architecture to maximize the performance of SSD. Solid state drives have faster read and write speeds than mechanical hard drives. Most machines use the SATA bus standard, and the actual maximum transmission of NVMe is about 600MB/s.
  • the steady-state power reduction module of the embodiment of the present application can be used to provide a corresponding second hard disk power switch for the coupled data hard disk.
  • the second hard disk power switch can be a general input/output interface GPIO for the coupled data hard disk.
  • the coupled data hard disk of the embodiment of the present application can be a steady-state power reduction component.
  • the steady-state power reduction component can be a component coupled with the power-off operation when the server performs a power-off operation, when the server performs a power-off operation, other processes need to be executed on it before the operation can be interrupted.
  • the embodiment of the present application can send a second power-off interrupt information to the coupled data hard disk to turn off the error reporting function of the steady-state power reduction module to avoid triggering an exception when the power of the coupled data hard disk is turned off, and when the error reporting function is in the off state, the logic programming device CPLD is used to turn off the coupled data hard disk through the second hard disk power switch.
  • a second power-off interrupt message is sent to the coupled data hard disk to turn off the error reporting function of the steady-state power reduction module; when the error reporting function is in the off state, a logic programming device CPLD is used to turn off the coupled data hard disk through the second hard disk power switch, thereby realizing targeted interrupt operations on the steady-state power reduction component, thereby further improving the power-off protection efficiency.
  • the present embodiment in order to further reduce the power consumption of the coupled data hard disk, can also unload the coupled data hard disk through a steady-state power reduction module, that is, the embodiment of the present application can unload the coupled data hard disk through a steady-state power reduction module, further reducing the power consumption of the coupled data hard disk, thereby further improving the power-off protection efficiency.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is an onboard chip
  • the steady-state power consumption reduction module is used to provide a corresponding onboard chip power switch for the onboard chip
  • the step of sending second power-off interrupt information to the second component to control the second component to perform a second interrupt operation includes:
  • the onboard chip is closed by using a logic programming device CPLD through an onboard chip power switch.
  • the embodiment of the present application may configure a steady-state power consumption reduction module for the second component for the server, and the steady-state power consumption reduction module may be a module for reducing power consumption for the steady-state power consumption reduction component.
  • the second component of the embodiment of the present application may be an onboard chip.
  • the onboard chip may be a chip coupled with a power-off operation during the power-off operation.
  • the onboard chip may be a SAS/FC/PCIe switch chip.
  • the SAS chip can be a chip using SAS technology.
  • FC chip also known as flip chip, is a pinless structure that generally contains circuit units. It is designed to be electrically and mechanically connected to the circuit through an appropriate number of solder balls (covered by conductive adhesive) located on its surface.
  • PCIe switches provide expansion or aggregation capabilities and allow more devices to be connected to a PCle port. They act as packet routers, identifying which path a given packet needs to take based on the address or other routing information. They are a PCIe to PCIe bridge, and PCIe switches are chips with PCIe switch technology.
  • the steady-state power reduction module of the embodiment of the present application can be used to provide a corresponding onboard chip power switch for the onboard chip.
  • the onboard chip power switch can be a general input/output interface GPIO for the onboard chip.
  • the onboard chip of the embodiment of the present application can be a steady-state power reduction component. In practical applications, since the steady-state power reduction component can be a component coupled with the power-off operation when the server performs the power-off operation, other processes need to be executed on it when the server performs the power-off operation.
  • the embodiment of the present application can send a second power-off interrupt information to the onboard chip to turn off the error reporting function of the steady-state power reduction module to avoid triggering an exception when the onboard chip power is turned off, and when the error reporting function is in the off state, the logic programming device CPLD is used to turn off the onboard chip through the onboard chip power switch.
  • a second power-off interrupt message is sent to the onboard chip to turn off the error reporting function of the steady-state power reduction module; when the error reporting function is in the off state, the onboard chip is turned off by the onboard chip power switch using a logic programming device CPLD, thereby achieving targeted interrupt operations on the steady-state power reduction component, thereby further improving the power-off protection efficiency.
  • the present embodiment in order to further reduce the power consumption of the onboard chip, can also unload the onboard chip through a steady-state power consumption reduction module. That is, the embodiment of the present application can unload the onboard chip through a steady-state power consumption reduction module, thereby further reducing the power consumption of the onboard chip and further improving the power-off protection efficiency.
  • the server is configured with a steady-state power consumption reduction module for a third component
  • the third component is a central processing unit
  • the steady-state power consumption reduction module is used to provide a corresponding central processing unit frequency reduction interface for the central processing unit
  • the step of sending a second power-off interrupt information to the third component to control the third component to perform a third interrupt operation includes:
  • a second power-off interrupt message is sent to the central processing unit, so as to use the steady-state power reduction module to reduce the frequency of the central processing unit and/or the operating voltage and/or the interface signal for the central processing unit through the central processing unit frequency reduction interface.
  • the embodiment of the present application can configure a steady-state power consumption reduction module for the server for the third component, and the steady-state power consumption reduction module can be a module that reduces power consumption for the steady-state power consumption reduction component.
  • the third component of the embodiment of the present application may be a central processing unit.
  • the central processing unit may be a component that both participates in the power-off operation and is coupled with the power-off operation during the power-off operation.
  • a computer processor is a functional unit that interprets and executes instructions. It is also called the central processing unit or CPU. It is the central nervous system of the computer, in contrast to the devices around the processor and memory, which are called peripherals. For example, keyboards, monitors, disks, tape drives, etc. are all peripherals.
  • Each processor has a unique set of operating commands, which can be called the processor's instruction set. Operation commands such as store, load, etc. are all operating commands. Computer designers like to call computers machines, so instruction sets are sometimes called machine instructions, and the binary language in which these instructions are written is also called machine language.
  • the central processing unit (CPU) is the computing core and control core of a computer.
  • the steady-state power reduction module of the embodiment of the present application can be used to provide a corresponding central processing unit frequency reduction interface for the central processing unit.
  • the central processing unit frequency reduction interface can be a kernel API (Application Programming Interface) for the central processing unit.
  • the central processing unit of the embodiment of the present application can be a steady-state power reduction component participating in the power-off operation.
  • the embodiment of the present application can send a second power-off interrupt message to the central processing unit to use the steady-state power reduction module to reduce the frequency of the central processing unit through the central processing unit frequency reduction interface, and/or the operating voltage, and/or the interface signal for the central processing unit, such as the CPU_HOT (CPU overheat) signal.
  • CPU_HOT CPU overheat
  • a steady-state power reduction module is used to reduce the frequency of the central processing unit and/or the operating voltage and/or the interface signal of the central processing unit through the central processing unit frequency reduction interface, thereby achieving targeted interrupt operations on steady-state power reduction components participating in the power-off operation, thereby further improving the power-off protection efficiency.
  • the server is configured with a steady-state power consumption reduction module for a third component
  • the third component is a memory device
  • the steady-state power consumption reduction module is used to provide a corresponding memory device frequency reduction interface for the memory device, and to provide the third component with a steady-state power consumption reduction module.
  • the step of sending the second power-off interrupt information to control the third component to perform the third interrupt operation includes:
  • a second power-off interrupt message is sent to the memory device, so as to use the steady-state power reduction module to reduce the frequency of the memory device and/or the operating voltage and/or the interface signal for the memory device through the memory device frequency reduction interface.
  • the embodiment of the present application can configure a steady-state power consumption reduction module for the server for the third component, and the steady-state power consumption reduction module can be a module that reduces power consumption for the steady-state power consumption reduction component.
  • the third component of the embodiment of the present application may be a memory device.
  • the memory device may be a component that both participates in the power-off operation and is coupled with the power-off operation during the power-off operation.
  • Memory is an important part of the computer, also known as internal memory and main memory. It is used to temporarily store the calculation data in the CPU and the data exchanged with external memory such as hard disk. It is a bridge for communication between external memory and CPU. All programs in the computer run in memory. The strength of memory performance affects the overall performance of the computer. As long as the computer starts running, the operating system will transfer the data to be calculated from the memory to the CPU for calculation. When the calculation is completed, the CPU will transmit the result.
  • the steady-state power reduction module of the embodiment of the present application can be used to provide a corresponding memory device frequency reduction interface for the memory device.
  • the memory device frequency reduction interface can be an API for the memory device.
  • the memory device of the embodiment of the present application can be a steady-state power reduction component participating in the power-off operation.
  • the embodiment of the present application can send a second power-off interrupt message to the memory device to use the steady-state power reduction module to reduce the frequency of the memory device through the memory device frequency reduction interface, and/or the operating voltage, and/or the interface signal for the memory device, for example, the MEM_HOT (memory overheat) signal.
  • MEM_HOT memory overheat
  • a steady-state power reduction module is used to reduce the frequency of the memory device and/or the operating voltage and/or the interface signal of the memory device through the memory device frequency reduction interface, thereby achieving targeted interrupt operations on the steady-state power reduction components involved in the power-off operation, thereby further improving the power-off protection efficiency.
  • the server includes an air cooling component
  • the server is configured with a transient power reduction module for the air cooling component
  • the transient power reduction module is used to configure a corresponding air cooling component switch for the air cooling component
  • the method further includes:
  • the third power-off interrupt information is sent to the air-cooling component, so as to close the air-cooling component through the air-cooling component switch by using the logic programming device CPLD.
  • the air cooling component of the embodiment of the present application may be a component that participates in the power-off operation but is not coupled with the power-off operation. Therefore, a transient power reduction module for the air cooling component may be configured for the server.
  • the transient power consumption reduction module of the embodiment of the present application can be used to provide a corresponding air cooling component switch for the air cooling component.
  • the air cooling component of the embodiment of the present application may be a heat dissipation fan.
  • the air cooling component switch may be a general purpose input/output interface GPIO for the air cooling component.
  • the air-cooling component of the embodiment of the present application may be a transient power reduction component.
  • the transient power reduction component may be a component that is not coupled with the power-off operation when the server performs the power-off operation, it may be directly interrupted when the server performs the power-off operation. Therefore, when it is determined that the AC power supply is stopped, the embodiment of the present application may generate third power-off interrupt information for the air-cooling component and send the third power-off interrupt information to the air-cooling component, so as to directly use the logic programming device CPLD to turn off the air-cooling component through the air-cooling component switch.
  • the embodiment of the present application sends a first power-off interrupt message to the first component, and uses a logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch, thereby achieving targeted interrupt operations on transient power reduction components participating in the power-off operation, thereby further improving the power-off protection efficiency.
  • CPLD logic programming device
  • the air cooling component is turned on through the air cooling component switch by using the logic programming device CPLD.
  • the embodiment of the present application can use a logic programming device CPLD to turn on the air cooling component through the air cooling component switch when completing sending the first power-off interrupt information to the first component to control the first component to perform the first interrupt operation, and completing sending the second power-off interrupt information to the second component and the third component to control the second component to perform the second interrupt operation, and controlling the third component to perform the third interrupt operation.
  • CPLD logic programming device
  • the logic programming device CPLD is used to turn on the air cooling component through the air cooling component switch, which not only ensures that the power consumption of each component is reduced when the server performs the power-off operation, but also, when the power-off operation is completed, the server can be cooled by the air cooling component to avoid data loss due to overheating and damage of the server, thereby improving the power-off protection efficiency and the security of the data during the power-off protection.
  • the step before the step of generating the first power-off interrupt information for the first component and the second power-off interrupt information for the second component and the third component, the step further includes:
  • Whether the mains power supply is stopped is determined by the power supply signal of the logic programming device CPLD.
  • the time required to determine whether a power outage occurs directly determines the efficiency of power-off protection.
  • the shorter the time required to determine whether a power outage occurs the faster the power-off operation can be performed.
  • the embodiment of the present application can obtain a power supply signal, and determine whether the AC power supply has stopped by using the power supply signal through the logic programming device CPLD.
  • the AC power supply signal is connected to the system's general interrupt controller through the CPLD.
  • the CPLD captures the change in the PS_OK signal, thereby determining whether the AC power supply has stopped.
  • the embodiment of the present application obtains the power supply signal; determines whether the AC power supply is stopped through the power supply signal by the logic programming device CPLD, thereby improving the efficiency of determining whether the power is off, thereby further improving the power-off protection efficiency.
  • the storage/server power-off and power-reduction solution process is divided into three modules: power-off notification module, transient power-reduction module, and steady-state power-reduction module.
  • the AC power supply signal is connected to the system's general interrupt through the CPLD.
  • the state of the hardware AC power supply signal PS_OK is reversed.
  • the CPLD captures the PS_OK signal change and triggers a system interrupt after filtering the signal (such as maintaining a steady state for 10us).
  • the system interrupt is divided into the upper half and the lower half.
  • the upper half is responsible for notifying all associated modules in the system that handle power-off operations. Each associated module completes the notification reception of the power-off interrupt in the handle of the upper half of the interrupt, and then notifies the transient power reduction module in the form of the lower half of the interrupt.
  • the interruption mode is used to ensure that the complete power-off event occurs within 10ms and is notified to the transient power reduction module, the steady-state power reduction module, and the modules involved in the power-off processing flow.
  • the transient power consumption reduction module classifies the components (devices, parts, FRUs) in the entire hardware system that do not participate in the power-off operation into three levels: components that do not participate in the power-off operation and are not coupled with the power-off operation, components that do not participate in the power-off operation but are coupled with the power-off operation, and components that participate in the power-off operation and are coupled with the power-off operation but can further reduce power consumption.
  • transient power reduction components Components, parts, FRUs that do not participate in the power-off operation and are not coupled with the power-off operation, transient power reduction components, and power reduction objects belonging to the transient power reduction module are respectively subjected to power reduction control, such as the SAS/SATA data disk in Table 1 below, to ensure that the power reduction control of the transient power reduction components is completed within 100us.
  • power reduction control such as the SAS/SATA data disk in Table 1 below
  • the steady-state power consumption reduction module requires the system software to first perform system decoupling processing and then perform power consumption reduction for components that do not participate in the power-off operation but are coupled with the power-off operation, or participate in the power-off operation and are coupled with the power-off operation but can further reduce power consumption.
  • the power reduction process needs to be completed according to the following process:
  • the steady-state power reduction module turns off the PCIe AER reporting function of the component to avoid abnormalities triggered by turning off the power supply; then the CPLD interface is called to force the power supply of the interface card to be turned off;
  • the hardware provides the interface card power GPIO to the CPLD, and the CPLD provides a forced shutdown component power interface for the steady-state power reduction mode. mouth;
  • the power consumption reduction process needs to be completed according to the following process:
  • the steady-state power reduction module calls the kernel API for the CPU to reduce the CPU frequency and operating voltage to the minimum, or pull down the CPU_HOT signal;
  • the power consumption of the memory can be reduced by lowering the MEM_HOT signal
  • the steady-state power consumption reduction module completes the above work, it turns on the fan power supply and dynamically adjusts the frequency to dissipate heat for the system.
  • the size and weight of the BBU are reduced. With the same BBU volume, space and weight, the power-off cache data storage capacity can be increased, greatly improving product performance. After the backup power bottleneck is resolved, the entire machine hardware can support the use of higher power consumption and more competitive components.
  • FIG. 2 a structural block diagram of a server interruption operation execution device provided in an embodiment of the present application is shown, which may specifically include the following modules:
  • the interruption information generating module 201 is used to generate first power-off interruption information for the first component and second power-off interruption information for the second component and the third component when it is determined that the mains power supply is stopped;
  • a first interrupt information sending module 202 used to send first power-off interrupt information to the first component to control the first component to perform a first interrupt operation
  • the second interrupt information sending module 203 is used to send the second power-off interrupt information to the second component to control the second component to perform the second interrupt operation;
  • the third interrupt information sending module 204 is used to send the second power-off interrupt information to the third component to control the third component to perform a third interrupt operation.
  • the server is configured with a logic programming device CPLD, and may also include:
  • the interruption information filtering module uses a logic programming device CPLD to filter the first power-off interruption information and the second power-off interruption information.
  • the server is configured with a transient power reduction module for the first component
  • the first component is an uncoupled data hard disk
  • the transient power reduction module is used to provide a corresponding first hard disk power switch for the uncoupled data hard disk
  • the first interrupt information sending module may include:
  • the first interrupt information sending submodule is used to send the first power-off interrupt information to the first component, so as to use the logic programming device CPLD to shut down the uncoupled data hard disk through the first hard disk power switch.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is an interface card
  • the steady-state power consumption reduction module is used to provide a corresponding interface card power switch for the interface card
  • the second interrupt information sending module may include:
  • the interface card interrupt information sending submodule is used to send the second power-off interrupt information to the interface card to turn off the steady-state power reduction
  • the module's error reporting function is used to send the second power-off interrupt information to the interface card to turn off the steady-state power reduction
  • the interface card shutdown submodule is used to shut down the interface card through the interface card power switch using the logic programming device CPLD when the error reporting function is in a closed state.
  • it may also include:
  • the interface card uninstall submodule is used to uninstall the interface card through the steady-state power reduction module.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is a coupled data hard disk
  • the steady-state power consumption reduction module is used to provide a corresponding second hard disk power switch for the coupled data hard disk
  • the second interrupt information sending module may include:
  • the data hard disk interrupt information sending submodule is used to send a second power-off interrupt information to the coupled data hard disk to disable the error reporting function of the steady-state power reduction module;
  • the data hard disk shutdown submodule is used to use the logic programming device CPLD to shut down the coupled data hard disk through the second hard disk power switch when the error reporting function is in a closed state.
  • it may also include:
  • the data hard disk unloading submodule is used to unload the coupled data hard disk through the steady-state power consumption reduction module.
  • the server is configured with a steady-state power consumption reduction module for the second component
  • the second component is an onboard chip
  • the steady-state power consumption reduction module is used to provide a corresponding onboard chip power switch for the onboard chip
  • the second interrupt information sending module may include:
  • An onboard chip interrupt information sending submodule used for sending a second power-off interrupt information to the onboard chip to disable the error reporting function of the steady-state power reduction module
  • the onboard chip shutdown submodule is used to shut down the onboard chip through the onboard chip power switch using the logic programming device CPLD when the error reporting function is in a closed state.
  • it may also include:
  • the onboard chip unloading submodule is used to unload the onboard chip through the steady-state power reduction module.
  • the server is configured with a steady-state power consumption reduction module for the third component
  • the third component is a central processing unit
  • the steady-state power consumption reduction module is used to provide a corresponding central processing unit frequency reduction interface for the central processing unit
  • the third interrupt information sending module may include:
  • the central processing unit interrupt information sending submodule is used to send a second power-off interrupt information to the central processing unit, so as to adopt the steady-state power reduction module to reduce the frequency of the central processing unit and/or the working voltage and/or the interface signal for the central processing unit through the central processing unit frequency reduction interface.
  • the server is configured with a steady-state power consumption reduction module for the third component
  • the third component is a memory device
  • the steady-state power consumption reduction module is used to provide a corresponding memory device frequency reduction interface for the memory device
  • the third interrupt information sending module may include:
  • the memory device interrupt information sending submodule is used to send a second power-off interrupt information to the memory device, so as to use the steady-state power reduction module to reduce the frequency of the memory device through the memory device frequency reduction interface, and/or the operating voltage, and/or the interface signal for the memory device.
  • the server includes an air cooling component
  • the server is configured with a transient power reduction module for the air cooling component
  • the transient power reduction module is used to configure a corresponding air cooling component switch for the air cooling component
  • the device may further include:
  • the air cooling component interruption information generating module is used to generate the third power-off interruption information for the air cooling component
  • the air-cooling component interruption information sending module is used to send the third power-off interruption information to the air-cooling component, so as to close the air-cooling component through the air-cooling component switch by using the logic programming device CPLD.
  • it may also include:
  • the air-cooling component start-up module is used to turn on the air-cooling component through the air-cooling component switch using the logic programming device CPLD when completing sending the first power-off interrupt information to the first component to control the first component to perform the first interrupt operation, and completing sending the second power-off interrupt information to the second component and the third component to control the second component to perform the second interrupt operation, and controlling the third component to perform the third interrupt operation.
  • it may also include:
  • a power supply signal acquisition module used to acquire a power supply signal
  • the power supply signal judgment module is used to judge whether the mains power supply is stopped through the power supply signal by means of the logic programming device CPLD.
  • the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
  • an embodiment of the present application also provides an electronic device 300, including: a processor 310, a memory 309, and a computer program stored in the memory 309 and executable on the processor 310.
  • the computer program is executed by the processor 310, the various processes of the above-mentioned server interruption operation execution method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the embodiment of the present application further provides a computer non-volatile readable storage medium 40, on which a computer program 401 is stored.
  • a computer program 401 is executed by the processor, each process of the above-mentioned server interrupt operation execution method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here.
  • the computer non-volatile readable storage medium 40 is such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
  • FIG3 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present application.
  • the electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and a power supply 311.
  • a radio frequency unit 301 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and a power supply 311.
  • the electronic device structure shown in FIG. 3 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
  • the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal,
  • the radio frequency unit 301 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 310 for processing; in addition, the uplink data is sent to the base station.
  • the radio frequency unit 301 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 303 can convert the audio data received by the RF unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output it as sound. Moreover, the audio output unit 303 can also provide audio output related to a specific function performed by the electronic device 300 (for example, a call signal reception sound, a message reception sound, etc.).
  • the audio output unit 303 includes a speaker, a buzzer, a receiver, etc.
  • the input unit 304 is used to receive audio or video signals.
  • the input unit 304 may include a graphics processing unit (GPU) 3041 and a microphone 3042.
  • the graphics processing unit 3041 is used for receiving audio or video signals in the video capture mode or image capture mode.
  • the image data of a static picture or video obtained by an image capture device (such as a camera) in the call mode is processed.
  • the processed image frame can be displayed on the display unit 306.
  • the image frame processed by the graphics processor 3041 can be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302.
  • the microphone 3042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 301 in the case of a telephone call mode.
  • the electronic device 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 305 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
  • the display unit 306 is used to display information input by the user or information provided to the user.
  • the display unit 306 may include a display panel 3061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 307 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 307 includes a touch panel 3071 and other input devices 3072.
  • the touch panel 3071 also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 3071 or near the touch panel 3071 using any suitable object or accessory such as a finger, stylus, etc.).
  • the touch panel 3071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 310, receives the command sent by the processor 310 and executes it.
  • the touch panel 3071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves.
  • the user input unit 307 may also include other input devices 3072.
  • other input devices 3072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
  • the touch panel 3071 may be covered on the display panel 3061.
  • the touch panel 3071 detects a touch operation on or near it, it is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event.
  • the touch panel 3071 and the display panel 3061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited here.
  • the interface unit 308 is an interface for connecting an external device to the electronic device 300.
  • the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input/output (I/O) port, a video I/O port, a headphone port, etc.
  • the interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 300 or may be used to transmit data between the electronic device 300 and an external device.
  • the memory 309 can be used to store software programs and various data.
  • the memory 309 can mainly include a storage program area and a storage area.
  • Data area wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc.
  • the memory 309 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 volatile solid-state storage devices.
  • the processor 310 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole.
  • the processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 310.
  • the electronic device 300 may also include a power supply 311 (such as a battery) for supplying power to each component.
  • a power supply 311 such as a battery
  • the power supply 311 may be logically connected to the processor 310 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
  • the electronic device 300 includes some functional modules not shown, which will not be described in detail here.
  • the technical solution of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.
  • a storage medium such as ROM/RAM, a magnetic disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or can be integrated.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
  • the aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

Landscapes

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

Abstract

一种服务器中断操作执行方法和装置,通过当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息(101);向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作(102);向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作(103);向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作(104),从而实现了在服务器执行掉电操作时,具有针对性的对不同类别的组件执行中断操作,进而有效提升了掉电保护效率。

Description

服务器中断操作执行方法、装置、设备及存储介质
相关申请的交叉引用
本申请要求于2022年11月24日提交中国专利局,申请号为202211483037.5,申请名称为“一种服务器中断操作执行方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及服务器中断操作执行技术领域,特别是涉及一种服务器中断操作执行方法、一种服务器中断操作执行装置、一种电子设备以及一种计算机非易失性可读存储介质。
背景技术
当遇到断电时,储存/服务器设备需要使用后备电源方案进行数据保护,避免数据丢失,例如,相关技术会采用BBU掉电保护方案,BBU(batteryback-upunit,电池备份单元)作为存储设备的电池备用模块,主要用于存储系统电源模块掉电后,启动外部放电功能,用来保证系统在断电后数据转储过程的有效性。
然而,在实际应用中,存储/服务器硬件高密度设计导致整机功耗巨大,有限的BBU无法支撑掉电过程中的巨大整机功率,导致储存数据在掉电时丢失。
发明内容
本申请实施例是提供一种服务器中断操作执行方法、装置、电子设备以及计算机非易失性可读存储介质,以解决如何提升掉电保护效率的问题。
本申请实施例公开了一种服务器中断操作执行方法,服务器用于执行掉电操作,服务器包括不参与掉电操作且与掉电操作无耦合的第一组件,不参与掉电操作但与掉电操作耦合的第二组件,参与掉电操作且与掉电操作耦合的第三组件,方法可以包括:
当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息;
向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作;
向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作;
向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作。
可选地,第一组件为瞬态降功耗组件,第二组件和第三组件为稳态将功耗组件。
可选地,服务器配置有逻辑编程器件CPLD,还可以包括:
采用逻辑编程器件CPLD对第一掉电中断信息和第二掉电中断信息进行滤波处理。
可选地,服务器配置有针对第一组件的瞬态降功耗模块,第一组件为非耦合数据硬盘,瞬态降功耗模块用于为非耦合数据硬盘提供对应的第一硬盘电源开关。
可选地,向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作的步骤可以包括:
向第一组件发送第一掉电中断信息,以采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为接口卡,稳态降功耗模块用于为接口卡提供对应的接口卡电源开关。
可选地,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作的步骤可以包括:
向接口卡发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过接口卡电源开关关闭接口卡。
可选地,还可以包括:
通过稳态降功耗模块卸载接口卡。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为耦合数据硬盘,稳态降功耗模块用于为耦合数据硬盘提供对应的第二硬盘电源开关。
可选地,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作的步骤可以包括:
向耦合数据硬盘发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过第二硬盘电源开关关闭耦合数据硬盘。
可选地,还可以包括:
通过稳态降功耗模块卸载耦合数据硬盘。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为板载芯片,稳态降功耗模块用于为板载芯片提供对应的板载芯片电源开关,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作的步骤可以包括:
向板载芯片发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过板载芯片电源开关关闭板载芯片。
可选地,还可以包括:
通过稳态降功耗模块卸载板载芯片。
可选地,服务器配置有针对第三组件的稳态降功耗模块,第三组件为中央处理器,稳态降功耗模块用于为中央处理器提供对应的中央处理器降频接口,向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作的步骤可以包括:
向中央处理器发送第二掉电中断信息,以采用稳态降功耗模块通过中央处理器降频接口降低中央处理器的频率,和/或,工作电压,和/或,针对中央处理器的接口信号。
可选地,服务器配置有针对第三组件的稳态降功耗模块,第三组件为内存设备,稳态降功耗模块用于为内存设备提供对应的内存设备降频接口,向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作的步骤可以包括:
向内存设备发送第二掉电中断信息,以采用稳态降功耗模块通过内存设备降频接口降低内存设备的频率,和/或,工作电压,和/或,针对内存设备的接口信号。
可选地,服务器包括风冷组件,服务器配置有针对风冷组件的瞬态降功耗模块,瞬态降功耗模块用于为风冷组件配置对应的风冷组件开关,方法还可以包括:
生成针对风冷组件的第三掉电中断信息;
向风冷组件发送第三掉电中断信息,以采用逻辑编程器件CPLD通过风冷组件开关关闭风冷组件。
可选地,还可以包括:
当完成向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作,且完成向第二组件和第三组件发送第二掉电中断信息,以控制第二组件执行第二中断操作,并控制第三组件执行第三中断操作时,采用逻辑编程器件CPLD通过风冷组件开关开启风冷组件。
可选地,在生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息的步骤之前,还可以包括:
获取供电信号;
通过逻辑编程器件CPLD通过供电信号判断市电供电是否停止。
本申请实施例还公开了一种服务器中断操作执行装置,服务器用于执行掉电操作,服务器包括不参与掉电操作且与掉电操作无耦合的第一组件,不参与掉电操作但与掉电操作耦合的第二组件,参与掉电操作且与掉电操作耦合的第三组件,装置可以包括:
中断信息生成模块,用于当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息;
第一中断信息发送模块,用于向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作;
第二中断信息发送模块,用于向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作;
第三中断信息发送模块,用于向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作。
可选地,第一组件为瞬态降功耗组件,第二组件和第三组件为稳态将功耗组件。
可选地,服务器配置有逻辑编程器件CPLD,还可以包括:
中断信息滤波模块,采用逻辑编程器件CPLD对第一掉电中断信息和第二掉电中断信息进行滤波处理。
可选地,服务器配置有针对第一组件的瞬态降功耗模块,第一组件为非耦合数据硬盘,瞬态降功耗模块用于为非耦合数据硬盘提供对应的第一硬盘电源开关,第一中断信息发送模块可以包括:
第一中断信息发送子模块,用于向第一组件发送第一掉电中断信息,以采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为接口卡,稳态降功耗模块用于为接口卡提供对应的接口卡电源开关,第二中断信息发送模块可以包括:
接口卡中断信息发送子模块,用于向接口卡发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
接口卡关闭子模块,用于当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过接口卡电源开关关闭接口卡。
可选地,还可以包括:
接口卡卸载子模块,用于通过稳态降功耗模块卸载接口卡。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为耦合数据硬盘,稳态降功耗模块用于为耦合数据硬盘提供对应的第二硬盘电源开关,第二中断信息发送模块可以包括:
数据硬盘中断信息发送子模块,用于向耦合数据硬盘发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
数据硬盘关闭子模块,用于当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过第二硬盘电源开关关闭耦合数据硬盘。
可选地,还可以包括:
数据硬盘卸载子模块,用于通过稳态降功耗模块卸载耦合数据硬盘。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为板载芯片,稳态降功耗模块用于为板载芯片提供对应的板载芯片电源开关,第二中断信息发送模块可以包括:
板载芯片中断信息发送子模块,用于向板载芯片发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
板载芯片关闭子模块,用于当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过板载芯片电源开关关闭板载芯片。
可选地,还可以包括:
板载芯片卸载子模块,用于通过稳态降功耗模块卸载板载芯片。
可选地,服务器配置有针对第三组件的稳态降功耗模块,第三组件为中央处理器,稳态降功耗模块用于为中央处理器提供对应的中央处理器降频接口,第三中断信息发送模块可以包括:
中央处理器中断信息发送子模块,用于向中央处理器发送第二掉电中断信息,以采用稳态降功耗模块通过中央处理器降频接口降低中央处理器的频率,和/或,工作电压,和/或,针对中央处理器的接口信号。
可选地,服务器配置有针对第三组件的稳态降功耗模块,第三组件为内存设备,稳态降功耗模块用于为内存设备提供对应的内存设备降频接口,第三中断信息发送模块可以包括:
内存设备中断信息发送子模块,用于向内存设备发送第二掉电中断信息,以采用稳态降功耗模块通过内存设备降频接口降低内存设备的频率,和/或,工作电压,和/或,针对内存设备的接口信号。
可选地,服务器包括风冷组件,服务器配置有针对风冷组件的瞬态降功耗模块,瞬态降功耗模块用于为风冷组件配置对应的风冷组件开关,装置还可以包括:
风冷组件中断信息生成模块,用于生成针对风冷组件的第三掉电中断信息;
风冷组件中断信息发送模块,用于向风冷组件发送第三掉电中断信息,以采用逻辑编程器件CPLD通过风冷组件开关关闭风冷组件。
可选地,还可以包括:
风冷组件开启模块,用于当完成向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作,且完成向第二组件和第三组件发送第二掉电中断信息,以控制第二组件执行第二中断操作,并控制第三组件执行第三中断操作时,采用逻辑编程器件CPLD通过风冷组件开关开启风冷组件。
可选地,还可以包括:
供电信号获取模块,用于获取供电信号;
供电信号判断模块,用于通过逻辑编程器件CPLD通过供电信号判断市电供电是否停止。
本申请实施例还公开了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器、通信接口以及存储器通过通信总线完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现如本申请实施例的方法。
本申请实施例还公开了一种计算机非易失性可读存储介质,其上存储有指令,当由一个或多个处理器执行时,使得处理器执行如本申请实施例的方法。
本申请实施例包括以下优点:
本申请实施例,通过当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息;向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作;向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作;向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作,从而实现了在服务器执行掉电操作时,具有针对性的对不同类别的组件执行中断操作,进而有效提升了掉电保护效率。
附图说明
图1是本申请实施例中提供的一种服务器中断操作执行方法的步骤流程图;
图2是本申请实施例中提供的一种服务器中断操作执行装置的结构框图;
图3是本申请实施例中提供的一种电子设备的硬件结构框图;
图4是本申请实施例中提供的一种计算机非易失性可读存储介质的示意图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
参照图1,示出了本申请实施例中提供的一种服务器中断操作执行方法的步骤流程图,具体可以包括如下步骤:
步骤101,当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息;
步骤102,向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作;
步骤103,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作;
步骤104,向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作。
在实际应用中,本申请实施例可以但不限于应用于服务器、PC(Personal Computer,个人电脑)机或其他具有存储功能的硬件设备中,服务器是计算机的一种,它比普通计算机运行更快、负载更高、价格更贵。服务器在网络中为其它客户机(如PC机、智能手机、ATM(Automated Teller Machine,自动取款机)等终端甚至是火车系统等大型设备)提供计算或者应用服务。服务器具有高速的CPU(Central Processing Unit,中央处理器)运算能力、长时间的可靠运行、强大的I/O外部数据吞吐能力以及更好的扩展性。
在具体实现中,本申请实施例的服务器可以用于执行掉电操作,掉电操作可以是指服务器在市电供电停止时,为保护储存数据不丢失而执行的保护流程。
市电即我们所说的工频交流电(AC),用交流电的常用三个量来表征:电压、电流、频率。世界各国的常用交流电工频频率有50Hz(赫兹)与60Hz(赫兹)两种,民用交流电压分布由100V至380V不等。机房一般引入三相380V,50HZ的市电作为电源,但是设备的电 源整流模块用的是单相220V的电压。
本申请实施例的服务器可以包括不参与掉电操作且与掉电操作无耦合的第一组件,具体地,第一组件可以是在服务器执行掉电操作时,不参与掉电操作且与掉电操作无耦合的组件或设备,例如,SAS/SATA数据硬盘。
当然,上述例子仅作为示例,本领域技术人员可以将任意在服务器执行掉电操作时,不参与掉电操作且与掉电操作无耦合的组件或设备作为第一组件,对此,本申请实施例不作限制。
本申请实施例的服务器也可以包括不参与掉电操作但与掉电操作耦合的第二组件,具体地,第二组件可以是在服务器执行掉电操作时,不参与掉电操作但与掉电操作耦合的组件或设备,例如,接口卡、耦合数据硬盘、板载芯片等等。
当然,上述例子仅作为示例,本领域技术人员可以采用任意在服务器执行掉电操作时,不参与掉电操作但与掉电操作耦合的组件或设备作为第二设备,对此,本申请实施例不作限制。
本申请实施例的服务器还可以包括参与掉电操作且与掉电操作耦合的第三组件,具体地,第三组件可以是服务器在实行掉电操作时,参与掉电操作且与掉电操作耦合的组件或设备,例如,中央处理器,内存设备等等。
当然,上述例子仅作为示例,本领域技术人员可以采用任意在服务器执行掉电操作时,参与掉电操作且与掉电操作耦合的组件或设备作为第三设备,对此,本申请实施例不作限制。
在实际应用中,本申请实施例的第一组件、第二组件和第三组件都是在服务器执行掉电操作时,可以降低功耗的设备,本申请实施例的一个核心发明点在于,通过在服务器执行掉电操作时,对第一组件、第二组件和第三组件执行中断操作,以降低第一组件、第二组件和第三组件的功耗,从而降低储存数据在掉电时丢失的概率,另外,由于在服务器中,部分组件可以是在服务器执行掉电操作时与掉电操作无耦合的组件,而另一部分组件则可以是在服务器执行掉电操作时与掉电操作耦合的组件,所以,本申请实施例可以将在服务器执行掉电操作时与掉电操作无耦合的组件定义为瞬态降功耗组件,即,可以将第一组件定义为瞬态降功耗组件,将在服务器执行掉电操作时与掉电操作耦合的组件定义为稳态降功耗组件,即,可以将第二组件和第三组件定义为稳态降功耗组件。
瞬态降功耗组件和稳态降功耗组件的区别在于,瞬态降功耗组件由于是在服务器执行掉电操作时与掉电操作无耦合的组件,所以在服务器执行掉电操作时可以直接对其进行中断操作,而稳态降功耗组件由于是在服务器执行掉电操作时与掉电操作耦合的组件,所以在服务器执行掉电操作时需要对其执行其他流程才能对其进行中断操作。
更进一步地,由于稳态降功耗组件还包括了在服务器执行掉电操作时,参与掉电操作的组件,和不参与掉电操作的组件。
所以,在具体实现中,本申请实施例可以在判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息。
本申请实施例的服务器还可以包括掉电通知模块,当生成针对第一组件的第一掉电中断信息和针对第二组件和第三组件的第二掉电中断信息后,本申请实施例可以通过掉电通知模块分别向第一组件发送第一掉电中断信息,向第二组件发送第二掉电中断信息,向第三组件 发送第二掉电中断信息。
具体地,第一掉电中断信息可以用于控制第一组件执行第一中断操作,第二掉电中断信息可以用于控制第二组件执行第二中断操作,以及,控制第三组件执行第三中断操作。
本申请实施例,通过当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息;向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作;向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作;向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作,从而实现了在服务器执行掉电操作时,具有针对性的对不同类别的组件执行中断操作,进而有效提升了掉电保护效率。
在上述实施例的基础上,提出了上述实施例的变型实施例,在此需要说明的是,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在本申请的一个可选实施例中,服务器配置有逻辑编程器件CPLD,还包括:
采用逻辑编程器件CPLD对第一掉电中断信息和第二掉电中断信息进行滤波处理。
在具体实现中,本申请实施例可以在服务器中配置逻辑编程器件CPLD,CPLD(Complex Programmable Logic Device)是Complex PLD的简称,一种较PLD为复杂的逻辑元件。CPLD是一种用户根据各自需要而自行构造逻辑功能的数字集成电路。其基本设计方法是借助集成开发软件平台,用原理图、硬件描述语言等方法,生成相应的目标文件,通过下载电缆(“在系统”编程)将代码传送到目标芯片中,实现设计的数字系统。
在实际应用中,在市电停止供应后,服务器开始执行掉电操作时,服务器系统可能会较为不稳定,为了将掉电中断信息成功地发送至各个组件,本申请实施例可以采用逻辑编程器件CPLD对第一掉电中断信息和第二掉电中断信息进行滤波处理,例如,对第一掉电中断信息和第二掉电中断信息进行10us的稳态,稳态是电力系统名词,在所有瞬态效应消失后,当所有输入变蜇保持恒定时系统所维持的状态。
本申请实施例,通过采用逻辑编程器件CPLD对第一掉电中断信息和第二掉电中断信息进行滤波处理,提升了将掉电中断信息成功地发送至各个组件的成功率,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器配置有针对第一组件的瞬态降功耗模块,第一组件为非耦合数据硬盘,瞬态降功耗模块用于为非耦合数据硬盘提供对应的第一硬盘电源开关。
可选地,向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作的步骤包括:
向第一组件发送第一掉电中断信息,以采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘。
在具体实现中,本申请实施例可以为服务器配置针对第一组件的瞬态降功耗模块,瞬态降功耗模块可以是为瞬态降功耗组件进行降功耗的模块。
本申请实施例的瞬态降功耗模块可以用于为非耦合数据硬盘提供对应的第一硬盘电源开关,具体地,非耦合数据硬盘可以是掉电操作无耦合的数据硬盘。
可选地,非耦合数据硬盘为SAS/SATA数据硬盘,SAS(Serial Attached SCSI)即串行连接SCSI,是新一代的SCSI技术,和现在流行的Serial ATA(SATA)硬盘相同,都是采用串行技术 以获得更高的传输速度,并通过缩短连结线改善内部空间等。SAS是并行SCSI接口之后开发出的全新接口。此接口的设计是为了改善存储系统的效能、可用性和扩充性,并且提供与SATA硬盘的兼容性;SATA(Serial ATA)硬盘,又称串口硬盘,是计算机机械硬盘的主流,已基本取代了传统的PATA硬盘。SATA的全称是Serial Advanced Technology Attachment。Serial ATA采用串行连接方式,串行ATA总线使用嵌入式时钟信号,具备了更强的纠错能力,与以往相比其最大的区别在于能对传输指令(不仅仅是数据)进行检查,如果发现错误会自动矫正,这在很大程度上提高了数据传输的可靠性。串行接口还具有结构简单、支持热插拔的优点。
可选地,第一硬盘电源开关可以是针对非耦合数据硬盘的通用输入/输出接口GPIO,GPIO(英语:General-purpose input/output),通用型之输入输出的简称,功能类似8051的P0—P3,其接脚可以供使用者由程控自由使用,PIN脚依现实考量可作为通用输入(GPI)或通用输出(GPO)或通用输入与输出(GPIO),如当clk generator,chip select等。既然一个引脚可以用于输入、输出或其他特殊功能,那么一定有寄存器用来选择这些功能。对于输入,一定可以通过读取某个寄存器来确定引脚电位的高低;对于输出,一定可以通过写入某个寄存器来让这个引脚输出高电位或者低电位;对于其他特殊功能,则有另外的寄存器来控制它们。
本申请实施例的非耦合数据硬盘可以是瞬态降功耗组件,在实际应用中,由于瞬态降功耗组件可以是在服务器执行掉电操作时与掉电操作无耦合的组件,所以在服务器执行掉电操作时可以直接对其进行中断操作,所以本申请实施例可以向非耦合数据硬盘发送第一掉电中断信息,以直接采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘。
本申请实施例通过向第一组件发送第一掉电中断信息,以采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘,实现了具有针对性的对瞬态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器配置有针对第二组件的稳态降功耗模块,第二组件为接口卡,稳态降功耗模块用于为接口卡提供对应的接口卡电源开关。
可选地,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作的步骤包括:
向接口卡发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过接口卡电源开关关闭接口卡。
在具体实现中,本申请实施例可以为服务器配置针对第二组件的稳态降功耗模块,稳态降功耗模块可以是为稳态降功耗组件进行降功耗的模块。
可选地,接口卡可以作为第二组件,接口卡可以是广域网接口卡。模块和接口卡是针对中高档的模块化路由器、交换机产品而言的,对于固定配置的路由器和交换机而言不涉及模块和接口卡。通常网络模块是为了扩展局域网功能而开发,而接口卡则多指广域网接口卡,通过广域网接口卡,路由器和交换机产品就可以方便的实现更高效能的广域网接入。采用模块化设计的产品其好处是可以有效保护用户投资,真正实现按需购买,同时产品可以做到强有力的扩展以适应业务不断扩展的需求。例如,通过网络模块,就可以将Cisco 2600系列定制成适合任何网络服务的需求,这些模块的广泛应用包括:多服务的语音和数据综合,模拟 和ISDN拨号,ATM访问,低密度交换,入侵检测,串行设备集成等。在这些网络模块中有些上面就集成有接口,可直接使用;有些没有接口,只有插槽,需要安上接口卡才能使用;有些既有接口又有插槽,可能按情况不用或选用接口卡。
本申请实施例的稳态降功耗模块可以用于为接口卡提供对应的接口卡电源开关,可选地,接口卡开关可以是针对接口卡的通用输入/输出接口GPIO,本申请实施例的接口卡可以是稳态降功耗组件,在实际应用中,由于稳态降功耗组件可以是在服务器执行掉电操作时与掉电操作耦合的组件,所以在服务器执行掉电操作时,需要对其执行其他流程才能对其进行中断操作,所以本申请实施例可以向接口卡发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能,避免在关闭接口卡电源时触发异常,并当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过接口卡电源开关关闭接口卡。
本申请实施例通过向接口卡发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过接口卡电源开关关闭接口卡,实现了具有针对性的对稳态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,还包括:
通过稳态降功耗模块卸载接口卡。
在具体实现中,为了进一步降低针对接口卡的功耗,本命实施例还可以通过稳态降功耗模块卸载接口卡,即,本申请实施例可以通过稳态降功耗模块卸载接口卡,更进一步地降低接口卡的功耗,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器配置有针对第二组件的稳态降功耗模块,第二组件为耦合数据硬盘,稳态降功耗模块用于为耦合数据硬盘提供对应的第二硬盘电源开关。
可选地,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作的步骤包括:
向耦合数据硬盘发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过第二硬盘电源开关关闭耦合数据硬盘。
在具体实现中,本申请实施例可以为服务器配置针对第二组件的稳态降功耗模块,稳态降功耗模块可以是为稳态降功耗组件进行降功耗的模块。
可选地,本申请实施例的第二组件可以为耦合数据硬盘,具体地,耦合数据硬盘可以是在掉电操作时与掉电操作耦合的数据硬盘。
可选地,耦合数据硬盘可以是NVMe数据硬盘。NVMe固态硬盘是为PCIe制定的标准接口协议固态硬盘,NVMe固态硬盘解除了旧标准施放在传统固态硬盘SSD(Solid State Disk或Solid State Drive,简称SSD)上的各种限制,支持所有常见的操作系统,良好的可拓展性,具有低延迟,低能耗,高性能等优点,传统的AHCI协议具有较强的兼容性,但是当与通过PCIe(PCI-Express,peripheral component interconnect express,是一种高速串行计算机扩展总线标准)总线连接的SSD一起运用时,无法提供最佳的性能。而NVMe的规划充分利用了PCIe SSD的低延迟和并行性,并兼顾可处理器与平台构架,最大程度的发挥SSD的性能,固态硬盘拥有比机械硬盘更快的读写速度,大多数机器运用的是SATA总线标准,NVMe实际最高传输约为600MB/s。
本申请实施例的稳态降功耗模块可以用于为耦合数据硬盘提供对应的第二硬盘电源开关,可选地,第二硬盘电源开关可以是针对耦合数据硬盘的通用输入/输出接口GPIO,本申请实施例的耦合数据硬盘可以是稳态降功耗组件,在实际应用中,由于稳态降功耗组件可以是在服务器执行掉电操作时与掉电操作耦合的组件,所以在服务器执行掉电操作时,需要对其执行其他流程才能对其进行中断操作,所以本申请实施例可以向耦合数据硬盘发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能,避免在关闭耦合数据硬盘电源时触发异常,并当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过第二硬盘电源开关关闭耦合数据硬盘。
本申请实施例,通过向耦合数据硬盘发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过第二硬盘电源开关关闭耦合数据硬盘,实现了具有针对性的对稳态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,还包括:
通过稳态降功耗模块卸载耦合数据硬盘。
在具体实现中,为了进一步降低针对耦合数据硬盘的功耗,本命实施例还可以通过稳态降功耗模块卸载耦合数据硬盘,即,本申请实施例可以通过稳态降功耗模块卸载耦合数据硬盘,更进一步地降低耦合数据硬盘的功耗,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器配置有针对第二组件的稳态降功耗模块,第二组件为板载芯片,稳态降功耗模块用于为板载芯片提供对应的板载芯片电源开关,向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作的步骤包括:
向板载芯片发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过板载芯片电源开关关闭板载芯片。
在具体实现中,本申请实施例可以为服务器配置针对第二组件的稳态降功耗模块,稳态降功耗模块可以是为稳态降功耗组件进行降功耗的模块。
可选地,本申请实施例的第二组件可以为板载芯片,具体地,板载芯片可以是在掉电操作时与掉电操作耦合的芯片。
可选地,板载芯片可以是SAS/FC/PCIeswitch芯片。
其中,SAS芯片可以是运用SAS技术的芯片。
FC芯片又称为倒装芯片(Flip chip)是一种无引脚结构,一般含有电路单元。设计用于通过适当数量的位于其面上的锡球(导电性粘合剂所覆盖),在电气上和机械上连接于电路。
PCIeswitch提供扩展或聚合能力,并允许更多的设备连接到一个PCle端口。它们充当包路由器,根据地址或其他路由信息识别给定包需要走哪条路径,是一种PCIe转PCIe的桥,PCIeswitch芯片是具备PCIeswitch技术的芯片。
本申请实施例的稳态降功耗模块可以用于为板载芯片提供对应的板载芯片电源开关,可选地,板载芯片电源开关可以是针对板载芯片的通用输入/输出接口GPIO,本申请实施例的板载芯片可以是稳态降功耗组件,在实际应用中,由于稳态降功耗组件可以是在服务器执行掉电操作时与掉电操作耦合的组件,所以在服务器执行掉电操作时,需要对其执行其他流程 才能对其进行中断操作,所以本申请实施例可以向板载芯片发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能,避免在关闭板载芯片电源时触发异常,并当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过板载芯片电源开关关闭板载芯片。
本申请实施例,通过向板载芯片发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过板载芯片电源开关关闭板载芯片,实现了具有针对性的对稳态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,还包括:
通过稳态降功耗模块卸载板载芯片。
在具体实现中,为了进一步降低针对板载芯片的功耗,本实施例还可以通过稳态降功耗模块卸载板载芯片,即,本申请实施例可以通过稳态降功耗模块卸载板载芯片,更进一步地降低板载芯片的功耗,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器配置有针对第三组件的稳态降功耗模块,第三组件为中央处理器,稳态降功耗模块用于为中央处理器提供对应的中央处理器降频接口,向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作的步骤包括:
向中央处理器发送第二掉电中断信息,以采用稳态降功耗模块通过中央处理器降频接口降低中央处理器的频率,和/或,工作电压,和/或,针对中央处理器的接口信号。
在具体实现中,本申请实施例可以为服务器配置针对第三组件的稳态降功耗模块,稳态降功耗模块可以是为稳态降功耗组件进行降功耗的模块。
可选地,本申请实施例的第三组件可以为中央处理器,具体地,中央处理器可以是在掉电操作时既参与掉电操作也与掉电操作耦合的组件。
计算机处理器是解释和执行指令的功能单元,也称为中央处理器或cpu,它是计算机的中枢神经系统,与处理器和内存周围被称为外设的设备形成对比,如键盘、显示器、磁盘、磁带机等都是外设。每一种处理器都有一套独特的操作命令,可称为处理器的指令集,如存储、调入等之类都是操作命令。计算机的设计者喜欢将计算机称为机器,因此,指令集有时也称为机器指令,编写这些指令的二进制语言也叫机器语言。中央处理器(英文Central Processing Unit,CPU)是一台计算机的运算核心和控制核心。
本申请实施例的稳态降功耗模块可以用于为中央处理器提供对应的中央处理器降频接口,例如,中央处理器降频接口可以是针对中央处理器的内核API(Application Programming Interface,应用程序编程接口),本申请实施例的中央处理器可以是参与掉电操作的稳态降功耗组件,本申请实施例可以向中央处理器发送第二掉电中断信息,以采用稳态降功耗模块通过中央处理器降频接口降述中央处理器的频率,和/或,工作电压,和/或,针对中央处理器的接口信号,例如,CPU_HOT(CPU过热)信号。
本申请实施例,通过向中央处理器发送第二掉电中断信息,以采用稳态降功耗模块通过中央处理器降频接口降低中央处理器的频率,和/或,工作电压,和/或,针对中央处理器的接口信号,实现了具有针对性的对参与掉电操作的稳态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器配置有针对第三组件的稳态降功耗模块,第三组件为内存设备,稳态降功耗模块用于为内存设备提供对应的内存设备降频接口,向第三组件 发送第二掉电中断信息,以控制第三组件执行第三中断操作的步骤包括:
向内存设备发送第二掉电中断信息,以采用稳态降功耗模块通过内存设备降频接口降低内存设备的频率,和/或,工作电压,和/或,针对内存设备的接口信号。
在具体实现中,本申请实施例可以为服务器配置针对第三组件的稳态降功耗模块,稳态降功耗模块可以是为稳态降功耗组件进行降功耗的模块。
可选地,本申请实施例的第三组件可以为内存设备,具体地,内存设备可以是在掉电操作时既参与掉电操作也与掉电操作耦合的组件。
内存设备(Memory)是计算机的重要部件,也称内存储器和主存储器,它用于暂时存放CPU中的运算数据,以及与硬盘等外部存储器交换的数据。它是外存与CPU进行沟通的桥梁,计算机中所有程序的运行都在内存中进行,内存性能的强弱影响计算机整体发挥的水平。只要计算机开始运行,操作系统就会把需要运算的数据从内存调到CPU中进行运算,当运算完成,CPU将结果传送出来。
本申请实施例的稳态降功耗模块可以用于为内存设备提供对应的内存设备降频接口,例如,内存设备降频接口可以是针对内存设备的API,本申请实施例的内存设备可以是参与掉电操作的稳态降功耗组件,本申请实施例可以向内存设备发送第二掉电中断信息,以采用稳态降功耗模块通过内存设备降频接口降低内存设备的频率,和/或,工作电压,和/或,针对内存设备的接口信号,例如,MEM_HOT(内存过热)信号。
本申请实施例,通过向内存设备发送第二掉电中断信息,以采用稳态降功耗模块通过内存设备降频接口降低内存设备的频率,和/或,工作电压,和/或,针对内存设备的接口信号,实现了具有针对性的对参与掉电操作的稳态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,服务器包括风冷组件,服务器配置有针对风冷组件的瞬态降功耗模块,瞬态降功耗模块用于为风冷组件配置对应的风冷组件开关,方法还包括:
生成针对风冷组件的第三掉电中断信息;
向风冷组件发送第三掉电中断信息,以采用逻辑编程器件CPLD通过风冷组件开关关闭风冷组件。
在具体实现中,本申请实施例的风冷组件可以是参与掉电操作,但与掉电操作不耦合的组件,所以,可以为服务器配置针对风冷组件的瞬态降功耗模块。
本申请实施例的瞬态降功耗模块可以用于为风冷组件提供对应的风冷组件开关。
可选地,本申请实施例的风冷组件可以为散热风扇。
可选地,风冷组件开关可以是针对风冷组件的通用输入/输出接口GPIO。
本申请实施例的风冷组件可以是瞬态降功耗组件,在实际应用中,由于瞬态降功耗组件可以是在服务器执行掉电操作时与掉电操作无耦合的组件,所以在服务器执行掉电操作时可以直接对其进行中断操作,所以本申请实施例可以当判定市电供电停止时,生成针对风冷组件的第三掉电中断信息,并向风冷组件发送第三掉电中断信息,以直接采用逻辑编程器件CPLD通过风冷组件开关关闭风冷组件。
本申请实施例,通过向第一组件发送第一掉电中断信息,以采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘,实现了具有针对性的对参与掉电操作的瞬态降功耗组件执行中断操作,从而更进一步地提升了掉电保护效率。
在本申请的一个可选实施例中,还包括:
当稳态降功耗模块完成对第二设备和第三设备的控制时,采用逻辑编程器件CPLD通过风冷组件开关开启风冷组件。
在实际应用中,为了保障服务器的数据安全,避免服务器因过热损毁,本申请实施例可以当完成向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作,且完成向第二组件和第三组件发送第二掉电中断信息,以控制第二组件执行第二中断操作,并控制第三组件执行第三中断操作时,采用逻辑编程器件CPLD通过风冷组件开关开启风冷组件。
本申请实施例,通过当完成向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作,且完成向第二组件和第三组件发送第二掉电中断信息,以控制第二组件执行第二中断操作,并控制第三组件执行第三中断操作时,采用逻辑编程器件CPLD通过风冷组件开关开启风冷组件,既保证了在服务器执行掉电操作时,降低各组件的功耗,同时,在完成掉电操作时,可以通过风冷组件对服务器进行降温,避免因服务器过热损毁导致数据丢失,从而既提高了掉电保护效率,也提升了在掉电保护时针对数据的安全性。
在本申请的一个可选实施例中,在生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息的步骤之前,还包括:
获取供电信号;
通过逻辑编程器件CPLD通过供电信号判断市电供电是否停止。
在实际应用中,对是否断电的判定时间直接决定了掉电保护的效率,对是否断电的判定时间越短,越能更为迅速的执行掉电操作,本申请实施例可以获取供电信号,通过逻辑编程器件CPLD通过供电信号判断市电供电是否停止,例如,市电的供电信号通过CPLD连接到系统的通用中断控制器,当市电掉电时,硬件市电供电信号PS_OK状态发生反转,CPLD捕捉到PS_OK信号变化,以此可以判断市电供电是否停止。
本申请实施例,通过获取供电信号;通过逻辑编程器件CPLD通过供电信号判断市电供电是否停止,提高了针对是否断电的判断效率,从而更近一步地提升了掉电保护效率。
为使本领域技术人员更好的理解本申请实施例,以下用一完整示例对本申请实施例进行说明。
第一,将存储/服务器掉电降功耗方案流程分为3个模块,掉电通知模块、瞬态降功耗模块、稳态降功耗模块;
第二,掉电发生通知模块,市电的供电信号通过CPLD连接到系统的通用中断,当市电掉电时,硬件市电供电信号PS_OK状态发生反转,CPLD捕捉到PS_OK信号变化,对信号经过滤波(如持续10us稳态)后触发系统中断。
系统中断分为上半部和下半部,上半部负责将中断通知到系统中处理掉电操作的所有关联模块,各关联模块在中断上半部的句柄中完成掉电中断的通知接收,然后以中断下半部的形式通知到瞬态降功耗模块;
以上,以中断方式确保10ms内完整掉电事件发生通知到瞬态降功耗模块、稳态降功耗模块、以及参与掉电处理流程相关模块。
第三,瞬态降功耗模块,将整机硬件系统中不参与掉电操作的组件(器件、部件、FRU)进行三级分级,不参与掉电操作且与掉电操作无耦合、不参与掉电操作但与掉电操作耦合、参与掉电操作且与掉电操作耦合但能进一步降功耗的组件。
不参与掉电操作且与掉电操作无耦合的组件、部件、FRU,瞬态降功耗组件,归属于瞬态降功耗模块的降功耗对象,分别进行降功耗控制,如下表1中的SAS/SATA数据盘,确保在100us内完成瞬态降功耗组件的降功耗控制。
表1:
第四,稳态降功耗模块,针对不参与掉电操作但与掉电操作耦合、参与掉电操作且与掉电操作耦合但能进一步降功耗的组件,需要系统软件先进行系统解耦合处理然后再进行降功耗。
针对不参与掉电操作但与掉电操作耦合的组件,包含但不限于接口卡、板载SAS/FC/PCIeswitch芯片;需要按如下流程完成降功耗流程:
1)掉电发生中断通知后,稳态降功耗模块关闭组件的PCIe AER上报功能,避免关闭电源触发异常;然后调用CPLD接口强制关闭接口卡电源;
2)硬件提供接口卡电源GPIO到CPLD,CPLD对稳态降功耗模提供强制关闭组件电源接 口;
3)系统软件调用组件驱动将接口卡设备卸载。
针对参与掉电操作且与掉电操作耦合但能进一步降功耗的组件,包含但不限于CPU、内存;需要按如下流程完成降功耗流程:
1)掉电发生中断通知后,针对CPU,稳态降功耗模块调用内核API,将CPU频率、工作电压降低到最低,或者拉低CPU_HOT信号;
2)掉电发生中断通知后,针对内存,可以通过拉低MEM_HOT信号等方式降功耗;
最后,稳态降功耗模块上述工作完成后,打开风扇电源,动态调频给系统散热。
通过上述方式,对存储、服务器BBU备电方案开展降功耗措施,能够将系统整机功耗降低,大范围提升产品竞争力,具体体现在:
BBU的体积、重量下降,同样的BBU体积空间、重量,掉电缓存数据存储量可以提升,大幅提升产品性能;备电瓶颈解决后,可以支持整机硬件使用更大功耗、更具竞争力的组件。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
参照图2,示出了本申请实施例中提供的一种服务器中断操作执行装置的结构框图,具体可以包括如下模块:
中断信息生成模块201,用于当判定市电供电停止时,生成针对第一组件的第一掉电中断信息,和针对第二组件和第三组件的第二掉电中断信息;
第一中断信息发送模块202,用于向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作;
第二中断信息发送模块203,用于向第二组件发送第二掉电中断信息,以控制第二组件执行第二中断操作;
第三中断信息发送模块204,用于向第三组件发送第二掉电中断信息,以控制第三组件执行第三中断操作。
可选地,服务器配置有逻辑编程器件CPLD,还可以包括:
中断信息滤波模块,采用逻辑编程器件CPLD对第一掉电中断信息和第二掉电中断信息进行滤波处理。
可选地,服务器配置有针对第一组件的瞬态降功耗模块,第一组件为非耦合数据硬盘,瞬态降功耗模块用于为非耦合数据硬盘提供对应的第一硬盘电源开关,第一中断信息发送模块可以包括:
第一中断信息发送子模块,用于向第一组件发送第一掉电中断信息,以采用逻辑编程器件CPLD通过第一硬盘电源开关关闭非耦合数据硬盘。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为接口卡,稳态降功耗模块用于为接口卡提供对应的接口卡电源开关,第二中断信息发送模块可以包括:
接口卡中断信息发送子模块,用于向接口卡发送第二掉电中断信息,以关闭稳态降功耗 模块的错误上报功能;
接口卡关闭子模块,用于当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过接口卡电源开关关闭接口卡。
可选地,还可以包括:
接口卡卸载子模块,用于通过稳态降功耗模块卸载接口卡。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为耦合数据硬盘,稳态降功耗模块用于为耦合数据硬盘提供对应的第二硬盘电源开关,第二中断信息发送模块可以包括:
数据硬盘中断信息发送子模块,用于向耦合数据硬盘发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
数据硬盘关闭子模块,用于当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过第二硬盘电源开关关闭耦合数据硬盘。
可选地,还可以包括:
数据硬盘卸载子模块,用于通过稳态降功耗模块卸载耦合数据硬盘。
可选地,服务器配置有针对第二组件的稳态降功耗模块,第二组件为板载芯片,稳态降功耗模块用于为板载芯片提供对应的板载芯片电源开关,第二中断信息发送模块可以包括:
板载芯片中断信息发送子模块,用于向板载芯片发送第二掉电中断信息,以关闭稳态降功耗模块的错误上报功能;
板载芯片关闭子模块,用于当错误上报功能处于关闭状态时,采用逻辑编程器件CPLD通过板载芯片电源开关关闭板载芯片。
可选地,还可以包括:
板载芯片卸载子模块,用于通过稳态降功耗模块卸载板载芯片。
可选地,服务器配置有针对第三组件的稳态降功耗模块,第三组件为中央处理器,稳态降功耗模块用于为中央处理器提供对应的中央处理器降频接口,第三中断信息发送模块可以包括:
中央处理器中断信息发送子模块,用于向中央处理器发送第二掉电中断信息,以采用稳态降功耗模块通过中央处理器降频接口降低中央处理器的频率,和/或,工作电压,和/或,针对中央处理器的接口信号。
可选地,服务器配置有针对第三组件的稳态降功耗模块,第三组件为内存设备,稳态降功耗模块用于为内存设备提供对应的内存设备降频接口,第三中断信息发送模块可以包括:
内存设备中断信息发送子模块,用于向内存设备发送第二掉电中断信息,以采用稳态降功耗模块通过内存设备降频接口降低内存设备的频率,和/或,工作电压,和/或,针对内存设备的接口信号。
可选地,服务器包括风冷组件,服务器配置有针对风冷组件的瞬态降功耗模块,瞬态降功耗模块用于为风冷组件配置对应的风冷组件开关,装置还可以包括:
风冷组件中断信息生成模块,用于生成针对风冷组件的第三掉电中断信息;
风冷组件中断信息发送模块,用于向风冷组件发送第三掉电中断信息,以采用逻辑编程器件CPLD通过风冷组件开关关闭风冷组件。
可选地,还可以包括:
风冷组件开启模块,用于当完成向第一组件发送第一掉电中断信息,以控制第一组件执行第一中断操作,且完成向第二组件和第三组件发送第二掉电中断信息,以控制第二组件执行第二中断操作,并控制第三组件执行第三中断操作时,采用逻辑编程器件CPLD通过风冷组件开关开启风冷组件。
可选地,还可以包括:
供电信号获取模块,用于获取供电信号;
供电信号判断模块,用于通过逻辑编程器件CPLD通过供电信号判断市电供电是否停止。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
另外,参照图3,本申请实施例还提供了一种电子设备300,包括:处理器310,存储器309,存储在存储器309上并可在处理器310上运行的计算机程序,该计算机程序被处理器310执行时实现上述服务器中断操作执行方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
参照图4,本申请实施例还提供了一种计算机非易失性可读存储介质40,计算机非易失性可读存储介质40上存储有计算机程序401,计算机程序401被处理器执行时实现上述服务器中断操作执行方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机非易失性可读存储介质40,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
图3为实现本申请各个实施例的一种电子设备的硬件结构示意图。
该电子设备300包括但不限于:射频单元301、网络模块302、音频输出单元303、输入单元304、传感器305、显示单元306、用户输入单元307、接口单元308、存储器309、处理器310、以及电源311等部件。本领域技术人员可以理解,图3中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
应理解的是,本申请实施例中,射频单元301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器310处理;另外,将上行的数据发送给基站。通常,射频单元301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元301还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元303可以将射频单元301或网络模块302接收的或者在存储器309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元303还可以提供与电子设备300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元303包括扬声器、蜂鸣器以及受话器等。
输入单元304用于接收音频或视频信号。输入单元304可以包括图形处理器(Graphics Processing Unit,GPU)3041和麦克风3042,图形处理器3041对在视频捕获模式或图像捕获 模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元306上。经图形处理器3041处理后的图像帧可以存储在存储器309(或其它存储介质)中或者经由射频单元301或网络模块302进行发送。麦克风3042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元301发送到移动通信基站的格式输出。
电子设备300还包括至少一种传感器305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板3061的亮度,接近传感器可在电子设备300移动到耳边时,关闭显示面板3061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元306用于显示由用户输入的信息或提供给用户的信息。显示单元306可包括显示面板3061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板3061。
用户输入单元307可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元307包括触控面板3071以及其他输入设备3072。触控面板3071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板3071上或在触控面板3071附近的操作)。触控面板3071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器310,接收处理器310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板3071。除了触控面板3071,用户输入单元307还可以包括其他输入设备3072。具体地,其他输入设备3072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板3071可覆盖在显示面板3061上,当触控面板3071检测到在其上或附近的触摸操作后,传送给处理器310以确定触摸事件的类型,随后处理器310根据触摸事件的类型在显示面板3061上提供相应的视觉输出。虽然在图3中,触控面板3071与显示面板3061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板3071与显示面板3061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元308为外部装置与电子设备300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备300内的一个或多个元件或者可以用于在电子设备300和外部装置之间传输数据。
存储器309可用于存储软件程序以及各种数据。存储器309可主要包括存储程序区和存储 数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器310是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器309内的软件程序和/或模块,以及调用存储在存储器309内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器310可包括一个或多个处理单元;优选的,处理器310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器310中。
电子设备300还可以包括给各个部件供电的电源311(比如电池),优选的,电源311可以通过电源管理系统与处理器310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备300包括一些未示出的功能模块,在此不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
本领域普通技术人员可以意识到,结合本申请实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集 成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (21)

  1. 一种服务器中断操作执行方法,其特征在于,所述服务器用于执行掉电操作,所述服务器包括不参与所述掉电操作且与所述掉电操作无耦合的第一组件,不参与所述掉电操作但与所述掉电操作耦合的第二组件,参与所述掉电操作且与所述掉电操作耦合的第三组件,所述方法包括:
    当判定市电供电停止时,生成针对所述第一组件的第一掉电中断信息,和针对所述第二组件和所述第三组件的第二掉电中断信息;
    向所述第一组件发送所述第一掉电中断信息,以控制所述第一组件执行第一中断操作;
    向所述第二组件发送所述第二掉电中断信息,以控制所述第二组件执行第二中断操作;
    向所述第三组件发送所述第二掉电中断信息,以控制所述第三组件执行第三中断操作。
  2. 根据权利要求1所述的方法,其特征在于,所述第一组件为瞬态降功耗组件,所述第二组件和所述第三组件为稳态将功耗组件。
  3. 根据权利要求1所述的方法,其特征在于,所述服务器配置有逻辑编程器件CPLD,还包括:
    采用所述逻辑编程器件CPLD对所述第一掉电中断信息和所述第二掉电中断信息进行滤波处理。
  4. 根据权利要求3所述的方法,其特征在于,所述服务器配置有针对所述第一组件的瞬态降功耗模块,所述第一组件为非耦合数据硬盘,所述瞬态降功耗模块用于为所述非耦合数据硬盘提供对应的第一硬盘电源开关。
  5. 根据权利要求4所述的方法,其特征在于,所述向所述第一组件发送所述第一掉电中断信息,以控制所述第一组件执行第一中断操作的步骤包括:
    向所述第一组件发送所述第一掉电中断信息,以采用所述逻辑编程器件CPLD通过所述第一硬盘电源开关关闭所述非耦合数据硬盘。
  6. 根据权利要求3所述的方法,其特征在于,所述服务器配置有针对所述第二组件的稳态降功耗模块,所述第二组件为接口卡,所述稳态降功耗模块用于为所述接口卡提供对应的接口卡电源开关。
  7. 根据权利要求6所述的方法,其特征在于,所述向所述第二组件发送所述第二掉电中断信息,以控制所述第二组件执行第二中断操作的步骤包括:
    向所述接口卡发送所述第二掉电中断信息,以关闭所述稳态降功耗模块的错误上报功能;
    当所述错误上报功能处于关闭状态时,采用所述逻辑编程器件CPLD通过所述接口卡电源开关关闭所述接口卡。
  8. 根据权利要求6所述的方法,其特征在于,还包括:
    通过所述稳态降功耗模块卸载所述接口卡。
  9. 根据权利要求3所述的方法,其特征在于,所述服务器配置有针对所述第二组件的稳态降功耗模块,所述第二组件为耦合数据硬盘,所述稳态降功耗模块用于为所述耦 合数据硬盘提供对应的第二硬盘电源开关。
  10. 根据权利要求9所述的方法,其特征在于,所述向所述第二组件发送所述第二掉电中断信息,以控制所述第二组件执行第二中断操作的步骤包括:
    向所述耦合数据硬盘发送所述第二掉电中断信息,以关闭所述稳态降功耗模块的错误上报功能;
    当所述错误上报功能处于关闭状态时,采用所述逻辑编程器件CPLD通过所述第二硬盘电源开关关闭所述耦合数据硬盘。
  11. 根据权利要求9所述的方法,其特征在于,还包括:
    通过所述稳态降功耗模块卸载所述耦合数据硬盘。
  12. 根据权利要求3所述的方法,其特征在于,所述服务器配置有针对所述第二组件的稳态降功耗模块,所述第二组件为板载芯片,所述稳态降功耗模块用于为所述板载芯片提供对应的板载芯片电源开关,所述向所述第二组件发送所述第二掉电中断信息,以控制所述第二组件执行第二中断操作的步骤包括:
    向所述板载芯片发送所述第二掉电中断信息,以关闭所述稳态降功耗模块的错误上报功能;
    当所述错误上报功能处于关闭状态时,采用所述逻辑编程器件CPLD通过所述板载芯片电源开关关闭所述板载芯片。
  13. 根据权利要求12所述的方法,其特征在于,还包括:
    通过所述稳态降功耗模块卸载所述板载芯片。
  14. 根据权利要求3所述的方法,其特征在于,所述服务器配置有针对所述第三组件的稳态降功耗模块,所述第三组件为中央处理器,所述稳态降功耗模块用于为所述中央处理器提供对应的中央处理器降频接口,所述向所述第三组件发送所述第二掉电中断信息,以控制所述第三组件执行第三中断操作的步骤包括:
    向所述中央处理器发送所述第二掉电中断信息,以采用所述稳态降功耗模块通过所述中央处理器降频接口降低所述中央处理器的频率,和/或,工作电压,和/或,针对所述中央处理器的接口信号。
  15. 根据权利要求3所述的方法,其特征在于,所述服务器配置有针对所述第三组件的稳态降功耗模块,所述第三组件为内存设备,所述稳态降功耗模块用于为所述内存设备提供对应的内存设备降频接口,所述向所述第三组件发送所述第二掉电中断信息,以控制所述第三组件执行第三中断操作的步骤包括:
    向所述内存设备发送所述第二掉电中断信息,以采用所述稳态降功耗模块通过所述内存设备降频接口降低所述内存设备的频率,和/或,工作电压,和/或,针对所述内存设备的接口信号。
  16. 根据权利要求3所述的方法,其特征在于,所述服务器包括风冷组件,所述服务器配置有针对所述风冷组件的瞬态降功耗模块,所述瞬态降功耗模块用于为所述风冷组件配置对应的风冷组件开关,所述方法还包括:
    生成针对所述风冷组件的第三掉电中断信息;
    向所述风冷组件发送所述第三掉电中断信息,以采用所述逻辑编程器件CPLD通过所述风冷组件开关关闭所述风冷组件。
  17. 根据权利要求16所述的方法,其特征在于,还包括:
    当完成向所述第一组件发送所述第一掉电中断信息,以控制所述第一组件执行第一中断操作,且完成向所述第二组件和所述第三组件发送所述第二掉电中断信息,以控制所述第二组件执行第二中断操作,并控制所述第三组件执行第三中断操作时,采用所述逻辑编程器件CPLD通过所述风冷组件开关开启所述风冷组件。
  18. 根据权利要求3所述的方法,其特征在于,在所述生成针对所述第一组件的第一掉电中断信息,和针对所述第二组件和所述第三组件的第二掉电中断信息的步骤之前,还包括:
    获取供电信号;
    通过所述逻辑编程器件CPLD通过所述供电信号判断市电供电是否停止。
  19. 一种服务器中断操作执行装置,其特征在于,所述服务器用于执行掉电操作,所述服务器包括不参与所述掉电操作且与所述掉电操作无耦合的第一组件,不参与所述掉电操作但与所述掉电操作耦合的第二组件,参与所述掉电操作且与所述掉电操作耦合的第三组件,所述装置包括:
    中断信息生成模块,用于当判定市电供电停止时,生成针对所述第一组件的第一掉电中断信息,和针对所述第二组件和所述第三组件的第二掉电中断信息;
    第一中断信息发送模块,用于向所述第一组件发送所述第一掉电中断信息,以控制所述第一组件执行第一中断操作;
    第二中断信息发送模块,用于向所述第二组件发送所述第二掉电中断信息,以控制所述第二组件执行第二中断操作;
    第三中断信息发送模块,用于向所述第三组件发送所述第二掉电中断信息,以控制所述第三组件执行第三中断操作。
  20. 一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口以及所述存储器通过所述通信总线完成相互间的通信;
    所述存储器,用于存放计算机程序;
    所述处理器,用于执行存储器上所存放的程序时,实现如权利要求1-18任一项所述的方法。
  21. 一种计算机非易失性可读存储介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如权利要求1-18任一项所述的方法。
PCT/CN2023/102843 2022-11-24 2023-06-27 服务器中断操作执行方法、装置、设备及存储介质 WO2024109026A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211483037.5 2022-11-24
CN202211483037.5A CN115543062B (zh) 2022-11-24 2022-11-24 一种服务器中断操作执行方法和装置

Publications (1)

Publication Number Publication Date
WO2024109026A1 true WO2024109026A1 (zh) 2024-05-30

Family

ID=84720914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/102843 WO2024109026A1 (zh) 2022-11-24 2023-06-27 服务器中断操作执行方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN115543062B (zh)
WO (1) WO2024109026A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115543062B (zh) * 2022-11-24 2023-04-07 苏州浪潮智能科技有限公司 一种服务器中断操作执行方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62254222A (ja) * 1986-04-28 1987-11-06 Sharp Corp 停電時保護装置
CN111475009A (zh) * 2020-04-16 2020-07-31 苏州浪潮智能科技有限公司 一种服务器内gpu的降功耗电路及服务器
CN111475292A (zh) * 2020-03-27 2020-07-31 苏州浪潮智能科技有限公司 一种服务器系统及其内处理器的频率控制装置
CN113050896A (zh) * 2021-04-30 2021-06-29 北京航星中云科技有限公司 一种支持nvdimm的国产飞腾服务器及数据保护方法
CN115543062A (zh) * 2022-11-24 2022-12-30 苏州浪潮智能科技有限公司 一种服务器中断操作执行方法和装置
CN115543058A (zh) * 2022-11-29 2022-12-30 苏州浪潮智能科技有限公司 降功耗的方法、系统、计算机设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5423045A (en) * 1992-04-15 1995-06-06 International Business Machines Corporation System for distributed power management in portable computers
CN107122316B (zh) * 2016-02-25 2020-12-08 华为技术有限公司 一种soc备电方法以及soc
CN112463443A (zh) * 2020-11-18 2021-03-09 北京东土科技股份有限公司 具有ac loss功能的服务器和异常掉电后自动上电开机的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62254222A (ja) * 1986-04-28 1987-11-06 Sharp Corp 停電時保護装置
CN111475292A (zh) * 2020-03-27 2020-07-31 苏州浪潮智能科技有限公司 一种服务器系统及其内处理器的频率控制装置
CN111475009A (zh) * 2020-04-16 2020-07-31 苏州浪潮智能科技有限公司 一种服务器内gpu的降功耗电路及服务器
CN113050896A (zh) * 2021-04-30 2021-06-29 北京航星中云科技有限公司 一种支持nvdimm的国产飞腾服务器及数据保护方法
CN115543062A (zh) * 2022-11-24 2022-12-30 苏州浪潮智能科技有限公司 一种服务器中断操作执行方法和装置
CN115543058A (zh) * 2022-11-29 2022-12-30 苏州浪潮智能科技有限公司 降功耗的方法、系统、计算机设备及存储介质

Also Published As

Publication number Publication date
CN115543062B (zh) 2023-04-07
CN115543062A (zh) 2022-12-30

Similar Documents

Publication Publication Date Title
KR101565357B1 (ko) 타임아웃을 처리하기 위한 시스템, 방법 및 장치
KR102074018B1 (ko) 저전력 상태로의 포트 진입을 동기화하기 위한 시스템, 방법 및 장치
US20050267999A1 (en) Electronic device, method for controlling the same, information processing apparatus, and computer program
WO2018125501A1 (en) APPARATUSES AND METHODS FOR MULTILANE UNIVERSAL SERIAL BUS (USB2) COMMUNICATION OVER EMBEDDED UNIVERSAL SERIAL BUS (eUSB2)
US11231937B2 (en) Autonomous host detection for communication port management
WO2016209353A1 (en) Authentication of a multiple protocol connection
US10921870B2 (en) System and method for hybrid power supply
US10719469B2 (en) Inband messaging method for integrated type-C universal serial bus detection using enhanced serial peripheral interconnect
US20160360644A1 (en) Heat Dissipation in a Mobile Device to Enable High-Performance Desktop Functionality
WO2024109026A1 (zh) 服务器中断操作执行方法、装置、设备及存储介质
WO2024148873A1 (zh) 固态硬盘的在线升级方法、装置、电子设备及存储介质
WO2024148860A1 (zh) Pcie网卡及其接口模式的切换方法、电子设备及存储介质
US20100125726A1 (en) Thin client host wakeup method and thin client host
WO2024187824A1 (zh) 一种usb电路、usb控制器的切换方法和装置
WO2023082622A1 (zh) 一种主从设备兼容的通信模块设计方法及装置
TWM584452U (zh) 具資料存取、傳輸及電源管理的整合電子裝置
CN102023941A (zh) 一种笔记本电脑
CN108429623A (zh) 一种数据访问方法及第一电子设备
US11314353B1 (en) System and method for transfer of clipboard data between display screens
JP2014120070A (ja) 電子機器、電子機器の制御方法、電子機器の制御プログラム
US11782535B1 (en) Adaptive channel switching mechanism
US10645166B2 (en) Network interface card
CN210629540U (zh) 一种安全隔离控制计算机系统
US20230289213A1 (en) Channel switching mechanism among wireless peripheral devices
JP2004348662A (ja) 電子機器、電源制御装置および電源制御方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23893126

Country of ref document: EP

Kind code of ref document: A1