A method, device and medium for SSD compatibility testing based on host platform adaptation

By generating host platform variable adaptation records and variable masking test paths, the problem of difficulty in distinguishing the influence relationship of host platform variables is solved, the controllability of SSD compatibility testing and the continuity of abnormal records are realized, and the certainty of compatibility boundaries is improved.

CN123178283APending Publication Date: 2026-11-27SHENZHEN COMOS INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611606052.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing SSD compatibility testing methods, it is difficult to distinguish the influence of host platform variables, and compatibility anomaly records mostly remain at the test result level, lacking continuous records, making it difficult to form rewritable test rules for compatibility boundaries.

Method used

By generating host platform variable adaptation records, variable status markers, historical stable values, controllable variable states, and a set of variables to be masked are formed. Variable masking test paths are generated, SSD compatibility tests are executed, path execution records and anomaly propagation trajectory records are generated, candidate variable sets are determined, the minimum incompatibility condition set is extracted, compatibility boundary records are generated, and the results are written back to the industrial test database.

Benefits of technology

It enables controllable testing of the influence relationship of host platform variables, improves the traceability of compatibility anomalies and the consistency of boundary records, and enhances the continuity of test rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178283A_ABST
    Figure CN123178283A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on host platform adaptation SSD compatible test method, equipment and medium, it is related to storage device compatible test technical field, comprising: obtaining SSD object data, host platform data and historical compatible test data, form variable state mark, historical stable value, variable controllable state and to be masked variable set;Variable masking test path is generated based on host platform variable adaptation record;According to variable masking test path, execute SSD compatible test, generate path execution record, compatible exception candidate record and exception propagation trajectory record;Through cross-sample comparison, delete variable retest and non-trigger variable exclusion extract reduced verification incompatible condition set;According to minimum incompatible condition set record or empty condition set record generates SSD host platform compatible boundary record, determines compatible level, and writes back industry test database.The application realizes SSD compatible exception variable combination extraction and compatible boundary write back.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of storage device compatibility testing technology, and in particular to an SSD compatibility testing method, device and medium based on host platform adaptation. Background Technology

[0002] With the increasing application of solid-state drives (SSDs) in servers, industrial control hosts, consumer terminals, and embedded platforms, SSD compatibility testing typically revolves around host hardware platforms, BIOS or UEFI firmware, operating system kernels, storage drivers, PCIe links, power management policies, and I / O execution environments. Conventional testing methods generally involve platform enumeration, namespace identification, driver loading, read / write access, sleep / wake-up, link negotiation, and stress read / write operations to record the SSD's identification status, operational status, and anomaly logs under different host environments.

[0003] However, existing methods still have two limitations: First, host platform variables are usually recorded according to the whole machine environment, and the independent influence relationship between driver, link, power management and I / O execution variables is not easy to distinguish, and abnormal conditions are difficult to compress into the smallest verifiable variable combination; Second, compatibility anomaly records mostly stay at the test result level, and there is a lack of continuous records between variable changes, link events, driver processing and SSD response before and after the anomaly occurs, and it is difficult to form rewritable test rules for compatibility boundaries. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides an SSD compatibility testing method based on host platform adaptation to solve the problems of difficulty in distinguishing the influence relationship of host platform variables and insufficient connection between compatibility anomaly propagation records and compatibility boundary write-back in existing technologies.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0007] In a first aspect, the present invention provides an SSD compatibility testing method based on host platform adaptation, comprising: acquiring SSD object data, host platform data, and historical compatibility test data; generating host platform variable adaptation records according to startup, driver, link, power management, and I / O execution variables, forming variable status markers, historical stable values, controllable variable states, and a set of variables to be masked; generating variable masking test paths based on the host platform variable adaptation records, wherein variable masking includes performing controlled adjustments or comparative verification on the variables to be masked, forming single-variable masking paths, historical stable value replacement paths, same-group variable masking paths, cross-group variable masking paths, cross-platform comparative verification paths, or historical record comparison paths; and executing SSD compatibility tests according to the variable masking test paths, generating path execution records and compatibility anomaly candidate records. The system records abnormal propagation trajectories and confirms abnormal records based on log integrity, time sequence, and auxiliary exclusion results. It also determines a set of candidate variables based on path execution records, confirmed abnormal records, and abnormal propagation trajectories, forming a set of candidate incompatible conditions. The system extracts the minimum incompatible condition set through cross-sample comparison, variable deletion retesting, non-trigger variable exclusion, and subset verification, generating a minimum incompatible condition set record. Finally, it generates an SSD host platform compatibility boundary record based on the minimum incompatible condition set record or an empty condition set record, determines the compatibility level, and binds the compatibility boundary record, abnormal propagation trajectories, and rule update records according to the boundary version number and rule version number before writing them back to the industrial test database.

[0008] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the formation of variable status markers, historical stable values, controllable variable states, and a set of variables to be masked includes: dividing host platform data into startup variable groups, driver variable groups, link variable groups, power variable groups, and I / O variable groups; determining historical stable values ​​corresponding to SSD model, SSD firmware version, and variable fields from historical compatibility records; when multiple historical stable values ​​exist, filtering is performed according to consistent host hardware model, consistent operating system version, consistent storage driver version, test batch time interval, and number of valid test records; generating variable status markers based on the number of valid test records, retest consistency ratio, and test result category; when the current variable value differs from the historical stable value and the historical stable value exists... The corresponding variable is marked as a differential variable; when the historical stable value does not exist, the number of valid test records does not meet the preset sample requirements, the retest consistency ratio does not meet the preset consistency requirements, different test result categories exist under the same variable combination, or the retest status is empty, the corresponding variable is marked as a variable to be verified; when the variable change time and the anomaly occurrence time meet the observation window judgment relationship, and the same anomaly type appears repeatedly in the valid test records, the corresponding variable is marked as an anomaly associated variable, and the same anomaly type is determined by the anomaly judgment field category and the anomaly termination node; the controllable state of the variable is determined according to whether the variable can be adjusted individually, whether it can be replaced with a historical stable value, whether it can only be adjusted in combination, and whether it cannot be adjusted, and the differential variable, the variable to be verified, and the anomaly associated variable are written into the set of variables to be masked according to the entry conditions.

[0009] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the step of generating a variable masking test path based on host platform variable adaptation records includes: reading the test admission status, the set of variables to be masked, the variable status flag, historical stable values, and the variable controllable status from the host platform variable adaptation records; when the test admission status is basic identification failure, generating a path generation termination record; when the test admission status is test preparation abnormal, generating a path preparation abnormal record; when the set of variables to be masked is empty and there are no incomplete review abnormal records, generating a basic compatibility confirmation path; When the set of variables to be masked is empty but there are incomplete verification anomaly records, a verification path record is generated; when the set of variables to be masked is not empty, variable masking test paths are generated in the order of abnormal related variables, variables to be verified, and difference variables; when the controllable state of a variable is that it can be adjusted individually, a single variable masking path is generated; when the controllable state of a variable is that it can be replaced with a historical stable value, a historical stable value replacement path is generated; when the controllable state of a variable is that it can only be adjusted in combination, a masking path for variables in the same group or a masking path for variables across groups is generated; when the controllable state of a variable is that it cannot be adjusted, a cross-platform comparison verification path or a historical record comparison path is generated.

[0010] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the variable masking test path generated by the host platform-based variable adaptation record includes: a single-variable masking path for changing one candidate masking variable while keeping the values ​​of other variable groups unchanged; a historical stable value replacement path for replacing the current value of the candidate masking variable with the variable value in the historical compatibility record; a same-group variable masking path for changing the candidate masking variable within the same variable group and recording the same-group linkage relationship; and a cross-group variable masking path for combining candidate masking variables from different variable groups into a test path according to the historical anomaly time sequence, the variable change event sequence, or the anomaly propagation relationship. The system records allowed and prohibited linkage fields. The cross-platform comparison verification path is used to read host platform records with the same SSD model, the same SSD firmware version, the same test items, and different values ​​of uncontrollable variables, and to perform comparison checks on key variable groups. The historical record comparison path is used to read historical test records that have been completed and are traceable under the same host platform or the same combination of variables. After the path is generated, a consistency check is performed. When the consistency check passes, the path status is marked as entering execution. When the consistency check fails, a path preparation exception record is generated, and the path consistency check is re-entered after field supplementation, comparison record supplementation, change of variable controllability status, or confirmation of the source of the masked target value.

[0011] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the step of performing SSD compatibility testing according to the variable masking test path includes: reading the masked variable, its value before masking, the masking target value, the variable that remains unchanged, the allowed linkage field, the prohibited linkage field, the test item, the log collection field, and the anomaly judgment field in the variable masking test path; performing pre-test confirmation, which includes reading the current value of the masked variable, the current value of the variable that remains unchanged, the current value of the allowed linkage field, and the current value of the prohibited linkage field; when the current value of the masked variable is consistent with the value before masking and the variable that remains unchanged has not changed, masking processing is performed; when the current value of the masked variable is inconsistent with the value before masking, the variable that remains unchanged has changed, or the prohibited linkage field has changed, the corresponding path is marked as pending review; after the masking processing is completed, the actual values ​​of the masked variable, the variable that remains unchanged, and the allowed linkage field are read again; when the actual value is consistent with the path record, the corresponding test item is executed; when the actual value is inconsistent with the path record, a masking execution failure record is generated, and the corresponding path is marked as pending review.

[0012] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the generation of path execution records, compatibility anomaly candidate records, and anomaly propagation trajectory records includes: converting the timestamps of host-side logs, link-side logs, SSD-side logs, and auxiliary verification data to the same test clock reference, and generating a time synchronization error field; when the SSD-side logs lack absolute timestamps, establishing a time mapping relationship based on command submission time, command completion time, SSD log read time, log sequence number, or controller event sequence; saving data that cannot be converted to the same test clock reference as logs to be reviewed; generating compatibility anomaly candidate records when the test event falls within the anomaly judgment field range; and generating compatibility anomaly candidate records... After the log is generated, based on the log summary reading status, timestamp conversion status, auxiliary exclusion records, and the order of anomaly propagation trajectory nodes, compatible anomaly candidate records are marked as candidate status, confirmed anomaly records, pending review status, or excluded status. After the confirmed anomaly record is generated, variable change events, command wait events, link status change events, driver processing events, SSD response events, and anomaly termination events are sorted according to a unified test clock benchmark. Events whose occurrence time is outside the observation window and have no corresponding relationship with the anomaly judgment field are deleted, and anomaly propagation trajectory records are generated. When two events fall within the sorting tolerance range, the order is determined by combining the event type, log source, and path execution records. If the order still cannot be determined, they are written into the same-order event group.

[0013] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the step of extracting the minimum incompatibility condition set through cross-sample comparison, variable deletion and retesting, non-trigger variable exclusion, and combined subset verification includes: determining a candidate variable set from variable change nodes before the anomaly termination node, allowed linkage field change nodes, and state change nodes corresponding to the anomaly judgment field in the anomaly propagation trajectory record; after the candidate variable set is formed, generating a candidate incompatibility condition set according to the anomaly propagation trajectory type and the variable group to which the variable belongs; performing a comparability check on the test records participating in the cross-sample comparison, the comparability check including SSD model, SSD firmware version, test items, test script version, log collection fields, anomaly judgment fields, test environment temperature range, power supply status, non-candidate variable values, and auxiliary exclusion record status; after the comparability check passes, performing cross-host platform comparison of the same SSD and cross-SSD comparison of the same host platform; and refining the retained candidate incompatibility conditions. When performing variable deletion retesting, variables in the candidate incompatible condition set are restored to their historical stable values, replaced with verified configuration values, their corresponding trigger configurations are disabled, or they are removed from the combined test conditions, while keeping the values ​​of other candidate variables unchanged. If similar anomalies still occur after variable deletion, and the types and order of anomaly propagation trajectory nodes before and after variable deletion remain consistent, the variable is written into the non-trigger variable exclusion record. If similar anomalies no longer occur after variable deletion, and the log collection fields are complete, the time order is determinable, test environment exclusion factors are eliminated, and the retest results meet consistency requirements, the variable is retained in the candidate incompatible condition set. Single variable deletion verification and combined subset verification are performed on the retained candidate incompatible condition set. If the candidate incompatible condition set can trigger the original similar anomaly and no non-empty true subset can maintain the reproduction of the original similar anomaly under comparable test conditions, the candidate incompatible condition set is determined as the minimum incompatible condition set, and a minimum incompatible condition set record is generated.

