Fault memory card positioning method and device

By deploying a fault locator and storage manager in the server, using the operating information of the cooling device and memory card, accurately locate the fault memory card, the problem of being unable to accurately locate the fault memory card in the storage device in the prior art is solved, and the problem of preventing the fault memory card in the storage device is avoided. Hardware damage and business interruption.

CN119088603APending Publication Date: 2024-12-06INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411132499.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-18
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The prior art cannot accurately locate the failed memory card in the server, causing the server to repeatedly perform power outage protection and power-on operations, affecting normal business operations.

Method used

Deploy the fault locator in the server. After receiving the alarm signal from the storage device, the temperature of the storage device is adjusted by controlling the cooling device to run according to the target operating parameters, and collect the operating information of the memory card through the storage manager to locate the faulty memory card.

Benefits of technology

Avoid memory card hardware damage, and accurately locate the failed memory card, reducing the frequency of power outage protection and power-up re-energy, ensuring the normal operation of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088603A_ABST
    Figure CN119088603A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a fault memory card positioning method, and the method comprises the steps: receiving an alarm signal transmitted by a storage device, the alarm signal being used for indicating that the operation temperature of the storage device is within a temperature range for carrying out power-off protection on the storage device; the alarm signal is responded, the heat dissipation equipment is controlled to operate according to target operation parameters, a target storage card which causes the storage equipment to send out the alarm signal is positioned from the multiple storage cards, and the target operation parameters are used for adjusting the operation temperature of the storage equipment to be out of the temperature range; and the alarm signal is transmitted to the state controller. According to the method and the device, the problem that the faulty memory card in the storage equipment cannot be accurately positioned in the prior art can be solved, and the effect of accurately positioning the faulty memory card in the storage equipment is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a method and device for locating a faulty memory card. Background Art

[0002] With the rapid development of business needs such as artificial intelligence, big data computing and storage, the performance requirements of servers are increasing day by day, and the memory capacity and speed supporting server computing and control have increased significantly, and the number of corresponding memory-related faults has also increased accordingly. In order to meet the server's storage capacity and management and control requirements, a storage manager that manages multiple storage cards in a unified manner will be configured in the relevant technology. The storage manager will treat multiple uniformly managed storage cards as a storage device. At this time, multiple storage cards will share a fault alarm signal in the server. When the temperature of a certain storage card is too high and the execution conditions of the power-off protection measures of the storage device are met, a fault alarm signal will be issued. At this time, the server will immediately power off the storage device for protection. Although this method can effectively avoid damage to the storage card hardware in the storage device, the server cannot effectively locate the storage card that generates the fault alarm signal after powering on again, causing the server to repeatedly perform power-off protection and power-on operations on the storage device, seriously affecting the normal operation of the server business. Summary of the invention

[0003] The embodiments of the present application provide a method and device for locating a faulty memory card, so as to at least solve the problem in the related art that a faulty memory card in a storage device cannot be accurately located.

[0004] According to an embodiment of the present application, a method for locating a faulty storage card is provided. The method is applied to a fault locator deployed on a server. A storage device, a heat dissipation device, and a state controller are installed on the server. The storage device includes a plurality of storage cards. The state controller is used to control the storage device to perform power-off protection in response to an alarm signal sent by the storage device. The fault locator is deployed between the state controller and the storage device. The fault locator is also connected to the heat dissipation device. The method includes:

[0005] Receiving the alarm signal sent by the storage device, wherein the alarm signal is used to indicate that the operating temperature of the storage device has fallen into a temperature range for power-off protection of the storage device;

[0006] In response to the alarm signal, controlling the heat dissipation device to operate according to target operating parameters, and locating a target memory card from the plurality of memory cards that causes the memory device to issue the alarm signal, wherein the target operating parameters are used to adjust the operating temperature of the memory device to outside the temperature range;

[0007] The alarm signal is transmitted to the state controller.

[0008] Optionally, a storage manager is further installed on the server, the fault locator is connected to the storage manager, the storage manager is used to manage the data storage status of the storage card in the storage device, and locating the target storage card that causes the storage device to issue the alarm signal from the multiple storage cards includes:

[0009] calling the storage manager to collect target operation information of each of the plurality of storage cards, wherein the target operation information is used to indicate an operation state of the storage card when the heat dissipation device dissipates heat for the storage device according to target operation parameters;

[0010] The target memory card in the storage device is located according to the target operation information.

[0011] Optionally, a controller is deployed on the memory card, the storage manager is connected to the controller deployed on each memory card, the controller is used to adjust the power supply state of the memory card, and the controller is configured with a storage space for storing the card temperature of the memory card.

[0012] The calling of the storage manager to collect target operation information of each of the plurality of storage cards includes:

[0013] Sending a target acquisition instruction to the storage manager, wherein the target acquisition instruction is used to instruct the storage manager to acquire the card temperature of the memory card during operation;

[0014] Receive a target temperature of each of the storage cards sent by the storage manager, wherein the target operation information includes the target temperature, and the target temperature is collected by the storage manager from the storage space of the corresponding storage card in response to the target collection instruction.

[0015] Optionally, sending the target acquisition instruction to the storage manager includes:

[0016] Acquire access address information of the controller deployed on each of the plurality of memory cards;

[0017] Generate the target acquisition instruction carrying the access address information, wherein the target acquisition instruction is used to instruct the storage manager to access the controller indicated by the access address information to obtain the card temperature of the corresponding memory card during operation;

[0018] Sending the target acquisition instruction to the storage manager;

[0019] When the operation of sending the target acquisition instruction to the storage manager is completed, the target time of sending the target acquisition instruction is recorded, and the number of times the target acquisition instruction is sent in the target log is updated, wherein the target log is used to record the sending status of sending the acquisition instruction to the storage manager;

[0020] extracting a target sending number of the target acquisition instruction from the target log when no storage card temperature sent by the storage manager in response to the target acquisition instruction is received within a reference time period after the target time;

[0021] When the target sending number is greater than or equal to the preset sending number, a target alarm message is generated and sent to a target account that has a binding relationship with the server, wherein the target alarm message is used to indicate that the controller is in a fault state, and the target account is an account used to maintain the operating status of the server.

[0022] Optionally, locating the target storage card in the storage device according to the target operation information includes:

[0023] Matching the collected target temperature during the operation of the reference memory card with a target temperature range, wherein the service handling quality of the memory card whose card temperature is within the target temperature range satisfies the target quality condition, the target operation information includes the target temperature, and the multiple memory cards include the reference memory card;

