A Margin data evaluation method, device, equipment and medium

By conducting credibility analysis and classification model judgment on Margin simulation data and Margin test data, data closer to the real thing is automatically selected, which solves the limitations of Margin data differences and evaluation schemes in the existing technology, and improves accuracy and reliability. sex.

CN115114981BActive Publication Date: 2024-10-18INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210747671.9
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

Technical Problem

In the existing technology, there are differences between margin simulation data and margin test data, making it difficult to determine which data is closer to the margin value of the real system. Moreover, existing evaluation schemes have problems such as bugs, dependence on manual operations, time consumption, and subjectivity that affect fairness.

Method used

By conducting credibility analysis on Margin simulation data and Margin test data based on statistical features, using a pre-trained classification model to determine the probability of falling into the first or second category, data that is closer to the real data is automatically selected.

Benefits of technology

It effectively solves the doubts when margin data has large differences, saves time and labor costs, improves accuracy and reliability, and reduces reliance on manual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115114981B_ABST
    Figure CN115114981B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of computer technology, and in particular to a margin data evaluation method, device, equipment and medium. The method comprises: performing credibility analysis on the margin simulation data and margin test data to be evaluated based on statistical characteristics to obtain corresponding credibility levels; inputting the margin simulation data and margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category; and determining which of the margin simulation data and the margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category. The scheme of the present invention can automatically select one of the two types of data as closer to the real data, greatly saving time and labor costs, and having better accuracy and reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a margin data evaluation method, device, equipment and medium. Background Art

[0002] A server is a type of computer that runs faster, has a higher load, and is more expensive than an ordinary computer. It provides computing or application services to other clients in the network, such as PCs, smart phones, terminals such as ATMs, and even large devices such as train systems. As the data processing rate of servers increases and the maximum operating frequency of CPUs continues to increase, signal integrity issues become particularly important. Signal integrity is a series of metrics for the quality of electronic signals. In digital circuits, a series of binary signal streams are represented by voltage (or current) waveforms. However, signals in nature are actually analog, not digital, and all signals are affected by noise, distortion, and loss. In the case of short distances and low bit rates, a simple conductor can transmit signals faithfully. However, if long-distance, high-bit-rate signals pass through several different conductors, multiple effects can reduce the credibility of the signal, so that the system or device cannot work properly. The main issues considered in signal integrity are ringing, crosstalk, ground bounce, skew, signal loss, and noise in the power supply. These parameters can be simply and roughly expressed using Margin, so the signal Margin plays an extremely important role in the signal integrity system.

[0003] There are currently two ways to obtain Margin values: one is to simulate Margin using related software, such as ICAT, ADS and other software; the other is to obtain the measured value of Margin of the real system through IOMT (Signal Integrity Verification, Input\Outout margin tool, input and output port signal boundary test tool) software. Since both ways to obtain Margin values ​​use software, there are inevitably some unknown situations in the software. If the values ​​of the two are different, it is impossible to confirm which value is closer to the actual Margin value of the real system.

[0004] At present, there are three main evaluation schemes for the Margin data obtained by the above two methods, namely: Scheme 1: based on the test data output by IOMT; Scheme 2: based on the simulation data; Scheme 3: reviewed by post experts. Scheme 1 is currently widely used, Scheme 3 is rarely used, and Scheme 2 is rarely used. The three existing schemes all have large local phenomena. Scheme 1 is universal because it is based on the premise that IOMT does not have bugs, but in reality, IOMT will have some bugs. If the output data of IOMT after the bug has occurred is regarded as real data, then it is obvious that this data is not in line with reality. In addition, IOMT is not a fully automated testing tool, and it also relies on manual operation, which is also very likely to cause setting errors. Therefore, it cannot be completely relied on the output data of IOMT. Scheme 2: Both model accuracy and software accuracy will affect the simulation data, so it is not valid to regard this data as real data. Scheme 3: It consumes the energy of experts, and repeated simulation and testing will take a certain amount of time. In addition, each expert is in a different field and may have a certain subjective consciousness, which affects the fairness of the evaluation. Summary of the invention

[0005] The present invention provides a Margin data evaluation method, device, equipment and medium to solve the problem of determining which data is closer to the real value of a system when there is a difference between Margin simulation data and Margin test data.

[0006] According to a first aspect of the present invention, a margin data evaluation method is provided, the method comprising:

[0007] S1. Based on statistical characteristics, the credibility analysis is performed on the Margin simulation data and Margin test data to be evaluated to obtain the corresponding credibility level;

[0008] S2, inputting the Margin simulation data and the Margin test data to be evaluated into the pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category;

[0009] S3. Determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category.

[0010] In some embodiments, step S1 includes:

[0011] S11, obtaining parameters that affect the credibility of Margin simulation data: simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification;

[0012] S12, obtaining parameters of factors affecting the Margin test accuracy: test equipment accuracy, maturity of the system to be tested, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification;

[0013] S13, perform the following operations on the parameters obtained in step S11 and step S12 respectively:

[0014] A1. Set the acquired parameters to A, B, C, D, and E respectively;

[0015] A2. Fuzzy classification of the A parameter into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate;

[0016] A3. Fuzzy classification of B parameters into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate;

[0017] A4. Fuzzy classification of C parameters into five levels: very simple, relatively simple, moderately complex, relatively complex, and very complex;

[0018] A5. Fuzzy classification of the D parameter into five levels: very skilled, relatively skilled, moderately skilled, relatively unfamiliar, and very unfamiliar;

[0019] A6. Fuzzy classification of E parameters into five levels: very consistent, relatively consistent, generally consistent, relatively inconsistent, and very inconsistent;

[0020] A7. Express the level of each parameter as HH, NH, LH, NL, LL. The five parameters A, B, C, D, and E can be recorded as: A[HH, NH, LH, NL, LL], B[HH, NH, LH, NL, LL], C[HH, NH, LH, NL, LL], D[HH, NH, LH, NL, LL], and E[HH, NH, LH, NL, LL];

[0021] A8. Combining the five parameters A, B, C, D, and E can be recorded as:

[0022] A9. Arrange and combine 25 situations according to step A8, set HH to 5 points, NH to 4 points, LH to 3 points, NL to 2 points, and LL to 1 point, and divide these 25 situations into three levels according to the scores;

[0023] A10. Set the score greater than 20 points as the credible level (TT), the score less than 10 points as the doubtful level (FF), and the score between 10 and 20 points as the half-trusted level (TF);

[0024] A11. For data of FF level, directly discard them or improve the quality of A, B, C, D, E and reclassify them;

[0025] A12. For TT level data, directly go to step S2;

[0026] A13. For TF level data, if the number of HH is greater than 2 or the number of NH is greater than 3, directly proceed to step S2; otherwise, merge into FF level data and execute step A11.

[0027] In some embodiments, the method further comprises relying on Margin simulation data, Margin test data and stress test conditions of known accuracy as training samples, recording the Margin simulation data in the training samples as MS, recording the Margin test data in the training samples as MT, recording the real system stress test data of the training samples as TP, and dividing the TP level into TP1 and TP2, wherein TP1 and TP2 are respectively the time for the stress test to be continuously error-free, and TP1 is greater than TP2;

[0028] Based on the training samples, the model is trained using the following steps:

[0029] B1. Count the number of input data, the number of data belonging to TP1 category, and the number of data belonging to TP2 category;

[0030] B2, based on the counted number of input data, the number of data belonging to the TP1 category and the number of data belonging to the TP2 category, calculate the mean and variance of the MS data belonging to the TP1 category, calculate the mean and variance of the MT data belonging to the TP1 category, calculate the mean and variance of the MS data belonging to the TP2 category, and calculate the mean and variance of the MT data belonging to the TP2 category;

[0031] B3. Substitute the mean and variance obtained in step B2 into the formula Calculate the corresponding probability value, where x is the Margin simulation data or Margin test data, u is the mean, and δ is the variance.

[0032] In some embodiments, step S3 includes:

[0033] In response to the ratio of the probability of falling into the first category to the probability of falling into the second category being greater than or equal to a preset value, determining that the relatively smaller one of the Margin simulation data and the Margin test data is closer to the real data, wherein the preset value is greater than 1;

[0034] If the ratio of the probability of falling into the second category to the probability of falling into the first category is greater than or equal to a preset value, it is determined that the larger one of the Margin simulation data and the Margin test data is closer to the real data.

[0035] In some embodiments, step S3 further includes:

[0036] In response to the ratio of the probability of falling into the first category to the probability of falling into the second category, and the ratio of the probability of falling into the second category to the probability of falling into the first category being between zero and a preset value, the degree of environmental risk is evaluated to determine which of the Margin simulation data and the Margin test data is closer to the real data.

[0037] In some embodiments, the step of evaluating the environmental risk level to determine which of the Margin simulation data and the Margin test data is closer to the real data includes:

[0038] If the environmental factors are complex and severe, the smaller one between the Margin simulation data and the Margin test data is determined to be closer to the real data;

[0039] If the environmental factors are simple and mild, it is determined that the larger one between the Margin simulation data and the Margin test data is closer to the real data.

[0040] In some embodiments, simple and mild environmental factors refer to that the operating temperature of the server is between 20 degrees and 30 degrees, and complex and severe environmental factors refer to that the operating temperature of the server is lower than 20 degrees or higher than 30 degrees.

[0041] According to a second aspect of the present invention, a Margin data evaluation device is provided, the device comprising:

[0042] An analysis module is configured to perform credibility analysis on the Margin simulation data and the Margin test data to be evaluated based on statistical characteristics to obtain corresponding credibility levels;

[0043] A classification module, configured to input the Margin simulation data and the Margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category;

[0044] A determination module is configured to determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category.

[0045] According to a third aspect of the present invention, there is further provided a computer device, the computer device comprising:

[0046] at least one processor; and

[0047] The memory stores a computer program that can be run on the processor, and the processor executes the aforementioned Margin data evaluation method when executing the program.