[0014] As a preferred embodiment of the SSD compatibility testing method based on host platform adaptation described in this invention, the step of generating an SSD host platform compatibility boundary record based on the minimum incompatibility condition set record or an empty condition set record, determining the compatibility level, and binding the compatibility boundary record, anomaly propagation trajectory record, and rule update record according to the boundary version number and rule version number and then writing them back to the industrial test database includes: when no compatibility anomaly candidate record is generated in the path execution record, and basic identification, driver loading, link negotiation, and read / write access all result in passing results, an empty condition set record is generated, and it is determined to be fully compatible within the range of SSD model, SSD firmware version, host platform number, test item, test script version, variable combination, execution parameters, log collection fields, and anomaly judgment fields bound to the empty condition set record; when the minimum incompatibility condition set includes only one host platform variable, and the test passes after the variable is closed, replaced, its value range is limited, or its historical stable value is restored, it is determined to be variable-limited compatibility; when the minimum incompatibility condition set includes multiple variables, and the same type of anomaly is triggered only when the corresponding variable combination exists simultaneously, and no non-empty proper subset can maintain the reproduction of the original same type of anomaly, it is determined to be combined condition compatibility; anomaly propagation trajectory When the cross-sample comparison result points to the SSD firmware-side status, a firmware optimization boundary record is generated; when the abnormal propagation trajectory and cross-sample comparison result point to the host driver-side status, a driver adaptation boundary record is generated; when unrecoverable disk loss, data verification inconsistency, startup failure, or persistent unreadable namespace occurs during reduction verification, recovery retesting, or abnormal recovery testing, it is determined that use is not recommended; when temperature-assisted exclusion records, test environment exclusion records, probabilistic sets of conditions to be verified, or sets of conditions to be accumulated exist, a verification boundary record or an accumulation boundary record is generated; when writing back to the industrial test database, according to... An index is created based on SSD model, SSD firmware version, host platform number, variable group number, minimum incompatible condition set, compatibility level, and boundary version number. Integrity checks are performed on compatibility boundary records, anomaly propagation trajectory records, empty condition set records, boundary version numbers, and rule version numbers. Rule update records are used for subsequent test path generation and condition set extraction, and existing historical valid boundary records are not recalculated. When a boundary changes, the original boundary record retains the original boundary number and historical version number. After the new boundary record meets the current valid conditions, the original boundary record is marked as a historical valid version or a version to be reviewed.

[0015] In a second aspect, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, wherein when the computer program is executed by the processor, it implements any step of the SSD compatibility testing method based on host platform adaptation as described in the first aspect of the present invention.

[0016] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any step of the SSD compatibility testing method based on host platform adaptation as described in the first aspect of the present invention.

[0017] The beneficial effects of this invention are as follows: By generating host platform variable adaptation records and forming variable masking test paths, startup, driver, link, power management, and I / O execution variables are transformed into filterable, maskable, and verifiable test conditions, enabling the influence relationships of host platform variables to be distinguished within a controlled test path. By generating anomaly propagation trajectory records and extracting the minimum incompatibility condition set, variable changes, link events, driver processing, and SSD responses are continuously bound together. Furthermore, under the conditions of variable deletion retesting, cross-sample comparison, and a unified test clock benchmark, SSD host platform compatibility boundary records are generated, achieving the effects of improving the traceability of compatibility anomaly attribution, the consistency of boundary records, and the continuity of test rule updates. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a flowchart of an SSD compatibility testing method based on host platform adaptation.

[0020] Figure 2 A flowchart for generating host platform variable adaptation records and variable occlusion test paths.

[0021] Figure 3 A flowchart for generating SSD compatibility tests and anomaly propagation trajectory records.

[0022] Figure 4 A flowchart illustrating the write-back process for the minimum set of incompatibilities and the compatibility boundary with the SSD host platform.

[0023] Figure 5 A comparison chart showing the consistency rate of the minimum incompatible condition set verification under different ranges of the number of variables to be masked.

[0024] Figure 6 A comparison chart of SSD host platform compatibility boundary record formation rates under different anomaly propagation types. Detailed Implementation

[0025] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0026] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0027] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0028] Reference Figures 1-6 This is one embodiment of the present invention, which provides an SSD compatibility testing method based on host platform adaptation, including the following steps:

[0029] S1. Obtain SSD object data, host platform data, and historical compatibility test data. Generate host platform variable adaptation records according to startup, driver, link, power management, and I / O execution variables, forming variable status markers, historical stable values, variable controllable states, and a set of variables to be masked.

[0030] Acquire SSD object data, host platform data, and historical compatibility test data to establish a basic correspondence between SSDs and host platforms. SSD object data is derived from product manufacturing records, SSD firmware information read results, interface identification results, SMART read results, and historical test databases. SSD object data includes SSD model, capacity specifications, SSD firmware version, interface type, protocol version, number of namespaces, logical block size, maximum queue depth, supported power states, cache refresh support status, SMART basic status, historical exception logs, manufacturing batch number, and test batch number. Interface type includes SATA, PCIe, or other host interfaces suitable for SSD access; protocol version includes NVMe, AHCI, or a storage access protocol version matching the current SSD interface. SMART basic status includes power-on time, temperature records, media error count, uncorrectable error count, abnormal shutdown count, lifetime depletion field, and controller busy time field.

[0031] The host platform data comes from host hardware identification information, firmware configuration records, operating system environment records, driver loading records, link negotiation records, power management configuration, and test execution logs. The host platform data includes processor model, chipset model, motherboard model, BIOS version or UEFI version, boot mode, secure boot status, operating system version, kernel version, storage controller type, storage driver version, PCIe link generation, number of link channels, interrupt mode, I / O scheduling method, ASPM status, sleep / wake-up policy, and system log recording method. Temperature sampling range, throttling status, and thermal protection status are stored as auxiliary verification fields to distinguish the relationship between temperature throttling, thermal protection triggering, and platform compatibility anomalies during anomaly analysis.

[0032] Historical compatibility test data comes from completed SSD compatibility test records in the industrial test database. This includes SSD model, SSD firmware version, host platform ID, variable fields, variable values, test path ID, test time, test execution parameters, compatibility level, exception type, exception occurrence time, host-side log summary, link-side log summary, SSD-side log summary, and retest status. Data marked with variables is considered valid test record. A valid test record refers to a record where SSD object data, host platform data, variable combinations, test path ID, execution parameters, test conclusions, and log summaries can all be read, and the test interruption reason is not due to manual termination, power supply abnormality, or a fault not related to the test object. Historical test records lacking SSD firmware version, host platform ID, variable values, or test conclusions are not included in variable status marking and are only saved as supplementary historical records. Sources for supplementing historical records include SSD firmware information rereading results, host platform configuration query results, original test path execution logs, log supplementation results, test records from the same batch, and supplementary retest records. After missing fields are filled in, if all key fields can be read and the reason for test interruption is not due to manual termination, power supply abnormality, or failure of non-test object, the corresponding record will be converted into a valid test record, and variable status flags, historical stable values, and sets of variables to be masked will be regenerated; if missing fields cannot be filled in, they will remain as historical records to be supplemented.

[0033] The host platform data is divided into boot variable group, driver variable group, link variable group, power variable group, and I / O variable group. The boot variable group includes BIOS version or UEFI version, boot mode, secure boot state, and system disk loading method. The driver variable group includes operating system version, kernel version, storage driver version, interrupt mode, and controller loading state. The link variable group includes PCIe link generation, number of link channels, link retraining status, link degradation status, and re-enumeration status. The power variable group includes ASPM status, standby status, hibernation status, wake-up status, and low-power recovery status. The I / O variable group includes queue depth, number of concurrent threads, read / write ratio, cache refresh policy, and I / O scheduling method. Each variable field stores the field source, read time, field value, value unit, and variable controllability status. Field sources include BIOS configuration items or UEFI configuration items, operating system configuration items, driver query results, link status query results, SSD log read results, and test script input parameters.

[0034] Variable status markers are generated for each variable field based on historical compatibility test data. Variable status markers include stable variables, differential variables, variables awaiting verification, anomalously related variables, and uncontrollable variables. Stable variables are those with valid test records under the same SSD model, firmware version, and variable combination, and which have not triggered compatibility anomalies in the corresponding historical test records. If the same variable field is already marked as a stable variable under the same variable value, it will not be marked as a differential variable. Differential variables are those whose values ​​on the current host platform are inconsistent with historical stable values; if historical stable values ​​do not exist, a differential variable marker is not generated, and the corresponding variable is marked as a variable awaiting verification.

[0035] Historical stable values ​​are obtained from historical compatibility records under the same SSD model, firmware version, and variable field. When multiple historical stable values ​​exist, they are filtered in the following order: consistent host hardware model, consistent operating system version, consistent storage driver version, and shortest test batch time interval. If multiple historical stable values ​​still exist, the variable value with the most valid test records is selected as the historical stable value. If the number of valid test records is still the same, the variable value corresponding to the historical compatibility record whose retest status is completed is selected first.

[0036] Before generating the variable to be verified labels, determine the preset sample size threshold, the retest consistency ratio threshold, and the retest sampling ratio. The preset sample size threshold is determined based on the number of repeated tests specified in the enterprise testing specifications, the number of test objects in the same batch corresponding to the same SSD model, the same SSD firmware version, and the same variable combination, as well as the retest sampling ratio. If the enterprise testing specifications specify the number of repeated tests, this number of repeated tests is used as the basic lower limit; if the enterprise testing specifications do not specify this, the basic lower limit is taken as three valid test records. The retest sampling ratio is read from the enterprise testing specifications or test task file, with a value ranging from 5% to 30%; if not specified, it is taken as 10%. When the historical anomaly occurrence rate of the same variable combination reaches the anomaly frequency threshold in the enterprise testing specifications, or when the test project duration is less than the complete observation period specified in the test task file, the retest sampling ratio is adjusted to 20%; if both of the above conditions are met, the retest sampling ratio is adjusted to 30%. The batch sampling quantity is obtained by multiplying the number of test objects in the same batch by the retest sampling ratio and rounding up. The larger value between the basic lower limit and the batch sampling quantity is used as the preset sample size threshold. When the number of valid test records is less than the preset sample size threshold, the corresponding variable combination will not be used as the basis for determining a stable variable.

[0037] The retest consistency ratio threshold is determined based on the enterprise's testing specifications, test task types, and historical retest records, ranging from 80% to 95%; if the enterprise's testing specifications do not specify a threshold, 90% is used. The retest consistency ratio for the same variable combination is determined by the ratio of the number of valid test records corresponding to the most numerous test result category to the total number of valid test records under that variable combination. Variables to be verified refer to variables where the number of valid test records for the same variable combination is less than the preset sample size threshold, the retest consistency ratio is less than the retest consistency ratio threshold, at least two valid test records under the same variable combination have different test result categories, or the retest status is empty. Test result categories include pass results, compatibility anomaly results, non-compliance source interruption results, results pending verification, and test preparation anomaly results; compatibility anomaly results with different anomaly types, different anomaly propagation trajectory types, or different anomaly termination nodes are treated as different test result categories.

