Fault processing method and device

By monitoring the working status of the memory module in the computer system and disconnecting the power supply of the abnormal module, the problem of system damage caused by PMIC failure is solved, and the stable operation of the system and loss reduction are achieved.

CN118779138APending Publication Date: 2024-10-15LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410832233.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When a PMIC fails in a computer system, existing technology may cause the system to fail to operate normally or even cause damage, and restarting may make the problem more serious and cannot effectively avoid system damage and data loss.

Method used

After the electronic device is connected to the power supply, the working status of the memory module is monitored through the controller, and the power supply of the abnormal memory module is disconnected using the switch device to ensure that the system runs with the remaining memory modules and avoid system downtime and losses caused by faults.

Benefits of technology

It effectively avoids damage to the system caused by memory module failure, reduces system downtime and losses, and ensures stable operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779138A_ABST
    Figure CN118779138A_ABST
Patent Text Reader

Abstract

The invention provides a fault processing method and device, and the method comprises the steps: monitoring a working state of a memory module based on a controller which is used for managing a memory power supply in electronic equipment after the electronic equipment is connected with a power supply; the electronic equipment comprises a plurality of memory modules. When the working state of the memory module is abnormal, the power supply of the memory module is disconnected through a switch device coupled with the power supply of the memory module, so that the electronic device operates with the remaining memory module; wherein the on-off of the memory module and the remaining memory module is controlled by different switch devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of computer equipment, and in particular to a fault handling method and device. Background Art

[0002] The power supply of double data rate fifth-generation memory (DDR5) comes from the power management circuit (Power Management IC, PMIC) of the memory module itself. When the computer system is running, the PMIC may fail unexpectedly, causing the system to record this failure or even fail to record the data during the system operation. When the PMIC fails, the management unit first uses the serial presence detect (serial presence detect, SPD) of the memory module to check whether the memory module exists. If the memory module is detected, the operation of the computer system is stopped.

[0003] However, the above detection method may fail due to a memory module failure, causing the computer system to continue to run and cause serious system damage. If the PMIC fails, the user may restart the computer, causing the PMIC failure problem to become more serious or even burn out, making the computer system unable to operate normally. Summary of the invention

[0004] The present disclosure provides a fault handling method and device to at least solve the above technical problems existing in the prior art.

[0005] According to a first aspect of the present disclosure, a fault handling method is provided, the method comprising:

[0006] After the electronic device is connected to a power source, monitoring the working state of the memory module based on a controller for managing memory supply power in the electronic device; wherein the electronic device includes a plurality of memory modules;

[0007] When the working state of the memory module is abnormal, disconnecting the power supply of the memory module through a switch device coupled to the power supply of the memory module, so that the electronic device operates with the remaining memory module;

[0008] The memory module and the remaining memory modules are turned on and off by different switch devices.

[0009] In one possible implementation, the memory module is a dual in-line memory module; the dual in-line memory module includes a power management circuit and a presence detector; the monitoring the working state of the memory module includes:

[0010] monitoring the operating status of the power management circuit, and

[0011] The serial detection information obtained by the presence detector for determining whether the dual in-line memory module exists is monitored.

[0012] In one possible implementation, when the working state of the memory module is abnormal, disconnecting the power supply of the memory module through a switch device coupled to the power supply of the memory module includes:

[0013] When an abnormality occurs in the power management circuit and / or the serial detection information cannot be obtained, the connection with the power management circuit is disconnected through the switch device to disconnect the power supply of the memory module.

[0014] In one possible implementation, after the power supply of the memory module is disconnected by a switch device coupled to the power supply of the memory module, the electronic device restarts and operates with the remaining memory modules after the restart.

[0015] In one possible implementation, the electronic device includes a plurality of dual in-line memory modules;

[0016] The dual in-line memory modules are grouped according to the configuration supported by the electronic equipment system to obtain a plurality of dual in-line memory modules of the configuration supported by the electronic equipment system.

[0017] In one possible implementation manner, the plurality of dual in-line memory modules are grouped by dual in-line memory module slots to obtain a plurality of dual in-line memory module groups.

[0018] In one possible implementation, the dual in-line memory module includes more than one dual in-line memory module.

[0019] According to a second aspect of the present disclosure, a fault handling device is provided, the device comprising:

[0020] A controller, used to monitor the working status of the memory module after the electronic device is connected to a power source; wherein the electronic device includes a plurality of memory modules;

[0021] A switch device, used to disconnect the power supply of the memory module when the working state of the memory module is abnormal, so that the electronic device operates with the remaining memory module;

[0022] One end of the switch device is connected to the controller, and the other end is connected to the power supply of the memory module. The controller is also connected to the memory module.

[0023] In one possible implementation, the memory module is a dual in-line memory module; the dual in-line memory module includes a power management circuit and a presence detector;

[0024] One end of the switch device is connected to the controller, and the other end of the switch device is connected to the power management circuit of the memory module. The controller is also connected to the presence detector and the power management circuit respectively.

[0025] In one possible implementation, the ENABLE_A pin of the switch device is connected to the ENABLE_A pin of the controller, and the I2C pin or I3C pin of the controller is connected to the I2C pin or I3C pin of the presence detector and the power management circuit.

[0026] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0027] at least one processor; and

[0028] a memory communicatively connected to the at least one processor; wherein,

[0029] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0030] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0031] The fault handling method and device disclosed in the present application, the electronic device of the present application is provided with multiple memory modules, and each memory module is provided with a corresponding switch device. After the electronic device of the present application is connected to the power supply, the controller is used to monitor in real time whether the working state of the memory module is abnormal, and when the memory module is abnormal, the switch device is used to disconnect the power supply of the memory module, so that the electronic device can operate with the remaining memory modules after restarting. The fault handling method provided by the present application can disconnect the power supply of the failed memory module through the switch device when one of the memory modules of the electronic device fails, and use other normal memory modules to operate after the electronic device is restarted, thereby avoiding damage to the electronic device system when the memory module is abnormal, reducing the time when the system is not working, and reducing losses.

[0032] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0034] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0035] Figure 1 The schematic diagram shows the implementation process of the fault handling method of the embodiment of the present disclosure. Figure 1 ;

[0036] Figure 2 The schematic diagram shows the implementation process of the fault handling method of the embodiment of the present disclosure. Figure 2 ;

[0037] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0038] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0039] The fault handling method and device provided by the present application are described below in conjunction with the accompanying drawings.

[0040] like Figure 1 As shown, the present application provides a fault handling method, the method comprising:

[0041] S101, after the electronic device is connected to a power source, monitoring the working state of a memory module 3 based on a controller 1 for managing memory supply power in the electronic device; wherein the electronic device includes a plurality of memory modules 3;

[0042] It is understandable that the electronic device in the present application may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart home appliance, an artificial intelligence device, a wearable device or a virtual reality device, etc. The electronic device in the present application includes a plurality of memory modules 3, a controller 1 for managing memory supply power, each memory module 3 corresponds to a corresponding switch device 2, and the switch device 2 is used to control the on and off of the supply power of the memory module 3.

[0043] It is understandable that if Figure 2As shown, the controller 1 for managing the memory supply power in the present application can adopt a power management chip (Baseboard Management Controller, BMC), and the BMC can monitor and control the power status of the computer system, including the switching of the power supply, the monitoring of the supply voltage and current, and the alarm and processing of power failure; each memory module 3 includes at least one dual-inline memory module (Dual-Inline-Memory-Modules, DIMM), that is, a memory stick.

[0044] Monitoring the working status of the memory module 3 in the present application includes detecting whether the memory module 3 exists and whether the memory module 3 operates normally. If the memory module 3 does not exist or the memory module 3 is abnormal, it is considered that the working status of the memory module 3 is abnormal.

[0045] For example, when the memory module 3 is not installed correctly or the memory module 3 fails, it may be considered that the memory module 3 does not exist, wherein the memory module 3 fails, such as being loose or having poor contact, etc. The abnormality of the memory module 3 may be that some operations or applications may cause memory problems, such as infinite loops, memory leaks, memory overheating, or memory overflow, etc.

[0046] S102, when the working state of the memory module 3 is abnormal, disconnecting the power supply of the memory module 3 through the switch device 2 coupled to the power supply of the memory module 3, so that the electronic device operates with the remaining memory module 3;

[0047] The memory module 3 and the remaining memory modules 3 are controlled on and off by different switch devices 2 .