[0024] When the target temperature does not fall within the target temperature range, obtaining a reference temperature collected by a reference temperature collection device, wherein the reference temperature collection device is used to collect an ambient temperature of a location where the reference storage card is deployed;

[0025] Matching the reference temperature with an ambient temperature condition to obtain a matching result, wherein the ambient temperature condition is used to indicate an ambient temperature required for the memory card to operate;

[0026] In a case where the matching result indicates that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition, the reference memory card is determined as the target memory card.

[0027] Optionally, the reference temperature acquisition device includes a first temperature acquisition device and a second temperature acquisition device, the first temperature acquisition device is deployed at the air inlet of the target air-cooling device, the second temperature acquisition device is deployed at the air outlet of the target air-cooling device, the heat dissipation device includes the target air-cooling device, and the target air-cooling device is a device for controlling the temperature of the reference memory card.

[0028] The step of matching the reference temperature with the ambient temperature condition to obtain a matching result includes:

[0029] Matching a first temperature and a second temperature with preset temperatures respectively, wherein the first temperature is collected by the first temperature collection device, and the second temperature is collected by the second temperature collection device;

[0030] When the first temperature is lower than the preset temperature and the second temperature is lower than the preset temperature, it is determined that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition.

[0031] Optionally, controlling the heat dissipation device to operate according to target operating parameters includes:

[0032] Determining a target heat dissipation device for temperature control of the storage device from the plurality of heat dissipation devices;

[0033] Determining the target operating parameter of the target heat dissipation device corresponding to the current operating temperature of the storage device from the operating temperatures and the operating parameters of the target heat dissipation device having a corresponding relationship;

[0034] The target heat dissipation device is controlled to operate according to the target operating parameters.

[0035] According to another embodiment of the present application, a device for locating a faulty storage card is provided, the device being applied to a fault locator deployed on a server, the server being installed with a storage device, a heat dissipation device and a state controller, the storage device comprising a plurality of storage cards, the state controller being used to control the storage device to perform power-off protection in response to an alarm signal issued by the storage device, the fault locator being deployed between the state controller and the storage device, the fault locator being further connected to the heat dissipation device, the device comprising: a receiving module, being used to receive the alarm signal issued by the storage device, wherein the alarm signal is used to indicate that the operating temperature of the storage device has fallen into a temperature range for performing power-off protection on the storage device;

[0036] a response module, configured to respond to the alarm signal, control the heat dissipation device to operate according to a target operation parameter, and locate a target memory card from the plurality of memory cards that causes the memory device to issue the alarm signal, wherein the target operation parameter is used to adjust the operating temperature of the memory device to outside the temperature range;

[0037] A transmission module is used to transmit the alarm signal to the state controller.

[0038] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0039] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0040] Through the present application, by deploying a fault locator in a server, the fault locator is deployed between a state controller and a storage device, and then when receiving an alarm signal indicating that the operating temperature of the storage device has fallen into the temperature range of power-off protection for the storage device, the heat dissipation device is controlled to operate according to the target operating parameters to dissipate heat for the storage card, so that the operating parameters of the storage device can be adjusted to outside the temperature range of power-off protection, so that on the one hand, damage to the hardware of the storage card included in the storage device can be avoided, and on the other hand, in this state, the target storage card among multiple storage cards that causes the storage device to send an alarm signal can be located, avoiding the inability to accurately locate the faulty storage card caused by directly powering off the storage device after receiving the alarm signal in the related art. Therefore, the problem of being unable to accurately locate the faulty storage card in the storage device in the related art can be solved, and the effect of accurately locating the faulty storage card in the storage device can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a hardware structure block diagram of a method for locating a faulty memory card according to an embodiment of the present application;

[0042] Figure 2 is a flow chart of a method for locating a faulty memory card according to an embodiment of the present application;

[0043] Figure 3 is an optional alarm signal collection schematic diagram according to an embodiment of the present application;

[0044] Figure 4 is a schematic diagram of an optional faulty memory card positioning system according to an embodiment of the present application;

[0045] Figure 5 is an optional fault location flowchart according to an embodiment of the present application;

[0046] Figure 6 4 is a structural block diagram of a device for locating a faulty memory card according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0048] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0049] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a server device of a method for locating a faulty memory card according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0050] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for locating a faulty storage card in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to a server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0051] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0052] In this embodiment, a method for locating a faulty memory card is provided. Figure 2 The present invention is a flowchart of a method for locating a faulty storage card according to an embodiment of the present application. A storage device and a heat dissipation device are installed on a server, the storage device includes multiple storage cards, a state controller and a storage manager are run on the server, the state controller is used to control the storage device to perform power-off protection in response to an alarm signal sent by the storage device, and the storage manager is used to manage the data storage state of the storage device. The method is applied to a fault locator, the fault locator is deployed between the state controller and the storage device, and the fault locator is also connected to the heat dissipation device, such as Figure 2 As shown, the process includes the following steps:

[0053] Step S202, receiving the alarm signal sent by the storage device, wherein the alarm signal is used to indicate that the operating temperature of the storage device has fallen into a temperature range for power-off protection of the storage device;

[0054] Step S204, in response to the alarm signal, controlling the heat dissipation device to operate according to target operating parameters, and locating a target memory card from the plurality of memory cards that causes the memory device to issue the alarm signal, wherein the target operating parameters are used to adjust the operating temperature of the memory device to outside the temperature range;

[0055] Step S206: transmitting the alarm signal to the state controller.

[0056] Through the above steps, by deploying a fault locator in the server, the fault locator is deployed between the state controller and the storage device, and then when receiving an alarm signal indicating that the operating temperature of the storage device has fallen into the temperature range of power-off protection for the storage device, the heat dissipation device is controlled to operate according to the target operating parameters to dissipate heat for the storage card, so that the operating parameters of the storage device can be adjusted to outside the temperature range of power-off protection, which can avoid damage to the hardware of the storage card included in the storage device on the one hand, and on the other hand, in this state, the target storage card among multiple storage cards that causes the storage device to send an alarm signal can be located, avoiding the inability to accurately locate the faulty storage card caused by directly powering off the storage device after receiving the alarm signal in the related art. Therefore, the problem of being unable to accurately locate the faulty storage card in the storage device in the related art can be solved, and the effect of accurately locating the faulty storage card in the storage device can be achieved.