[0048] According to a fourth aspect of the present invention, there is further provided a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the aforementioned Margin data evaluation method is executed.

[0049] The above-mentioned margin data evaluation method effectively solves the doubts caused to designers when there is a large difference between margin simulation data and margin test data. It can automatically select one of the two types of data as the one closer to the real data, greatly saving time and labor costs, and has better accuracy and reliability.

[0050] In addition, the present invention also provides a Margin data evaluation device, a computer device and a computer-readable storage medium, which can also achieve the above-mentioned technical effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] 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, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.

[0052] Figure 1 A Margin data evaluation method provided by an embodiment of the present invention;

[0053] Figure 2 A schematic diagram of an overall processing flow of Margin data including three stages is provided for one embodiment of the present invention;

[0054] Figure 3 A schematic diagram of the first stage processing flow provided for an embodiment of the present invention;

[0055] Figure 4 A schematic diagram of the second stage processing flow provided for an embodiment of the present invention;

[0056] Figure 5 A schematic diagram of the third stage processing flow provided by an embodiment of the present invention;

[0057] Figure 6 A schematic diagram of the structure of a Margin data evaluation device provided by another embodiment of the present invention;

[0058] Figure 7FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0060] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.

[0061] In one embodiment, please refer to Figure 1 As shown, the present invention provides a Margin data evaluation method, specifically, the method comprises the following steps:

[0062] S1. Based on statistical characteristics, the credibility analysis is performed on the Margin simulation data and Margin test data to be evaluated to obtain the corresponding credibility level;

[0063] S2, inputting the Margin simulation data and the Margin test data to be evaluated into the pre-trained classification model based on the credibility level to obtain the probability that the Margin simulation data belongs to the first category and the second category, and to obtain the probability that the Margin test data belongs to the first category and the second category;

[0064] S3, calculating the probability of falling into the first category according to the probability that the Margin simulation data belongs to the first category and the probability that the Margin test data belongs to the first category, and calculating the probability of falling into the second category according to the probability that the Margin simulation data belongs to the second category and the probability that the Margin test data belongs to the second category;

[0065] S3. Determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category.

[0066] The above-mentioned margin data evaluation method effectively solves the doubts caused to designers when there is a large difference between margin simulation data and margin test data. It can automatically select one of the two types of data as the one closer to the real data, greatly saving time and labor costs, and has better accuracy and reliability.

[0067] In some embodiments, step S1 includes:

[0068] S11, obtaining parameters that affect the credibility of Margin simulation data: simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification;

[0069] S12, obtaining parameters of factors affecting the Margin test accuracy: test equipment accuracy, maturity of the system to be tested, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification;

[0070] S13, perform the following operations on the parameters obtained in step S11 and step S12 respectively:

[0071] A1. Set the acquired parameters to A, B, C, D, and E respectively;

[0072] A2. Fuzzy classification of the A parameter into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate;

[0073] A3. Fuzzy classification of B parameters into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate;

[0074] A4. Fuzzy classification of C parameters into five levels: very simple, relatively simple, moderately complex, relatively complex, and very complex;

[0075] A5. Fuzzy classification of the D parameter into five levels: very skilled, relatively skilled, moderately skilled, relatively unfamiliar, and very unfamiliar;

[0076] A6. Fuzzy classification of E parameters into five levels: very consistent, relatively consistent, generally consistent, relatively inconsistent, and very inconsistent;

[0077] A7. Express the level of each parameter as HH, NH, LH, NL, LL. The five parameters A, B, C, D, and E can be recorded as: A[HH, NH, LH, NL, LL], B[HH, NH, LH, NL, LL], C[HH, NH, LH, NL, LL], D[HH, NH, LH, NL, LL], and E[HH, NH, LH, NL, LL];

[0078] A8. Combining the five parameters A, B, C, D, and E can be recorded as:

[0079] A9. Arrange and combine 25 situations according to step A8, set HH to 5 points, NH to 4 points, LH to 3 points, NL to 2 points, and LL to 1 point, and divide these 25 situations into three levels according to the scores;

[0080] A10. Set the score greater than 20 points as the credible level (TT), the score less than 10 points as the doubtful level (FF), and the score between 10 and 20 points as the half-trusted level (TF);

[0081] A11. For data of FF level, directly discard them or improve the quality of A, B, C, D, E and reclassify them;

[0082] A12. For TT level data, directly go to step S2;

[0083] A13. For TF level data, if the number of HH is greater than 2 or the number of NH is greater than 3, directly proceed to step S2; otherwise, merge into FF level data and execute step A11.

[0084] In some embodiments, the method further comprises relying on Margin simulation data, Margin test data and stress test conditions of known accuracy as training samples, recording the Margin simulation data in the training samples as MS, recording the Margin test data in the training samples as MT, recording the real system stress test data of the training samples as TP, and dividing the TP level into TP1 and TP2, wherein TP1 and TP2 are respectively the time for the stress test to be continuously error-free, and TP1 is greater than TP2;