[0038] Before marking abnormal variables, the timestamps of the host-side logs, link-side logs, and SSD-side logs are converted to the same test clock reference. The observation window length is determined based on the I / O command timeout time in the test task file, the event association time in the enterprise test specification, the link status sampling period, and the system event recording accuracy; if the enterprise test specification does not specify the event association time, it is determined by the maximum value among the I / O command timeout time, the product of the link status sampling period and the minimum number of consecutive samples, and the system event recording accuracy. The log clock error tolerance value is determined based on the maximum time deviation after the host-side logs, link-side logs, and SSD-side logs are converted to the same test clock reference. If a variable change event occurs before the occurrence of a compatibility anomaly, and the time interval between the two does not exceed the sum of the observation window length and the log clock error tolerance value, the variable change event is considered to be within the observation window before the anomaly occurred. Records that cannot be converted to the same test clock reference will not participate in the anomaly correlation variable marking and will only be saved as logs pending review. After the logs pending review have completed timestamp supplementation or time mapping review, if they can be converted to the same test clock reference and the time deviation after conversion is not greater than the log clock error tolerance value, they will re-participate in the anomaly correlation variable marking.

[0039] Anomaly-related variables refer to variables whose change time and anomaly occurrence time satisfy the observation window judgment relationship, and whose same anomaly type appears in two or more valid test records. The same anomaly type is determined jointly by the anomaly judgment field category and the anomaly termination node; the anomaly judgment field categories include startup loading anomalies, driver execution anomalies, link negotiation anomalies, power recovery anomalies, I / O execution anomalies, data verification anomalies, and system error anomalies; when the anomaly termination node is the same and the anomaly judgment field category is the same, they are considered to be of the same anomaly type. Anomaly-related variables only serve as candidate sources for the set of variables to be masked and are not directly used as the basis for determining the minimum incompatibility condition set; they are only used for minimum incompatibility condition set extraction after the variable masking test path is executed, cross-platform comparison verification is performed, or variable deletion and retesting yield consistent results.

[0040] Host platform variable adaptation records are generated based on variable groups, variable fields, and variable status flags. These records include SSD ID, SSD model, SSD firmware version, host platform ID, variable group ID, variable field, current variable value, historical stable variable value, variable status flag, variable controllable status, field source, read time, test admission status, and the set of variables to be masked. Variable controllable status includes: individually adjustable, replaceable with historical stable values, adjustable only in combination, and non-adjustable. Individually adjustable means the variable can be changed independently through host configuration, driver configuration, link configuration, or test script parameters while maintaining the values ​​of other variable groups unchanged; replaceable with historical stable values ​​means the variable can be restored to its value in historical compatibility records; adjustable only in combination means that changing this variable will simultaneously cause changes in other variables within the same variable group, and the linked changes to these variables can be recorded and maintained within a preset combination; non-adjustable means the current test environment cannot change the variable value, or changing the variable will cause cross-variable group field changes and cannot maintain the values ​​of other variable groups unchanged.

[0041] The test admission status is determined based on the SSD enumeration results, namespace identification results, SMART field reading results, driver loading results, and link negotiation results. If the SSD can be identified by the host, the namespace can be read, the SMART field can be read, the storage driver is successfully loaded, and the link negotiation parameters can be recorded, then the system is deemed ready to enter the variable masking test. If the SSD cannot be identified by the host, a basic identification failure record is generated. If the SSD can be identified by the host but the SMART field reading fails, the namespace reading fails, the driver loading is abnormal, or the link negotiation parameters are missing, a path preparation exception record is generated, and the exception fields, missing fields, and missing field re-collection records are recorded. If the SSD can complete basic identification and there are variables to be verified, abnormal related variables, or differential variables, the corresponding variables are written into the variable to be masked set, and the system enters the variable masking test path generation process.

[0042] The set of variables to be masked is formed according to variable status markers and controllable variable status. Abnormally correlated variables are prioritized for inclusion in the set of variables to be masked; variables to be verified are included when they are individually adjustable, replaceable with historically stable values, or only adjustable in combination; differential variables are included when corresponding historically stable values ​​exist in historical compatibility records; uncontrollable variables are not included in the variable set corresponding to a single-variable masking path, but instead generate cross-platform comparison verification markers or historical record comparison markers. After the host platform variable adaptation record is generated, it is bound and saved with SSD object data, host platform data, and historical compatibility test data. The set of variables to be masked is used to generate variable masking test paths, variable status markers and controllable variable status are used to determine the test path type, test admission status is used to determine whether to enter the variable masking test, and variable fields and historically stable values ​​are used to extract the minimum incompatibility condition set.

[0043] S2. Generate variable masking test paths based on host platform variable adaptation records. Variable masking includes performing controlled adjustments or comparative verification on the variables to be masked, forming single variable masking paths, historical stable value replacement paths, same-group variable masking paths, cross-group variable masking paths, cross-platform comparative verification paths, or historical record comparison paths.

[0044] Furthermore, the system reads host platform variable adaptation records, SSD object data, host platform data, and historical compatibility test data to determine path generation conditions. When the test admission status is "can enter variable masking test," it reads the variable group number, variable field, current variable value, historical stable variable value, variable status flag, controllable variable status, and set of variables to be masked. When the test admission status is "basic identification failure," no variable masking test path is generated, and the basic identification failure record is saved as a path generation termination record. When the test admission status is "test preparation exception," no variable masking test path is generated, and the path preparation exception record, missing field supplementation record, and exception field are saved together.

[0045] When the set of variables to be masked is empty and there are no incomplete verification exception records, a basic compatibility verification path is generated. This path records the basic identification, driver loading, link negotiation, and read / write access status of the current SSD under the current host platform variable combination. Incomplete verification exception records refer to records in historical compatibility test data where the retest status is incomplete and an exception field, exception occurrence time, and log summary have been bound. When the set of variables to be masked is empty but there are incomplete verification exception records, a verification path record is generated, and the exception field, exception occurrence time, original test path number, and log summary are written into it.

[0046] The variable masking test path is used for controlled adjustment or comparative verification of variables to be masked, while keeping the values ​​of unadjusted variable groups unchanged. Variable masking includes disabling configuration items, enabling configuration items, replacing with historical stable values, limiting the value range, replacing with verified configuration values, adjusting variable combinations within the same group, adjusting variable combinations across different groups, cross-platform comparative verification, and historical record comparison. Disabling or enabling configuration items is applicable to configuration switch variables whose switch states can be independently toggled through BIOS configuration, UEFI configuration, operating system configuration, driver configuration, or test scripts; replacing with historical stable values ​​is applicable to variables with historical stable values ​​that can be adjusted to the historical stable values ​​in the current test environment; limiting the value range is applicable to link generations, number of link channels, queue depth, number of concurrent threads, read / write ratio, I / O scheduling mode, or low-power recovery parameters. The value range is determined based on the SSD specification document, host platform support range, enterprise test specifications, historical compatibility records, and variable retest results; replacing with verified configuration values ​​is applicable to variables that do not have corresponding historical stable values, but whose host platform variable values ​​with the same variable field, the same test item, and compatibility pass conclusion already exist in the industrial test database.

[0047] Adjusting variables within the same group is suitable for situations where a single variable cannot be adjusted independently, and changes to the variable only cause changes in other variables within the same variable group. Adjusting variables across different groups is suitable for situations where changes to the variable cause changes in fields of different variable groups, and where allowed and prohibited linkage fields can be identified. Cross-platform comparison verification is suitable for variables on the current host platform that cannot be adjusted, turned off, or replaced with historical stable values. It forms a test path by reading records from a comparison host platform with the same SSD model, firmware version, and test items, but with different variable values. Historical record comparison is suitable for situations where the variable values ​​are not changed on the current host platform, but a comparison path is formed by reading historical test records that have been completed and are traceable under the same host platform or the same variable combination. During masking, the masked variable, its value before masking, the masking target value, variables that remain unchanged, allowed linkage fields, prohibited linkage fields, variables that change in linkage, and the masking execution method are recorded. When variables that remain unchanged or prohibited linkage fields change, the test execution phase is not initiated; instead, a path preparation exception record is generated, or the process transitions to a combination adjustment path or a cross-platform comparison verification path.

[0048] A candidate masked variable set is formed based on variable status labels. This set consists of anomalously correlated variables, variables to be verified, and differentially expressed variables with historically stable values. Anomalously correlated variables are prioritized for inclusion in the candidate masked variable set; variables to be verified are included if they are individually adjustable, replaceable with historically stable values, or only adjustable in combination; differentially expressed variables are included if they have historically stable values. Uncontrollable variables are not included in the variable set corresponding to univariate masking paths, but instead enter cross-platform comparison verification paths or historical record comparison paths. After the candidate masked variable set is formed, paths are generated in the order of anomalously correlated variables, variables to be verified, and differentially expressed variables. When a variable simultaneously possesses both individually adjustable and replaceable with historically stable values, a univariate masking path is generated first; if a univariate masking path cannot produce valid results, a historically stable value replacement path is then generated.

[0049] Single-variable masking paths are used to change only one candidate masking variable while keeping the current values ​​of other variable groups unchanged. Historical stable value replacement paths are used to replace the current value of a candidate masking variable with a historically compatible variable value recorded in the history log. Same-group variable masking paths are used to simultaneously change two or more candidate masking variables within the same variable group and record the group's linkage relationships. Cross-group variable masking paths are used to combine candidate masking variables from different variable groups into a test path according to historical anomaly time sequence, variable change event sequence, or anomaly propagation relationship, and record the cross-group variable list, variable change order, masking target value, unchanged variables, allowed linkage fields, prohibited linkage fields, and retest entry point. If a prohibited linkage field changes during the test preparation phase, the path is marked as a path preparation anomaly and will not enter the execution phase.

[0050] The cross-platform comparison verification path is used to handle variables that cannot be adjusted independently on the current host platform. When an uncontrollable variable cannot be adjusted independently on the current host platform, records from the industrial test database that have the same SSD model, the same SSD firmware version, and the same test item, but with different values ​​for the uncontrollable variable field, are read. A comparison check is then performed on the startup variable group, driver variable group, link variable group, power variable group, and I / O variable group. The key variable group includes the variable group involved in the current test item and the variable group containing the anomaly judgment field. When other key variable groups have value differences, the difference field should have already been marked as a stable variable in historical compatibility records, not marked as an anomaly-related variable, not belonging to the anomaly judgment field of the current test item, and the stable variable record corresponding to the difference field should be within its validity period. The validity period of stable variables is determined by the enterprise test specifications, SSD firmware version change time, storage driver version change time, BIOS version or UEFI version change time, operating system version change time, and host hardware change time; if none of the aforementioned changes occur, the validity period of stable variables is twelve months from the record generation time. When no available control records exist, a control path to be accumulated is generated, and uncontrollable variables, missing control conditions, missing key variable groups, fields to be collected, and host platform conditions of the control to be collected are recorded.

