Server and server testing method
By integrating the baseboard controller, main control module and counting module into the server, alarm information is monitored and processed in real time, solving the problem of short-term alarms not being perceived in time, improving the accuracy and reliability of server testing, and ensuring product quality.
Patent Information
- Application Number
- CN202410743844.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
AI Technical Summary
During the server testing process, short-term alarm events may not be detected in time, resulting in insufficient test accuracy and reliability and affecting the overall quality of the server product.
A server is designed, including a baseboard controller, a main control module and a counting module. It monitors alarm information in real time, processes alarm data and generates alarm instructions, notifies technicians of the current alarm status in real time, and analyzes the history of the server through alarm attribute values. and potential hazards.
It realizes real-time monitoring of server alarm occurrence and disappearance events, timely perception and interception of faults, improves the accuracy and reliability of testing, and ensures the quality of server products.
Smart Images

Figure CN118733359A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server testing, and in particular to a server and a server testing method. Background Art
[0002] In the server production test process, a feasible implementation method in the relevant technology is to read the Baseboard Management Controller (BMC) in the current server according to a specific time node or event node to see if there is an alarm event. If there is an alarm event, the corresponding equipment test program will report an error message. If there is no current alarm, the subsequent test content will continue. However, in this application scenario, if the whole machine has a short alarm and then disappears immediately, the test program has not yet detected the communication data corresponding to the current device alarm. When executing the corresponding steps of detecting the device alarm, the device is in a healthy state and the server is tested normally. However, the short alarm event that occurred in the early stage indicates that the server may have quality problems.
[0003] In summary, due to the phenomenon that short-term alarms may occur during server testing in different scenarios but are not perceived in time, the corresponding faults cannot be discovered or intercepted in time, resulting in insufficient accuracy and reliability of current server testing, which ultimately affects the overall quality of server products. Therefore, a server testing method and a server matching it are needed to improve the accuracy and reliability of server testing. Summary of the invention
[0004] The present application provides a server and a server testing method to improve the accuracy and reliability of server testing.
[0005] In a first aspect, an embodiment of the present application provides a server, the server comprising:
[0006] Baseboard controller, main control module, counting module and alarm circuit module;
[0007] The baseboard controller is used to obtain the alarm information of the server during the test process and transmit the alarm information to the main control module;
[0008] The main control module is used to process and obtain alarm data according to the alarm information, and transmit the alarm data to the counting module;
[0009] The main control module is connected to the alarm circuit module, and the main control module determines and outputs a first alarm instruction according to the alarm data obtained from the counting module;
[0010] The first alarm instruction is used to instruct the alarm circuit module to execute a corresponding alarm action.
[0011] By acquiring and processing alarm information through the baseboard controller and the main control module, the alarm events occurring in the server can be monitored in real time, and the corresponding alarm data can be generated. At the same time, the alarm data can be processed through the counting module to obtain the alarm attribute value, and the historical alarm situation of the server can be recorded according to the alarm attribute value. The main control module can determine and output the first alarm instruction based on the alarm data obtained from the counting module, thereby instructing the alarm circuit module to execute the corresponding alarm action and notify the technician of the alarm status of the current server in real time. In this way, real-time monitoring of server alarm generation and alarm disappearance events can be achieved, so as to timely perceive and intercept the corresponding faults, and the alarm attribute value can also be used to analyze the server's alarm risks at the preset process nodes. In summary, the accuracy and reliability of server testing can be improved.
[0012] As an optional implementation, the server includes a circuit board, the baseboard controller, the main control module, and the counting module are all arranged on the circuit board, and the circuit board is also provided with a peripheral interface module;
[0013] Among them, the input end of the peripheral interface module is electrically connected to the main control module, and the main control module transmits the first alarm instruction to the alarm circuit module through the peripheral interface module.
[0014] By mounting each module on the server on the circuit board and through the peripheral interface module set on the circuit board, the first alarm instruction of the main control module can be further transmitted to the external alarm circuit module or other devices. The external human-computer interaction device can be connected to the server through the peripheral interface module, so that the technician can display, interact and analyze the alarm information according to the data obtained by the server processing. In this way, real-time monitoring of server alarm generation and alarm disappearance events can be achieved, so as to timely perceive and intercept the corresponding faults, and the alarm attribute value can be used to analyze the server's alarm risks at the preset process nodes. In summary, the accuracy and reliability of server testing can be improved.
[0015] As an optional implementation, the alarm circuit module includes a buzzer module;
[0016] The buzzer module is used to generate one or more of a vibration signal, a sound signal and a light signal with preset signal parameters according to the first alarm instruction.
[0017] Through the buzzer module, multiple modes of alarm signals can be generated according to the first alarm instruction, thereby improving the effectiveness of the alarm and further improving the accuracy and reliability of the server test.
[0018] As an optional implementation, the buzzer module includes: a first resistor, a second resistor, a first transistor and a buzzer body;
[0019] Among them, the first end of the first resistor is connected to the output end of the peripheral interface module, the second end of the first resistor is connected to the first end of the second resistor and the control end of the first transistor, the second end of the second resistor is connected to the second end of the first transistor and grounded, the first end of the first transistor is connected to the first end of the buzzer body, and the second end of the buzzer body is connected to the power supply voltage.
[0020] Through the resistor and amplifier circuit outside the buzzer module, the normal operation of the buzzer module circuit can be ensured, and the effectiveness of the alarm signal generated by the buzzer body can be improved, generating one or more of a vibration signal, a sound signal and a light signal with a power reaching a preset power value. This can improve the effectiveness of the alarm and further improve the accuracy and reliability of the server test.
[0021] In a second aspect, the present application provides a server testing method, which is applied to a main control module in the server according to the first aspect, and the method includes:
[0022] Acquire alarm information of the server during the test process from the baseboard controller;
[0023] According to the alarm information, the alarm data is obtained through processing, and the alarm data is transmitted to the counting module, and the counting module is triggered to execute the step of obtaining the alarm attribute value according to the alarm data;
[0024] Acquire alarm data from the counting module, and determine and output a first alarm instruction according to the alarm data;
[0025] The first alarm instruction is used to instruct the alarm circuit module to execute a corresponding alarm action.
[0026] By obtaining alarm information from the baseboard controller, the alarm events occurring in the server can be monitored in real time, and the corresponding alarm data can be processed. At the same time, the alarm data can be processed by the counting module to obtain the alarm attribute value, and the historical alarm situation of the server can be recorded according to the alarm attribute value. The main control module can determine and output the first alarm instruction based on the alarm data obtained from the counting module, thereby instructing the alarm circuit module to execute the corresponding alarm action and notify the technician of the current alarm status of the server in real time. In this way, real-time monitoring of server alarm generation and alarm disappearance events can be achieved, so as to timely perceive and intercept the corresponding faults, and the alarm attribute value can also be used to analyze the server's alarm risks at the preset process nodes. In summary, the accuracy and reliability of server testing can be improved.
[0027] As an optional implementation manner, the processing to obtain alarm data according to the alarm information includes:
[0028] According to the alarm information, obtain the alarm event attributes;
[0029] The alarm event attributes include alarm time, alarm content, alarm code, alarm level, alarm status and alarm occurrence component;
[0030] A first alarm instruction of a first level is generated according to the alarm event attribute.
[0031] The corresponding alarm event attributes can be processed through the alarm information to indicate the impact degree and event characteristics of the alarm event that occurred, so that the first alarm instruction of the first level can be generated according to the alarm event attribute, and then it can be transmitted to the outside through the peripheral interface module set on the circuit board. Therefore, the accuracy of describing the alarm event can be improved, so that the real-time monitoring of the server alarm generation and alarm disappearance events can be realized, so as to timely perceive and intercept the corresponding faults, and the alarm attribute value can also be used to analyze the alarm hidden dangers of the server at the preset process node. In summary, the accuracy and reliability of server testing can be improved.
[0032] As an optional implementation manner, generating a first alarm instruction of a first level according to the alarm event attribute includes:
[0033] Determining an alarm event severity parameter according to the alarm event attribute;
[0034] The alarm event severity parameter is used to indicate the impact of the current corresponding alarm event on the normal operation of the server;
[0035] Determining an alarm level accumulation parameter according to the alarm event level parameter;
[0036] The alarm degree accumulation parameter is used to indicate the degree of impact of the historical alarms generated by the server on the server;
[0037] If the alarm event severity parameter is greater than a first threshold, and / or the alarm severity accumulation parameter is greater than a second threshold, a first alarm instruction of a first level is generated.
[0038] The alarm event severity parameter and the alarm severity accumulation parameter can indicate the degree of impact of the current alarm event and the historical accumulated alarm events on the normal operation of the server, so that the alarm events can be screened, and alarms can be generated in time for alarm events with more serious impacts. Alarm events with less impacts can be temporarily accumulated instead of directly alarming. This can improve the effectiveness and efficiency of alarm data processing, reduce the reporting of minor alarm events, and improve the accuracy and efficiency of server testing.
[0039] As an optional implementation manner, generating a first alarm instruction of a first level according to the alarm event attribute includes:
[0040] Determining, according to the alarm event attribute, at least one first component association parameter corresponding to the alarm generating component;
[0041] The first component correlation parameter is used to indicate the correlation degree between the alarm generating component and the operation status of other components in the current alarm event;
[0042] A first alarm instruction of a first level is generated according to the first component association parameter.
[0043] The first component correlation parameter can be used to indicate the degree of correlation between the alarm-generating component and the operating conditions of other components in the current alarm event, so that the operating conditions of the alarm-generating component itself and related components can be further located through the first alarm instruction. This can improve the accuracy and effectiveness of server testing, and achieve the positioning of the alarm-generating component and the prediction of risky components.
[0044] As an optional implementation, the method further includes:
[0045] The first component association parameters are stored to obtain an association parameter matrix, and the second component association parameters are obtained by processing according to the association parameter matrix;
[0046] The step of generating a first alarm instruction of a first level according to the first component association parameter includes:
[0047] If the first component association parameter and / or the second component association parameter meets a preset alarm condition, a first alarm instruction of a first level is generated.
[0048] Through the correlation parameter matrix, the second component correlation parameter described in the form of matrix characteristics can be further obtained according to the first component correlation parameter, and a first alarm instruction of the first level is generated when at least one of the first component correlation parameter and the second component correlation parameter meets the alarm condition, so that the operation status of the alarm-generating component itself and related components can be further located through the first alarm instruction, thereby improving the accuracy and effectiveness of server testing, and realizing the positioning of alarm-generating components and the prediction of risk components.
[0049] As an optional implementation, the alarm attribute value includes a current alarm attribute value, a historical alarm attribute value, and a cumulative alarm attribute value;
[0050] The initial values of the current alarm attribute value, the historical alarm attribute value and the accumulated alarm attribute value are first values;
[0051] Among them, the current alarm attribute value is used to indicate whether the server is currently in an alarm state, the historical alarm attribute value is used to indicate the number of alarm events generated in the current test cycle of the server, and the cumulative alarm attribute value is used to indicate the number of all alarm events generated by the server since leaving the factory.
[0052] The current alarm attribute value, historical alarm attribute value, and cumulative alarm attribute value can indicate the current alarm status and historical alarm status of the server, thereby providing a basis for historical data for the server testing process, reducing server alarm omissions caused by technical personnel problems, and improving the accuracy and reliability of server testing.
[0053] The server provided in the present application can obtain and process alarm information through the baseboard controller and the main control module, monitor the alarm events occurring in the server in real time, and generate corresponding alarm data. At the same time, the alarm data can also be processed through the counting module to obtain the alarm attribute value, and the historical alarm conditions of the server can be recorded according to the alarm attribute value. The main control module can determine and output the first alarm instruction based on the alarm data obtained from the counting module, thereby instructing the alarm circuit module to execute the corresponding alarm action and notify the technician of the current alarm status of the server in real time. In this way, real-time monitoring of server alarm generation and alarm disappearance events can be achieved, so as to timely perceive and intercept the corresponding faults, and the alarm attribute values can also be used to analyze the server's alarm risks at the preset process nodes. In summary, the accuracy of server testing can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0055] Figure 1 It is a structural diagram of a server disclosed in an embodiment of the present application;
[0056] Figure 2 It is a schematic diagram of the steps of a server testing method disclosed in an embodiment of the present application;
[0057] Figure 3 It is a structural diagram of another server disclosed in an embodiment of the present application;
[0058] Figure 4 It is a structural diagram of another server disclosed in an embodiment of the present application;
[0059] Figure 5 It is a schematic diagram of the steps of another server testing method disclosed in an embodiment of the present application;
[0060] Figure 6It is a structural diagram of another server disclosed in an embodiment of the present application;
[0061] Figure 7 It is a structural diagram of another server disclosed in an embodiment of the present application;
[0062] Figure 8 It is a structural diagram of another server disclosed in an embodiment of the present application;
[0063] Fig. 9 It is a structural diagram of another server disclosed in an embodiment of the present application.
[0064] Reference numerals:
[0065] 100-circuit board; 101-baseboard controller; 102-main control module; 103-counting module; 104-alarm circuit module; 105-peripheral interface module; 106-storage module; 110-universal serial bus interface module; 111-buzzer module; 112-communication module; 113-embedded multimedia storage card; R1-first resistor; R2-second resistor; V1-first transistor; 120-buzzer body; 121-wireless communication module; 190-target terminal.
[0066] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0067] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0068] In the server production test process, a feasible implementation method in the relevant technology is to read whether there is an alarm event in the BMC of the current server according to a specific time node or event node. If there is an alarm event, the corresponding equipment test program will report an error message. If there is no current alarm, continue with the subsequent test content.
[0069] In related technologies, the BMC alarm mechanism is different for different alarm contents. When a server component has a problem, some BMCs can directly read the register information and report the alarm based on the read value, while others decide whether to report the alarm based on the data fed back through the storlib library, and some directly report from the power module, etc. However, after the BMC collects the alarm information, it will also be synchronously transmitted to the sel.db database in the flash register.
[0070] However, in an application scenario, the existing production equipment testing plan is divided into different test sections. In each test section, there are related test processes to obtain whether there is an alarm event in the current BMC. The alarm reporting logic on the equipment does not detect health events all the time, but detects whether there is an alarm in the current system at a fixed process and specific time. In this case, an alarm event may be generated if it is not intercepted in time.
[0071] Since the equipment test program detects whether there is an alarm event in the current BMC at a specific moment, if there is an alarm event, an error will be reported. However, there is a situation where an alarm appears briefly and then disappears during the test. At this time, the equipment test program has not reached the process of detecting alarm events. The server has a brief alarm and then disappears. This can also indirectly indicate that there may be certain hidden dangers in the server and technical personnel need to intervene to deal with it. However, due to the limitations of the test equipment program, it may not be effectively intercepted.
[0072] In another application scenario, the whole machine will undergo a brief power-on inspection before packaging, and the digital tube, indicator lights of each component, startup logo, etc. will be checked. Because on-site operators need to look around the server, the digital tube may briefly light up red when checking other components, which may not be discovered in time.
[0073] During the server packaging process, on-site operators need to look around the server to check the indicator lights, digital tubes, etc. of each component. After the BMC generates an alarm, the digital tube will flash to remind you. If the server generates a short alarm at this time, and the operator is checking other parts of the server and does not notice the corresponding phenomenon, it will cause products with quality risks to enter the market, causing quality incidents.
[0074] In summary, due to the phenomenon that short-term alarms may occur during server testing in different scenarios but are not perceived in time, the corresponding faults cannot be discovered or intercepted in time, resulting in insufficient accuracy and reliability of current server testing, which ultimately affects the overall quality of server products. Therefore, a server testing method and a server matching it are needed to improve the accuracy and reliability of server testing.
[0075] The embodiment of the present application adds a hardware logic control circuit to the BMC, including a main control module and a corresponding storage part. One implementation method is to add a main control module and a corresponding counting module. Among them, one implementation method of the main control module is a unit master logic processor (UMLP) component, and one implementation method of the counting module is a counting register (CR) component. CR can be used to record the current alarm attribute value, the historical alarm attribute value, and the cumulative alarm attribute value. When the server starts to go online for processing and testing, the equipment retrieves the historical alarm attribute value in CR to determine whether there is a historical alarm and the whole machine has not been intercepted by the production test, thereby reducing quality events. It can be applied to the scene where the alarm disappears after a short period of time in the production test, and the equipment detection mechanism fails to successfully detect and report, as well as the scene where the digital tube, the indicator lights of each component, the BIOS startup logo, etc. are briefly powered on before packaging to check the digital tube, the indicator lights of each component, the BIOS startup logo, etc., and the personnel will have a short red light on the digital tube when checking other components, which is not discovered in time.
[0076] See also Figure 1 , Figure 1 is a schematic diagram of the structure of a server disclosed in an embodiment of the present application, such as Figure 1 As shown, the present application provides a server, the device comprising:
[0077] Baseboard controller 101, main control module 102, counting module 103;
[0078] The first end of the baseboard controller 101 is connected to the first end of the main control module 102, and the second end of the main control module 102 is connected to the counting module 103;
[0079] In a specific application scenario, the baseboard controller 101 may be a BMC device, the main control module 102 may be a UMLP device, and the counting module 103 may be a CR device. Meanwhile, the baseboard controller 101 and the main control module 102 may also be other forms of independent or integrated processor devices. For example, an integrated main controller may be used to implement the functions corresponding to the BMC and UMLP, respectively. Also, the counting module 103 may also use any register or processor designed independently or coupled with other functions.
[0080] And, the baseboard controller 101 is used to obtain the alarm information of the server during the test process and transmit the alarm information to the main control module 102;
[0081] The main control module 102 is used to process and obtain alarm data according to the alarm information, and transmit the alarm data to the counting module 103;
[0082] The server may further include an alarm circuit module 104, the main control module 102 is connected to the alarm circuit module 104, and the main control module 102 determines and outputs a first alarm instruction according to the alarm data obtained from the counting module 103;
[0083] The first alarm instruction is used to instruct the alarm circuit module 104 to execute a corresponding alarm action.
[0084] The alarm circuit module 104 may be an independent module outside the server, or a module integrated in the server.
[0085] The alarm attribute value is used to indicate the alarm situation, so the specific form and processing method of the alarm attribute value can be designed according to the corresponding application scenario. Specifically, in an actual application scenario, the baseboard controller 101 can be a BMC device, and the main control module 102 can be a packaged device in the form of UMLP, and the counting module 103 can be a counting chip or logic circuit set independently of the main control module 102, which can be implemented using a CR device.
[0086] In an application scenario, the main control module 102 can be a processor chip including a control unit and a logic operation unit, which is responsible for executing instructions, processing data, and coordinating the work of various communication components. Its chip directly communicates and interconnects with the BMC1711 chip on the server motherboard, is responsible for receiving the alarm event information transmitted by the BMC, and performs certain logical operations on the received data. The BMC alarm event includes information such as the alarm code, alarm time, and alarm content. After receiving this information, the main control module 102 synchronously analyzes and operates. Whenever an alarm is generated, the current alarm attribute value +1, when this alarm disappears, the main control module 102 synchronously receives the data transmitted by the BMC chip, analyzes and processes the data, the current alarm attribute value -1, the historical alarm attribute value +1, the cumulative alarm attribute value +1, and transmits this data synchronously to the counting module 103. In addition, its main control module 102 will directly connect the current attribute value to the USB interface on the motherboard through its pin (non-0, that is, high level is transmitted).
[0087] The counting module 103 can be a Flash storage chip, which has the function of storing data and can reset and initialize the default data through its pins. It mainly stores the current alarm attribute value, historical alarm attribute value, and cumulative alarm attribute value content. Its communication is only controlled by the main control module 102. After processing the data, the main control module 102 will classify and save the data into the corresponding attribute parameter value.
[0088] Among them, the algorithm script can be saved in the main control module 102, and there is data interaction between the BMC and the main control module 102. Under the aforementioned device selection, whenever the BMC receives an alarm or the alarm disappears, the BMC will synchronously transmit the alarm information to the main control module 102. The main control module 102 can execute the aforementioned steps of processing to obtain alarm data according to the alarm information, and transmitting the alarm data to the counting module 103, and the main control module 102 determines and outputs the first alarm instruction according to the alarm data obtained from the counting module 103, thereby realizing the processing and forwarding of the alarm information. The default initial value of each attribute in the counting module 103 is 0. When an alarm event occurs, the current alarm attribute value is +1. When the alarm disappears, the current alarm attribute value is -1, the historical alarm attribute value is +1, and the cumulative alarm attribute value is +1. A high level can be output to the peripheral interface module 105. The specific peripheral device of the alarm circuit module 104 can be inserted into the peripheral interface module 105. Whenever a high level of the peripheral interface module 105 is detected, the high level can be used to trigger the alarm circuit module 104 to work.
[0089] See also Figure 2 , Figure 2 is a schematic diagram of the steps of a server testing method disclosed in an embodiment of the present application, such as Figure 2 As shown, Figure 2 Used to illustrate a Figure 1 The main control module 102 in the server is the server testing method of the execution body.
[0090] S201, obtaining alarm information of the server during the test process from the baseboard controller;
[0091] S202: Process and obtain alarm data according to the alarm information, transmit the alarm data to the counting module, and trigger the counting module to execute the step of processing and obtaining the alarm attribute value according to the alarm data;
[0092] S203, obtaining alarm data from the counting module, and determining and outputting a first alarm instruction according to the alarm data;
[0093] The first alarm instruction is used to instruct the alarm circuit module to execute a corresponding alarm action.
[0094] By obtaining alarm information from the baseboard controller, the alarm events occurring in the server can be monitored in real time, and the corresponding alarm data can be processed. At the same time, the alarm data can be processed by the counting module to obtain the alarm attribute value, and the historical alarm situation of the server can be recorded according to the alarm attribute value. The main control module can determine and output the first alarm instruction based on the alarm data obtained from the counting module, thereby instructing the alarm circuit module to execute the corresponding alarm action and notify the technician of the current alarm status of the server in real time. In this way, real-time monitoring of server alarm generation and alarm disappearance events can be achieved, so as to timely perceive and intercept the corresponding faults, and the alarm attribute value can also be used to analyze the server's alarm risks at the preset process nodes. In summary, the accuracy and reliability of server testing can be improved.
[0095] As an optional implementation manner, according to the alarm information, processing to obtain alarm data includes:
[0096] According to the alarm information, process and obtain the alarm event attributes;
[0097] Among them, the alarm event attributes include alarm time, alarm content, alarm code, alarm level, alarm status and alarm occurrence component;
[0098] A first alarm instruction of a first level is generated according to an attribute of the alarm event.
[0099] The corresponding alarm event attributes can be processed through the alarm information to indicate the impact degree and event characteristics of the alarm event that occurred, so that the first alarm instruction of the first level can be generated according to the alarm event attribute, and then it can be transmitted to the outside through the peripheral interface module set on the circuit board. Therefore, the accuracy of describing the alarm event can be improved, so that the real-time monitoring of the server alarm generation and alarm disappearance events can be realized, so as to timely perceive and intercept the corresponding faults, and the alarm attribute value can also be used to analyze the alarm hidden dangers of the server at the preset process node. In summary, the accuracy and reliability of server testing can be improved.
[0100] As an optional implementation manner, generating a first alarm instruction of a first level according to an alarm event attribute includes:
[0101] Determine the severity parameters of the alarm event according to the alarm event attributes;
[0102] The alarm event severity parameter is used to indicate the impact of the current corresponding alarm event on the normal operation of the server;
[0103] According to the alarm event severity parameter, determine the alarm severity accumulation parameter;
[0104] The alarm degree accumulation parameter is used to indicate the degree of impact of the historical alarms generated by the server on the server;
[0105] If the alarm event severity parameter is greater than a first threshold, and / or the alarm severity accumulation parameter is greater than a second threshold, a first alarm instruction of a first level is generated.
[0106] It should be noted that a first alarm instruction can be outputted corresponding to each alarm, not just the conditional output described in this embodiment. In fact, the alarm condition that the alarm event degree parameter is greater than the first threshold value, and / or the alarm degree cumulative parameter is greater than the second threshold value is only used to determine the validity of the first alarm instruction, that is, whether the first alarm instruction received by the alarm circuit module 104 is generated. For example, this embodiment can also be applied to the counting module 103. After determining the alarm event degree parameter and the alarm degree cumulative parameter, they are stored in the counting module 103, and the counting module 103 determines whether the alarm condition that the alarm event degree parameter is greater than the first threshold value, and / or the alarm degree cumulative parameter is greater than the second threshold value is met. When the alarm condition is met, the main control module 102 can currently output the first alarm instruction of the first level, and when it is not met, it outputs the first alarm instruction of the second level, wherein only the first alarm instruction of the first level can trigger the alarm circuit module to perform the corresponding action, and the first level can be a high level designed according to the server parameters, and the second level can be a low level corresponding to the first level.
[0107] The alarm event severity parameter and the alarm severity accumulation parameter can indicate the degree of impact of the current alarm event and the historical accumulated alarm events on the normal operation of the server, so that the alarm events can be screened, and alarms can be generated in time for alarm events with more serious impacts. Alarm events with less impacts can be temporarily accumulated instead of directly alarming. This can improve the effectiveness and efficiency of alarm data processing, reduce the reporting of minor alarm events, and improve the accuracy and efficiency of server testing.
[0108] As an optional implementation manner, generating a first alarm instruction of a first level according to an alarm event attribute includes:
[0109] Determine, according to the alarm event attribute, at least one first component association parameter corresponding to the alarm generating component;
[0110] The first component correlation parameter is used to indicate the correlation degree between the alarm generating component and the operation status of other components in the current alarm event;
[0111] A first alarm instruction of a first level is generated according to the first component association parameter.
[0112] In some application scenarios, an alarm event in a server may be associated with the operating status of multiple components at the same time, so that the first component association parameter may be a correlation parameter obtained according to the operating status of the alarm-occurring component and one or more other components.
[0113] The first component correlation parameter can be used to indicate the degree of correlation between the alarm-generating component and the operating conditions of other components in the current alarm event, so that the operating conditions of the alarm-generating component itself and related components can be further located through the first alarm instruction. This can improve the accuracy and effectiveness of server testing, and achieve the positioning of the alarm-generating component and the prediction of risky components.
[0114] As an optional implementation, the method further includes:
[0115] The first component association parameter is stored to obtain an association parameter matrix, and the second component association parameter is obtained by processing the association parameter matrix;
[0116] Generating a first alarm instruction of a first level according to the first component association parameter includes:
[0117] If the first component association parameter and / or the second component association parameter meets the preset alarm condition, a first alarm instruction of a first level is generated.
[0118] The correlation parameter matrix is a data storage structure, from which the second component correlation parameter described in the form of matrix features can be further obtained according to the first component correlation parameter. In addition, the second component correlation parameter can also be a parameter obtained by simply weighting the first component correlation parameter corresponding to each alarm generating component, or a comprehensive score output by a pre-trained artificial intelligence model.
[0119] Through the correlation parameter matrix, the second component correlation parameter described in the form of matrix characteristics can be further obtained according to the first component correlation parameter, and a first alarm instruction of the first level is generated when at least one of the first component correlation parameter and the second component correlation parameter meets the alarm condition, so that the operation status of the alarm-generating component itself and related components can be further located through the first alarm instruction, thereby improving the accuracy and effectiveness of server testing, and realizing the positioning of alarm-generating components and the prediction of risk components.
[0120] As an optional implementation, the alarm attribute value includes a current alarm attribute value, a historical alarm attribute value, and a cumulative alarm attribute value;
[0121] Among them, the initial values of the current alarm attribute value, the historical alarm attribute value and the accumulated alarm attribute value are the first values;
[0122] Among them, the current alarm attribute value is used to indicate whether the server is currently in an alarm state, the historical alarm attribute value is used to indicate the number of alarm events generated by the server in the current test cycle, and the cumulative alarm attribute value is used to indicate the number of all alarm events generated by the server since leaving the factory.
[0123] The current alarm attribute value, historical alarm attribute value, and cumulative alarm attribute value can indicate the current alarm status and historical alarm status of the server, thereby providing a basis for historical data for the server testing process, reducing server alarm omissions caused by technical personnel problems, and improving the accuracy and reliability of server testing.
[0124] See also Figure 3 , Figure 3 is a schematic diagram of the structure of another server disclosed in the embodiment of the present application, such as Figure 3 As shown, as an optional implementation, the device further includes a peripheral interface module 105;
[0125] Specifically, the server may include a circuit board 100, a baseboard controller 101, a main control module 102, and a counting module 103 are all arranged on the circuit board 100, and a peripheral interface module 105 is also arranged on the circuit board 100;
[0126] The input end of the peripheral interface module 105 is electrically connected to the main control module 102 , and the main control module 102 transmits the first alarm instruction to the alarm circuit module 104 through the peripheral interface module 105 .
[0127] This embodiment carries each module on the server through the circuit board 100, and through the peripheral interface module 105 provided on the circuit board 100, the first alarm instruction of the main control module 102 can be further transmitted to the external alarm circuit module 104 or other devices. Through the peripheral interface module, an external human-computer interaction device can also be connected, so that the technician can display, interact and analyze the alarm information according to the data obtained by the server processing. In this way, real-time monitoring of the server alarm generation and alarm disappearance events can be achieved, so that the corresponding faults can be perceived and intercepted in time, and the alarm attribute values can be used to analyze the server's alarm risks at the preset process nodes. In summary, the accuracy and reliability of server testing can be improved.
[0128] As an optional implementation, the peripheral interface module 105 includes a universal serial bus interface module 110 .
[0129] The server connects to peripherals via the universal serial bus interface module 110, which improves the universality and versatility of the peripherals, reduces the requirements for the peripherals, expands the application scenarios of the server, simplifies the server, and further improves the accuracy and reliability of server testing.
[0130] See also Figure 4 , Figure 4 is a structural diagram of another server disclosed in the embodiment of the present application, such as Figure 4As shown, as an optional implementation, the alarm circuit module 104 can be arranged on the circuit board 100 corresponding to the server, and / or be arranged independently of the circuit board 100 corresponding to the server;
[0131] It should be noted that in the following embodiments, it may not be strictly distinguished whether each device is integrated on the circuit board 100, and thus the circuit board 100 will not be described in detail.
[0132] Wherein, the input end of the alarm circuit module 104 is connected to the output end of the peripheral interface module 105;
[0133] Furthermore, the main control module 102 is used to transmit the first alarm instruction to the peripheral interface module 105, and the peripheral interface module 105 is used to generate a control signal according to the first alarm instruction to trigger the alarm circuit module 104 to generate a second alarm instruction in a preset form.
[0134] The mode and signal details of the second alarm instruction depend on the actual application requirements. For example, the second alarm instruction can be an acoustic signal, and the frequency and energy of the acoustic signal can be set according to the needs of the technician. The same applies to signals in the form of optical signals, vibration signals, etc.
[0135] See also Figure 5 , Figure 5 is a schematic diagram of the steps of a server testing method disclosed in an embodiment of the present application, such as Figure 5 As shown, Figure 5 Used to illustrate a method based on Figure 4 In the case of the server shown, the interaction and timing between its modules.
[0136] S301, obtaining alarm information of the server during the test process through the baseboard controller 101, and the baseboard controller 101 transmits the alarm information to the main control module 102;
[0137] S302, the main control module 102 processes and obtains alarm data according to the alarm information, and transmits the alarm data to the counting module 103;
[0138] S303, the counting module 103 processes and obtains the alarm attribute value according to the alarm data;
[0139] S304, the main control module 102 obtains the alarm data from the counting module 103, determines the first alarm instruction according to the alarm data, and transmits the first alarm data to the peripheral interface module 105;
[0140] Wherein, the first alarm instruction is used to instruct the alarm circuit module to execute a corresponding alarm action;
[0141] S305, the peripheral interface module 105 transmits the first alarm instruction to the alarm circuit module 104;
[0142] S306, the alarm circuit module 104 generates a second alarm instruction in a preset format according to the first alarm instruction;
[0143] The second alarm instruction includes one or more of a light signal, a sound signal, a vibration signal or a communication signal.
[0144] The mode of the second alarm instruction is related to the implementation method of the alarm circuit module 104. For example, if the alarm circuit module 104 uses a buzzer, it can generate one or more of a light signal, a sound signal and a vibration signal. If the alarm circuit module 104 uses a signal light, it can only generate a light signal. If the alarm circuit module 104 uses a communication module 112 to exchange information with an external target terminal 190 and send corresponding alarm information, a communication signal can be generated.
[0145] It should be noted that if there are multiple sub-steps in the actual application scenario of each method type implementation in the present application, it is only necessary to ensure the logic between the prerequisite data and the result data of each step, without paying attention to the specific execution details of each step.
[0146] As an optional implementation manner, the main control module 102 processes and obtains the first alarm instruction according to the alarm information, including:
[0147] The main control module 102 generates a first alarm instruction of a first level according to the first alarm information;
[0148] And, the main control module 102 transmits the first alarm instruction to the peripheral interface module 105, and the peripheral interface module 105 generates a control signal according to the first alarm instruction to trigger the alarm circuit to generate a second alarm instruction in a preset form, including:
[0149] If the first alarm instruction is at the first level, the main control module 102 transmits the first alarm instruction to the peripheral interface module 105, and the peripheral interface module 105 generates a control signal according to the first alarm instruction to trigger the alarm.
[0150] As an optional implementation manner, the counting module 103 obtains the alarm attribute value according to the alarm data, including:
[0151] The counting module 103 adds 1 to the value of the current alarm attribute value according to the alarm data.
[0152] As an optional implementation manner, the counting module 103 obtains the alarm attribute value according to the alarm data, including:
[0153] The counting module 103 decrements the value of the current alarm attribute value by 1, adds 1 to the historical alarm attribute value, and adds 1 to the cumulative alarm attribute value according to the alarm data.
[0154] As an optional implementation, the method further includes:
[0155] A reset operation is performed on the counting module 103 to set the current alarm attribute value and the historical alarm attribute value to initial values.
[0156] This embodiment can generate a second alarm instruction of a preset form according to a control signal associated with the first alarm instruction generated by the peripheral interface module 105 through the alarm circuit module 104 connected to the output end of the peripheral interface module 105, thereby notifying the technical personnel of the current server fault condition. As a result, real-time monitoring of server alarm generation and alarm disappearance events can be achieved, so as to timely perceive and intercept corresponding faults. The alarm attribute value can also be used to analyze the alarm risks of the server at the preset process node, which can improve the accuracy and reliability of server testing.
[0157] See also Figure 6 , Figure 6 is a structural diagram of another server disclosed in the embodiment of the present application, such as Figure 6 As shown, as an optional implementation, the alarm circuit module 104 further includes a communication module 112;
[0158] Wherein, the communication module 112 is in communication connection with the target terminal 190;
[0159] Furthermore, the communication module 112 is used to generate a communication signal according to the first alarm instruction, and send the communication signal to the target terminal 190 .
[0160] This embodiment can convert the corresponding alarm signal into a communication signal through the communication module 112, so as to transmit it to the target terminal 190 connected to it, so that the technicians can monitor the alarm status of the server through the target terminal 190, and further process it in time, thereby improving the effectiveness and efficiency of the alarm and processing, while improving the convenience of alarm signal monitoring, and further improving the accuracy and reliability of server testing.
[0161] See also Figure 7 , Figure 7 is a structural diagram of another server disclosed in the embodiment of the present application, such as Figure 7 As shown, as an optional implementation, the device further includes a storage module 106;
[0162] Wherein, the storage module 106 is connected to the second end of the substrate controller 101;
[0163] Furthermore, the baseboard controller 101 is further configured to transmit the alarm information to the storage module 106 .
[0164] The storage module 106 can be used to store alarm information in real time in a database corresponding to the server device. Thus, a pre-developed system for monitoring and processing server alarm status can be used to read the storage module 106 and analyze the corresponding alarm information data. This can enable real-time monitoring of server alarm generation and alarm disappearance events, timely perception and interception of corresponding faults, and improve the accuracy and reliability of server testing.
[0165] As an optional implementation, the storage module 106 may include an embedded multimedia storage card 113 .
[0166] This embodiment can improve the reliability of alarm information storage through the embedded multimedia storage card 113, so that the corresponding alarm information data in the embedded multimedia storage card 113 can be read and analyzed through a pre-developed system for server alarm status monitoring and processing, thereby achieving real-time monitoring of server alarm generation and alarm disappearance events, timely perception and interception of corresponding faults, and improving the accuracy and reliability of server testing.
[0167] See also Figure 8 , Figure 8 is a structural diagram of another server disclosed in the embodiment of the present application, such as Figure 8 As shown, as an optional implementation, the communication module 112 includes a wireless communication module 121;
[0168] The wireless communication module 121 is connected to the target terminal 190 through a preset communication protocol.
[0169] This embodiment uses the wireless communication module 121 to enable technicians to monitor the server's alarm status in real time through wireless terminal devices, and further process it in a timely manner, thereby improving the effectiveness and efficiency of alarms and processing, while also improving the convenience of alarm signal monitoring, and further improving the accuracy and reliability of server testing.
[0170] See also Fig. 9 , Fig. 9 is a structural diagram of another server disclosed in the embodiment of the present application, such as Fig. 9 As shown, as an optional implementation, the alarm circuit module 104 includes a buzzer module 111;
[0171] The buzzer module 111 is used to generate one or more of a vibration signal, a sound signal and a light signal in a preset form according to the first alarm instruction.
[0172] This embodiment uses the buzzer module 111 to generate alarm signals of multiple modes according to the first alarm instruction, thereby improving the effectiveness of the alarm and further improving the accuracy and reliability of the server test.
[0173] As an optional implementation, the buzzer module 111 includes: a first resistor R1, a second resistor R2, a first transistor V1 and a buzzer body 120;
[0174] Among them, the first end of the first resistor R1 is connected to the output end of the peripheral interface module 105, the second end of the first resistor R1 is connected to the first end of the second resistor R2 and the control end of the first transistor V1, the second end of the second resistor R2 is connected to the second end of the first transistor V1 and grounded, the first end of the first transistor V1 is connected to the first end of the buzzer body 120, and the second end of the buzzer body 120 is connected to the power supply voltage.
[0175] It should be noted that there is not only one way to implement the buzzer module circuit. Other power amplifier circuits can be used to connect to the buzzer module circuit, or the buzzer body can be directly connected to the corresponding interface.
[0176] This embodiment ensures the normal operation of the buzzer module 111 circuit through the resistor and amplifier circuit outside the buzzer module 111, and improves the effectiveness of the alarm signal generated by the buzzer body 120, and generates one or more of a vibration signal, a sound signal and a light signal with a power reaching a preset power value, thereby improving the effectiveness of the alarm and further improving the accuracy and reliability of the server test.
[0177] In addition to the structure of the buzzer module 111, Fig. 9 It also shows a situation when the aforementioned feasible implementation methods are combined for implementation. The hardware device part includes a main control module 102 and a counting module 103. The program is stored in the main control processing. The main control module 102 can interact with the BMC chip. The BMC stores the alarm information in the embedded multimedia storage card 113 chip. At the same time, the BMC will synchronously transmit the alarm information to the main control module 102. The main control module 102 performs data logic operations. After the data operation is completed, the data is synchronously stored. The current alarm information can be synchronously transmitted to the USB interface through the USB protocol. For the software operation unit, the BMC or main control module 102 device stores the data parsing program inside. The data format is transmitted according to the BMC alarm event information, including the alarm time, alarm content, alarm code, alarm level, and alarm status. After receiving the data, the program will analyze and process it in sections as required and save it to the corresponding attribute value of the register. Whenever an alarm is generated or disappears, the data logic operation is synchronously performed and the result is finally stored.
[0178] Specifically, the algorithm script is stored in the main control module 102, and the BMC interacts with the main control module 102. Whenever the BMC receives an alarm or the alarm disappears, the BMC synchronously transmits this information to the main control module 102, and the main control module 102 performs data logic processing and forwarding. The data transmission format can be a key-value pair. The main control module 102 parses the attribute by key, and obtains the content and parses it according to the value attribute corresponding to the key. The default initial value of each attribute in the counting module 103 can be 0. When an alarm event occurs, the current alarm attribute value is +1, when the alarm disappears, the current alarm attribute value is -1, the historical alarm attribute value is +1, and the cumulative alarm attribute value is +1. The high level can be output to the USB interface of the peripheral interface module 105. The buzzer module 111 can use peripheral equipment to insert this interface. Whenever the high level of the peripheral interface module 105 is detected, the buzzer module 111 can be triggered to work.
[0179] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0180] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A server, characterized in that: include: Baseboard controller, main control module, counting module and alarm circuit module; The baseboard controller is used to obtain the alarm information of the server during the test process and transmit the alarm information to the main control module; The main control module is used to process and obtain alarm data according to the alarm information, and transmit the alarm data to the counting module; The main control module is connected to the alarm circuit module, and the main control module determines and outputs a first alarm instruction according to the alarm data obtained from the counting module; The first alarm instruction is used to instruct the alarm circuit module to execute a corresponding alarm action.
2. The server according to claim 1, characterized in that: The server comprises a circuit board, the baseboard controller, the main control module and the counting module are all arranged on the circuit board, and the circuit board is also provided with a peripheral interface module; Among them, the input end of the peripheral interface module is electrically connected to the main control module, and the main control module transmits the first alarm instruction to the alarm circuit module through the peripheral interface module.
3. The server according to claim 2, characterized in that: The alarm circuit module includes a buzzer module; The buzzer module is used to generate one or more of a vibration signal, a sound signal and a light signal with preset signal parameters according to the first alarm instruction.
4. The server according to claim 3, characterized in that: The buzzer module includes: a first resistor, a second resistor, a first transistor and a buzzer body; Among them, the first end of the first resistor is connected to the output end of the peripheral interface module, the second end of the first resistor is connected to the first end of the second resistor and the control end of the first transistor, the second end of the second resistor is connected to the second end of the first transistor and grounded, the first end of the first transistor is connected to the first end of the buzzer body, and the second end of the buzzer body is connected to the power supply voltage.
5. A server testing method, characterized in that: The method is applied to a main control module in a server according to any one of claims 1 to 4, and the method comprises: Acquire alarm information of the server during the test process from the baseboard controller; According to the alarm information, the alarm data is obtained through processing, and the alarm data is transmitted to the counting module, and the counting module is triggered to execute the step of obtaining the alarm attribute value according to the alarm data; Acquire alarm data from the counting module, and determine and output a first alarm instruction according to the alarm data; The first alarm instruction is used to instruct the alarm circuit module to execute a corresponding alarm action.
6. The method according to claim 5, characterized in that The step of processing and obtaining alarm data according to the alarm information includes: According to the alarm information, obtain the alarm event attributes; The alarm event attributes include alarm time, alarm content, alarm code, alarm level, alarm status and alarm occurrence component; A first alarm instruction of a first level is generated according to the alarm event attribute.
7. The method according to claim 6, characterized in that The step of generating a first alarm instruction of a first level according to the alarm event attribute includes: Determining an alarm event severity parameter according to the alarm event attribute; The alarm event severity parameter is used to indicate the impact of the current corresponding alarm event on the normal operation of the server; Determining an alarm level accumulation parameter according to the alarm event level parameter; The alarm degree accumulation parameter is used to indicate the degree of impact of the historical alarms generated by the server on the server; If the alarm event severity parameter is greater than a first threshold, and / or the alarm severity accumulation parameter is greater than a second threshold, a first alarm instruction of a first level is generated.
8. The method according to claim 7, characterized in that The step of generating a first alarm instruction of a first level according to the alarm event attribute includes: Determining, according to the alarm event attribute, at least one first component association parameter corresponding to the alarm generating component; The first component correlation parameter is used to indicate the correlation degree between the alarm generating component and the operation status of other components in the current alarm event; A first alarm instruction of a first level is generated according to the first component association parameter.
9. The method according to claim 8, characterized in that The method further comprises: The first component association parameters are stored to obtain an association parameter matrix, and the second component association parameters are obtained by processing according to the association parameter matrix; The step of generating a first alarm instruction of a first level according to the first component association parameter includes: If the first component association parameter and / or the second component association parameter meets a preset alarm condition, a first alarm instruction of a first level is generated.
10. The method according to claim 5, characterized in that The alarm attribute value includes the current alarm attribute value, the historical alarm attribute value, and the accumulated alarm attribute value; The initial values of the current alarm attribute value, the historical alarm attribute value and the accumulated alarm attribute value are first values; Among them, the current alarm attribute value is used to indicate whether the server is currently in an alarm state, the historical alarm attribute value is used to indicate the number of alarm events generated in the current test cycle of the server, and the cumulative alarm attribute value is used to indicate the number of all alarm events generated by the server since leaving the factory.