[0085] Based on the training samples, the model is trained using the following steps:

[0086] B1. Count the number of input data, the number of data belonging to TP1 category, and the number of data belonging to TP2 category;

[0087] B2, based on the counted number of input data, the number of data belonging to the TP1 category and the number of data belonging to the TP2 category, calculate the mean and variance of the MS data belonging to the TP1 category, calculate the mean and variance of the MT data belonging to the TP1 category, calculate the mean and variance of the MS data belonging to the TP2 category, and calculate the mean and variance of the MT data belonging to the TP2 category;

[0088] B3. Substitute the mean and variance obtained in step B2 into the formula Calculate the corresponding probability value, where x is the Margin simulation data or Margin test data, u is the mean, and δ is the variance.

[0089] In some embodiments, step S3 includes:

[0090] In response to the ratio of the probability of falling into the first category to the probability of falling into the second category being greater than or equal to a preset value, it is determined that the relatively smaller one of the Margin simulation data and the Margin test data is closer to the real data, wherein the preset value is greater than 1; preferably, the preset value can be set to be greater than or equal to 100.

[0091] If the ratio of the probability of falling into the second category to the probability of falling into the first category is greater than or equal to a preset value, it is determined that the larger one of the Margin simulation data and the Margin test data is closer to the real data.

[0092] In some embodiments, step S3 further includes:

[0093] In response to the ratio of the probability of falling into the first category to the probability of falling into the second category, and the ratio of the probability of falling into the second category to the probability of falling into the first category being between zero and a preset value, the degree of environmental risk is evaluated to determine which of the Margin simulation data and the Margin test data is closer to the real data.

[0094] In some embodiments, the step of evaluating the environmental risk level to determine which of the Margin simulation data and the Margin test data is closer to the real data includes:

[0095] If the environmental factors are complex and severe, the smaller one between the Margin simulation data and the Margin test data is determined to be closer to the real data;

[0096] If the environmental factors are simple and mild, it is determined that the larger one between the Margin simulation data and the Margin test data is closer to the real data.

[0097] In some embodiments, simple and mild environmental factors refer to that the operating temperature of the server is between 20 degrees and 30 degrees, and complex and severe environmental factors refer to that the operating temperature of the server is lower than 20 degrees or higher than 30 degrees.

[0098] In another embodiment, in order to facilitate understanding of the solution of the present invention, the ringing, crosstalk, ground bounce, skew, signal loss and noise in the power supply of the server are used as margin data, and the simulation software and IOMT software are used to obtain the margin simulation data and margin test data respectively. This embodiment provides a margin data evaluation method, please refer to Figure 2As shown, the method is implemented in three stages: In the first stage, the credibility of the Margin simulation data is analyzed by mathematical statistical features. The credibility of the Margin test data is analyzed by mathematical statistical features. In the second stage, the model is trained using more mature Margin test data, Margin simulation data, and stress test conditions. In the third stage, the relationship between the unknown Margin simulation data and the Margin test data is analyzed through the trained model, and the results are given. The solution of the present invention is described in detail below in combination with the processing of the above three stages:

[0099] Please refer to Figure 3 As shown in the figure, the specific process of the first stage is as follows:

[0100] Step 1 divides the factors affecting the credibility of Margin simulation data into simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and the difference between simulation results and specifications.

[0101] Step 2: Set the simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and the difference between the simulation result and the specification to A, B, C, D, and E. It is necessary to specify that the E parameter needs to be homogenized, that is, the range of E is 0 to 1, from small to large to describe the fit between the simulation result and the specification.

[0102] Step 3, fuzzy classify the A parameter into 5 levels, namely, very accurate, relatively accurate, generally accurate, less accurate, and inaccurate.

[0103] Step 4, fuzzy classify the B parameter into 5 levels, namely, very accurate, relatively accurate, generally accurate, less accurate, and inaccurate.

[0104] Step 5, fuzzy classify the C parameter into 5 levels, namely very simple, relatively simple, moderately complex, relatively complex, and very complex.

[0105] Step 6, fuzzy classify the D parameter into 5 levels, namely, very skilled, relatively skilled, moderately skilled, relatively unfamiliar, and very unfamiliar.

[0106] Step 7, fuzzy classify the E parameter into 5 levels, namely, very consistent, relatively consistent, generally consistent, relatively inconsistent, and very inconsistent.

[0107] Step 8, the level of each parameter can be expressed as HH, NH, LH, NL, LL. The five parameters A, B, C, D, and E can be recorded as: A (HH, NH, LH, NL, LL), B (HH, NH, LH, NL, LL), C (HH, NH, LH, NL, LL), D (HH, NH, LH, NL, LL), E (HH, NH, LH, NL, LL).

[0108] Step 9: Combine the five parameters A, B, C, D, and E and record them as follows:

[0109] Step 10, 25 situations can be arranged and combined from step 11, HH is set to 5 points, NH is set to 4 points, LH is set to 3 points, NL is set to 2 points, and LL is set to 1 point. These 25 situations are divided into 3 levels according to the scores.