[0051] Based on the variable group to which the variable belongs, the variable masking test path is bound to the test project. The startup variable group corresponds to the startup loading path, the driver variable group to the driver execution path, the link variable group to the link negotiation path, the power variable group to the power recovery path, and the I / O variable group to the high-load read / write path. Each variable masking test path generates a path record, which includes the path number, SSD number, SSD firmware version, host platform number, variable group number, masked variable, value before masking, masking target value, unchanged variable, restored variable, replaced variable, test project, execution parameters, log collection fields, anomaly judgment fields, retest entry point, path type, and path status. A restored variable is a variable whose value is restored to its value before masking after the masking test; a replaced variable is a variable that is replaced with a historical stable value or a verified configuration value during the masking test.

[0052] After the path is generated, a consistency check is performed. This check includes verifying the controllability of variables, the source of the masked target value, the status of variables that remain unchanged, whether the path type corresponds to the variable status markers, and whether the log collection fields cover the test items. If the consistency check passes, the path status is marked for execution and written to the variable masking test path set. If the consistency check fails, a path preparation exception record is generated, and the path is routed to a cross-platform comparison verification path, a comparison path to be accumulated, a variable masking path within the same group, or a variable masking path across groups, based on the reason for the failure. If log collection fields are missing, a missing field supplementary collection record is generated.

[0053] After a path preparation anomaly record is generated, one path reconstruction is allowed. Path reconstruction refers to redetermining the masking target value, keeping variables unchanged, allowing linkage fields, disallowing linkage fields, log collection fields, or path types based on the reasons for failure in the path preparation anomaly record, and re-performing the consistency check. If the consistency check still fails after one path reconstruction, a path record to be reviewed is generated, and no new variable masking test paths are generated. When missing fields are supplemented, cross-platform comparison records are supplemented, historical record comparison paths are supplemented, the controllable status of variables changes from uncontrollable to adjustable, or the source of the masking target value is confirmed to be a historical stable value or a verified configuration value, the path record to be reviewed re-enters the path consistency check; when the re-check passes, the path status is marked as entering execution and written into the variable masking test path set.

[0054] After the variable masking test path set is generated, it is bound and saved with the host platform variable adaptation record. The path number, masked variable, unchanged variable, restored variable, replaced variable, test item, log collection field, and exception judgment field in the path set are used for compatibility test execution, compatibility exception candidate record attribution, and exception propagation trajectory record generation.

[0055] S3. Perform SSD compatibility testing according to the variable masking test path, generate path execution records, compatibility anomaly candidate records, and anomaly propagation trajectory records, and determine the confirmed anomaly records based on log integrity, time sequence, and auxiliary exclusion results.

[0056] Furthermore, the system reads the variable masking test path set and determines whether to proceed with test execution based on the path status. If the path status is "to proceed with execution," it reads the path number, SSD number, SSD firmware version, host platform number, variable group number, masked variable, value before masking, masking target value, unchanged variable, restored variable, replaced variable, test item, execution parameters, log collection fields, and exception judgment fields, and creates a path execution record at the start of test execution. If the path status is "path preparation error," "paths to be accumulated for comparison," or "paths to be reviewed," compatibility testing is not performed, and the corresponding path record is saved to the pending path set.

[0057] Before executing the variable masking test, the values ​​of variables on the current host platform are confirmed. This confirmation includes reading the current values ​​of the masked variables, the variables that remain unchanged, the allowed linked fields, and the prohibited linked fields. If the current value of the masked variable matches its pre-masking value, and the variables that remain unchanged have not changed, the test proceeds. If the current value of the masked variable differs from its pre-masking value, or if the variables that remain unchanged have changed, a pre-test variable inconsistency record is generated, and the path status is marked as pending review. If a prohibited linked field changes in a cross-group variable masking path, the path is not executed, and a prohibited linked field change record is generated; if a permitted linked field changes, the changed field, the change time, and the values ​​before and after the change are written to the path execution record.

[0058] During variable occlusion testing, the occluded variables are modified according to the occlusion execution method in the path record. Configuration switch variables are turned off or on; version variables are rolled back or replaced; link variables are subject to link generation limits, link channel number limits, or renegotiation; power management variables are subject to ASPM state switching, sleep / wake-up policy switching, or low-power recovery parameter adjustments; and I / O variables are subject to queue depth limits, concurrent thread limits, read / write ratio adjustments, or I / O scheduling method replacement. After occlusion processing is complete, the actual values ​​of the occluded variables, unchanged variables, and allowed linkage fields are read. If the actual values ​​are inconsistent with the path record, an occlusion execution failure record is generated, and the path status is marked as pending review. If the actual values ​​are consistent with the path record, compatibility testing is performed according to the test items.

[0059] Compatibility tests are executed according to the test items bound in the path records. The basic compatibility verification path executes SSD enumeration, namespace reading, SMART field reading, driver loading, link negotiation, and basic read / write access; the boot loading path executes cold boot, hot reboot, secure boot switching, system disk loading, and external disk mounting; the driver execution path executes driver loading, driver rollback, driver upgrade, interrupt mode switching, command completion status recording, and kernel log collection; the link negotiation path executes link generation switching, link channel limiting, link retraining, link degradation, re-enumeration, and link status sampling; the power recovery path executes standby, hibernation, wake-up, ASPM switching, low-power recovery, and namespace reading after recovery; the high-load read / write path executes multi-queue concurrency, full disk write, mixed read / write, cache flushing, read / write verification, and exception recovery. The cross-platform comparison verification path does not change the current host platform variables, reads the comparison host platform records, and performs data comparison under the same test items; the historical comparison path does not re-execute tests, but reads the test conclusions, execution parameters, and log summaries from the historical test records and generates comparison reading results.

[0060] During test execution, host-side data, link-side data, SSD-side data, and auxiliary verification data are collected synchronously. Host-side data includes system logs, driver logs, kernel error logs, I / O scheduling status, command submission time, command completion time, and system recovery status. Link-side data includes PCIe link generation, link channel count, link retraining events, link degradation events, link renegotiation events, and re-enumeration events. SSD-side data includes SMART fields, internal error logs, namespace status, cache flushing status, read / write command completion status, media error fields, and controller reset status. Auxiliary verification data includes temperature sampling results, speed reduction status, thermal protection status, and power supply status. All types of data are bound to path number, collection time, collection source, and test project number for storage.

[0061] Before data collection, the timestamps of host-side logs, link-side logs, SSD-side logs, and auxiliary verification data are converted to the same test clock benchmark, and a time synchronization error field is generated for each log record. The time synchronization error field is determined based on the original log timestamp, the converted timestamp, the log sampling granularity, and the event record latency. Data that cannot be converted to the same test clock benchmark is not included in the anomaly propagation trajectory generation and is only saved as logs to be reviewed. Logs to be reviewed that can be converted to the same test clock benchmark after timestamp supplementation or time mapping review are completed are re-involved in anomaly propagation trajectory generation. When sorting events, they are first arranged in order of converted timestamps. When the time difference between two events is less than or equal to the sorting tolerance range, the order is determined by combining the event type, log source, and path execution records. If the order still cannot be determined, the corresponding events are written into a same-order event group, and the same-order event group number is saved in the anomaly propagation trajectory record.

[0062] The scope of the anomaly determination fields is determined based on the test items, variable group numbers, enterprise test specifications, SSD specification documents, host platform log fields, and historical compatibility test data in the variable masking test path. The boot loading path corresponds to enumeration results, boot loading time, system disk loading status, external disk mounting status, and driver loading status; the driver execution path corresponds to driver loading results, driver reset events, driver timeout events, interrupt loss events, and kernel error logs; the link negotiation path corresponds to PCIe link generation, link channel number, link retraining events, link degradation events, link renegotiation events, and re-enumeration events; the power recovery path corresponds to standby entry status, hibernation entry status, wake-up recovery status, ASPM status, low-power recovery status, and namespace read status after recovery; the high-load read / write path corresponds to command submission time, command completion time, command timeout status, cache refresh status, read / write interrupt status, data verification results, and anomaly recovery status. When a test event falls within the scope of the anomaly determination fields, a compatibility anomaly candidate record is generated; when the test item does not trigger the anomaly determination fields, a test-passing path execution record is generated.

[0063] After compatibility anomaly candidate records are generated, the record status is first marked as candidate. A candidate record is converted to a confirmed anomaly record when it meets the following conditions: the anomaly event belongs to the anomaly judgment field range of the current test project, the key log summary can be read, no non-compatible source interruption record, temperature-assisted exclusion record, or test environment exclusion record is generated, and the anomaly propagation trajectory record forms at least two sortable nodes. If log fields are missing, timestamps cannot be converted to the same test clock reference, or the anomaly propagation trajectory record does not form a node order, the record status is marked as pending review. For power supply anomalies, manual interruptions, test script interruptions, non-test object faults, temperature-assisted exclusion records, or test environment exclusion records, the record status is marked as excluded. After the confirmed anomaly record is bound to the path execution record, anomaly propagation trajectory record, and recovery retest results, it enters the candidate variable set determination and minimum incompatibility condition set extraction; excluded records do not enter the minimum incompatibility condition set extraction and SSD host platform compatibility boundary record generation.

[0064] After the compatibility anomaly candidate records are generated, the events before and after the anomaly are sorted according to a unified test clock benchmark to generate an anomaly propagation trajectory record. The anomaly propagation trajectory record records the event transmission relationship from host platform variable changes to SSD access anomalies, including trajectory number, path number, SSD number, host platform number, anomaly type, anomaly occurrence time, variable change node, command submission node, command waiting node, link status change node, driver processing node, SSD response node, system recovery node, anomaly termination node, and auxiliary exclusion node. During trajectory generation, variable change events, command submission events, command waiting events, link status change events, driver processing events, SSD response events, system recovery events, and anomaly termination events are read. Events whose occurrence time exceeds the observation window are deleted, and events corresponding to the anomaly judgment field are retained, forming the anomaly propagation trajectory record in chronological order.

[0065] When there are nodes in the same order, missing, duplicate, or multiple abnormal termination nodes in the abnormal propagation trajectory, they are handled according to a unified rule. When two or more nodes fall within the sorting tolerance range, they are written into the same-order event group; when a variable change node or an abnormal termination node is missing, no confirmation abnormal record is generated, and the corresponding compatible abnormal candidate record is marked as pending review; when other nodes are missing but the preceding and following nodes can form a continuous order, an incomplete abnormal propagation trajectory record is generated, and the missing node type and missing log source are recorded; when the same node type appears repeatedly in the observation window, the node with the smallest time distance from the abnormal termination node and the corresponding abnormal judgment field is retained first, and the remaining nodes are saved as duplicate node records; when there are multiple abnormal termination nodes in the same test path, the abnormal termination node that corresponds to the abnormal judgment field of the current test project and satisfies the abnormal judgment field earliest is selected first, and other abnormal termination nodes are written into the concurrent abnormal termination node record.

[0066] The anomaly propagation type is determined based on the node order in the anomaly propagation trajectory record. A link-to-driver propagation trajectory is generated when command completion delays occur after link retraining or degradation, followed by driver resets or I / O timeouts. A power-to-I / O propagation trajectory is generated when SSD response delays occur after ASPM switching, hibernation, or wake-up, followed by I / O timeouts or namespace read failures. An I / O execution propagation trajectory is generated when command waiting time increases after queue depth increases, concurrent thread count increases, or I / O scheduling mode switches, followed by cache refresh failures or read / write interruptions. A startup loading propagation trajectory is generated when system disk loading fails, driver loading is abnormal, or re-enumeration occurs after boot mode changes, secure boot switching, or system disk loading changes. When multiple propagation types within the same observation window satisfy the node order relationship, the main propagation trajectory is first determined according to the corresponding variable group of the test item. If it still cannot be determined, the main propagation trajectory is determined according to the anomaly judgment field category, the number of valid nodes, and the time interval between the first variable change node and the anomaly termination node. Node chains that are not selected as the main propagation trajectory are written into the parallel propagation trajectory record; when multiple propagation types continuously point to the same abnormal termination node, a composite abnormal propagation trajectory record is generated.

