Method, system and equipment for positioning fault memory bank and medium

By obtaining the memory slot number of the faulty memory stick and controlling the digital tube to display the string of the serial number, the problem of being unable to quickly locate the faulty memory stick in the existing technology is solved, and fast and accurate fault positioning is achieved, and development and testing efficiency is improved.

CN119645712APending Publication Date: 2025-03-18INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411844245.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The prior art cannot quickly and accurately locate the installation location of the faulty memory stick, resulting in a longer time for users to locate the faulty memory stick in the server, reducing the efficiency of development and testing.

Method used

When the processor memory training fails, the memory slot number where the faulty memory stick is located in the memory training results is obtained, and a control signal is generated for the digital tube, and the digital tube is controlled to display the string of the memory slot number where the faulty memory stick is located, so that the user can quickly locate the faulty memory stick.

Benefits of technology

It realizes the installation location of the faulty memory stick quickly and accurately, saves user positioning time, improves server development and testing efficiency, and uses intuitive digital tube display to clearly remind, which is convenient for users to use and maintain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645712A_ABST
    Figure CN119645712A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method, a system and equipment for positioning a fault memory bank and a medium, and relates to the field of fault positioning. The method comprises the steps that when processor memory training fails, a memory training result is obtained, the memory training result comprises a serial number of a memory slot position where a fault memory bank is located, and control signals for all nixie tubes are generated according to the serial number of the memory slot position where the fault memory bank is located; and controlling each nixie tube to display a character string used for representing the serial number of the memory slot position where the fault memory bank is located by using the control signal. By means of the method, a user can obtain the serial number of the memory slot position where the fault memory bank is located according to the information of the character string, the installation position of the fault memory bank is determined according to the serial number, the purpose of rapidly positioning the fault memory bank is achieved, the development and test efficiency of a server can be improved, display is visual, reminding is obvious, and the user experience is improved. And a user can conveniently use and carry out maintenance work on the memory bank in the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fault location, and in particular to a method, system, device and medium for locating a faulty memory stick. Background Art

[0002] In a server chassis, the left mounting ear of the front window is an important component, which is usually equipped with a power button and indicator light, a UID (User Identification) button and indicator light, a memory fault indicator light, a heat dissipation fault indicator light, a fan fault indicator light, a network fault indicator light, etc. These indicators are used to prompt various situations that occur in the server. For example, when the memory in the server fails, the memory fault indicator light will be lit, prompting the user to repair or replace the faulty memory, but the existing memory fault indicator light design does not have a way to show which DIMM (Dual In-line Memory Module) slot has a faulty memory module. Since there are many memory modules in the server, it takes a lot of time for the user to locate the specific location of the faulty memory module, which reduces the efficiency of development and testing.

[0003] Therefore, a method for quickly locating the installation position of a faulty memory stick is urgently needed. Summary of the invention

[0004] Based on the above technical problems, the embodiments of the present application provide a method, system, device and medium for locating a faulty memory stick, aiming to quickly and accurately locate the installation position of the faulty memory stick to facilitate users to repair or replace the faulty memory stick.

[0005] A first aspect of an embodiment of the present application provides a method for locating a faulty memory bar, the method comprising:

[0006] When the processor memory training fails, a memory training result is obtained, wherein the memory training result includes a serial number of a memory slot where the failed memory bar is located;

[0007] Generate a control signal for each digital tube according to the serial number of the memory slot where the faulty memory stick is located;

[0008] The control signal is used to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0009] Optionally, each of the digital tubes at least includes: a first digital tube for representing the number of the memory slot where the faulty memory bar is located, and a second digital tube for representing the number of the memory channel where the faulty memory bar is located, and the memory channel includes a plurality of the memory slots;

[0010] Generating control signals for each of the digital tubes according to the serial number of the memory slot where the faulty memory stick is located, the method further comprising:

[0011] Generate a first control signal for the first digital tube according to the number of the memory slot where the faulty memory stick is located, and generate a second control signal for the second digital tube according to the number of the memory channel where the faulty memory stick is located;

[0012] Using the control signal to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located, includes:

[0013] The first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is located, and the second control signal is used to control the second digital tube to display the number of the memory channel where the faulty memory stick is located.

[0014] Optionally, the method further comprises:

[0015] Locating the installation position of the faulty memory module according to the character string of the serial number of the memory slot where the faulty memory module is located;

[0016] After the fault of the faulty memory bar is eliminated or replaced with a new memory bar, the memory training is continued starting from the position of the faulty memory bar.

[0017] Optionally, when there are multiple processors, each of the digital tubes includes at least: a first digital tube for representing the number of the memory slot where the faulty memory bar is located, a second digital tube for representing the number of the memory channel where the faulty memory bar is located, and a third digital tube for representing the number of the processor where the faulty memory bar is located, and the processor is connected to multiple memory channels, and the memory channel includes multiple memory slots;