[0048] Specifically, the memory module 3 in the present application and the remaining memory modules 3 may use the same power supply or different power supplies; for example, when the same power supply is used, the power supply may be connected to multiple switch devices 2, and then each switch device 2 is connected to a memory module 3, so that each switch device 2 controls the on and off of the power supply and the memory module 3 connected to the switch device 2, or when the memory modules 3 use different power supplies, each power supply is connected to a corresponding switch device 2, and each switch device 2 is then connected to a corresponding memory module 3, so that each switch device 2 controls the on and off between each power supply and the corresponding memory module 3, when the switch device 2 connects the memory module 3 to the power supply, the memory module 3 runs in the electronic device system, and when the switch device 2 disconnects the power supply of the memory module 3, the memory module 3 will not run in the electronic device system. Therefore, when it is detected that the memory module 3 does not exist or is abnormal, the present application can disconnect the power supply of the memory module 3 through the switch device 2, and the electronic device will no longer operate with the memory module 3, but can operate with other memory modules 3 connected to the power supply after restarting, so that the electronic device can continue to operate and will not shut down or fail to work due to an abnormality in a memory module 3. The switch device 2 in the present application can be a circuit breaker.

[0049] The fault handling method provided in the present application can, when a memory module 3 of an electronic device fails, cut off the power supply of the failed memory module 3 through the switch device 2, and use other normal memory modules 3 to operate after the electronic device is restarted, thereby avoiding damage to the electronic device system caused by an abnormality in the memory module 3, reducing the system's non-working time, and reducing losses.

[0050] In some optional embodiments, the memory module 3 is a dual in-line memory module; the dual in-line memory module includes a power management circuit 31 and a presence detector 32; the monitoring of the working state of the memory module 3 includes:

[0051] Monitor the working status of the power management circuit 31, and

[0052] The serial detection information obtained by the presence detector 32 for determining whether the dual in-line memory module exists is monitored.

[0053] Specifically, each dual in-line memory module in the present application uses a memory stick DDR5, and a power management circuit 31 (Power Management IC, PMIC) and a presence detector 32 (serial presence detect, SPD) are provided on the DDR5; wherein, the power management circuit 31 can control the power supply to supply power to the memory module 3, and it is understandable that when the PMIC fails, an error will be reported; at the same time, the presence detector 32SPD in the present application is a serial detection of the existence of the module, and the information on the existence of the module in the memory slot is checked through the electrically erasable programmable read-only memory EEPROM of the serial interface. The information related to the module is recorded in the EEPROM, namely the SPD; when the computer is turned on, the input and output system BIOS directly reads the SPD to obtain the relevant information of the memory, such as the chip and module manufacturer, operating frequency, operating voltage, speed, capacity, voltage and row and column address bandwidth. Therefore, by detecting the PMIC and SPD, the status of the memory module 3 can be known. It can be understood that multiple memory modules 3 are provided in the present application, each memory module 3 is provided with a PMIC and an SPD, and when the system is running, the controller 1 monitors the PMIC and SPD of the running memory module 3 in real time to determine whether the working status of the memory module 3 is abnormal.

[0054] For example, if the controller 1 for managing the memory power supply detects that the PMIC running the memory module 3 is operating normally, and can believe through the SPD that the memory module 3 where it is located exists, then the memory module 3 is considered to be in a normal working state. If the controller 1 for managing the memory power supply detects that the PMIC reports an error or believes through checking the SPD that the memory module 3 where it is located does not exist, then the working state of the memory module 3 is considered to be abnormal.

[0055] In some optional embodiments, when the working state of the memory module 3 is abnormal, the power supply of the memory module 3 is disconnected by a switch device 2 coupled to the power supply of the memory module 3, including:

[0056] When the power management circuit 31 is abnormal and / or the serial detection information cannot be obtained, the switch device 2 is used to disconnect the power management circuit 31 to disconnect the power supply of the memory module 3.

[0057] In the present application, the switch device 2, that is, the circuit breaker, is set between the memory module 3 and the power supply of the memory module 3. The controller 1 monitors in real time whether the PMIC of the running memory module 3 reports an error and monitors in real time the SPD to determine whether the memory module 3 exists. When the PMIC reports an error or cannot obtain the SPD serial information, it means that the working state of the memory module 3 is abnormal. At this time, the controller 1 controls the switch device 2 to disconnect the connection between the memory module 3 and the power supply.