[0057] Optionally, in an embodiment of the present application, the storage manager is a management module for managing storage cards deployed in the server. The storage manager may be, but is not limited to, a central processing unit (CPU) deployed in the server. In order to achieve efficient management of storage cards, the storage manager may be for unified management of multiple storage cards, so that the storage manager side can manage multiple storage cards as a whole (i.e., a storage device). Therefore, multiple storage cards identified as a storage device will share an alarm signal in the server. In this embodiment, in order to achieve the function of unified management of multiple storage cards, the storage manager may configure multiple channels on the storage manager, each channel being used to connect a certain number of storage cards. Therefore, on the storage manager, storage cards connected in one or more channels may be configured as a unified managed storage device according to demand.

[0058] Optionally, in an embodiment of the present application, the memory card has a data storage function, which can be but is not limited to a memory card for saving data in the server or temporarily storing server CPU running data. In this embodiment, the memory card can be but is not limited to a hard disk (solid state drive, mechanical hard disk, etc.), a memory stick, etc., and this solution does not limit this.

[0059] Optionally, in an embodiment of the present application, the state controller and the fault locator can be two independent hardware devices installed in the server, that is, the state controller can be a hardware device that responds to an alarm signal to control the storage device to perform a power-off protection operation, and the fault locator can be a hardware device that has the function of controlling the operation of the heat dissipation device and locating the faulty storage after receiving the alarm signal. For example, the state controller can be a baseboard management controller deployed in the server, and the fault locator is a device deployed in the server for fault locating, and the fault locator is connected between the baseboard management controller and the storage device. In addition, the state controller and the fault locator can also be different names used for the same hardware deployed in the server for different functions implemented by the hardware. The hardware also has the function of responding to the alarm signal to control the storage device to perform power-off protection operations and the function of controlling the operation of the heat dissipation device and locating the faulty storage after receiving the alarm signal. Therefore, the way to deploy the fault locator in the server can be to deploy the program code used to implement the operation control of the heat dissipation device and the fault storage locating function after receiving the alarm signal on the hardware, so that the hardware has the fault locating function. For example, the fault locator and the state controller can be the baseboard management controller in the server, and the program code for implementing the state controller function and the program code for implementing the fault locator function are deployed in the baseboard management controller at the same time, and the execution order of the state controller and the fault locator is configured in the baseboard management controller, that is, after receiving the alarm signal, the fault locator is run first, and after the fault locator locates the target storage card, the alarm signal is sent to the state controller.

[0060] In the embodiment provided in the above step S202, the alarm signal is generated by the memory card after detecting that the operating temperature of the memory card falls within the temperature range of the power-off protection of the storage device. The fault locator can be directly connected to the storage device to obtain the alarm signal output by the storage device, or a signal collector can be deployed between the fault locator and the storage device. The signal collector identifies the level signal output by the storage device to indicate the type of the alarm signal, thereby outputting the recognition result of the alarm signal, and transmitting the recognition result to the fault locator. The recognition result is used to indicate to the fault locator whether the operating temperature of the storage device falls within the power-off protection temperature range. In the embodiment of the present application, the signal collector can be, but is not limited to, a complex editable logic device or a field editable gate array chip configured with the above alarm signal acquisition and recognition logic. Figure 3 is an optional alarm signal collection schematic diagram according to an embodiment of the present application, such as Figure 3As shown, when the operating temperature of a memory card in the storage device falls below the power-off protection temperature, the memory card will pull down the PWRGD_FAIL signal (normally it is a high level). After the signal collector detects the low level of the signal, it sends a corresponding indication signal to the fault locator, indicating to the fault locator that there is an abnormal memory card in the current storage device.

[0061] Optionally, in an embodiment of the present application, an alarm signal may be generated by the memory card after detecting that the current operating temperature of the memory card falls within the temperature range of power-off protection for the storage device, wherein the reasons causing the operating temperature of the memory card to fall within the temperature range of power-off protection may include but are not limited to reasons of the memory card itself or server environment reasons, reasons of the memory card itself may include but are not limited to self-heating of the memory card caused by factors such as memory card hardware failure, memory card overvoltage, and memory card overcurrent, and reasons of the server environment may include but are not limited to heating of other components running in the server causing the operating temperature of the memory card to be too high, and this solution does not limit this.

[0062] In the embodiment provided in the above step S204, the function of the fault locator is to locate the target storage card that generates the alarm signal in the storage device after receiving the alarm signal output by the storage device. Since the alarm signal is used to indicate that the operating temperature of the storage device falls within the temperature range of the power-off protection, the fault locator needs to perform temperature control operations on the storage device in the process of locating the target storage card to avoid the impact of overheating on the storage card hardware. Therefore, after receiving the alarm signal, the fault locator preferentially controls the heat dissipation device to operate according to the target operating parameters, thereby controlling the operating temperature of the storage device, and performing the positioning operation of the target storage card in the process of performing the temperature control operation on the storage device, thereby ensuring the hardware safety of the storage device on the premise of accurately locating the target storage card.

[0063] Optionally, in an embodiment of the present application, the heat dissipation device is a device used to adjust the operating temperature of internal components of the server. The heat dissipation device may include but is not limited to air-cooled heat dissipation devices and liquid-cooled heat dissipation devices, such as fans, or other devices. It should be understood that as long as the device can dissipate heat and cool the memory card, it is included, and this solution does not limit this.

[0064] Optionally, in an embodiment of the present application, in order to avoid hardware damage to the memory card due to overtemperature, it is necessary to control the heat dissipation device to operate according to the target operating parameters, so as to reduce the temperature of the memory card to outside the temperature range that will trigger the server to perform power-off protection. When the heat dissipation device is an air-cooled device, the target operating parameters may include but are not limited to wind speed, air volume, heat dissipation area, etc. When the heat dissipation device is a liquid-cooled device, the target operating parameters may include but are not limited to coolant temperature, coolant flow rate, etc., and this solution does not limit this.