[0018] Generating control signals for each of the digital tubes according to the serial number of the memory slot where the faulty memory stick is located, the method further comprising:

[0019] Generate a first control signal for the first digital tube according to the number of the memory slot where the faulty memory bar is located, generate a second control signal for the second digital tube according to the number of the memory channel where the faulty memory bar is located, and generate a third control signal for the third digital tube according to the number of the processor where the faulty memory bar is located;

[0020] Using the control signal to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located, includes:

[0021] The first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is located, the second control signal is used to control the second digital tube to display the number of the memory channel where the faulty memory stick is located, and the third control signal is used to control the third digital tube to display the number of the processor where the faulty memory stick is located.

[0022] Optionally, when there are multiple processors, the method further includes:

[0023] Locating the installation position of the faulty memory module according to the character string of the serial number of the memory slot where the faulty memory module is located;

[0024] After the fault of the faulty memory bar is eliminated or replaced with a new memory bar, continuing the memory training from the position of the faulty memory bar;

[0025] After the memory training of the first processor is completed, the memory training is performed on the second processor.

[0026] Optionally, the method further comprises:

[0027] When the server on which the processor is installed is powered on, each of the digital tubes displays a first character, indicating that each of the digital tubes is in a normal working state;

[0028] After the memory training is completed, each digital tube displays the second character, indicating that each memory bar has passed the memory training.

[0029] Optionally, the method further comprises:

[0030] When the processor memory training fails, the memory fault indicator light is lit, indicating that there is a faulty memory bar.

[0031] A second aspect of an embodiment of the present application provides a system for locating a faulty memory stick, the system comprising:

[0032] Memory sticks, memory slots, memory channels, processors, servers, basic input and output systems, baseboard management controllers, conversion chips, digital tubes;

[0033] The memory bar is installed in the memory slot, the memory channel includes a plurality of the memory slots, the processor is connected to a plurality of the memory channels, and the server includes a plurality of the processors;

[0034] When the processor memory training fails, the basic input and output system executes any one of the methods proposed in the first aspect of the present application, obtains the memory training result of the processor from the processor, and sends the memory training result of the processor to the baseboard management controller;

[0035] The baseboard management controller sends the memory training result of the processor to the conversion chip;

[0036] The conversion chip executes any one of the methods proposed in the first aspect of the present application, generates control signals for each of the digital tubes according to the serial number of the memory slot where the faulty memory stick is located, and uses the control signal to control each of the digital tubes to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0037] Optionally, the system further comprises:

[0038] Each of the digital tubes is installed on the front window display panel of the server and is used to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0039] Optionally, the system further comprises: a cable;

[0040] The conversion chip includes a plurality of control interfaces, the digital tube includes a plurality of digital tube interfaces, and the control interfaces correspond to the digital tube interfaces one by one;

[0041] The conversion chip sends the control signal from the control interface to the digital tube interface through the cable, and controls each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0042] Optionally, the system further comprises: a memory fault indicator light;

[0043] The memory fault indicator light is installed at the left hanging ear of the front window of the server, and is used to light up when the processor memory training fails, indicating that there is a faulty memory bar.

[0044] A third aspect of an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for locating a faulty memory stick as in the first aspect of an embodiment of the present application is implemented.

[0045] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for locating a faulty memory bar according to the first aspect of an embodiment of the present application is implemented.

[0046] A fifth aspect of the embodiments of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for locating a faulty memory bar according to the first aspect of the embodiments of the present application.

[0047] By using the method for locating a faulty memory stick in an embodiment of the present application, when processor memory training fails, a memory training result is obtained, and the faulty memory stick that caused the memory training failure is determined based on the memory training result, and the serial number of the memory slot where the faulty memory stick is located is obtained. Then, a control signal for each digital tube is generated based on the serial number, so that each digital tube lights up and displays a character string of the serial number of the memory slot where the faulty memory stick is located, so as to determine the installation position of the faulty memory stick.

[0048] In the present application, in view of the drawback that the location of a faulty memory stick cannot be determined in the related art, a method of using a digital tube to display the installation location of a faulty memory stick is proposed. This method can not only quickly notify the user of the result of the memory training when a memory training failure occurs during the memory training process of the server, but also display a string of characters through the digital tube. The user can obtain the serial number of the memory slot where the faulty memory stick is located based on the information in the string, and determine the installation location of the faulty memory stick based on the serial number, thereby achieving the purpose of quickly locating the faulty memory stick. This can not only improve the development and testing efficiency of the server, but also has an intuitive display and obvious reminders, which is convenient for users to use and carry out maintenance work on the memory sticks in the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0050] Figure 1 is a flow chart of a method for locating a faulty memory bar proposed in an embodiment of the present application;