[0067] If an anomaly occurs simultaneously with a temperature drop or thermal protection state, and the temperature-related event precedes the abnormal state of the link state change, driver processing, or SSD response node, a temperature-assisted exclusion record is generated. If an anomaly occurs simultaneously with a power supply anomaly, manual interruption, or test script interruption, a test environment exclusion record is generated. Anomalies that generate temperature-assisted exclusion records or test environment exclusion records are not directly extracted into the minimum incompatibility set but are first written into the anomaly set to be reviewed. Records in the anomaly set to be reviewed are reviewed according to their auxiliary exclusion type. If the review confirms that the auxiliary exclusion event can explain the current anomaly termination node, the corresponding record is marked as excluded. If the review fails, or if the same path retest still triggers the same type of anomaly after excluding temperature, power supply, manual interruption, and test script interruption factors, the corresponding compatible anomaly candidate record is remarked as a candidate. When the anomaly propagation trajectory record can form a node sequence, it is converted into a confirmed anomaly record.

[0068] After completing the variable occlusion test, according to the recovery variable information in the path record, restore the occluded variables to their pre-occlusion values ​​and perform a recovery retest. If the restored variable values ​​match the pre-occlusion values, record the recovery retest result; if the restored variable values ​​cannot be confirmed, generate a recovery failure record. If the same anomaly reappears during the recovery retest, bind and save the pre-recovery test results, post-recovery test results, and corresponding anomaly propagation trajectories; if no similar anomaly appears during the recovery retest, write the recovery retest result to the path execution record and retain it as a record to be compared. No recovery retest entry is generated if variable occlusion is not performed in the basic compatibility confirmation path, cross-platform comparison verification path, and historical record comparison path.

[0069] After the variable masking test is completed, a path execution record is generated. The path execution record includes the path number, path type, SSD number, SSD firmware version, host platform number, masked variable, value before masking, target masking value, restored variable, test item, execution parameters, execution start and end time, test result, compatibility anomaly candidate record number, anomaly propagation trajectory number, and recovery retest result. The path execution record, compatibility anomaly candidate record, and anomaly propagation trajectory record are bound and saved. The anomaly propagation trajectory record is used to determine the event sequence between candidate variable changes and compatibility anomalies, while the path execution record and recovery retest result are used to extract the minimum incompatibility condition set.

[0070] S4. Determine the candidate variable set based on the path execution record, confirmation anomaly record, and anomaly propagation trajectory record. Form a candidate incompatible condition set based on the candidate variable set. Extract the minimum incompatible condition set through cross-sample comparison, variable deletion retesting, non-trigger variable exclusion, and combined subset verification. Generate the minimum incompatible condition set record.

[0071] Furthermore, the system reads path execution records, compatibility anomaly candidate records, anomaly propagation trajectory records, recovery retest results, and historical compatibility test data to form an incompatibility condition extraction data set. Records entering the incompatibility condition extraction data set must meet the following conditions: compatibility anomaly candidate records are bound to the path number, anomaly type, anomaly occurrence time, masked variable, unchanged variable, and the variable group to which the anomaly belongs; the anomaly propagation trajectory record includes at least one variable change node or a node allowing changes in linked fields, and includes at least one of the following nodes: command waiting node, link status change node, driver processing node, SSD response node, or anomaly termination node; the path execution record can read the value before masking, the masking target value, test items, and recovery retest results. Anomalies that form incompatible source interruption records, temperature-assisted exclusion records, or test environment exclusion records are not included in the minimum incompatibility condition set extraction but are only written to the anomaly set to be reviewed.

[0072] Before generating the candidate incompatibility condition set, candidate variables are first determined based on the anomaly propagation trajectory records. Candidate variables are selected from variable change nodes preceding the anomaly termination node, allowed linkage field change nodes, and state change nodes corresponding to the anomaly judgment field; the candidate incompatibility condition set is not directly generated from log fields outside the candidate variable set. Whether a variable change node is within the observation window is determined jointly based on the compatible anomaly occurrence time, variable change node occurrence time, observation window length, log sampling granularity, event recording delay, and time synchronization error fields. A variable change node is considered to be within the observation window if it occurs before the compatible anomaly occurrence time and the time interval between the two does not exceed the sum of the observation window length and the log delay tolerance range; the log delay tolerance range is the maximum time value among the log sampling granularity, event recording delay, and time synchronization error fields.

[0073] If a variable change node is within the observation window, and there is an abnormal state corresponding to a command waiting node, link status change node, driver processing node, or SSD response node after that node, the corresponding variable will be written into the candidate variable set. If a variable change node is after the abnormal state corresponding to an SSD response node, after an abnormal termination node, outside the observation window, or if its temporal relationship with the abnormal termination node cannot be determined, it will not participate in the formation of candidate variables, but will only be saved as an abnormal result association field or a log to be reviewed. When the same variable forms multiple variable change nodes within the observation window, the variable change node with the smallest time interval from the abnormal termination node and an abnormal link node after it will be selected as the candidate variable basis, and the remaining nodes will be saved as duplicate node records. If multiple variable change nodes are within the same sequence event group, and the order of the path execution records cannot be determined, the variables in the same sequence event group will be written into the candidate variable set to be reviewed, and a candidate incompatibility condition set will not be directly generated.

[0074] If an abnormal propagation trajectory has been formed but the candidate variable set cannot be determined, no candidate incompatible condition set will be generated, and the corresponding record will be written into the condition set to be reviewed. The condition set to be reviewed includes the path number, the abnormal propagation trajectory record number, the abnormal termination node, the missing node type, the source of the log to be reviewed, and the review status. After the condition set to be reviewed completes the missing log supplementation, timestamp mapping review, or supplementary retesting of the same path, if the variable change node satisfies the observation window judgment relationship, and there is an abnormal state corresponding to the command waiting node, link status change node, driver processing node, or SSD response node after that node, then the candidate variable set will be regenerated; if the conditions still cannot be met, the status of the condition set to be reviewed will be maintained.

[0075] After the candidate variable set is formed, a candidate incompatibility condition set is generated based on the anomaly propagation trajectory type and the variable group to which the variable belongs. The link-to-driver propagation trajectory corresponds to link generation, number of link channels, link retraining status, link degradation status, and adjacent driver processing variables; the power-to-I / O propagation trajectory corresponds to ASPM status, sleep / wake-up strategy, low-power recovery status, and corresponding I / O variables; the I / O execution propagation trajectory corresponds to queue depth, number of concurrent threads, read / write ratio, cache refresh strategy, and I / O scheduling method; the startup / loading propagation trajectory corresponds to startup mode, secure startup status, system disk loading method, driver loading status, and re-enumeration status. For propagation trajectories that cannot be classified into the aforementioned propagation types but have already formed variable change nodes and anomaly termination nodes, the variables located before the anomaly termination node and corresponding to the anomaly judgment field are written into the candidate incompatibility condition set and marked as propagation trajectories to be classified.

[0076] After generating the candidate incompatibility condition set, cross-sample comparison is performed. Cross-sample comparison includes comparison of the same SSD across host platforms and comparison of the same host platform across SSDs. Similar anomalies refer to anomalies of the same type, with the same termination node in the anomaly propagation trajectory, or corresponding to the same anomaly judgment field. Before cross-sample comparison, a comparability check is performed on the test records participating in the comparison. The comparability check includes SSD model, SSD firmware version, test items, test script version, log collection fields, anomaly judgment fields, test environment temperature range, power supply status, non-candidate variable values, and auxiliary exclusion record status. Test records with inconsistent test script versions, missing log collection fields, inconsistent anomaly judgment fields, test environment temperatures exceeding the enterprise test specification's allowable range, power supply anomalies, or those that have formed temperature auxiliary exclusion records or test environment exclusion records and whose review is incomplete, are not included in the cross-sample comparison. When there are differences in the values ​​of non-candidate variables, the difference field should meet the comparison requirements; if the comparison requirements are not met, the corresponding comparison record is written into the comparison record to be reviewed.

[0077] When comparing the same SSD across host platforms, compatibility test records for the same SSD model and firmware version on different host platforms are read. After the comparability check passes, the candidate variable combination is compared to see if it corresponds to the recurrence of the same type of anomaly. If the same SSD triggers the same type of anomaly only on host platforms containing the same candidate variable combination, but does not trigger the same type of anomaly on host platforms that do not contain the candidate variable combination and have passed the comparability check, then the candidate variable combination is retained. When comparing the same SSD across host platforms, compatibility test records for different SSD models or different SSD firmware versions under the same host platform number are read. If the same host platform triggers the same type of anomaly for multiple SSDs, all records participating in the comparison pass the comparability check, and the anomaly propagation trajectory all points to the same host variable group, then the corresponding host variable combination is written into the host common risk condition set. If the same SSD firmware version shows the same SSD-side error log on multiple host platforms, and the SSD response node appears before the driver processing node, then the corresponding SSD firmware version and SSD-side status are written into the SSD firmware risk condition set.

[0078] After cross-sample comparison, a reduction verification is performed on the retained candidate incompatibility condition set. The reduction verification uses a variable deletion retesting method. Variable deletion refers to restoring a variable in the candidate incompatibility condition set to a historical stable value, replacing it with a verified configuration value, disabling the corresponding trigger configuration, or removing it from the combined test conditions, while keeping the values ​​of other candidate variables unchanged. The variable deletion retesting items use the same test items, test script versions, log collection fields, and anomaly judgment fields as when the candidate incompatibility condition set was generated. Before variable deletion retesting, it is confirmed that the test environment temperature is within the allowable range of the enterprise test specifications, the power supply is normal, no temperature-assisted exclusion records or test environment exclusion records have been generated, and the values ​​of non-candidate variables remain consistent or meet the control requirements.