[0110] Step 11: Set the score greater than 20 points as the trustworthy level, recorded as TT; set the score less than 10 points as the doubtful level, recorded as FF; set the score between 10 and 20 points as the half-trusted level, recorded as TF.

[0111] Step 12, directly discard the FF level data, or re-classify after improving the quality of A, B, C, D, E. The FF level data is also related to the time parameter, which is a dynamic process. For example, as the operation proficiency increases, the FF level data will also change over time, and the level after re-classification will be improved.

[0112] Step 13, for the data of TT level, directly enter the third stage of the present invention and start to judge the data.

[0113] Step 14: For the data of TF level, if the number of HH is greater than 2 or the number of NH is greater than 3, directly enter the third stage of the present invention and start to judge the data. Otherwise, merge into FF level and perform the operation described in step 12.

[0114] Step 15: Factors that affect the accuracy of the Margin test include the accuracy of the test equipment, the maturity of the system to be tested, the overall link complexity, the operator proficiency, and the difference between the simulation result and the specification.

[0115] Step 16: The processing of the Margin test data can also be performed in the same manner as the above steps 1 to 14.

[0116] Please refer to Figure 4 As shown in the figure, the second stage is the model training stage, which relies on the original and mature data for model training. The specific process of the second stage is as follows:

[0117] Step 17, record the Margin simulation data as MS, the Margin test data as MT, the real system stress test data as TP, and the overall Margin data as Mdata (MS MT)

[0118] Step 18: Classify the TP levels into TP1 and TP2. TP1 and TP2 can be understood as the time during which the stress test is continuously error-free. The longer the time, the better the quality. TP1 and TP2 are ranked from bad to good.

[0119] In step 19, each Mdata (MS MT) corresponds to one value in TP1 and TP2. Assuming that Mdata1 (MS1 MT1) corresponds to TP1, it is determined that the smaller value of MS and MT is closer to the true value of Margin. Assuming that Mdata1 (MS1 MT1) corresponds to TP2, it is determined that the larger value of MS and MT is closer to the true value of Margin.

[0120] Step 20: The model needs to be trained based on the relationship between multiple groups of Mdata and TP. The training model adopts the following steps:

[0121] In step 21, MS and MT are both specific numerical values. If this example takes 100 numerical values ​​as an example, 100 MSs and 100 MTs will all have mathematical statistical characteristics such as mean and variance, and Gaussian distributions can be formed according to their mathematical characteristics. The probability characteristics are recorded as P(Xms) and P(Ymt), respectively, and the probability distributions of the two are independent of each other, that is, P(Xms|Ymt)=P(Xms)P(Xmt).

[0122] Step 22, for example, if 30 of the 100 data sets belong to TP1, then the probability of TP1 appearing in the 100 data sets is 30%, recorded as P(TP1)=30%; the probability of TP2 appearing in the 100 data sets is 70%, recorded as P(TP2)=70%. These two values ​​can be used to train the model.

[0123] Step 23, based on the assumptions of Steps 21 and 22, there will be 30 groups of MS and MT belonging to the TP1 category, whose means and variances are recorded as MeanTP1 and SDTP1 respectively, and there will be 70 groups of MS and MT belonging to the TP2 category, whose means and variances are recorded as MeanTP2 and SDTP2 respectively. Substitute into the formula This can indicate the probability situation.

[0124] Please refer to Figure 5 As shown, taking a group of Mdata (ms mt) data as an example, it is assumed that it meets the screening of the first stage and enters the third stage. The specific process of the third stage is as follows:

[0125] Step 24: Calculate the probability of falling into category TP1, \(P_{TP1}=P(MS = ms|TP1)P(MT = mt|TP1)\).

[0126] Step 25: Calculate the probability of falling into category TP2, \(P_{TP2}=P(MS = ms|TP2)P(MT = mt|TP2)\).

[0127] Step 26: If \(P_{TP1}>>P_{TP2}\), then the Mdata(ms mt) data belongs to category TP1, and the smaller value of ms and mt has a higher credibility.

[0128] Step 27: If \(P_{TP1}<<P_{TP2}\), then the Mdata(ms mt) data belongs to category TP2, and the larger value of ms and mt has a higher credibility.

[0129] It should be noted that the above steps 24 to 25 are actually automatically output by the trained model.

[0130] Step 28: If \(P_{TP1}\) and \(P_{TP2}\) are in the same order of magnitude, then conduct a comprehensive analysis based on the environmental risk level.

[0131] Step 29: If the environmental factors are complex and severe, then the Mdata(ms mt) data belongs to category TP1, and the smaller value of ms and mt has a higher credibility.

[0132] Step 30: If the environmental factors are simple and mild, then the Mdata(ms mt) data belongs to category TP2, and the larger value of ms and mt has a higher credibility.

[0133] A Margin data evaluation method provided in this embodiment determines which of the Margin simulation data and the Margin test data is closer to the real Margin data through three stages. It effectively solves the doubts brought to designers when there are significant differences between the Margin simulation data and the Margin test data, no longer relying on manual experience, and can be designed as an automated processing tool, thereby saving time and labor costs and having good flexibility and stability.