[0051] Figure 2 This is a schematic diagram of a system for locating a faulty memory stick proposed in an embodiment of the present application;

[0052] Figure 3 This is a schematic diagram of a server front window display panel proposed in an embodiment of the present application;

[0053] Figure 4 It is a logic block diagram for displaying the installation position of a faulty memory module proposed in an embodiment of the present application;

[0054] Figure 5 It is a schematic diagram of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] In the drawings, the size of the constituent elements, the thickness of the layer or the area may be exaggerated for the sake of clarity. Therefore, any implementation of the present disclosure is not necessarily limited to the size shown in the drawings, and the shapes and sizes of the components in the drawings do not reflect the true proportions. In addition, the drawings schematically show ideal examples, and any implementation of the present disclosure is not limited to the shapes or values ​​shown in the drawings.

[0057] Please refer to Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for locating a faulty memory module proposed in an embodiment of the present application. Figure 1 As shown, the method may include steps S101 to S103:

[0058] Step S101: when the processor memory training fails, obtaining a memory training result, wherein the memory training result includes a serial number of a memory slot where the faulty memory module is located;

[0059] Step S102: generating a control signal for each digital tube according to the serial number of the memory slot where the faulty memory stick is located;

[0060] Step S103: using the control signal to control each of the digital tubes to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0061] In the related art, during the use and maintenance of the server, various components in the server may have fault problems. Usually, the fault prompts are given through the various indicator lights on the left ear of the front window on the front panel of the server. However, similar to the power indicator light, there may be only one corresponding power switch, which can clearly point to the power failure when a fault occurs. Similar to the memory failure problem proposed in this application, since there are multiple memory sticks installed in the server, only one memory fault indicator light can only remind the user of the memory failure, but which memory stick failure caused the memory fault indicator light to light up, the user still needs to further locate it. Since there are many memory sticks installed in the server, this positioning process often takes a lot of time, and the cause of the fault may be only a virtual connection caused by the memory stick not being installed firmly, which causes the user to spend a lot of meaningless time costs in the process of using the server, reducing the user's development and testing efficiency.

[0062] Therefore, the present application proposes a method for locating a faulty memory stick. Through the method proposed in the present application, when a user faces a memory failure in the server during the process of using the server, the memory slot serial number where the faulty memory is located can be displayed through a character string composed of a digital tube when the memory fails. The user can determine the installation position of the faulty memory stick according to the prompt information of the digital tube based on the known character arrangement rules, thereby quickly locating the faulty memory, saving the user's time for further locating the fault according to the prompt information of the fault indicator light. While the memory fault prompt is being given, the installation position of the faulty memory stick can be located, and the entire fault confirmation process is completed in one step, which not only improves the user's work efficiency in troubleshooting, but also greatly saves the user's time and improves the user's usage experience.

[0063] Step S101: when the processor memory training fails, a memory training result is obtained, wherein the memory training result includes the serial number of the memory slot where the faulty memory module is located.

[0064] In the embodiment of the present application, during the boot process of the server, it is necessary to perform memory training on each memory bar installed in the server, which is part of the power-on self-test. The memory training can specifically include: determining whether the processor can recognize the memory, determining whether normal communication can be established between the processor and the memory, and determining whether the processor can read and write the contents in the memory normally. Through memory training, it is determined whether each memory in the server is in a normal working state, because once a certain memory fails, it may cause the system to fail to start normally, fail to start normally, and other problems. Under normal circumstances, after the memory training is completed and successful for each memory, normal startup can be achieved and various functions of the server can be used. However, due to improper installation of the memory bar or failure of the memory bar, there may be a situation where the memory training fails. The failure of memory training proves that there is a problem with the corresponding memory bar for memory training. Therefore, the method proposed in the present application locates the faulty memory in the case of memory training failure. First, you need to obtain the memory training results, that is, which specific memory failed in memory training. In this application, a unique serial number is set for the memory sticks installed in the server according to their installation positions. The serial number can be used to determine the position of the memory stick. When obtaining the memory training results, you need to obtain the serial number of the memory slot where the faulty memory stick is located to locate the faulty memory stick.

[0065] Step S102: Generate a control signal for each digital tube according to the serial number of the memory slot where the faulty memory stick is located.

[0066] In the embodiment of the present application, after obtaining the serial number of the memory slot where the faulty memory stick is located, the serial number needs to be displayed through a digital tube to prompt the user which specific memory stick has failed. Therefore, the serial number of the memory slot where the faulty memory stick is located needs to be processed and converted into a control signal that can be recognized by the digital tube to control the digital tube to display the serial number information of the memory slot where the faulty memory stick is located.