[0079] The number of retests for deleted variables is determined based on the company's testing specifications, the frequency of anomalies, the duration of the test items, and the number of historical retest records. If the company's testing specifications do not specify a number, the number of retests for deleted variables should be no less than three. If the frequency of historical anomalies reaches the anomaly frequency threshold in the company's testing specifications, the test item duration is less than the complete observation period, or there are instances of both pass and anomalous results in the historical retest records, the number of retests for deleted variables should be no less than five. When the results of the deleted variable retests are used to form a variable deletion conclusion, they should meet consistency requirements. Consistency requirements mean that the retest results under the same deleted variable condition are consistent in category, or that the proportion of the same result category in five or more retests reaches the consistency ratio specified in the company's testing specifications (90% if the company's testing specifications do not specify a consistency ratio). If the retest results do not meet the consistency requirements, a minimum incompatible condition set is not generated, and the corresponding variable combination is written into the probabilistic condition set to be reviewed.

[0080] If a variable cannot be directly adjusted, cross-platform comparison records with the same SSD model, firmware version, test item, test script version, log collection fields, and anomaly judgment fields, but with different values ​​for that variable field, are read as alternative verification bases. Alternatively, historical record comparison paths that meet the same comparison requirements are read. Alternative verification bases must also meet the following conditions: other key variable groups have the same values ​​or meet the comparison requirements; the test environment temperature is within the allowable range; the power supply is normal; no unclosed auxiliary exclusion records have been generated; the records are valid; the retest status is completed; and the anomaly propagation trajectory nodes are complete. If alternative verification bases are missing or do not meet the aforementioned conditions, the variable is not deleted, and the corresponding variable is marked as a variable to be accumulated for verification. If the log corresponding to the anomaly judgment field is missing during the retest of a deleted variable, the variable deletion conclusion is not executed, and a missing retest log record is generated.

[0081] If, after deleting a variable, similar anomalies still occur, the retest results meet the consistency requirements, and the node types and order of the variable change nodes, command waiting nodes, link status change nodes, driver processing nodes, SSD response nodes, and anomaly termination nodes in the anomaly propagation trajectory before and after the variable deletion remain consistent, then the variable is removed from the candidate incompatibility condition set and written into the non-trigger variable exclusion record. If, after deleting a variable, similar anomalies no longer occur, and the log collection fields are complete, timestamps can be converted to the same test clock reference, the test environment temperature and power supply status are normal, no auxiliary exclusion records are generated, and the retest results meet the consistency requirements, then it is determined that the deletion of the variable caused the disappearance of similar anomalies, and the variable is retained in the candidate incompatibility condition set. If, after deleting a variable, the node corresponding to that variable disappears, the reason for the node disappearance is first determined. If it is caused by missing log fields, inability to convert timestamps, test script interruption, temperature auxiliary exclusion events, test environment exclusion events, or missing trajectory nodes, then a node missing verification record is generated. If it occurs under the conditions of complete logs, a definite time sequence, exclusion factors being eliminated, and the retest results meeting the consistency requirements, then the variable is retained in the candidate incompatibility condition set. When different types of anomalies occur after deleting a variable, or when the anomaly propagation trajectory type changes, a branch anomaly record is generated, and the original candidate incompatible condition set is split into two or more candidate branch condition sets.

[0082] The recovery and retest results are used to determine whether similar anomalies reappear after candidate variables are restored to their pre-masking values. If similar anomalies reappear, the recovery and retest results are used as the basis for reviewing the candidate incompatible condition set; if similar anomalies do not reappear, the corresponding variable combinations do not directly form the minimum incompatible condition set and are entered into the comparison record; if the recovery and retest fails or the variable values ​​after recovery cannot be confirmed, a recovery failure record for review is generated.

[0083] After the reduction verification is completed, minimality verification is performed on the retained candidate incompatible condition sets. Minimality verification includes univariate deletion verification and combined subset verification. Univariate deletion verification is used to determine whether the original anomaly can still be reproduced after each variable in the candidate incompatible condition set is deleted; combined subset verification is used to determine whether any non-empty true subset of the candidate incompatible condition set can still reproduce the original anomaly. Only when the candidate incompatible condition set can trigger the original anomaly, and no non-empty true subset of it can maintain the reproduction of the original anomaly under comparable test conditions, is the candidate incompatible condition set determined as the minimal incompatible condition set. When the number of candidate variables does not exceed the combined verification limit specified in the enterprise testing specification, verification is performed on all non-empty true subsets one by one; when the enterprise testing specification does not specify a combined verification limit, the combined verification limit is set to six variables. When the number of candidate variables exceeds the combined verification limit, the condition sets are first split according to the anomaly propagation trajectory record, cross-sample comparison results, and candidate branch condition sets, and then non-empty true subset verification is performed on each candidate branch condition set separately. If verification still cannot be completed, the minimum incompatible condition set will not be generated, and the corresponding variable combination will be written into the condition set to be accumulated or the probabilistic condition set to be reviewed.

[0084] The minimum incompatibility condition set can be a single-field condition set or a combined-field condition set. A single-field condition set indicates that a single host platform variable or SSD firmware state can trigger a corresponding compatibility anomaly under comparable test conditions, and that the original anomaly of the same type no longer reproduces after deletion, replacement, or comparison verification of this field. A combined-field condition set indicates that a corresponding compatibility anomaly is triggered when two or more variables coexist, and that no non-empty proper subset of these variables can maintain the reproduction of the original anomaly of the same type. Variables in the combined-field condition set should all come from the same compatibility anomaly candidate record, the same anomaly propagation trajectory record, the same candidate branch condition set, or from cross-sample comparison results of the same type of anomaly. When generating the minimum incompatibility condition set, a non-trigger variable exclusion record is also generated. The non-trigger variable exclusion record is used to distinguish fields that appear simultaneously with the anomaly but do not constitute a trigger condition, including the excluded variable, exclusion basis, deleted variable retest record number, anomaly type before deletion, anomaly type after deletion, anomaly propagation trajectory after deletion, retest result, retest consistency result, and corresponding log summary. When an excluded variable reappears alongside similar anomalies in other test paths, it is not directly rewritten into the candidate incompatibility set. Instead, it is re-evaluated based on the new anomaly propagation trajectory record, test items, anomaly judgment fields, and the retest results of the deleted variable.

[0085] If the candidate incompatibility condition set contains uncontrollable variables and there are no available cross-platform comparison records or historical comparison paths, a minimum incompatibility condition set will not be generated; instead, a condition set to be accumulated will be generated. The condition set to be accumulated includes uncontrollable variables, missing comparison conditions, the current anomaly propagation trajectory, the current test item, host platform variables to be collected, test items to be collected, the number of comparison records to be supplemented, and the current processing status. When a new cross-platform comparison record is added to the industrial test database that meets the following criteria: same SSD model, same SSD firmware version, same test item, same anomaly judgment field, different values ​​for uncontrollable variables, and the same values ​​for other key variable groups, or meets the comparison requirements, the condition set to be accumulated will be updated to complete, and the process will re-enter cross-sample comparison, variable deletion retesting, and minimumity verification. If the comparison record cannot be completed within the record validity period specified in the enterprise test specifications, it will remain a condition set to be accumulated, and no SSD host platform compatibility boundary record will be generated.

[0086] If the anomaly propagation trajectory contains a temperature-assisted exclusion node, a power supply anomaly node, or a test script interruption node, and this node is located before the anomaly termination node, then a minimum incompatible condition set will not be generated; instead, a condition set to be reviewed will be generated. After review, if the auxiliary exclusion node is confirmed as the source of the anomaly, the condition set to be reviewed will be marked as excluded. If the review confirms that the auxiliary exclusion node does not constitute the source of the anomaly, or if the same path still reproduces the same type of anomaly under conditions of no temperature reduction, no power supply anomaly, and no test script interruption, then the condition set to be reviewed will be marked as recovered for verification, and the process will re-enter the stages of candidate variable set determination, candidate incompatible condition set generation, cross-sample comparison, and minimumity verification. If the logs required for review cannot be completed or the time sequence cannot be determined, the process will remain in an unreviewable state, and a minimum incompatible condition set will not be generated.

[0087] The host common risk condition set, SSD firmware risk condition set, probabilistic condition set to be reviewed, and condition set to be accumulated are not directly equivalent to the minimum incompatibility condition set. Only records that have completed reduction verification and meet the minimum condition requirements are written to the minimum incompatibility condition set field. After extraction, a minimum incompatibility condition set record is generated. The minimum incompatibility condition set record includes condition set number, SSD model, SSD firmware version, host platform number, anomaly type, anomaly propagation trajectory number, candidate variable set, minimum incompatibility condition set, non-trigger variable exclusion record number, cross-sample comparison result, deleted variable retest result, condition set type, and review status. Condition set types include single-field condition set, combined-field condition set, host common risk condition set, SSD firmware risk condition set, probabilistic condition set to be reviewed, and condition set to be accumulated. Review status includes formed, pending review, pending accumulation, and excluded. The minimum incompatibility condition set record is bound and saved with path execution record, compatibility anomaly candidate record, anomaly propagation trajectory record, and recovery retest result to generate SSD host platform compatibility boundaries.

[0088] S5. Generate SSD host platform compatibility boundary records based on the minimum incompatibility condition set records or empty condition set records, determine the compatibility level, and write back the compatibility boundary records, anomaly propagation trajectory records, and rule update records to the industrial test database after binding them according to the boundary version number and rule version number.

[0089] Furthermore, the system reads the minimum incompatibility condition set record, path execution record, compatibility exception candidate record, exception propagation trajectory record, recovery retest results, non-trigger variable exclusion record, and historical compatibility test data to generate an SSD host platform compatibility boundary record. Records entering the compatibility boundary generation process include confirmed exception records that have formed a minimum incompatibility condition set, and pass records that have not triggered compatibility exception candidate records.

[0090] When no compatibility anomaly candidate record is generated in the path execution record, and basic identification, driver loading, link negotiation, and read / write access all result in pass, an empty condition set record is generated. The empty condition set record is used to enter the full compatibility boundary generation process, but its application is limited to the current SSD model, current SSD firmware version, current host platform number, current test item, current test script version, current variable combination, current execution parameters, current log collection fields, and current anomaly judgment fields. An empty condition set record only indicates that no compatibility anomaly candidate record was triggered within its bound scope; it does not indicate that the SSD model, SSD firmware version, and host platform are fully compatible under all test items, all variable combinations, or all log collection conditions. When the test item, test script version, log collection fields, anomaly judgment fields, host platform variable values, SSD firmware version, or execution parameters change, the variable masking test path or basic compatibility confirmation path should be regenerated, and a new empty condition set record or anomaly record should be generated.

[0091] When the condition set type is a single-field condition set or a combined-field condition set, and the verification status is "formed," it enters the compatibility boundary generation process. When the condition set type is a host common risk condition set, an SSD firmware risk condition set, a probabilistic condition set to be verified, or a condition set to be accumulated, it does not directly generate a fully compatible, variable-restricted compatible, or combined-condition compatible type compatibility boundary record. Instead, it first generates a risk boundary record, a boundary record to be verified, or a boundary record to be accumulated. Risk boundary records, boundary records to be verified, and boundary records to be accumulated are all bound to the condition set number, anomaly propagation trajectory number, test project number, variable combination, log collection field, anomaly judgment field, and verification status. When the minimum incompatible condition set record lacks an anomaly propagation trajectory number, a deleted variable retest result, or a non-trigger variable exclusion record number, a boundary data missing record is generated, and the missing fields are written into the missing field supplementation record. When an empty condition set record lacks a test project number, test script version, variable combination, execution parameters, log collection field, anomaly judgment field, or a result log summary, it does not enter the fully compatible boundary generation process; instead, it generates a boundary record to be supplemented.

[0092] SSD host platform compatibility boundary records are used to document the available conditions, limitations, risks, and disable conditions of SSDs under specific host platform variable combinations. Compatibility boundary records include boundary number, SSD model, SSD firmware version, host platform number, host hardware information, operating system version, storage driver version, BIOS version or UEFI version, link generation, number of link channels, power management status, I / O scheduling method, queue depth, minimum incompatibility condition set, non-trigger variable exclusion record, anomaly propagation trajectory number, recovery retest results, compatibility level, recommended configuration, retest status, boundary version number, boundary branch type, effective status, and record generation time. Recommended configuration records available variable values ​​formed after variable masking testing, variable deletion retesting, or replacement of historical stable values, including driver version rollback values, link generation limit values, ASPM status configuration, queue depth limit values, or I / O scheduling method replacement values.

[0093] Compatibility levels include Full Compatibility, Variable-Restricted Compatibility, Combined-Condition Compatibility, Pending Firmware Optimization, Pending Driver Adaptation, and Not Recommended. Full compatibility is defined as follows: if an empty condition set record exists, and the path execution record shows that basic identification, driver loading, link negotiation, and read / write access all pass the test. Variable-Restricted Compatibility is defined as follows: if the minimum incompatibility condition set contains only one host platform variable, and the variable passes the test after being disabled, replaced, having its value range restricted, or restored to a historical stable value. Combined-Condition Compatibility is defined as follows: if the minimum incompatibility condition set contains two or more variables, and the same type of anomaly is triggered only when the corresponding variable combination exists simultaneously, and deleting any variable fails to reproduce the original anomaly. The restricted value range is determined based on the variable type, SSD specification file, host platform configuration range, historical compatibility records, variable masking test path records, and the results of variable deletion retests, and is bound and saved with the corresponding variable field, variable group number, masking target value, and compatibility boundary record.

[0094] When the condition set type is an SSD firmware risk condition set, and the SSD response node precedes the driver processing node in the anomaly propagation trajectory, and the same SSD-side error logs appear on multiple host platforms for the same SSD firmware version, a boundary record for firmware optimization is generated. When the condition set type is a host common risk condition set, and the driver processing node precedes the corresponding SSD response node in the anomaly propagation trajectory, and the same type of driver log anomaly appears on multiple SSD models on the same host platform, a boundary record for driver adaptation is generated. When unrecoverable disk loss, inconsistent data verification, boot failure, or persistently unreadable namespaces occur during reduction verification, recovery retesting, or anomaly recovery testing, it is determined that use is not recommended. When temperature-assisted exclusion records, test environment exclusion records, probabilistic condition sets to be reviewed, or condition sets to be accumulated exist, a full compatibility, variable restriction compatibility, or combined condition compatibility level is not generated; instead, a boundary record to be reviewed or a boundary record to be accumulated is generated.

[0095] When generating compatibility boundary records, non-trigger variable exclusion records are written to the boundary records. Excluded variables in the non-trigger variable exclusion records are not written to the compatibility boundary records as restrictive or disabling conditions. If a variable is excluded in the current anomaly propagation trajectory but re-enters the candidate incompatibility condition set through a new anomaly propagation trajectory in another test path, the corresponding path number, anomaly propagation trajectory number, and exclusion basis are saved respectively, without overwriting the already generated non-trigger variable exclusion records.

[0096] After compatibility boundary records are generated, they are written to the industrial test database. The industrial test database is indexed according to SSD model, SSD firmware version, host platform number, variable group number, minimum incompatibility condition set, compatibility level, and boundary version number. The written content includes SSD host platform compatibility boundary records, minimum incompatibility condition set records, empty condition set records, path execution records, compatibility anomaly candidate records, anomaly propagation trajectory records, deleted variable retest results, restored retest results, and non-trigger variable exclusion records. Before writing, a record integrity check is performed, verifying the existence of the boundary number, whether the SSD model and SSD firmware version match the condition set record, whether the host platform number matches the path execution record, whether the minimum incompatibility condition set matches the deleted variable retest result, whether the anomaly propagation trajectory number can be associated with a compatibility anomaly candidate record, and whether an empty condition set record can be associated with a passable path execution record. If the record integrity check fails, a boundary write anomaly record is generated, and the compatibility boundary version is not updated.

[0097] After successfully writing to the industrial test database, update the host platform variable adaptation records, variable masking test path templates, anomaly propagation trajectory templates, and minimum incompatibility condition set extraction rules. For variable constraint compatibility boundaries, the restricted variables, restricted values, and suggested configurations are written to the variable masking test path template; for combined condition compatibility boundaries, the combined variables, combined values, the variable group to which the variables belong, and the triggered anomaly type are written to the cross-group variable masking path template; for boundaries requiring firmware optimization, add SSD-side log collection fields, firmware error fields, and namespace status fields; for boundaries requiring driver adaptation, add driver log collection fields, kernel error log fields, and interrupt mode record fields.

[0098] When a new test record matches an existing compatibility boundary record, the boundary version number, boundary branch type, and retest status are read. Matching conditions include identical SSD model, identical SSD firmware version, identical host platform number, or identical combination of key host platform variables, and the current variable combination contains the already formed minimum incompatibility condition set, limiting variables, or combined variables. When a fully compatible boundary is matched, a basic compatibility confirmation path is generated; when a variable limitation compatibility boundary is matched, a variable masking test path corresponding to the limiting variable is generated; when a combined condition compatibility boundary is matched, a combined variable masking path is generated; when a boundary awaiting firmware optimization, driver adaptation, or is not recommended for use is matched, a review path record or risk warning record is generated. When a boundary awaiting review or accumulation is matched, only supplementary test paths and fields to be collected are generated. When the same test object matches multiple boundary records, the call boundaries are determined in the following order: not recommended for use, awaiting firmware optimization, awaiting driver adaptation, combined condition compatibility, variable limitation compatibility, and fully compatible.

[0099] Compatibility boundaries allow for version updates based on new test results. When a new test record can reproduce the original minimum incompatible condition set and the original anomaly propagation trajectory, the boundary retest status and number of retests are updated, without changing the compatibility level. If a new test record does not reproduce the original anomaly of the same type, and the variable deletion retest, restoration retest, and anomaly propagation trajectory all fail to support the original minimum incompatible condition set, a boundary change record is generated. The boundary change record includes the original boundary number, original boundary version number, new boundary version number, reason for change, original minimum incompatible condition set, new condition set, original compatibility level, new compatibility level, basis for change, and effective status. The original boundary record retains its historical version number and does not delete historical records; once the new boundary record meets the current valid conditions, the original boundary record is changed to a historically valid or pending review version. If the new test record only reproduces some variables in the original minimum incompatible condition set, only reproduces some nodes in the original anomaly propagation trajectory, or simultaneously produces a pass result and a similar anomaly result under the same test item and the same variable combination, the current valid version is not updated, and a probabilistic boundary review record is generated.

[0100] While generating compatibility boundaries, compatibility test output records are created. These records include the SSD model, SSD firmware version, host platform ID, compatibility level, minimum incompatibility condition set, recommended configuration, risk fields, fields pending review, retest status, and database write status. After the write-back is complete, rule update records are generated. These records include the update object, the version before the update, the version after the update, the boundary ID that triggered the update, update fields, the reason for the update, and the effective status. Rule update records are bound to compatibility boundary records and used to record the version correspondence between compatibility boundaries, test path generation rules, anomaly propagation trajectory templates, and condition set extraction rules.

[0101] In this embodiment, as Figure 5 The results show a comparison of the consistency rate of the minimum incompatible condition set verification under different intervals of the number of variables to be masked. The interval of the number of variables to be masked is divided according to the number of variables entering the set of variables to be masked in the test task of the same SSD model, the same SSD firmware version, and the same host platform, including 1-2, 3-4, 5-6, and 7 or more. The statistical sample comes from 128 candidate records that have completed repeated retesting, of which 46 records are in the interval of 1-2, 57 records are in the interval of 3-4, 44 records are in the interval of 5-6, and 41 records are in the interval of 7 or more. The same candidate record is subjected to no less than three repeated retests according to the original test item, test script version, log collection fields, and anomaly judgment fields. When both pass and abnormal results coexist during the retesting, the number of retests is increased to five, and the corresponding record is written into the probabilistic condition set to be verified, which is not included in the number of minimum incompatible condition sets formed.

[0102] Within each interval, the number of candidate records that completed the extraction of candidate incompatible condition sets, cross-sample comparison, variable deletion retesting, and non-trigger variable exclusion was used as the statistical base. The number of records whose minimum incompatible condition set still corresponded to the same type of anomaly, had the same anomaly termination node, or corresponded to the same anomaly judgment field in repeated retesting, and whose non-trigger variable exclusion records were not overturned during review, was used as the consistent record number. 43 records in intervals 1-2 met the consistency criteria, 52 records in intervals 3-4 met the consistency criteria, 39 records in intervals 5-6 met the consistency criteria, and 35 records in intervals 7 or more met the consistency criteria, corresponding to review consistency rates of 93.5%, 91.2%, 88.6%, and 85.4%, respectively.

[0103] Depend on Figure 5 As can be seen, after the number of variables to be masked increased, the consistency rate of the minimum incompatible condition set verification changed from 93.5% to 85.4%, and there was no situation where a consistent verification result could not be formed due to the increase in the number of variables. This result indicates that, under the statistical caliber of completing repeated testing, cross-sample comparison, and exclusion of non-trigger variables, generating variable masking test paths through variable adaptation records on the host platform can remove variables that occur simultaneously with anomalies but do not constitute trigger conditions from the candidate conditions, so that the variable combination boundaries corresponding to compatible anomalies have verifiable record support.

[0104] In this embodiment, as Figure 6 The diagram shows a comparison of the SSD host platform compatibility boundary record formation rate under different anomaly propagation types. Anomaly propagation types are categorized based on anomaly propagation trajectory records, including link-to-driver propagation trajectories, power-to-I / O propagation trajectories, I / O execution propagation trajectories, and boot loading propagation trajectories. For each anomaly propagation type, the number of valid anomaly test records is first counted, followed by the number of SSD host platform compatibility boundary records that can simultaneously associate path execution records, compatible anomaly candidate records, anomaly propagation trajectory records, and minimum incompatibility condition set records, and complete the writing to the industrial test database. The ratio of these two counts is used as the SSD host platform compatibility boundary record formation rate. Figure 6 It is evident that the method of this invention can form relatively stable compatibility boundary records under various anomaly propagation types, especially in scenarios such as link retraining causing driver processing anomalies, power recovery causing I / O timeouts, and high-load read / write causing cache refresh anomalies, where the compatibility boundary record formation rate is high. This indicates that by converting variable change events, link state change events, driver processing events, SSD response events, and anomaly termination events to the same test clock reference and forming anomaly propagation trajectory records, and then writing back the minimum incompatibility condition set record, the non-trigger variable exclusion record, and the recovery retest results to the industrial test database, a continuous data chain can be formed between the compatibility anomaly record and the compatibility boundary write-back.

[0105] This embodiment also provides a computer device applicable to SSD compatibility testing methods based on host platform adaptation, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the SSD compatibility testing method based on host platform adaptation as proposed in the above embodiment.

[0106] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0107] This embodiment also provides a storage medium storing a computer program. When executed by a processor, the program implements the SSD compatibility testing method based on host platform adaptation as proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0108] In summary, this invention generates host platform variable adaptation records and forms variable masking test paths, transforming startup, driver, link, power management, and I / O execution variables into filterable, maskable, and verifiable test conditions. This allows the influence relationships of host platform variables to be distinguished within a controlled test path. By generating anomaly propagation trajectory records and extracting the minimum incompatibility condition set, variable changes, link events, driver processing, and SSD responses are continuously bound together. Furthermore, under the conditions of variable deletion retesting, cross-sample comparison, and a unified test clock benchmark, an SSD host platform compatibility boundary record is generated. This achieves the effects of improving the traceability of compatibility anomaly attribution, the consistency of boundary records, and the continuity of test rule updates.