[0134] In another embodiment, please refer to Figure 6 As shown, the present invention further provides a Margin data evaluation device 200, and the device 200 includes:

[0135] An analysis module 201 configured to perform credibility analysis on the to-be-evaluated Margin simulation data and Margin test data respectively based on statistical features to obtain corresponding credibility levels;

[0136] A classification module 202, configured to input the Margin simulation data and the Margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category;

[0137] The determination module 203 is configured to determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category.

[0138] The above-mentioned margin data evaluation method effectively solves the doubts caused to designers when there is a large difference between margin simulation data and margin test data. It can automatically select one of the two types of data as the one closer to the real data, greatly saving time and labor costs, and has better accuracy and reliability.

[0139] In some embodiments, the analysis module 201 further includes:

[0140] The first acquisition module is configured to obtain parameters that affect the credibility of Margin simulation data: simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and a normalized value of the difference between the simulation result and the spec;

[0141] The second acquisition module is configured to obtain parameters of factors affecting the accuracy of the Margin test: the accuracy of the test equipment, the maturity of the system to be tested, the overall link complexity, the operation proficiency, and the normalized value of the difference between the simulation result and the specification;

[0142] Perform the following operations on the parameters obtained by the first obtaining module and the second obtaining module in step 1 respectively:

[0143] A1. Set the acquired parameters to A, B, C, D, and E respectively;

[0144] A2. Fuzzy classification of the A parameter into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate;

[0145] A3. Fuzzy classification of B parameters into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate;

[0146] A4. Fuzzy classification of C parameters into five levels: very simple, relatively simple, moderately complex, relatively complex, and very complex;

[0147] A5. Fuzzy classification of the D parameter into five levels: very skilled, relatively skilled, moderately skilled, relatively unfamiliar, and very unfamiliar;

[0148] A6. Fuzzy classification of E parameters into five levels: very consistent, relatively consistent, generally consistent, relatively inconsistent, and very inconsistent;

[0149] A7. Express the level of each parameter as HH, NH, LH, NL, LL. The five parameters A, B, C, D, and E can be recorded as: A[HH, NH, LH, NL, LL], B[HH, NH, LH, NL, LL], C[HH, NH, LH, NL, LL], D[HH, NH, LH, NL, LL], and E[HH, NH, LH, NL, LL];

[0150] A8. Combining the five parameters A, B, C, D, and E can be recorded as:

[0151] A9. Arrange and combine 25 situations according to step A8, set HH to 5 points, NH to 4 points, LH to 3 points, NL to 2 points, and LL to 1 point, and divide these 25 situations into three levels according to the scores;

[0152] A10. Set the score greater than 20 points as the credible level (TT), the score less than 10 points as the doubtful level (FF), and the score between 10 and 20 points as the half-trusted level (TF);

[0153] A11. For data of FF level, directly discard them or improve the quality of A, B, C, D, E and reclassify them;

[0154] A12. For TT level data, directly go to step S2;

[0155] A13. For TF level data, if the number of HH is greater than 2 or the number of NH is greater than 3, directly proceed to step S2; otherwise, merge into FF level data and execute step A11.

[0156] In some embodiments, the device further comprises Margin simulation data, Margin test data and stress test conditions that rely on known accuracy as training samples, the Margin simulation data in the training samples are recorded as MS, the Margin test data in the training samples are recorded as MT, the real system stress test data of the training samples are recorded as TP, and the TP level is divided into TP1 and TP2, wherein TP1 and TP2 are respectively the time when the stress test is continuously error-free, and TP1 is greater than TP2;

[0157] Based on the training samples, the model is trained using the following steps:

[0158] B1. Count the number of input data, the number of data belonging to TP1 category, and the number of data belonging to TP2 category;

[0159] B2, based on the counted number of input data, the number of data belonging to the TP1 category and the number of data belonging to the TP2 category, calculate the mean and variance of the MS data belonging to the TP1 category, calculate the mean and variance of the MT data belonging to the TP1 category, calculate the mean and variance of the MS data belonging to the TP2 category, and calculate the mean and variance of the MT data belonging to the TP2 category;

[0160] B3. Substitute the mean and variance obtained in step B2 into the formula Calculate the corresponding probability value, where x is the Margin simulation data or Margin test data, u is the mean, and δ is the variance.

[0161] In some embodiments, the determination module 203 is further configured to:

[0162] In response to the ratio of the probability of falling into the first category to the probability of falling into the second category being greater than or equal to a preset value, determining that the relatively smaller one of the Margin simulation data and the Margin test data is closer to the real data, wherein the preset value is greater than 1;

[0163] If the ratio of the probability of falling into the second category to the probability of falling into the first category is greater than or equal to a preset value, it is determined that the larger one of the Margin simulation data and the Margin test data is closer to the real data.

[0164] In some embodiments, the determination module 203 is further configured to:

[0165] In response to the ratio of the probability of falling into the first category to the probability of falling into the second category, and the ratio of the probability of falling into the second category to the probability of falling into the first category being between zero and a preset value, the degree of environmental risk is evaluated to determine which of the Margin simulation data and the Margin test data is closer to the real data.

[0166] In some embodiments, the step of evaluating the environmental risk level to determine which of the Margin simulation data and the Margin test data is closer to the real data includes:

[0167] If the environmental factors are complex and severe, the smaller one between the Margin simulation data and the Margin test data is determined to be closer to the real data;

[0168] If the environmental factors are simple and mild, it is determined that the larger one between the Margin simulation data and the Margin test data is closer to the real data.

[0169] In some embodiments, simple and mild environmental factors refer to that the operating temperature of the server is between 20 degrees and 30 degrees, and complex and severe environmental factors refer to that the operating temperature of the server is lower than 20 degrees or higher than 30 degrees.

[0170] It should be noted that the specific limitations of the Margin data evaluation device can be found in the limitations of the Margin data evaluation method above, which will not be repeated here. Each module in the above-mentioned Margin data evaluation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0171] According to another aspect of the present invention, a computer device is provided. The computer device may be a server. Figure 7 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above-mentioned Margin data evaluation method is implemented. Specifically, the method includes the following steps:

[0172] S1. Based on statistical characteristics, the credibility analysis is performed on the Margin simulation data and Margin test data to be evaluated to obtain the corresponding credibility level;

[0173] S2, inputting the Margin simulation data and the Margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category;

[0174] S3. Determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category.

[0175] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Margin data evaluation method is implemented. Specifically, the method includes executing the following steps:

[0176] S1. Based on statistical characteristics, the credibility analysis is performed on the Margin simulation data and Margin test data to be evaluated to obtain the corresponding credibility level;

[0177] S2, inputting the Margin simulation data and the Margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category;

[0178] S3. Determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category.

[0179] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0180] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0181] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A Margin data evaluation method, It is characterized in that The method comprises: S1. Based on statistical characteristics, credibility analysis is performed on the Margin simulation data and Margin test data to be evaluated to obtain the corresponding credibility level; S2, inputting the Margin simulation data and the Margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain the probability of falling into the first category and the probability of falling into the second category; S3, determining which of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category; Step S1 includes: S11, obtaining parameters that affect the credibility of Margin simulation data: simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification; S12, obtaining parameters of factors affecting the Margin test accuracy: test equipment accuracy, maturity of the system to be tested, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification; S13, perform the following operations on the parameters obtained in step S11 and step S12 respectively: A1. Set the acquired parameters to A, B, C, D, and E respectively; A2. Fuzzy classification of the A parameter into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate; A3. Fuzzy classification of B parameters into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate; A4. Fuzzy classification of C parameters into five levels: very simple, relatively simple, moderately complex, relatively complex, and very complex; A5. Fuzzy classification of the D parameter into five levels: very skilled, relatively skilled, moderately skilled, relatively unfamiliar, and very unfamiliar; A6. Fuzzy classification of E parameters into five levels: very consistent, relatively consistent, generally consistent, relatively inconsistent, and very inconsistent; A7. Express the level of each parameter as HH, NH, LH, NL, LL. The five parameters A, B, C, D, and E can be recorded as: A[HH, NH, LH, NL, LL], B[HH, NH, LH, NL, LL], C[HH, NH, LH, NL, LL], D[HH, NH, LH, NL, LL], and E[HH, NH, LH, NL, LL]; A8. Combining the five parameters A, B, C, D, and E can be recorded as: ; A9. Arrange and combine 25 situations according to step A8, set HH to 5 points, NH to 4 points, LH to 3 points, NL to 2 points, and LL to 1 point, and divide these 25 situations into three levels according to the scores; A10. Set the score greater than 20 points as the credible level (TT), the score less than 10 points as the doubtful level (FF), and the score between 10 and 20 points as the half-trusted level (TF); A11. For data of FF level, directly discard them or improve the quality of A, B, C, D, E and reclassify them; A12. For TT level data, directly go to step S2; A13. For TF level data, if the number of HH is greater than 2 or the number of NH is greater than 3, directly proceed to step S2; otherwise, merge into FF level data and execute step A11.

2. The Margin data evaluation method according to claim 1, It is characterized in that The method also includes relying on margin simulation data, margin test data and stress test conditions with known accuracy as training samples, recording the margin simulation data in the training samples as MS, recording the margin test data in the training samples as MT, recording the real system stress test data of the training samples as TP, and dividing the TP level into TP1 and TP2, wherein TP1 and TP2 are respectively the time when the stress test is continuously error-free, and TP1 is greater than TP2; Based on the training samples, the model is trained using the following steps: B1. Count the number of input data, the number of data belonging to TP1 category, and the number of data belonging to TP2 category; B2, based on the counted number of input data, the number of data belonging to the TP1 category and the number of data belonging to the TP2 category, calculate the mean and variance of the MS data belonging to the TP1 category, calculate the mean and variance of the MT data belonging to the TP1 category, calculate the mean and variance of the MS data belonging to the TP2 category, and calculate the mean and variance of the MT data belonging to the TP2 category; B3. Substitute the mean and variance obtained in step B2 into the formula Calculate the corresponding probability value, where x is the Margin simulation data or Margin test data, and u is the mean. is the variance.