[0067] Step S103: using the control signal to control each of the digital tubes to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0068] In the embodiment of the present application, after obtaining the control signal of the digital tube, the control signal can be sent to the digital tube, and the digital tube lights up the corresponding field according to the control signal, and displays the serial number of the memory slot where the faulty memory stick is located as a string of lit characters. After seeing the character string, the user can determine the installation position of the faulty memory stick according to the rule of sorting the serial number of the memory slot where the faulty memory stick is located, thereby realizing the rapid positioning of the faulty memory stick.

[0069] In combination with the above embodiments, in one implementation, the present application further provides a method for locating a faulty memory bar, which specifically includes the following contents:

[0070] First, each of the digital tubes includes at least: a first digital tube for representing the memory slot number where the faulty memory stick is located, and a second digital tube for representing the memory channel number where the faulty memory stick is located, and the memory channel includes multiple memory slots.

[0071] In the embodiment of the present application, since multiple memory sticks are installed in a server, and the content that can be displayed by a digital tube itself is limited, it is necessary to plan the digital tube to a certain extent, use multiple digital tubes to display different information respectively, and combine them into a string to display the installation position of the faulty memory stick. The specific method can be to set a first digital tube, wherein the information displayed by the first digital tube is the memory slot number where the faulty memory stick is located. Since the memory stick server needs to be installed in a pre-set memory stick installation slot, in an optional embodiment, the memory stick can be selected as a DIMM packaging form, which is a common computer memory packaging form, widely used in personal computers and servers, and correspondingly, multiple DIMM slots are set in the server for installing the memory stick. For multiple memory sticks in the server, multiple memory channels are often set, and the memory channel can contain one or more memory slots, so a second digital tube is set to display which memory channel the memory slot where the faulty memory stick is located is specifically included in. In this way, the installation position of the memory stick is divided into two levels: memory channel and memory slot in the form of a combination of the first digital tube and the second digital tube. The specific installation position of the faulty memory stick can be determined by performing a hierarchical search by retrieving the memory channel corresponding to the content displayed by the second digital tube and the memory slot corresponding to the content displayed by the first digital tube.

[0072] Then, according to the serial number of the memory slot where the faulty memory stick is located, a control signal for each digital tube is generated, including:

[0073] A first control signal for the first digital tube is generated according to the number of the memory slot where the faulty memory stick is located, and a second control signal for the second digital tube is generated according to the number of the memory channel where the faulty memory stick is located.

[0074] In the embodiment of the present application, as described above, in the case of a memory training failure, after obtaining the serial number information of the memory slot where the faulty memory stick is located, it is necessary to generate a control signal for the digital tube according to the serial number information to control the digital tube to display the corresponding character string. On the basis of the hierarchical digital tube display proposed in the above content, different control signals need to be generated for different digital tubes to display corresponding information. Specifically, a first control signal is generated for the first digital tube according to the serial number of the memory slot where the faulty memory stick is located in its memory channel, and a second control signal is generated for the second digital tube according to the serial number of the memory channel where the faulty memory stick is located in the processor.

[0075] Finally, the control signal is used to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located, including:

[0076] The first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is located, and the second control signal is used to control the second digital tube to display the number of the memory channel where the faulty memory stick is located.

[0077] In an embodiment of the present application, after obtaining a control signal for the digital tube according to the serial number of the memory slot where the faulty memory stick is located, the power of the digital tube is controlled by the control signal to display the installation position of the faulty memory stick. According to the different levels of digital tube display methods described above, a first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is installed, and a second control signal is used to control the second digital tube to display the number of the memory channel to which the installation slot of the faulty memory stick belongs.

[0078] In combination with the above embodiments, in one implementation, the present application further provides a method for locating a faulty memory bar, which specifically includes the following contents:

[0079] First, the installation position of the faulty memory module is located according to the character string of the serial number of the memory slot where the faulty memory module is located.

[0080] In an embodiment of the present application, after memory training fails, a character string corresponding to the serial number of the memory slot where the faulty memory stick is located will be displayed in the digital tube. The character string contains the numbering information of each level of the digital tube installation, so the user can locate the installation position of the faulty memory stick based on the character string.

[0081] Then, after the fault of the faulty memory bar is eliminated or replaced with a new memory bar, the memory training is continued starting from the position of the faulty memory bar.

[0082] In the embodiment of the present application, after knowing the installation position of the faulty memory stick, the user can check the faulty memory stick to determine whether the problem that may occur with the faulty memory stick is caused by loose installation or a problem with the faulty memory stick itself. After determining the cause of the fault, the faulty memory stick can be repaired or replaced. After completing a series of troubleshooting processes, memory training can be continued. The memory training process is a process that is carried out in a certain order. Usually only one memory is undergoing memory training at the same time, so there will not be a situation where multiple memories fail in memory training at the same time. When memory training fails, only one memory is determined to be faulty. Therefore, after completing the repair or replacement of the faulty memory, it is necessary to continue to complete the memory training from the location of the faulty memory, which can ensure that the repaired or replaced memory can pass the memory training and prevent memory omissions during the entire memory training process.