[0109] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for SSD compatibility testing based on host platform adaptation, characterized in that, include: Acquire SSD object data, host platform data, and historical compatibility test data. Generate host platform variable adaptation records based on startup, driver, link, power management, and I / O execution variables, forming variable status markers, historical stable values, variable controllable states, and a set of variables to be masked. Based on the host platform variable adaptation record, a variable masking test path is generated. Variable masking includes performing controlled adjustments or comparative verification on the variable to be masked, forming a single variable masking path, a historical stable value replacement path, a same group variable masking path, a cross group variable masking path, a cross-platform comparative verification path, or a historical record comparative path. SSD compatibility testing is performed according to the variable masking test path, generating path execution records, compatibility anomaly candidate records, and anomaly propagation trajectory records. Confirmed anomaly records are determined based on log integrity, time sequence, and auxiliary exclusion results. Based on the path execution record, the confirmed anomaly record, and the anomaly propagation trajectory record, a candidate variable set is determined. A candidate incompatible condition set is formed based on the candidate variable set. The minimum incompatible condition set is extracted through cross-sample comparison, variable deletion retesting, non-trigger variable exclusion, and combined subset verification. The minimum incompatible condition set record is generated. SSD host platform compatibility boundary records are generated based on the minimum incompatibility condition set records or empty condition set records. The compatibility level is determined, and the compatibility boundary records, anomaly propagation trajectory records, and rule update records are bound according to the boundary version number and rule version number and then written back to the industrial test database.