3. The Margin data evaluation method according to claim 1, It is characterized in that Step S3 includes: In response to the ratio of the probability of falling into the first category to the probability of falling into the second category being greater than or equal to a preset value, determining that the relatively smaller one of the Margin simulation data and the Margin test data is closer to the real data, wherein the preset value is greater than 1; If the ratio of the probability of falling into the second category to the probability of falling into the first category is greater than or equal to a preset value, it is determined that the larger one of the Margin simulation data and the Margin test data is closer to the real data.

4. The Margin data evaluation method according to claim 3, It is characterized in that Step S3 also includes: In response to the ratio of the probability of falling into the first category to the probability of falling into the second category, and the ratio of the probability of falling into the second category to the probability of falling into the first category being between zero and a preset value, the degree of environmental risk is evaluated to determine which of the Margin simulation data and the Margin test data is closer to the real data.

5. The Margin data evaluation method according to claim 4, It is characterized in that The step of evaluating the environmental risk level to determine which of the Margin simulation data and the Margin test data is closer to the real data comprises: If the environmental factors are complex and severe, the smaller one between the Margin simulation data and the Margin test data is determined to be closer to the real data; If the environmental factors are simple and mild, it is determined that the larger one between the Margin simulation data and the Margin test data is closer to the real data.

6. The Margin data evaluation method according to claim 3, It is characterized in that Simple and mild environmental factors refer to that the server operating temperature is between 20 degrees and 30 degrees, and complex and severe environmental factors refer to that the server operating temperature is lower than 20 degrees or higher than 30 degrees.

7. A Margin data evaluation device, It is characterized in that The device comprises: An analysis module is configured to perform credibility analysis on the Margin simulation data and the Margin test data to be evaluated based on statistical characteristics to obtain corresponding credibility levels; A classification module, configured to input the Margin simulation data and the Margin test data to be evaluated into a pre-trained classification model based on the credibility level to obtain a probability of falling into the first category and a probability of falling into the second category; A determination module, configured to determine which one of the Margin simulation data and the Margin test data is closer to the real data based on the probability of falling into the first category and the probability of falling into the second category; The analysis module is further used for: S11, obtaining parameters that affect the credibility of Margin simulation data: simulation model accuracy, simulation software accuracy, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification; S12, obtaining parameters of factors affecting the Margin test accuracy: test equipment accuracy, maturity of the system to be tested, overall link complexity, operation proficiency, and normalized value of the difference between the simulation result and the specification; S13, perform the following operations on the parameters obtained in step S11 and step S12 respectively: A1. Set the acquired parameters to A, B, C, D, and E respectively; A2. Fuzzy classification of the A parameter into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate; A3. Fuzzy classification of B parameters into five levels: very accurate, relatively accurate, generally accurate, less accurate, and inaccurate; A4. Fuzzy classification of C parameters into five levels: very simple, relatively simple, moderately complex, relatively complex, and very complex; A5. Fuzzy classification of the D parameter into five levels: very skilled, relatively skilled, moderately skilled, relatively unfamiliar, and very unfamiliar; A6. Fuzzy classification of E parameters into five levels: very consistent, relatively consistent, generally consistent, relatively inconsistent, and very inconsistent; A7. Express the level of each parameter as HH, NH, LH, NL, LL. The five parameters A, B, C, D, and E can be recorded as: A[HH, NH, LH, NL, LL], B[HH, NH, LH, NL, LL], C[HH, NH, LH, NL, LL], D[HH, NH, LH, NL, LL], and E[HH, NH, LH, NL, LL]; A8. Combining the five parameters A, B, C, D, and E can be recorded as: ; A9. Arrange and combine 25 situations according to step A8, set HH to 5 points, NH to 4 points, LH to 3 points, NL to 2 points, and LL to 1 point, and divide these 25 situations into three levels according to the scores; A10. Set the score greater than 20 points as the credible level (TT), the score less than 10 points as the doubtful level (FF), and the score between 10 and 20 points as the half-trusted level (TF); A11. For data of FF level, directly discard them or improve the quality of A, B, C, D, E and reclassify them; A12. For TT level data, directly go to step S2; A13. For TF level data, if the number of HH is greater than 2 or the number of NH is greater than 3, directly proceed to step S2; otherwise, merge into FF level data and execute step A11.

8. A computer device, It is characterized in that include: at least one processor; as well as A memory storing a computer program executable in the processor, wherein the processor executes the method according to any one of claims 1 to 6 when executing the program.

9. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is performed.

Citation Information

Patent Citations

  • Automated data analysis method and device

    CN105912452A

  • Engine data evaluation method and device, computer equipment and storage medium

    CN111241663A