[0058] In some optional embodiments, after the power supply of the memory module 3 is disconnected by a switch device 2 coupled to the power supply of the memory module 3, the electronic device restarts and operates with the remaining memory module 3 after restarting.

[0059] It is understandable that in the present application, after the switch device 2 disconnects the power supply of the running memory module 3, the electronic device will restart because it cannot run, and then after the restart, the electronic device will run with the remaining memory modules 3. In this way, the electronic device will not be unable to run due to the faulty memory module 3, but will continue to run and work using the remaining normal memory modules 3, and it can also avoid serious system damage caused by forced restart.

[0060] For example, continue as Figure 2 As shown, the present application may include multiple memory modules, for example, memory module 3A, memory module 3B, and memory module 3C. Each memory module 3 is provided with a PMIC and an SPD. When a PMIC error is detected on the memory module 3A or the serial information of the SPD of the memory module 3A is obtained, it indicates that an abnormality has occurred in the memory module 3A, for example, the memory module 3A fails, jumps out of the slot, etc. At this time, the controller 1 controls the circuit breaker between the memory module 3A and the power supply of the memory module 3A to be disconnected, so that the memory module 3A is no longer connected to the system, and the system continues to run with the memory module 3B after restarting.

[0061] In some optional embodiments, the electronic device includes a plurality of dual in-line memory modules;

[0062] The dual in-line memory modules are grouped according to the configuration supported by the electronic equipment system to obtain a plurality of dual in-line memory modules of the configuration supported by the electronic equipment system.

[0063] In some optional embodiments, the dual in-line memory module includes more than one dual in-line memory module.

[0064] It can be understood that the electronic device provided in the present application is provided with multiple dual in-line memory modules. In the present application, the dual in-line memory modules can be grouped according to the operating requirements of the electronic device to form a dual in-line memory module, and the dual in-line memory module in each dual in-line memory module can be one or more.

[0065] For example, the dual in-line memory modules included in different dual in-line memory modules may be the same or different. For example, the first dual in-line memory module includes 2 dual in-line memory modules, the second dual in-line memory module includes 1 dual in-line memory module, and the third dual in-line memory module includes 2 dual in-line memory modules.

[0066] In some optional embodiments, the plurality of dual in-line memory modules are grouped by dual in-line memory module slots to obtain a plurality of dual in-line memory module groups.

[0067] Specifically, in the present application, a dual in-line memory module mold slot is provided, and the dual in-line memory modules are grouped through the dual in-line memory module mold slot, thereby obtaining a plurality of dual in-line memory modules.

[0068] For example, each dual in-line memory module mold slot is provided with a plurality of slots, and the slots are used to place the dual in-line memory modules. It is understandable that a card board and a contact head are provided between each slot and the dual in-line memory module, and the contact head contacts the dual in-line memory module to read the information of the dual in-line memory module.

[0069] like Figure 2 As shown, an embodiment of the present application provides a fault handling device, the device comprising:

[0070] A controller 1 is used to monitor the working state of a memory module 3 after the electronic device is connected to a power source; wherein the electronic device includes a plurality of memory modules 3;

[0071] The switch device 2 is used to disconnect the power supply of the memory module 3 when the working state of the memory module 3 is abnormal, so that the electronic device operates with the remaining memory module 3;

[0072] One end of the switch device 2 is connected to the controller 1 , and the other end is connected to the power supply of the memory module 3 . The controller 1 is also connected to the memory module 3 .

[0073] The fault handling device provided in the present application is provided with a controller 1 and a switch device 2. After the electronic device is connected to the power supply, the controller 1 monitors in real time whether the working status of the memory module 3 is abnormal. When the memory module 3 is abnormal, the controller 1 controls the switch device 2 to disconnect the memory module 3 from its power supply, so that the electronic device can operate with other memory modules 3.

[0074] In some optional embodiments, the memory module 3 is a dual in-line memory module; the dual in-line memory module includes a power management circuit 31 and a presence detector 32;

[0075] One end of the switch device 2 is connected to the controller 1 , and the other end of the switch device 2 is connected to the power management circuit 31 of the memory module 3 . The controller 1 is also connected to the presence detector 32 and the power management circuit 31 , respectively.