[0065] Optionally, in an embodiment of the present application, the target operating parameter may be predicted based on the current operating status information of the storage device, where the operating status information is information used to characterize the current operating status of the storage device. The operating status information may include, but is not limited to, operating temperature change information of the storage device, business load change information of the storage device, etc., wherein the operating temperature change information is used to characterize the change in the operating temperature of the storage device within a reference time period before the current moment, and the business load change information may include, but is not limited to, the load change of the business carried by the storage device within the reference time period. Therefore, a method for predicting target operating parameters based on operating status information may be: constructing an operating temperature variation model based on the operating temperature of the storage device at each moment within a reference time period, wherein the operating temperature variation model records the relationship between the operating temperature of the storage device and time; calling the operating temperature variation model to predict the target operating temperature of the storage device at a target moment after the current moment; constructing a business load variation model based on the business load of the storage device at each moment within the reference time period, wherein the business load variation model records the relationship between the business load carried by the storage device and time; calling the business load variation model to predict the target business load of the storage device at the target moment; and determining the target operating parameters corresponding to the target operating temperature and the target business load from the corresponding relationship among the operating temperature, business load and operating parameters. Through the above content, by using the temperature changes within a reference time period to predict the operating temperature of the storage device in the future, and by using the business load changes within the reference time period to predict the business load of the business carried by the storage device in the future, the heat dissipation requirements of the storage device in the corresponding operating state in the future can be predicted based on the predicted target operating temperature and target business load. Therefore, the predicted target operating parameters can be used to dissipate heat in advance for the storage device, thereby effectively ensuring the heat dissipation effect of the storage device, avoiding the power consumption problem caused by controlling the heat dissipation device to operate at maximum power in related technologies, and reducing the operating power consumption of the heat dissipation device while ensuring effective heat dissipation of the storage device.

[0066] Optionally, in an embodiment of the present application, the target operating parameter may be, but is not limited to, the maximum operating parameter adopted by the heat dissipation device, that is, when the storage device is overheated, the heat dissipation device is controlled to operate according to the maximum operating parameter, thereby effectively adjusting the operating temperature of the storage device.

[0067] Optionally, in the embodiment of the present application, the alarm signal is generated when the operating temperature of the memory card is too high. Since the operating temperature of the memory card may be caused by the overheating of the memory card itself or by the operating environment factors of the memory card, it is necessary to detect the current operating parameters of the memory card when locating the target memory card, and predict whether the memory card has a fault according to the operating parameters of the memory card, so as to avoid misjudging a normal memory card as a faulty memory card due to the overheating of the memory card caused by the operating environment factors. In this embodiment, the operating parameters of each memory card can be accessed through the storage manager, for example, the fault locator can send a parameter acquisition request to the storage manager, the parameter acquisition request is used to instruct the storage manager to acquire the current parameters of the memory card; receive the operating temperature, current value and voltage value of each memory card acquired by the storage manager in response to the parameter acquisition request, and then when the operating temperature meets the abnormal memory card temperature condition, and / or the current value meets the abnormal memory card current condition, and / or the voltage value meets the abnormal memory card voltage condition, determine that the current memory card is a target memory card in a faulty state. In the above manner, by analyzing the operating parameters of each memory card, the influence of the external environment on the operating temperature of the memory card is avoided, thereby avoiding the memory card being misjudged as a faulty memory card under the influence condition.

[0068] In the embodiment provided in the above step S206, the alarm signal is transmitted to the state controller, thereby instructing the storage device to respond to the alarm signal and perform a power-off protection operation on the storage device, thereby avoiding the impact on the hardware of the memory card in the storage device. When performing power-off protection, in order to avoid the impact of power-off protection on the services handled by the server, this embodiment can adopt a partial power-off protection method, that is, power-off protection is performed on the target memory card in the storage device, and the normal operation status of other memory cards in the storage device is maintained. The memory card may be configured with, but is not limited to, a power management chip (Power Management Integrated Circuit, PMIC), which is used to manage the power-on state of the memory card. Therefore, the state controller may send a target operation instruction to the storage manager for performing a power-off protection operation on the target memory card; after receiving the target operation instruction, the storage manager detects the target business load of the target business currently carried on the target memory card, and selects a candidate memory card from the other memory cards in the storage device according to the business load of other memory cards except the target memory card, wherein the load margin of the candidate memory card is greater than or equal to the target business load; the target business is transferred to the candidate memory card, and after the target business is transferred to the candidate memory card, a power-off instruction is sent to the power management chip of the target memory card. Through the above embodiments, it is possible to implement power-off protection for a faulty memory card while ensuring that the service processing function of the server is not affected.

[0069] Figure 4 is a schematic diagram of an optional faulty memory card positioning system according to an embodiment of the present application, such as Figure 4 As shown, the faulty storage card locating system includes a storage manager, a storage device, a fault locator, a state controller and a heat dissipation device. The storage device includes multiple storage cards. The storage manager is used to uniformly manage the multiple storage cards, so that the multiple storage cards are identified as storage devices on the storage manager. Then, the fault locating system can locate the target storage card in a faulty state through the following operations:

[0070] S401, when a storage card in the storage device is in an over-temperature state during operation, an alarm signal is generated and transmitted to a fault locator;

[0071] S402, the fault locator controls the heat dissipation device to operate according to the target operating parameters in response to the alarm signal, thereby achieving heat dissipation of the storage device and avoiding damage to the storage card hardware due to overheating;

[0072] S403, after controlling the heat dissipation device to dissipate heat from the storage device, the fault locator sends a request to the storage manager to obtain operation information of the storage card in the storage device;

[0073] S404, the storage manager responds to the request for obtaining the operation information and accesses the memory card included in the storage device to obtain the operation information of the memory card;

[0074] S405, the storage manager sends the collected operation information of the storage card to the fault locator;

[0075] S406, the fault locator determines the fault state of the memory card according to the operation information of the memory card, thereby locating the target memory card in the storage device that is in the fault state;

[0076] S407, after determining that the alarm signal is issued due to a target storage device failure in the storage device, the fault locator transmits the alarm signal to the state controller;

[0077] S408: The state controller responds to the alarm signal and performs a power-off protection operation on the storage device.

[0078] Through the above content, by deploying a fault locator in the server, after outputting the alarm signal, the heat dissipation device in the server is controlled and the storage device is fault located by the fault locator, thereby solving the existing problem that such bugs cannot be directly located and the problem that the computer room maintenance cannot directly maintain similar anomalies.

[0079] As an optional embodiment, a storage manager is further installed on the server, the fault locator is connected to the storage manager, the storage manager is used to manage the data storage status of the storage card in the storage device, and locating the target storage card that causes the storage device to issue the alarm signal from the multiple storage cards includes:

[0080] calling the storage manager to collect target operation information of each of the plurality of storage cards, wherein the target operation information is used to indicate an operation state of the storage card when the heat dissipation device dissipates heat for the storage device according to target operation parameters;

[0081] The target memory card in the storage device is located according to the target operation information.

[0082] Optionally, in an embodiment of the present application, the target operating information of the memory card may include the operating temperature, read / write speed, health status, etc. of the memory card, which is not limited in this solution.

[0083] Optionally, in an embodiment of the present application, the storage manager may collect target operation information of the storage card by accessing the status information of the storage card through a bus interface, and the storage card transmits sensor data such as temperature and voltage to the storage manager through the bus interface. This solution does not limit this.