[0083] In combination with the above embodiments, in one implementation, the present application further provides a method for locating a faulty memory bar, which specifically includes the following contents:

[0084] First, when there are multiple processors, the digital tubes include at least: a first digital tube for representing the memory slot number where the faulty memory stick is located, a second digital tube for representing the memory channel number where the faulty memory stick is located, and a third digital tube for representing the processor number where the faulty memory stick is located, and the processor is connected to multiple memory channels, and the memory channel includes multiple memory slots.

[0085] In the embodiment of the present application, as described above, it is necessary to divide the memory bar installation position according to a certain hierarchical order, and use different digital tubes to display the position numbers of different levels, and determine the installation position of the faulty memory bar according to the character string composed of the numbers in each digital tube. In an optional embodiment, the server proposed in the present application may be provided with multiple processors, and the multiple processors may be multiple CPUs (Central Processing Units), each of which is connected to one or more memory channels, and each memory channel contains one or more memory slots. Therefore, based on the above, the present application proposes to number the processors and display the processor numbers in the third digital tube.

[0086] Then, according to the serial number of the memory slot where the faulty memory stick is located, a control signal for each digital tube is generated, including:

[0087] According to the number of the memory slot where the faulty memory stick is located, a first control signal for the first digital tube is generated; according to the number of the memory channel where the faulty memory stick is located, a second control signal for the second digital tube is generated; according to the number of the processor where the faulty memory stick is located, a third control signal for the third digital tube is generated.

[0088] In an embodiment of the present application, after the serial number of the memory slot where the faulty memory stick is located is obtained, control signals corresponding to different digital tubes need to be generated, specifically including a first control signal of a first digital tube for determining the number of the memory slot where the faulty memory stick is located, a second control signal of a second digital tube for determining the number of the memory channel where the faulty memory stick is located, and a third control signal of a third digital tube for determining the number of the processor where the faulty memory stick is located.

[0089] Finally, the control signal is used to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located, including:

[0090] The first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is located, the second control signal is used to control the second digital tube to display the number of the memory channel where the faulty memory stick is located, and the third control signal is used to control the third digital tube to display the number of the processor where the faulty memory stick is located.

[0091] In the embodiment of the present application, after the control signal of each digital tube is determined, the digital tube controlled by the control signal is lit, and the corresponding characters are displayed to form a character string to determine the installation position of the faulty digital tube.

[0092] In a specific embodiment, for example, the first digital tube, the second digital tube, and the third digital tube mentioned above can be three digital tubes arranged in parallel. For example, two CPUs are arranged in the server, each CPU is connected to 16 memory channels, and each memory channel includes two memory slots. By arranging the third digital tube, the second digital tube, and the first digital tube in this way, the installation position of the faulty memory can be intuitively determined. For example, if the memory in the first memory slot in the second memory channel of the first CPU fails, "010" can be displayed in the digital tube, so that the user can determine the installation position of the faulty memory; or, for example, if the memory in the second memory slot of the 11th memory channel of the second CPU fails, "1A1" can be displayed in the digital tube, and the numbers of multiple memory channels are displayed in hexadecimal.

[0093] It should be noted that the serial number of the memory slot where the faulty memory stick is located proposed in the embodiment of the present application is written in three levels: processor, memory channel, and memory slot. This should not be a limitation of the method for locating the faulty memory stick proposed in the present application. Ordinary technicians in this field can choose other numbering methods according to their needs during specific use, and all other embodiments obtained by them should fall within the scope of protection of this application.

[0094] In combination with the above embodiments, in one implementation, the present application further provides a method for locating a faulty memory bar, which specifically includes the following contents when there are multiple processors:

[0095] First, locate the installation position of the faulty memory stick according to the character string of the serial number of the memory slot where the faulty memory stick is located; after the fault of the faulty memory stick is eliminated or replaced with a new memory stick, continue the memory training starting from the position of the faulty memory stick.

[0096] In the embodiment of the present application, as described above, after a plurality of digital tubes display a character string of the serial number of the memory slot where the faulty memory stick is located, the user can determine the installation position of the faulty memory stick based on the information in the character string. After determining the installation position of the faulty memory stick, the user can troubleshoot the fault, repair the fault, or replace the memory stick with a new one. After completing the repair, the user can continue the memory training starting from the location of the faulty memory stick.

[0097] Wherein, in the case where there are multiple processors, it is also necessary to: perform memory training on the second processor after completing the memory training of the first processor.

