Method, device, equipment, and medium for diagnosing the duration of server test items
By generating and comparing the standards of server test items and the current diagnosis duration, potential faults that occur over a long period of time are identified, solving the problem of traditional diagnosis methods failing to identify hidden dangers, improving diagnosis quality and reducing costs.
Patent Information
- Application Number
- CN202210747905.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-06-29
AI Technical Summary
The traditional server diagnosis method focuses more on whether the entire machine passes the test, and fails to effectively identify hidden faults that may exist due to the long diagnosis time of test items. Especially in the era of smart manufacturing, there is an urgent need to improve diagnosis quality.
By configuring customized data combinations of dimensions, indicators and early warning thresholds, a standard diagnosis duration is generated, and the current diagnosis duration is regularly collected from the database to compare whether it exceeds the early warning threshold, generate early warning data, and display it on a web page or report to ensure technical Personnel can detect and optimize diagnostic procedures in a timely manner.
Effective early warning and optimization of diagnostic procedures eliminate potential hazards, improve diagnostic quality, save diagnostic time, and reduce production costs.
Smart Images

Figure CN115016972B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of server testing, and in particular to a method, device, equipment and medium for diagnosing the diagnostic duration of a server test item. Background Art
[0002] Before the server leaves the factory, it will undergo a series of machine diagnostic tests, including BMC and BIOS refreshes, as well as CPU, memory, and hard disk stress tests. For machines customized for major customers, we will even add the customer's own diagnostic test program according to the customer's requirements. These diagnostic methods effectively ensure the quality of the factory-delivered machines.
[0003] Traditional diagnostic methods focus more on whether the entire machine has passed the diagnostic program. However, in the current era of intelligent manufacturing, higher requirements are placed on the manufacturing field, and the quality of diagnosis needs to be further improved. Although some machines have passed the diagnostic program, if the diagnostic time of a certain test item or the overall diagnostic time is too long, whether there are undetected hidden faults is also a problem that needs to be analyzed. Summary of the invention
[0004] Traditional diagnostic methods focus more on whether the entire machine has passed the test of the diagnostic program. However, in the current era of intelligent manufacturing, higher requirements are placed on the manufacturing field, and the quality of diagnosis needs to be further improved. Although individual machines have passed the test of the diagnostic program, if the diagnostic time of a certain test item or the overall diagnostic time is too long, whether there are undetected hidden faults is also a problem that needs attention and analysis. The present invention provides a diagnostic method, device, equipment, and medium for the diagnostic time of server test items.
[0005] In a first aspect, the technical solution of the present invention provides a method for diagnosing the duration of a server test item diagnosis, comprising the following steps:
[0006] Configure the data that needs to be customized on the page, including dimension codes and names, indicator codes and names, warning threshold codes and names and warning values, and the combination relationship of dimension indicators;
[0007] Obtain dimension and indicator data for processing to generate standard diagnostic duration;
[0008] According to the dimensions and indicators, the database is polled regularly, and the diagnosis time of the current dimension indicator of the machine being diagnosed is counted from the database as the current diagnosis time;
[0009] Under the same dimension, the current diagnosis time of each machine is compared with the standard diagnosis time, and warning data is generated if it exceeds the set warning threshold.
[0010] Further, the steps of obtaining dimension and indicator data for processing to generate standard diagnosis time include:
[0011] Get dimension and indicator data;
[0012] Filter out junk data based on statistical dimensions and indicators;
[0013] The average value of the diagnosis time within the set time range is regularly collected from the database and used as the standard diagnosis time.
[0014] Furthermore, in the step of filtering out junk data according to statistical dimensions and indicators, junk data refers to data that does not meet statistical requirements, including data with errors in the test items to be counted and data for which the test items have not yet completed diagnosis.
[0015] Furthermore, the method also includes:
[0016] Displaying machine data whose diagnosis time exceeds a predetermined time on a web page; or,
[0017] The generated warning data will be displayed in the form of a report.
[0018] In a second aspect, the technical solution of the present invention also provides a diagnostic device for server test item diagnostic duration, including a customization module, a standard diagnostic duration module, a current diagnostic duration module, and an early warning module;
[0019] A customization module is used to configure the data that needs to be customized on the page, including dimension codes and names, indicator codes and names, codes and names of warning thresholds and warning values, and the combination relationship of dimension indicators;
[0020] The standard diagnosis duration module is used to obtain dimension and indicator data for processing and generate standard diagnosis duration;
[0021] The current diagnosis duration module is used to periodically poll the database based on dimensions and indicators, and to count the diagnosis duration of the current dimension indicators of the machine being diagnosed from the database as the current diagnosis duration;
[0022] The early warning module is used to compare the current diagnosis time of each machine with the standard diagnosis time under the same dimension, and generate early warning data if it exceeds the set early warning threshold.
[0023] Furthermore, the standard diagnosis duration module includes an acquisition unit, a processing unit, and a calculation unit;
[0024] The acquisition unit is used to obtain dimension and indicator data;
[0025] The processing unit is used to filter out junk data based on statistical dimensions and indicators;
[0026] The calculation unit is used to regularly calculate the average value of the diagnosis time within a set time range from the database as the standard diagnosis time.
[0027] Furthermore, junk data refers to data that does not meet statistical requirements, including data for which the test item to be counted has errors and data for which the diagnosis of the test item has not yet been completed.
[0028] Furthermore, the device also includes a display module for displaying machine data whose diagnosis time exceeds a predetermined time on a web page; or, displaying the generated warning data in the form of a report.
[0029] In a third aspect, the technical solution of the present invention further provides an electronic device, the electronic device comprising:
[0030] at least one processor; and,
[0031] a memory communicatively connected to the at least one processor; wherein,
[0032] The memory stores computer program instructions that can be executed by at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can perform the diagnostic method for the diagnostic duration of a server test item as described in the first aspect.
[0033] In a fourth aspect, the technical solution of the present invention further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the diagnostic method for the diagnostic duration of a server test item as described in the first aspect.
[0034] It can be seen from the above technical solutions that the present invention has the following advantages: During the whole machine diagnosis process, the present invention can issue an early warning for machines whose test item diagnosis time exceeds the early warning threshold. The technicians can check the alarming machine and find out the reason why the test item diagnosis time is too long, and can optimize the diagnosis program in a targeted manner, eliminate the hidden dangers of the machine, and thus improve the diagnosis quality. After optimizing the diagnosis program, the diagnosis time is saved, which can reduce a certain production cost.
[0035] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect.
[0036] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.
[0039] Figure 2 is a schematic block diagram of an apparatus according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should belong to the scope of protection of the present invention. The current whole machine diagnostic program will store order data, material data, diagnostic log data, etc. in the database, including the machine's SN (machine serial number), order number, model, package name, instruction name, number of machines in the order, current diagnostic test items, current diagnostic status, diagnostic start time of each test item, and diagnostic end time. The present invention processes and handles these data to provide a test item diagnostic time warning method.
[0041] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for diagnosing the duration of a server test item diagnosis, comprising the following steps:
[0042] Step 1: Configure the data that needs to be customized on the page, including the dimension code and name, indicator code and name, warning threshold code and name and warning value, and the combination relationship of dimension indicators;
[0043] Step 2: Obtain dimension and indicator data for processing to generate standard diagnosis duration;
[0044] Step 3: According to the dimensions and indicators, the database is polled regularly, and the diagnosis time of the current dimension indicator of the machine being diagnosed is counted from the database as the current diagnosis time;
[0045] Step 4: Under the same dimension, compare the current diagnosis time of each machine with the standard diagnosis time. If it exceeds the set warning threshold, generate warning data.
[0046] Embodiment 2 of the present invention provides a method for diagnosing the duration of a server test item diagnosis, comprising the following steps:
[0047] Step 1: Configure the data that needs to be customized on the page, including the dimension code and name, indicator code and name, warning threshold code and name and warning value, and the combination relationship of dimension indicators;
[0048] It should be noted that the dimension is the dimension that needs to be counted, which can be configured as machine model, package, instruction, etc. The indicator is the indicator that needs to be compared with the diagnosis time, which can be configured as the customer program diagnosis time, the total pre-test time, the total aging time, etc. The machine model and the total pre-test time, the total aging time, etc. can be combined to count the machine model's duration data. For example, dimension: package, indicator: customer program diagnosis time, warning threshold: 10%. That is, if the customer program diagnosis time of each package is 10% longer than the standard diagnosis time, a warning will be issued.
[0049] Step 2: Obtain dimension and indicator data for processing to generate standard diagnosis duration;
[0050] Specifically including: Step 21: Obtain dimension and indicator data;
[0051] Step 22: Filter out junk data based on statistical dimensions and indicators;
[0052] Step 23: Regularly collect statistics from the database on the average value of the diagnosis time within a set time range as the standard diagnosis time.
[0053] It should be noted that junk data refers to data that does not meet the statistical requirements, including data with errors in the test items to be counted and data for which the test items have not yet completed diagnosis. For example, at 1 a.m. every day, according to the package dimension, the average client program diagnosis time of each package in the 365 days before today is counted as the standard diagnosis time of the client program diagnosis time of this package.
[0054] Step 3: According to the dimensions and indicators, the database is polled regularly, and the diagnosis time of the current dimension indicator of the machine being diagnosed is counted from the database as the current diagnosis time;
[0055] In order to ensure the timeliness of data, the polling database interval is set to a relatively small time, such as 10 minutes. For example, every 10 minutes, for the machine currently being diagnosed, the diagnosis time of the client program of each machine is counted. If the client program test item has been diagnosed, the interval between the client program diagnosis start time and the diagnosis end time is taken as the current diagnosis time; if the client program test item has started diagnosis but has not yet ended, the interval between the client program diagnosis start time and the current time is taken as the current diagnosis time.
[0056] Step 4: Under the same dimension, compare the current diagnosis time of each machine with the standard diagnosis time. If it exceeds the set warning threshold, generate warning data.
[0057] Step 5: Display the machine data whose diagnosis time exceeds the preset time on the web page; or display the generated warning data in the form of a report. For example, after obtaining the current diagnosis time, compare it with the standard diagnosis time of the package that has been obtained. If the diagnosis time is 10% longer, the warning data will be generated and displayed on the web page.
[0058] During the whole machine diagnosis process, the present invention can issue an early warning to machines whose test item diagnosis time exceeds the early warning threshold. The technicians can check the alarm machine and find out the reason why the test item diagnosis time is too long, and can optimize the diagnosis program in a targeted manner, eliminate the hidden dangers of the machine, and thus improve the diagnosis quality. After optimizing the diagnosis program, the diagnosis time is saved, which can reduce a certain production cost.
[0059] like Figure 2 As shown, Embodiment 3 of the present invention further provides a diagnostic device for server test item diagnostic duration, including a customization module, a standard diagnostic duration module, a current diagnostic duration module, and an early warning module;
[0060] A customization module is used to configure the data that needs to be customized on the page, including dimension codes and names, indicator codes and names, codes and names of warning thresholds and warning values, and the combination relationship of dimension indicators;
[0061] The standard diagnosis duration module is used to obtain dimension and indicator data for processing and generate standard diagnosis duration;
[0062] The current diagnosis duration module is used to periodically poll the database based on dimensions and indicators, and to count the diagnosis duration of the current dimension indicators of the machine being diagnosed from the database as the current diagnosis duration;
[0063] The early warning module is used to compare the current diagnosis time of each machine with the standard diagnosis time under the same dimension, and generate early warning data if it exceeds the set early warning threshold.
[0064] Embodiment 4 of the present invention further provides a diagnostic device for server test item diagnostic duration, including a customization module, a standard diagnostic duration module, a current diagnostic duration module, an early warning module, and a display module;
[0065] The customization module is used to configure the data that needs to be customized on the page, including dimension codes and names, indicator codes and names, warning threshold codes and names and warning values, and the combination relationship of dimension indicators; the customization module is to configure the data that needs to be customized on the page. Including dimension codes and names, indicator codes and names, warning threshold codes and names and warning values, the combination relationship of dimension indicators, etc. Dimensions are dimensions that need to be counted, which can be configured as models, packages, instructions, etc. Indicators are indicators that need to be compared with diagnostic time, which can be configured as customer program diagnostic time, total pre-test time, total aging time, etc. You can use the model and total pre-test time, total aging time, etc. to combine and count the model's time data.
[0066] For example: Dimension: Package, Indicator: Customer Program Diagnosis Time, Warning Threshold: 10%. That is, a warning will be issued if the customer program diagnosis time of each package is 10% longer than the standard diagnosis time.
[0067] The standard diagnostic time module is used to obtain dimension and indicator data for processing to generate standard diagnostic time; the standard diagnostic time module includes an acquisition unit, a processing unit, and a calculation unit; the acquisition unit is used to obtain dimension and indicator data; the processing unit is used to filter out junk data based on statistical dimensions and indicators; the calculation unit is used to regularly count the average value of the diagnostic time within a set time range from the database as the standard diagnostic time.
[0068] From the customized module, you can obtain data such as dimensions and indicators. The standard diagnosis time module filters out junk data based on statistical dimensions and indicators, and regularly counts the average value of the diagnosis time within a certain time range from the database as the standard diagnosis time. The junk data here refers to data that does not meet the statistical requirements, including data with errors in the test items to be counted, and data that has not yet completed the diagnosis of the test items.
[0069] For example: At 1 a.m. every day, based on the package dimensions, the average customer program diagnosis time of each package in the 365 days before today is calculated as the standard diagnosis time of the customer program diagnosis time of this package.
[0070] The current diagnosis duration module is used to periodically poll the database based on dimensions and indicators, and to count the diagnosis duration of the current dimension indicators of the machine being diagnosed from the database as the current diagnosis duration;
[0071] The current diagnosis duration module polls the database regularly based on the dimensions and indicators, and counts the diagnosis duration of the current dimension indicators of the machine being diagnosed from the database as the current diagnosis duration. In order to ensure the timeliness of the data, the polling database interval is set to be relatively small, such as 10 minutes.
[0072] For example: Every 10 minutes, for the machine currently being diagnosed, the diagnosis time of the client program of each machine is counted. If the diagnosis of the client program test item has been completed, the interval between the client program diagnosis start time and the diagnosis end time is taken as the current diagnosis time; if the client program test item has started diagnosis but has not yet ended, the interval between the client program diagnosis start time and the current time is taken as the current diagnosis time.
[0073] The early warning module is used to compare the current diagnosis time of each machine with the standard diagnosis time under the same dimension, and generate early warning data if it exceeds the set early warning threshold.
[0074] The display module is used to display the machine data whose diagnosis time exceeds the preset time on the web page; or to display the generated warning data in the form of a report.
[0075] Under the same dimension, the current diagnosis time of each machine generated by the current diagnosis time module is compared with the standard diagnosis time in the standard diagnosis time module. If it exceeds the warning threshold set in the customized module, warning data is generated. The machine data whose diagnosis time exceeds the preset time is displayed on the web page. If the warning has been checked, you can click Cancel. The generated data can also be displayed in the form of a report.
[0076] For example: After obtaining the current diagnosis time, compare it with the standard diagnosis time of the package that has been obtained. If the diagnosis time is 10% longer, warning data will be generated and displayed on the web page.
[0077] Embodiment 5 of the present invention also provides an electronic device, the electronic device comprising: a processor, a communication interface, a memory and a bus, wherein the processor, the communication interface and the memory communicate with each other through the bus. The bus can be used for information transmission between the electronic device and the sensor. The processor can call the logic instructions in the memory to execute the following method: Step 1: Configure the data that needs to be customized on the page, including the dimension code and name, the indicator code and name, the code and name of the warning threshold and the warning value, and the combination relationship of the dimension indicator; Step 2: Obtain the dimension and indicator data for processing to generate the standard diagnosis time; Step 3: According to the dimension and indicator, regularly poll the database, and count the diagnosis time of the current dimension indicator of the machine being diagnosed from the database as the current diagnosis time; Step 4: Under the same dimension, compare the current diagnosis time of each machine with the standard diagnosis time, and generate warning data if it exceeds the set warning threshold.
[0078] In some specific embodiments, the processor can call the logic instructions in the memory to execute the following method: Step 21: obtain dimension and indicator data; Step 22: filter out junk data based on statistical dimensions and indicators; Step 23: regularly count the average diagnosis time within a set time range from the database as the standard diagnosis time.
[0079] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0080] Embodiment 6 of the present invention provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the method provided by the above method embodiment, for example, including: Step 1: Configure the data that needs to be customized on the page, including dimension codes and names, indicator codes and names, warning threshold codes and names and warning values, and the combination relationship of dimension indicators; Step 2: Obtain dimension and indicator data for processing to generate standard diagnosis time; Step 3: According to the dimensions and indicators, regularly poll the database, and count the diagnosis time of the current dimension indicators of the machine being diagnosed from the database as the current diagnosis time; Step 4: Under the same dimension, compare the current diagnosis time of each machine with the standard diagnosis time, and generate warning data if it exceeds the set warning threshold.
[0081] In some specific embodiments, the program instructions executed by the processor in the readable storage medium can specifically implement the following steps: Step 21: Obtain dimension and indicator data; Step 22: Filter out junk data based on statistical dimensions and indicators; Step 23: Regularly count the average value of the diagnosis time within a set time range from the database as the standard diagnosis time.
[0082] Although the present invention has been described in detail by referring to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.
Claims
1. A method for diagnosing the duration of a server test item, characterized in that: The steps include: Configure the data that needs to be customized on the page, including dimension codes and names, indicator codes and names, warning threshold codes and names, warning values, and the combination relationship of dimension indicators. Dimensions are dimensions that need to be counted, and indicators are indicators that need to be compared with the diagnosis time. Obtaining dimension and indicator data for processing to generate standard diagnosis time; the obtaining dimension and indicator data for processing to generate standard diagnosis time includes: obtaining dimension and indicator data; filtering out junk data according to statistical dimensions and indicators; regularly counting the average value of the diagnosis time within a set time range from the database as the standard diagnosis time; junk data refers to data that does not meet the statistical requirements, including data with errors in the test items to be counted and data for which the diagnosis of the test items has not yet been completed; According to the dimensions and indicators, the database is polled regularly, and the diagnosis time of the current dimension indicator of the machine being diagnosed is counted from the database as the current diagnosis time; the method for obtaining the current diagnosis time each time by polling includes: for the machine currently being diagnosed, the diagnosis time of the client program of each machine is counted once, if the diagnosis of the client program test item has been completed, the interval between the diagnosis start time and the diagnosis end time of the client program is taken as the current diagnosis time; if the client program test item has started diagnosis but has not yet ended, the interval between the diagnosis start time and the current time of the client program is taken as the current diagnosis time; Under the same dimension, the current diagnosis time of each machine is compared with the standard diagnosis time, and warning data is generated if it exceeds the set warning threshold; The method further includes: Displaying machine data whose diagnosis time exceeds a predetermined time on a web page; or, The generated warning data will be displayed in the form of a report.
2. A diagnostic device for server test item diagnostic duration, characterized in that: Including customized module, standard diagnosis time module, current diagnosis time module and early warning module; The customization module is used to configure the data that needs to be customized on the page, including the dimension code and name, the indicator code and name, the warning threshold code and name and the warning value, and the combination relationship of the dimension indicator; the dimension is the dimension that needs to be counted, and the indicator is the indicator that needs to be compared with the diagnosis time; The standard diagnosis duration module is used to obtain dimension and indicator data for processing and generate standard diagnosis duration; The current diagnosis duration module is used to periodically poll the database based on dimensions and indicators, and to count the diagnosis duration of the current dimension indicators of the machine being diagnosed from the database as the current diagnosis duration; The method for obtaining the current diagnosis duration in each polling includes: for the machine currently being diagnosed, counting the diagnosis duration of the client program of each machine once, if the diagnosis of the client program test item has been completed, taking the interval between the client program diagnosis start time and the diagnosis end time as the current diagnosis duration; if the client program test item has started diagnosis but has not yet ended, taking the interval between the client program diagnosis start time and the current time as the current diagnosis duration; The early warning module is used to compare the current diagnosis time of each machine with the standard diagnosis time under the same dimension, and generate early warning data if it exceeds the set early warning threshold; The standard diagnosis duration module includes an acquisition unit, a processing unit, and a calculation unit; The acquisition unit is used to obtain dimension and indicator data; The processing unit is used to filter out junk data according to statistical dimensions and indicators. Junk data refers to data that does not meet statistical requirements, including data with errors in the test items to be counted and data for which the diagnosis of the test items has not been completed. A calculation unit, used for regularly calculating the average value of the diagnosis time within a set time range from a database as a standard diagnosis time; The device also includes a display module for displaying machine data whose diagnosis time exceeds a predetermined time on a web page; or, displaying the generated warning data in the form of a report.
3. An electronic device, characterized in that: The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores computer program instructions executable by the at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can execute the diagnostic method for the diagnostic duration of a server test item as described in claim 1.
4. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method for diagnosing the duration of a server test item according to claim 1.
Citation Information
Patent Citations
Performance capacity diagnosis method and device
CN113377637A
Monitoring method and system for whole machine diagnosis process of server, terminal and storage medium
CN114490238A