[0084] Optionally, in an embodiment of the present application, a method for locating a target memory card in a storage device according to the target operation information may be to compare a parameter value in the target operation information of the memory card with a limit value of the parameter during normal operation of the memory card; when the parameter value in the target operation information is greater than the limit value of the parameter during normal operation, the memory card is located as the target memory card; and this solution does not limit this.

[0085] Through the above content, by collecting the target operation information of each of the multiple memory cards, it is possible to judge whether the memory card is in a fault state according to the operation state of the memory card, thereby avoiding misjudgment of whether the memory card is in a fault state.

[0086] As an optional embodiment, a controller is deployed on the memory card, the storage manager is connected to the controller deployed on each memory card, the controller is used to adjust the power supply state of the memory card, and the controller is configured with a storage space for storing the card temperature of the memory card.

[0087] The calling of the storage manager to collect target operation information of each of the plurality of storage cards includes:

[0088] Sending a target acquisition instruction to the storage manager, wherein the target acquisition instruction is used to instruct the storage manager to acquire the card temperature of the memory card during operation;

[0089] Receive a target temperature of each of the storage cards sent by the storage manager, wherein the target operation information includes the target temperature, and the target temperature is collected by the storage manager from the storage space of the corresponding storage card in response to the target collection instruction.

[0090] Optionally, in an embodiment of the present application, the target acquisition instruction may carry, but is not limited to, the storage card information of the card temperature to be acquired, and then the storage manager may access the corresponding storage card according to the storage card information after receiving the acquisition instruction, so as to read the target temperature of the storage card. In this embodiment, the storage manager may be connected to each of the storage cards via an I3C bus, and then after determining the storage card of the card temperature to be acquired, the storage manager calls the corresponding I3C bus to access the storage card.

[0091] Optionally, in an embodiment of the present application, the storage manager and the fault locator may be connected via, but not limited to, a JATG (standard test access port and boundary scan structure) bus. Therefore, the fault locator may call the JATG bus to send a target acquisition instruction to the storage manager by sending an instruction to the storage manager via JATG (standard test access port and boundary scan structure). Then, after the storage manager acquires the target temperature of the memory card, the acquired target temperature may be transmitted to the fault locator via the JATG bus. This solution does not limit this.

[0092] Optionally, in an embodiment of the present application, the controller may be a PMIC (Power Management Integrated Circuit) deployed on a memory card, and the storage space is a non-volatile memory space deployed on the PMIC. The PMIC is used to manage the power supply status of the memory card and the operating status of the memory card. The PMIC may collect the operating temperature of the memory card and store the collected operating temperature in the storage space, thereby facilitating the fault locator to locate the fault of the memory card according to the operating information stored in the storage space.

[0093] Through the above content, by deploying a controller on the storage card and configuring storage space in the controller, the controller can collect the operation information of the storage card and store it in the storage space, and then access the storage space on the controller of the storage card through the storage manager, thereby locating the fault of the storage card according to the operation information of the storage card and improving the accuracy of the fault location result.

[0094] As an optional embodiment, sending the target acquisition instruction to the storage manager includes:

[0095] Acquire access address information of the controller deployed on each of the plurality of memory cards;

[0096] Generate the target acquisition instruction carrying the access address information, wherein the target acquisition instruction is used to instruct the storage manager to access the controller indicated by the access address information to obtain the card temperature of the corresponding memory card during operation;

[0097] Sending the target acquisition instruction to the storage manager;

[0098] When the operation of sending the target acquisition instruction to the storage manager is completed, the target time of sending the target acquisition instruction is recorded, and the number of times the target acquisition instruction is sent in the target log is updated, wherein the target log is used to record the sending status of sending the acquisition instruction to the storage manager;

[0099] extracting a target sending number of the target acquisition instruction from the target log when no storage card temperature sent by the storage manager in response to the target acquisition instruction is received within a reference time period after the target time;

[0100] When the target sending number is greater than or equal to the preset sending number, a target alarm message is generated and sent to a target account that has a binding relationship with the server, wherein the target alarm message is used to indicate that the controller is in a fault state, and the target account is an account used to maintain the operating status of the server.

[0101] Optionally, in an embodiment of the present application, the parameters of the access address information may be a network protocol format, IP address, port, path, etc., which is not limited in this solution.

[0102] Optionally, in an embodiment of the present application, the operating status of the corresponding storage card at the current time is obtained by accessing the controller. When the controller fails, the storage manager cannot access the controller, and thus cannot collect the operating status of the storage card. In actual applications, factors that cause the storage manager to be unable to access the controller may include but are not limited to controller failure and communication delays, etc. Therefore, in order to avoid interference from external factors such as communication delays in determining that the controller is in a faulty state, in this embodiment, after the storage manager cannot access the controller, repeated access can be performed to avoid the influence of communication delays. Therefore, the fault locator can control the storage manager to perform access operations on the controller by repeatedly executing the target acquisition instruction to the storage manager. When the number of transmissions reaches the preset number of transmissions, it is determined that the current controller is in a faulty state.

[0103] Optionally, in an embodiment of the present application, the state controller and the fault locator may also be program modules configured in a controller deployed in the server (the controller may be but is not limited to a BMC deployed in the server), that is, a program having the function of responding to an alarm signal to control the storage device to perform a power-off protection operation is encapsulated as a state controller, and a program having the function of controlling the operation of the heat dissipation device and locating the faulty storage after receiving the alarm signal is encapsulated as a fault locator, and the state controller and the fault locator are deployed in the controller, and the execution order of the state controller and the fault locator is configured in the controller, that is, after receiving the alarm signal, the fault locator is executed first, and after the fault locator locates the target storage card, the alarm signal is sent to the state controller. Figure 5It is an optional fault location flowchart according to an embodiment of the present application. A signal collector for collecting alarm signals of the storage device is deployed between the controller and the storage device. The signal collector and the controller are connected via an I2C bus, the controller and the storage manager are connected via a JTAC bus, and the storage manager and the storage card are connected via an 13C bus. A PMIC is deployed on the storage card. If a storage card reports a PMIC abnormal signal, the abnormal memory pulls down the PWRGD_FAIL signal (normally it is a high level). After the CPLD detects the low level of the signal, it is necessary to locate the faulty storage card in the storage device, such as Figure 5 As shown:

[0104] CPLD (i.e., the signal collector mentioned above) can obtain the status of PMIC abnormal signals (alarm signals) (PWR_FAIL) of all memories (storage cards) in real time. That is, if CPLD obtains a PMIC abnormal alarm signal, it means that multiple memories (multiple storage cards) in the corresponding storage device may have memory PMIC abnormalities. Usually, at this time, CPLD needs to control the server to shut down as soon as possible to avoid the deterioration of serious problems such as memory overheating and overcurrent, which will directly damage the hardware. However, if the server is shut down at this time, the abnormal information that was not saved in the memory NVM when the PMIC was abnormal cannot be obtained. Therefore, after receiving the memory PMIC abnormal signal, the server shutdown operation is not performed;

[0105] The more serious PMIC problems that occur in servers include abnormal memory power supply load, excessive current, abnormal heat dissipation, etc. If such problems are not promptly shut down and handled, serious consequences such as memory overheating and board burning usually occur. When the above problems occur, the memory temperature will rise significantly, and excessive temperature will cause hardware damage. To avoid similar problems, after the CPLD detects the memory PMIC_FAIL signal, the BMC (controller) immediately controls the entire machine fan (heat dissipation device) to run at full speed to improve the heat dissipation capacity of the entire machine, especially the memory part;

[0106] Through a PMIC abnormal signal obtained by CPLD, the corresponding memory slots and related register correspondences of multiple memories can be found, and the information is passed to BMC through I2C. BMC sends a command to CPU (storage manager) through JTAG. CPU grabs the PMIC register information of the corresponding 4 possible abnormal memory locations through I3C, and BMC starts a timer program starting from 0. After BMC sends the command, it starts a high-priority self-loop process, sends a command to CPU through JTAG every 1 second to read the temperature of the corresponding 4 memories, and determines whether the temperature exceeds the limit temperature of 85 degrees Celsius. If it exceeds, it will shut down immediately to avoid hardware damage caused by excessive memory temperature, and record the corresponding memory slots exceeding 85 degrees Celsius, so as to find the location of the abnormal memory.

[0107] If the memory is not overheated, the CPU will normally take no more than 5 seconds to capture four memory PMIC registers. Therefore, the BMC will determine whether the CPU has completed the capture of four memory PMIC registers within 15 seconds. If not, it means that the memory PMIC is abnormal and cannot access the registers, resulting in a register capture abnormal timeout. After recording the timeout alarm, the computer will be shut down immediately to avoid other unexpected abnormal problems.

[0108] If the BMC timer does not exceed 15S, it is necessary to determine whether the CPU has completed the capture of the four memory PMIC registers. If not, continue to monitor the memory temperature. If the capture is completed, the register data captured by the CPU can be sent to the BMC immediately, and the memory PMIC related register data can be recorded at the same time, and then the computer can be shut down immediately.

[0109] The BMC finally collects all log information and provides information about the memory slot where the PMIC abnormality occurs so that maintenance personnel can replace it and R&D personnel can further investigate the problem.

[0110] Through the above content, by controlling the storage manager to repeatedly access the controller that failed to be accessed, the influence of external communication delay interference on the determination of whether the controller is faulty is avoided, thereby ensuring the accuracy of the determination result.

[0111] As an optional embodiment, locating the target storage card in the storage device according to the target operation information includes:

[0112] Matching the collected target temperature during the operation of the reference memory card with a target temperature range, wherein the service handling quality of the memory card whose card temperature is within the target temperature range satisfies the target quality condition, the target operation information includes the target temperature, and the multiple memory cards include the reference memory card;

[0113] When the target temperature does not fall within the target temperature range, obtaining a reference temperature collected by a reference temperature collection device, wherein the reference temperature collection device is used to collect an ambient temperature of a location where the reference storage card is deployed;

[0114] Matching the reference temperature with an ambient temperature condition to obtain a matching result, wherein the ambient temperature condition is used to indicate an ambient temperature required for the memory card to operate;

[0115] In a case where the matching result indicates that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition, the reference memory card is determined as the target memory card.

[0116] Optionally, in an embodiment of the present application, the ambient temperature condition may be a maximum temperature that can satisfy the normal operation of the memory card, or a minimum temperature that can satisfy the normal operation of the memory card, or a temperature range that can satisfy the normal operation of the memory card, and this solution does not limit this.

[0117] Through the above content, when it is detected that the target temperature of the reference memory card does not fall within the target temperature range, it can be determined that the current memory card is in an overtemperature state, and then by detecting the ambient temperature of the operating environment of the memory card, it is determined whether the ambient temperature meets the operating requirements of the memory card, thereby avoiding excessive operating temperature of the memory card due to environmental factors, and thus judging the normal memory card as a target memory card in a faulty state.

[0118] As an optional embodiment, the reference temperature acquisition device includes a first temperature acquisition device and a second temperature acquisition device, the first temperature acquisition device is deployed at the air inlet of the target air-cooling device, the second temperature acquisition device is deployed at the air outlet of the target air-cooling device, the heat dissipation device includes the target air-cooling device, and the target air-cooling device is a device for controlling the temperature of the reference memory card.

[0119] The step of matching the reference temperature with the ambient temperature condition to obtain a matching result includes:

[0120] Matching a first temperature and a second temperature with preset temperatures respectively, wherein the first temperature is collected by the first temperature collection device, and the second temperature is collected by the second temperature collection device;

[0121] When the first temperature is lower than the preset temperature and the second temperature is lower than the preset temperature, it is determined that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition.

[0122] Optionally, in an embodiment of the present application, the temperature acquisition device includes a temperature sensor, and the temperature sensor converts the collected temperature value into a measurable electrical signal and transmits it to the heat dissipation device. This solution does not limit this.

[0123] Optionally, in an embodiment of the present application, the first temperature is the ambient temperature of the location where the memory is deployed, the second temperature is the ambient temperature of the location where the memory is deployed after heat dissipation and cooling treatment, and the preset temperature is the highest temperature that can meet the normal operation of the memory card.

[0124] Through the above content, by collecting the temperature of the air inlet and outlet of the target air-cooling device and comparing it with the preset temperature, it is possible to determine whether the ambient temperature in which the storage device is deployed is normal or overheated, thereby determining whether the alarm signal is caused by abnormal ambient temperature or abnormal components of the storage device itself, thereby improving the accuracy of fault type positioning.

[0125] As an optional embodiment, controlling the heat dissipation device to operate according to the target operating parameters includes:

[0126] Determining a target heat dissipation device for temperature control of the storage device from the plurality of heat dissipation devices;

[0127] Determining the target operating parameter of the target heat dissipation device corresponding to the current operating temperature of the storage device from the operating temperatures and the operating parameters of the target heat dissipation device having a corresponding relationship;