[0098] In an embodiment of the present application, there are multiple processors in the server, and memory training needs to be performed on the memories connected to each processor. If a fault occurs in the connected memory in the first processor during the memory training and the memory training fails, after the troubleshooting method described above is completed, it is necessary to continue to complete memory training on the memory connected to the first processor from the faulty memory location. After completing the memory training of each memory connected to the first processor, continue to perform memory training on the memory connected to the second processor. Only after the memories connected to each processor in the server have passed the memory training can the memory training process be determined to be completed.

[0099] In combination with the above embodiments, in one implementation, the present application further provides a method for locating a faulty memory bar, which specifically includes the following contents when there are multiple processors:

[0100] First, when the server on which the processor is installed is powered on, each of the digital tubes displays a first character, indicating that each of the digital tubes is in a normal working state.

[0101] In the embodiment of the present application, each installed digital tube is powered by the server. After the server is powered on, but before the boot operation is performed, each digital tube is powered on, and the content therein is displayed as the first character, which is used to indicate that each digital tube is in a normal working state. In an optional embodiment, the first character can be "-". Taking the arrangement of three digital tubes as an example, the server is usually powered on by AC (Alternating Current). After the server is powered on, the digital tube should display "---", indicating that the digital tube is in a normal working state. During the process of starting up the server, that is, during the memory training process, if there is no memory training failure, the digital tubes will continue to display the first character during the process, which is used to indicate that it is in a normal working state and there is no faulty memory stick.

[0102] Then, after the memory training is completed, each digital tube displays the second character, indicating that each memory bar has passed the memory training.

[0103] In the embodiment of the present application, after the memory training in the boot process is completed, the server starts normally. If all memory bars in the server are in normal state during the entire memory training process, the memory training is passed, and the final digital tubes are displayed in the form of the second character, which proves that the memory training is successfully completed. In an optional embodiment, the second character can be "8". For example, if three digital tubes are set, when the server starts normally, the digital tube displays "888", which proves that the memory training is completed and all memory bars in the server are in normal working state.

[0104] In combination with the above embodiments, in one implementation, the present application further provides a method for locating a faulty memory bar, which specifically includes the following contents when there are multiple processors:

[0105] When the processor memory training fails, the memory fault indicator light is lit, indicating that there is a faulty memory bar.

[0106] In the embodiment of the present application, while the character string of the serial number of the memory slot where the faulty memory stick is located is displayed through the digital tube, a memory fault indicator light can also be provided. When the memory fault indicator light is on, it proves that the processor memory training has failed and there is a faulty memory stick. The provision of the memory fault indicator light can be used to double confirm the existence of a memory fault, thereby enhancing the reliability of the method for locating a faulty memory stick proposed in the present application.

[0107] Based on the same design concept, an embodiment of the present application provides a system for locating a faulty memory module. Figure 2 , Figure 2 1 is a schematic diagram of a system for locating a faulty memory module according to an embodiment of the present application. Figure 2 As shown, the system includes:

[0108] Memory sticks, memory slots, memory channels, processors, servers, basic input and output systems, baseboard management controllers, conversion chips, digital tubes;

[0109] The memory bar is installed in the memory slot, the memory channel includes a plurality of the memory slots, the processor is connected to a plurality of the memory channels, and the server includes a plurality of the processors;

[0110] When the processor memory training fails, the basic input and output system executes any one of the methods proposed in the above embodiments of the present application, obtains the memory training result of the processor from the processor, and sends the memory training result of the processor to the baseboard management controller;

[0111] The baseboard management controller sends the memory training result of the processor to the conversion chip;

[0112] The conversion chip executes any of the methods proposed in the above embodiments of the present application, generates control signals for each of the digital tubes according to the serial number of the memory slot where the faulty memory stick is located, and uses the control signal to control each of the digital tubes to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0113] In the present application embodiment, Figure 2 As shown, there are multiple processors in the server (such as processor 0 and processor 1), each processor is connected to multiple memory channels (such as memory channel, memory channel 1...memory channel F), each memory channel contains multiple memory slots (such as memory slot 0 and memory slot 1), and each memory stick is inserted in the memory slot. During the server startup process, the memory in each memory slot is trained in sequence. When the memory training fails, the basic input and output system in the server will obtain the memory training result, which includes the serial number of the memory slot where the faulty memory stick is located, and send the memory training result to the baseboard management controller. The baseboard management controller forwards the memory training result to the conversion chip, and controls the digital tube through the conversion chip.

[0114] After receiving the training result including the serial number of the memory slot where the faulty memory stick is located, the conversion chip will generate control signals for each digital tube according to the location of the faulty memory stick. As described above, a first control signal for controlling the first digital tube is generated, representing the memory slot number where the faulty memory is located; a second control signal for controlling the second digital tube is generated, representing the memory channel number where the faulty memory is located; a third control signal for controlling the third digital tube is generated, representing the processor number where the faulty memory is located. By controlling each digital tube to display the corresponding characters, a character string is formed to display the installation location of the faulty memory.