[0076] Specifically, the controller 1 can obtain whether the power management circuit 31 alarms, and determine whether the memory module 3 exists through the existence detector 32. In this application, a switching device 2 is provided between each memory module 3 and the power supply, and the switching device 2 can be a circuit breaker.

[0077] In some optional embodiments, the ENABLE_A pin of the switch device 2 is connected to the ENABLE_A pin of the controller 1 , and the I2C pin or I3C pin of the controller 1 is connected to the I2C pin or I3C pin of the presence detector 32 and the power management circuit 31 .

[0078] Specifically, in the present application, the controller 1 is provided with an ENABLE_A pin, an I2C pin and an I3C pin. The controller 1 is connected to the switch device 2 via the ENABLE_A pin, and is connected to the power management circuit 31 via the I2C pin or the I3C pin.

[0079] The fault handling method provided in the present application can protect the uninterrupted operation of the system. The controller 1 continuously monitors the PMIC and SPD of the memory module 3. When the PMIC reports an error or the SPD cannot detect the memory module 3, the memory module 3 is disconnected from its power supply through the switching device 2, and the remaining memory modules 3 are used to continue working, so that the electronic device system continues to operate.

[0080] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0081] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0082] like Figure 3As shown, the device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0083] A number of components in the device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0084] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as a fault handling method. For example, in some embodiments, the fault handling method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the fault handling method described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the fault handling method in any other appropriate manner (e.g., by means of firmware).

[0085] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0086] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0087] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0088] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0089] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0090] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0091] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0092] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0093] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A fault handling method, the method comprising: After the electronic device is connected to a power source, monitoring the working state of the memory module based on a controller for managing memory supply power in the electronic device; wherein the electronic device includes a plurality of memory modules; When the working state of the memory module is abnormal, disconnecting the power supply of the memory module through a switch device coupled to the power supply of the memory module, so that the electronic device operates with the remaining memory module; The memory module and the remaining memory modules are turned on and off by different switch devices.

2. The method according to claim 1, wherein: The memory module is a dual in-line memory module; The dual in-line memory module includes a power management circuit and a presence detector; The monitoring of the working status of the memory module includes: monitoring the operating status of the power management circuit, and The serial detection information obtained by the presence detector for determining whether the dual in-line memory module exists is monitored.

3. The method according to claim 2, wherein: When the working state of the memory module is abnormal, disconnecting the power supply of the memory module through a switch device coupled to the power supply of the memory module includes: When an abnormality occurs in the power management circuit and / or the serial detection information cannot be obtained, the connection with the power management circuit is disconnected through the switch device to disconnect the power supply of the memory module.

4. The method according to claim 1, wherein: After the power supply of the memory module is disconnected by a switch device coupled to the power supply of the memory module, the electronic device restarts and operates with the remaining memory modules after restarting.

5. The method according to claim 2, wherein: The electronic device comprises a plurality of dual in-line memory modules; The dual in-line memory modules are grouped according to the configuration supported by the electronic equipment system to obtain a plurality of dual in-line memory modules of the configuration supported by the electronic equipment system.

6. The method according to claim 5, wherein: The plurality of dual in-line memory modules are grouped through dual in-line memory module slots to obtain a plurality of dual in-line memory module groups.

7. The method according to claim 6, wherein: The dual in-line memory module includes more than one dual in-line memory module.

8. A fault handling device, comprising: A controller, used to monitor the working status of the memory module after the electronic device is connected to a power source; wherein the electronic device includes a plurality of memory modules; A switch device, used to disconnect the power supply of the memory module when the working state of the memory module is abnormal, so that the electronic device operates with the remaining memory module; One end of the switch device is connected to the controller, and the other end is connected to the power supply of the memory module. The controller is also connected to the memory module.

9. The device according to claim 8, wherein: The memory module is a dual in-line memory module; the dual in-line memory module includes a power management circuit and a presence detector; One end of the switch device is connected to the controller, and the other end of the switch device is connected to the power management circuit of the memory module. The controller is also connected to the presence detector and the power management circuit respectively.

10. The device according to claim 9, wherein: The ENABLE_A pin of the switch device is connected to the ENABLE_A pin of the controller, and the I2C pin or I3C pin of the controller is connected to the I2C pin or I3C pin of the presence detector and the power management circuit.