[0128] The target heat dissipation device is controlled to operate according to the target operating parameters.

[0129] Optionally, in an embodiment of the present application, a method for determining a target heat dissipation device for temperature control of a storage device from a plurality of heat dissipation devices may be to calculate the distances between the plurality of heat dissipation devices and the storage device and select a heat dissipation device that is closer to the storage device, or to determine the heat dissipation requirement based on the target operating state of the storage device and select a heat dissipation device from a plurality of heat dissipation devices whose heat dissipation configuration can meet the heat dissipation requirement of the storage device. This scheme is not limited to this.

[0130] Optionally, in an embodiment of the present application, the operating temperature and operating parameters of the target heat dissipation device having a corresponding relationship may be a set of operating parameters corresponding to a temperature range for normal operation of the storage device, and this solution does not limit this.

[0131] Through the above content, by determining the target heat dissipation device for temperature control of the storage device from multiple heat dissipation devices, and determining the target operating parameters of the target heat dissipation device corresponding to the current operating temperature of the storage device from the operating temperatures and operating parameters of the target heat dissipation devices having a corresponding relationship, it can be ensured that the heat dissipation device can reduce the storage device in an over-temperature state to a normal temperature, thereby improving the heat dissipation effect.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0133] In this embodiment, a device for locating a faulty memory card is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0134] Figure 6 1 is a structural block diagram of a device for locating a faulty storage card according to an embodiment of the present application, wherein the device is applied to a fault locator deployed on a server, wherein a storage device, a heat dissipation device and a state controller are installed on the server, wherein the storage device includes a plurality of storage cards, wherein the state controller is used to control the storage device to perform power-off protection in response to an alarm signal sent by the storage device, wherein the fault locator is deployed between the state controller and the storage device, and wherein the fault locator is also connected to the heat dissipation device, such as Figure 6 As shown, the apparatus includes: a receiving module 62, for receiving the alarm signal issued by the storage device, wherein the alarm signal is used to indicate that the operating temperature of the storage device has fallen into a temperature range for power-off protection of the storage device; a processing module 64, for responding to the alarm signal, controlling the heat dissipation device to operate according to target operating parameters, and locating the target storage card that causes the storage device to issue the alarm signal from the multiple storage cards, wherein the target operating parameters are used to adjust the operating temperature of the storage device to outside the temperature range; and a transmission module 66, for transmitting the alarm signal to the state controller.

[0135] Through the above content, by deploying a fault locator in the server, the fault locator is deployed between the state controller and the storage device, and then when receiving an alarm signal indicating that the operating temperature of the storage device has fallen into the temperature range of power-off protection for the storage device, the heat dissipation device is controlled to operate according to the target operating parameters to dissipate heat for the storage card, so that the operating parameters of the storage device can be adjusted to outside the temperature range of power-off protection, so that on the one hand, damage to the hardware of the storage card included in the storage device can be avoided, and on the other hand, in this state, the target storage card among multiple storage cards that causes the storage device to send an alarm signal can be located, avoiding the inability to accurately locate the faulty storage card caused by directly powering off the storage device after receiving the alarm signal in the related art. Therefore, the problem of being unable to accurately locate the faulty storage card in the storage device in the related art can be solved, and the effect of accurately locating the faulty storage card in the storage device can be achieved.

[0136] Optionally, a storage manager is also installed on the server, the fault locator is connected to the storage manager, and the storage manager is used to manage the data storage status of the storage card in the storage device. The processing module includes:

[0137] a calling unit, configured to call the storage manager to collect target operation information of each of the plurality of storage cards, wherein the target operation information is used to indicate an operation state of the storage card when the heat dissipation device dissipates heat for the storage device according to target operation parameters;

[0138] A positioning unit is used to locate the target storage card in the storage device according to the target operation information.

[0139] Optionally, the calling unit is further used to:

[0140] Sending a target acquisition instruction to the storage manager, wherein the target acquisition instruction is used to instruct the storage manager to acquire the card temperature of the memory card during operation;

[0141] Receive a target temperature of each of the storage cards sent by the storage manager, wherein the target operation information includes the target temperature, and the target temperature is collected by the storage manager from the storage space of the corresponding storage card in response to the target collection instruction.

[0142] Optionally, the calling unit is further used to:

[0143] Acquire access address information of the controller deployed on each of the plurality of memory cards;

[0144] Generate the target acquisition instruction carrying the access address information, wherein the target acquisition instruction is used to instruct the storage manager to access the controller indicated by the access address information to obtain the card temperature of the corresponding memory card during operation;

[0145] Sending the target acquisition instruction to the storage manager;

[0146] When the operation of sending the target acquisition instruction to the storage manager is completed, the target time of sending the target acquisition instruction is recorded, and the number of times the target acquisition instruction is sent in the target log is updated, wherein the target log is used to record the sending status of sending the acquisition instruction to the storage manager;

[0147] extracting a target sending number of the target acquisition instruction from the target log when no storage card temperature sent by the storage manager in response to the target acquisition instruction is received within a reference time period after the target time;

[0148] When the target sending number is greater than or equal to the preset sending number, a target alarm message is generated and sent to a target account that has a binding relationship with the server, wherein the target alarm message is used to indicate that the controller is in a fault state, and the target account is an account used to maintain the operating status of the server.

[0149] Optionally, the positioning unit is further used for:

[0150] Matching the collected target temperature during the operation of the reference memory card with a target temperature range, wherein the service handling quality of the memory card whose card temperature is within the target temperature range satisfies the target quality condition, the target operation information includes the target temperature, and the multiple memory cards include the reference memory card;

[0151] When the target temperature does not fall within the target temperature range, obtaining a reference temperature collected by a reference temperature collection device, wherein the reference temperature collection device is used to collect an ambient temperature of a location where the reference storage card is deployed;

[0152] Matching the reference temperature with an ambient temperature condition to obtain a matching result, wherein the ambient temperature condition is used to indicate an ambient temperature required for the memory card to operate;

[0153] In a case where the matching result indicates that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition, the reference memory card is determined as the target memory card.

[0154] Optionally, the positioning unit is further used for:

[0155] Matching a first temperature and a second temperature with preset temperatures respectively, wherein the first temperature is collected by the first temperature collection device, and the second temperature is collected by the second temperature collection device;

[0156] When the first temperature is lower than the preset temperature and the second temperature is lower than the preset temperature, it is determined that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition.

[0157] Optionally, the processing module further includes:

[0158] A first determining unit, configured to determine a target heat dissipation device for temperature control of the storage device from among the plurality of heat dissipation devices;