[0115] In combination with the above embodiments, in one implementation manner, the present application further provides a system for locating a faulty memory bar, which further includes:

[0116] Each of the digital tubes is installed on the front window display panel of the server and is used to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0117] In the embodiment of the present application, in order to enable the user to learn the results of memory training in the first place, and to promptly determine the installation location of the faulty memory when the memory training fails, the digital tube for displaying the string of serial numbers of the memory slots where the faulty memory stick is located proposed in the present application should be installed in a relatively obvious and easy-to-observe position in the server. As mentioned above, in the related art, there are multiple indicator lights on the left hanging ear of the front window on the front panel of the server for fault prompts. Therefore, in order to facilitate the use of relevant technical personnel in the field, the multiple digital tubes are installed in the front window display panel of the server in the present application, close to the left hanging ear of the front window, which can facilitate users to obtain multiple indication information at the same time, and it also conforms to the user's usage habits, such as Figure 3 As shown, Figure 3 This is a schematic diagram of a server front window display panel proposed in an embodiment of the present application.

[0118] In combination with the above embodiments, in one implementation manner, the present application further provides a system for locating a faulty memory bar, which further includes:

[0119] Cables;

[0120] The conversion chip includes a plurality of control interfaces, the digital tube includes a plurality of digital tube interfaces, and the control interfaces correspond to the digital tube interfaces one by one;

[0121] The conversion chip sends the control signal from the control interface to the digital tube interface through the cable, and controls each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0122] In the embodiment of the present application, the connection between the basic input and output system, the baseboard management controller and the conversion chip can be realized by means of a bus, and the conversion chip and the digital tube need to be connected by means of a cable, and each control interface in the conversion chip is connected to the digital tube interface in the digital tube, so as to realize the control of each field in each digital tube by the conversion chip. After generating the control signal for each digital tube, the conversion chip sends the control signal of each field from the control interface of the conversion chip to the digital tube interface of the digital tube through the cable, so as to control the lighting and extinguishing of each field in the digital tube, so that the digital tube displays a character string representing the serial number of the memory slot where the faulty memory stick is located.

[0123] In an optional embodiment, the specific display logic may be as follows: Figure 4 As shown, Figure 4A logic block diagram for displaying the installation position of a faulty memory stick proposed in an embodiment of the present application is provided. After the server is powered on, memory training is performed. If the memory training fails, the basic input / output system obtains the memory training result and sends the memory training result to the baseboard management controller through the first bus LPC BUS (Low pin count Bus), and then the baseboard management controller sends the result to the conversion chip through the second bus SM BUS (System Management Bus). The conversion chip can be selected as a PCA9506 chip, which can convert one SM BUS bus signal into 40 GPIO (General-purpose input / output) signals, which are sufficient to meet the control signal quantity requirement of 3 digital tubes. Then, the GPIO control interface is connected to the digital tube module control interface of the digital tube through a cable to realize the control of the digital tube display string information, thereby displaying the string representing the serial number of the memory slot where the faulty memory stick is located through the digital tube.

[0124] In combination with the above embodiments, in one implementation manner, the present application further provides a system for locating a faulty memory bar, which further includes:

[0125] The memory fault indicator light is installed at the left hanging ear of the front window of the server, and is used to light up when the processor memory training fails, indicating that there is a faulty memory bar.

[0126] In an embodiment of the present application, as described above, in order to achieve a dual display of memory training failure results, the present application also proposes that the memory training failure results can be displayed by installing a faulty memory indicator light. Specifically, the faulty memory indicator light can be installed at the left hanging ear on the front window of the server for easy user observation.

[0127] Based on the same design concept, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method for locating a faulty memory stick as described in any of the above embodiments of the present application are implemented.

[0128] Based on the same design concept, another embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps in the method for locating a faulty memory stick as described in any of the above embodiments of the present application.

[0129] Based on the same design concept, another embodiment of the present application provides an electronic device, such as Figure 5 shown. Figure 5This is a schematic diagram of an electronic device shown in an embodiment of the present application. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes, the steps in the method for locating a faulty memory bar described in any of the above embodiments of the present application are implemented.

[0130] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0131] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0132] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0133] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0134] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0136] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0137] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0138] The above is a detailed introduction to a method, system, device and medium for locating a faulty memory stick provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for locating a faulty memory stick, characterized in that: include: When the processor memory training fails, a memory training result is obtained, wherein the memory training result includes a serial number of a memory slot where the failed memory bar is located; Generate a control signal for each digital tube according to the serial number of the memory slot where the faulty memory stick is located; The control signal is used to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