2. The SSD compatibility testing method based on host platform adaptation as described in claim 1, characterized in that, The set of variable state markers, historical stable values, controllable variable states, and variables to be masked includes: The host platform data is divided into startup variable group, driver variable group, link variable group, power variable group and I / O variable group; Historical compatibility records are used to determine the historical stable values ​​corresponding to SSD model, SSD firmware version, and variable fields. When multiple historical stable values ​​exist, they are filtered according to the following criteria: consistent host hardware model, consistent operating system version, consistent storage driver version, test batch time interval, and number of valid test records. Generate variable status markers based on the number of valid test records, the retest consistency ratio, and the test result category; When the current value of a variable differs from its historical stable value, and the historical stable value exists, the corresponding variable is marked as a difference variable; When historical stable values ​​do not exist, the number of valid test records does not meet the preset sample requirements, the retest consistency ratio does not meet the preset consistency requirements, different test result categories exist under the same variable combination, or the retest status is empty, the corresponding variable will be marked as the variable to be verified. When the time of variable change and the time of anomaly occurrence satisfy the observation window judgment relationship, and the same anomaly type appears repeatedly in the valid test records, the corresponding variable will be marked as an anomaly associated variable. The same anomaly type is determined by the anomaly judgment field category and the anomaly termination node. The controllability of variables is determined based on whether they can be adjusted individually, whether they can be replaced with historical stable values, whether they can only be adjusted in combination, and whether they are not adjustable. The differential variables, variables to be verified, and abnormally correlated variables are then written into the set of variables to be masked according to the entry conditions.

3. The SSD compatibility testing method based on host platform adaptation as described in claim 2, characterized in that, The variable masking test path based on host platform variable adaptation record generation includes: Read the test admission status, set of variables to be hidden, variable status flags, historical stable values ​​and controllable status of variables from the host platform's variable adaptation record; When the test admission status fails to identify the basic path, a termination record is generated. When the test admission status is "test preparation exception", a path preparation exception record is generated. When the set of variables to be masked is empty and there are no incomplete review exception records, generate a basic compatibility confirmation path; When the set of variables to be masked is empty but there are incomplete review exception records, a path record to be reviewed is generated; When the set of variables to be masked is not empty, the variable masking test path is generated in the order of abnormal correlation variables, variables to be verified, and differential variables; When the controllable state of a variable is that it can be adjusted individually, a single-variable occlusion path is generated. When a variable is in a controllable state and can be replaced with a historical stable value, a replacement path for the historical stable value is generated. When the controllable state of a variable is that it can only be adjusted in combination, a masking path for variables in the same group or a masking path for variables across groups is generated. When the controllable state of a variable is unadjustable, a cross-platform comparison verification path or a historical record comparison path is generated.

4. The SSD compatibility testing method based on host platform adaptation as described in claim 1 or 3, characterized in that, The variable masking test path based on host platform variable adaptation record generation includes: Univariate masking paths are used to change one candidate masking variable while keeping the values ​​of other variable groups unchanged. The historical stable value replacement path is used to replace the current value of a candidate masking variable with a historically compatible variable value from the record. The same group variable masking path is used to change candidate masking variables within the same variable group and record the group linkage relationship; Cross-group variable masking paths are used to combine candidate masking variables from different variable groups into test paths according to the historical anomaly time sequence, variable change event sequence, or anomaly propagation relationship, and record the allowed and prohibited linkage fields. The cross-platform comparison and verification path is used to read host platform records with the same SSD model, the same SSD firmware version, the same test items, and different values ​​of uncontrollable variables, and to perform comparison checks on key variable groups; The historical record comparison path is used to read historical test records that have been completed and are traceable under the same host platform or the same combination of variables; After the path is generated, a consistency check is performed. If the consistency check passes, the path status is marked as ready for execution. If the consistency check fails, a path preparation exception record is generated, and the path consistency check is re-entered after field supplementation, comparison record supplementation, variable controllability status change, or confirmation of the source of the masked target value.

5. The SSD compatibility testing method based on host platform adaptation as described in claim 4, characterized in that, The SSD compatibility test performed according to the variable masking test path includes: Read the occluded variable, its value before occlusion, the target value of occlusion, the variable that remains unchanged, the fields that can be linked but cannot be linked, the test items, the log collection fields, and the exception judgment fields in the variable occlusion test path; Pre-test verification includes reading the current value of the obscured variable, the current value of the variable that remains unchanged, the current value of the linked field that is allowed, and the current value of the linked field that is prohibited. If the current value of the masked variable is the same as its value before masking and remains unchanged, and the variable has not changed, then masking is performed. When the current value of a hidden variable is inconsistent with its value before being hidden, when a variable that remains unchanged changes, or when a field that is prohibited from linkage changes, the corresponding path will be marked as pending review. After the masking process is completed, read the actual values ​​of the masked variable, the unchanged variable, and the allowed linked field again; When the actual value matches the path record, the corresponding test item is executed; when the actual value does not match the path record, a masking execution failure record is generated, and the corresponding path is marked as pending review.

6. The SSD compatibility testing method based on host platform adaptation as described in claim 5, characterized in that, The generated path execution record, compatible exception candidate record, and exception propagation trajectory record include: The timestamps of host-side logs, link-side logs, SSD-side logs, and auxiliary verification data are converted to the same test clock reference, and a time synchronization error field is generated. When the SSD-side logs lack absolute timestamps, a time mapping relationship is established based on the command submission time, command completion time, SSD log read time, log sequence number, or controller event sequence. Data that cannot be converted to the same test clock reference is saved as a log pending review. When the test event falls within the scope of the exception judgment field, a compatible exception candidate record is generated; After the compatibility anomaly candidate record is generated, it is marked as a candidate, confirmed anomaly, pending review, or excluded status according to the log digest reading status, timestamp conversion status, auxiliary exclusion record, and anomaly propagation trajectory node order. After confirming the generation of the anomaly record, sort the variable change events, command wait events, link status change events, driver processing events, SSD response events and anomaly termination events according to the unified test clock benchmark, delete events whose occurrence time is outside the observation window and have no corresponding relationship with the anomaly judgment field, and generate anomaly propagation trajectory record; When two events fall within the order tolerance range, the order is determined by combining the event type, log source, and path execution records. If the order still cannot be determined, they are written into the same-order event group.

7. The SSD compatibility testing method based on host platform adaptation as described in claim 6, characterized in that, The extraction of the minimum incompatible condition set through cross-sample alignment, variable deletion retesting, non-trigger variable exclusion, and combined subset verification includes: The candidate variable set is determined from the variable change nodes before the abnormal termination node, the allowed linkage field change nodes, and the state change nodes corresponding to the abnormal judgment fields in the abnormal propagation trajectory record. After the candidate variable set is formed, a candidate incompatible condition set is generated based on the abnormal propagation trajectory type and the variable group to which the variable belongs; A comparability check is performed on the test records that participate in the cross-sample comparison. The comparability check includes SSD model, SSD firmware version, test items, test script version, log collection fields, anomaly judgment fields, test environment temperature range, power supply status, non-candidate variable values, and auxiliary exclusion record status. After the comparability check is passed, perform cross-host platform comparison of the same SSD and cross-SSD comparison of the same host platform; Perform variable deletion retesting on the retained candidate incompatible condition set. During variable deletion retesting, restore the variables in the candidate incompatible condition set to historical stable values, replace them with verified configuration values, disable the corresponding trigger configuration, or remove them from the combined test conditions, while keeping the values ​​of other candidate variables unchanged. If the same type of anomaly still occurs after deleting the variable, and the types and order of the anomaly propagation trajectory nodes before and after the deletion of the variable remain consistent, the variable will be written into the non-trigger variable exclusion record. If the same type of anomaly no longer occurs after deleting the variable, and the log collection fields are complete, the time sequence is certain, the test environment exclusion factors have been eliminated, and the retest results meet the consistency requirements, then the variable will be retained in the candidate incompatibility condition set. Perform univariate deletion verification and combined subset verification on the retained candidate incompatible condition set. When the candidate incompatible condition set can trigger the original anomaly of the same type and no non-empty true subset can maintain the reproduction of the original anomaly of the same type under comparable test conditions, the candidate incompatible condition set is determined as the minimum incompatible condition set, and the minimum incompatible condition set record is generated.

8. The SSD compatibility testing method based on host platform adaptation as described in claim 7, characterized in that, The process of generating SSD host platform compatibility boundary records based on minimum incompatibility condition set records or empty condition set records, determining compatibility levels, and then binding the compatibility boundary records, anomaly propagation trajectory records, and rule update records according to boundary version numbers and rule version numbers before writing them back to the industrial test database includes: When no compatibility exception candidate record is generated in the path execution record, and basic identification, driver loading, link negotiation and read / write access all result in pass, an empty condition set record is generated, and it is determined to be fully compatible within the range of SSD model, SSD firmware version, host platform number, test item, test script version, variable combination, execution parameters, log collection fields and exception judgment fields bound to the empty condition set record; The minimum incompatibility set includes only one host platform variable, and the variable is determined to be compatible if it passes the test after being turned off, replaced, having its value range restricted, or restored to its historical stable value. The minimum incompatible condition set includes multiple variables, and the same type of exception is triggered only when the corresponding combination of variables exists simultaneously. If no non-empty proper subset can reproduce the original type of exception, it is determined to be a combination condition compatible. When the abnormal propagation trajectory and cross-sample comparison results point to the SSD firmware-side status, a boundary record for firmware optimization is generated. When the abnormal propagation trajectory and cross-sample comparison results point to the host driver side state, a driver adaptation boundary record is generated. If unrecoverable disk loss, inconsistent data verification, startup failure, or persistent unreadable namespace occurs during reduction verification, recovery retest, or abnormal recovery test, it is determined that it is not recommended to use it. When there are temperature-assisted exclusion records, test environment exclusion records, probabilistic sets of conditions to be reviewed, or sets of conditions to be accumulated, generate boundary records to be reviewed or boundary records to be accumulated. When writing back to the industrial test database, an index is created according to SSD model, SSD firmware version, host platform number, variable group number, minimum incompatibility condition set, compatibility level and boundary version number, and integrity checks are performed on compatibility boundary records, anomaly propagation trajectory records, empty condition set records, boundary version number and rule version number. When the integrity verification passes and the database write status is "written", the compatibility boundary record, anomaly propagation trajectory record and rule update record are bound and saved according to the boundary version number and rule version number. The host platform variable adaptation record, variable occlusion test path template, anomaly propagation trajectory template, minimum incompatibility condition set extraction rule and compatibility boundary index are updated. If the integrity check fails, a boundary write exception record is generated, the compatible boundary version is not updated, and the integrity check is re-executed after the field is supplemented, the write status is restored, or the review is completed. The rule update record is used for subsequent test path generation and condition set extraction, and does not recalculate the historical valid boundary records that have already been formed; When a boundary changes, the original boundary record retains the original boundary number and historical version number. Once the new boundary record meets the current validity conditions, the original boundary record is marked as a historical valid version or a version pending review.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the SSD compatibility testing method based on host platform adaptation as described in any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the SSD compatibility testing method based on host platform adaptation as described in any one of claims 1 to 8.