[0159] A second determining unit, configured to determine the target operating parameter of the target heat dissipation device corresponding to the current operating temperature of the storage device from the operating temperatures and the operating parameters of the target heat dissipation device having a corresponding relationship;

[0160] A control unit is used to control the target heat dissipation device to operate according to the target operating parameters.

[0161] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0162] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0163] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0164] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0165] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0166] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0167] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0168] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.

[0169] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0170] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0171] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for locating a faulty memory card, characterized in that: The method is applied to a fault locator deployed on a server, wherein a storage device, a heat dissipation device and a state controller are installed on the server, wherein the storage device includes a plurality of storage cards, and the state controller is used to control the storage device to perform power-off protection in response to an alarm signal sent by the storage device, wherein the fault locator is deployed between the state controller and the storage device, and the fault locator is also connected to the heat dissipation device, and the method comprises: Receiving the alarm signal sent by the storage device, wherein the alarm signal is used to indicate that the operating temperature of the storage device has fallen into a temperature range for power-off protection of the storage device; In response to the alarm signal, controlling the heat dissipation device to operate according to target operating parameters, and locating a target memory card from the plurality of memory cards that causes the memory device to issue the alarm signal, wherein the target operating parameters are used to adjust the operating temperature of the memory device to outside the temperature range; The alarm signal is transmitted to the state controller.

2. The method according to claim 1, characterized in that A storage manager is also installed on the server, the fault locator is connected to the storage manager, and the storage manager is used to manage the data storage status of the storage card in the storage device. The step of locating the target memory card from the plurality of memory cards that causes the storage device to send the alarm signal comprises: calling the storage manager to collect target operation information of each of the plurality of storage cards, wherein the target operation information is used to indicate an operation state of the storage card when the heat dissipation device dissipates heat for the storage device according to target operation parameters; The target memory card in the storage device is located according to the target operation information.

3. The method according to claim 2, characterized in that A controller is deployed on the memory card, the storage manager is connected to the controller deployed on each memory card, the controller is used to adjust the power supply state of the memory card, and the controller is configured with a storage space for storing the card temperature of the memory card. The calling of the storage manager to collect target operation information of each of the plurality of storage cards includes: Sending a target acquisition instruction to the storage manager, wherein the target acquisition instruction is used to instruct the storage manager to acquire the card temperature of the memory card during operation; Receive a target temperature of each of the storage cards sent by the storage manager, wherein the target operation information includes the target temperature, and the target temperature is collected by the storage manager from the storage space of the corresponding storage card in response to the target collection instruction.

4. The method according to claim 3, characterized in that The sending of the target acquisition instruction to the storage manager includes: Acquire access address information of the controller deployed on each of the plurality of memory cards; Generate the target acquisition instruction carrying the access address information, wherein the target acquisition instruction is used to instruct the storage manager to access the controller indicated by the access address information to obtain the card temperature of the corresponding memory card during operation; Sending the target acquisition instruction to the storage manager; When the operation of sending the target acquisition instruction to the storage manager is completed, the target time of sending the target acquisition instruction is recorded, and the number of times the target acquisition instruction is sent in the target log is updated, wherein the target log is used to record the sending status of sending the acquisition instruction to the storage manager; extracting a target sending number of the target acquisition instruction from the target log when no storage card temperature sent by the storage manager in response to the target acquisition instruction is received within a reference time period after the target time; When the target sending number is greater than or equal to the preset sending number, a target alarm message is generated and sent to a target account that has a binding relationship with the server, wherein the target alarm message is used to indicate that the controller is in a fault state, and the target account is an account used to maintain the operating status of the server.

5. The method according to claim 2, characterized in that: The step of locating the target storage card in the storage device according to the target operation information includes: Matching the collected target temperature during the operation of the reference memory card with a target temperature range, wherein the service handling quality of the memory card whose card temperature is within the target temperature range satisfies the target quality condition, the target operation information includes the target temperature, and the multiple memory cards include the reference memory card; When the target temperature does not fall within the target temperature range, obtaining a reference temperature collected by a reference temperature collection device, wherein the reference temperature collection device is used to collect an ambient temperature of a location where the reference storage card is deployed; Matching the reference temperature with an ambient temperature condition to obtain a matching result, wherein the ambient temperature condition is used to indicate an ambient temperature required for the memory card to operate; In a case where the matching result indicates that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition, the reference memory card is determined as the target memory card.

6. The method according to claim 5, characterized in that The reference temperature acquisition device includes a first temperature acquisition device and a second temperature acquisition device, the first temperature acquisition device is deployed at the air inlet of the target air-cooling device, the second temperature acquisition device is deployed at the air outlet of the target air-cooling device, the heat dissipation device includes the target air-cooling device, and the target air-cooling device is a device for controlling the temperature of the reference memory card. The step of matching the reference temperature with the ambient temperature condition to obtain a matching result includes: Matching a first temperature and a second temperature with preset temperatures respectively, wherein the first temperature is collected by the first temperature collection device, and the second temperature is collected by the second temperature collection device; When the first temperature is lower than the preset temperature and the second temperature is lower than the preset temperature, it is determined that the ambient temperature of the location where the reference memory card is deployed meets the ambient temperature condition.

7. The method according to claim 1, characterized in that The controlling the heat dissipation device to operate according to the target operating parameters includes: Determining a target heat dissipation device for temperature control of the storage device from the plurality of heat dissipation devices; Determining the target operating parameter of the target heat dissipation device corresponding to the current operating temperature of the storage device from the operating temperatures and the operating parameters of the target heat dissipation device having a corresponding relationship; The target heat dissipation device is controlled to operate according to the target operating parameters.

8. A device for locating a faulty memory card, characterized in that: The device is applied to a fault locator deployed on a server, a storage device, a heat dissipation device and a state controller are installed on the server, the storage device includes a plurality of storage cards, the state controller is used to control the storage device to perform power-off protection in response to an alarm signal sent by the storage device, the fault locator is deployed between the state controller and the storage device, and the fault locator is also connected to the heat dissipation device, and the device includes: A receiving module, used to receive the alarm signal sent by the storage device, wherein the alarm signal is used to indicate that the operating temperature of the storage device has fallen into a temperature range for power-off protection of the storage device; a response module, configured to respond to the alarm signal, control the heat dissipation device to operate according to a target operation parameter, and locate a target memory card from the plurality of memory cards that causes the memory device to issue the alarm signal, wherein the target operation parameter is used to adjust the operating temperature of the memory device to outside the temperature range; A transmission module is used to transmit the alarm signal to the state controller.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.