2. The method for locating a faulty memory stick according to claim 1, characterized in that: Each of the digital tubes at least includes: a first digital tube for representing the number of the memory slot where the faulty memory bar is located, and a second digital tube for representing the number of the memory channel where the faulty memory bar is located, and the memory channel includes a plurality of the memory slots; According to the serial number of the memory slot where the faulty memory stick is located, a control signal for each of the digital tubes is generated, including: Generate a first control signal for the first digital tube according to the number of the memory slot where the faulty memory stick is located, and generate a second control signal for the second digital tube according to the number of the memory channel where the faulty memory stick is located; Using the control signal to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located, includes: The first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is located, and the second control signal is used to control the second digital tube to display the number of the memory channel where the faulty memory stick is located.

3. The method for locating a faulty memory stick according to claim 1, characterized in that: Also includes: Locating the installation position of the faulty memory module according to the character string of the serial number of the memory slot where the faulty memory module is located; After the fault of the faulty memory bar is eliminated or replaced with a new memory bar, the memory training is continued starting from the position of the faulty memory bar.

4. The method for locating a faulty memory stick according to claim 1, characterized in that: When there are multiple processors, each of the digital tubes at least includes: a first digital tube for representing the number of the memory slot where the faulty memory bar is located, a second digital tube for representing the number of the memory channel where the faulty memory bar is located, and a third digital tube for representing the number of the processor where the faulty memory bar is located, and the processor is connected to multiple memory channels, and the memory channel includes multiple memory slots; Generating control signals for each of the digital tubes according to the serial number of the memory slot where the faulty memory stick is located, including: Generate a first control signal for the first digital tube according to the number of the memory slot where the faulty memory bar is located, generate a second control signal for the second digital tube according to the number of the memory channel where the faulty memory bar is located, and generate a third control signal for the third digital tube according to the number of the processor where the faulty memory bar is located; Using the control signal to control each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located, includes: The first control signal is used to control the first digital tube to display the number of the memory slot where the faulty memory stick is located, the second control signal is used to control the second digital tube to display the number of the memory channel where the faulty memory stick is located, and the third control signal is used to control the third digital tube to display the number of the processor where the faulty memory stick is located.

5. The method for locating a faulty memory stick according to claim 1, characterized in that: When multiple processors are present, this also includes: Locating the installation position of the faulty memory module according to the character string of the serial number of the memory slot where the faulty memory module is located; After the fault of the faulty memory bar is eliminated or replaced with a new memory bar, continuing the memory training from the position of the faulty memory bar; After the memory training of the first processor is completed, the memory training is performed on the second processor.

6. The method for locating a faulty memory stick according to any one of claims 1 to 5, characterized in that: Also includes: When the server on which the processor is installed is powered on, each of the digital tubes displays a first character, indicating that each of the digital tubes is in a normal working state; After the memory training is completed, each digital tube displays the second character, indicating that each memory bar has passed the memory training.

7. The method for locating a faulty memory stick according to any one of claims 1 to 5, characterized in that: Also includes: When the processor memory training fails, the memory fault indicator light is lit, indicating that there is a faulty memory bar.

8. A system for locating a faulty memory module, characterized in that: include: Memory sticks, memory slots, memory channels, processors, servers, basic input and output systems, baseboard management controllers, conversion chips, digital tubes; The memory bar is installed in the memory slot, the memory channel includes a plurality of the memory slots, the processor is connected to a plurality of the memory channels, and the server includes a plurality of the processors; When the processor memory training fails, the basic input and output system executes the method according to any one of claims 1 to 7, obtains the memory training result of the processor from the processor, and sends the memory training result of the processor to the baseboard management controller; The baseboard management controller sends the memory training result of the processor to the conversion chip; The conversion chip executes the method described in any one of claims 1-7, generates control signals for each of the digital tubes according to the serial number of the memory slot where the faulty memory stick is located, and uses the control signal to control each of the digital tubes to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

9. The system for locating a faulty memory stick according to claim 8, characterized in that: Also includes: Each of the digital tubes is installed on the front window display panel of the server and is used to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

10. The system for locating a faulty memory stick according to claim 8, characterized in that: Also includes: Cables; The conversion chip includes a plurality of control interfaces, the digital tube includes a plurality of digital tube interfaces, and the control interfaces correspond to the digital tube interfaces one by one; The conversion chip sends the control signal from the control interface to the digital tube interface through the cable, and controls each digital tube to display a character string representing the serial number of the memory slot where the faulty memory stick is located.

11. The system for locating a faulty memory stick according to claim 8, characterized in that: Also includes: memory fault indicator light; The memory fault indicator light is installed at the left hanging ear of the front window of the server, and is used to light up when the processor memory training fails, indicating that there is a faulty memory bar.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the method for locating a faulty memory bar as described in any one of claims 1 to 7 is implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for locating a faulty memory bar as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Host startup control method and device, computer program and storage medium

    CN121501358A