Big data storage-based credential application software compatibility test method

By generating environment and version fingerprints, utilizing big data storage to recall historical evidence of similar environments, and combining failure mode clusters and compatibility relationship knowledge graphs, the problems of redundant test case selection and inaccurate root cause localization in multi-environment and multi-version parallel scenarios in the compatibility testing of domestic application software are solved, achieving efficient and stable self-updating of test strategies.

CN121858457AInactive Publication Date: 2026-04-14GUOZHIXIN (QINGDAO) INFORMATION SECURITY TECHNOLOGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202610082887.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-21
Publication Date
2026-04-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing compatibility testing for domestic IT application software struggles to reliably reuse historical evidence in parallel scenarios with multiple environments and versions. It lacks a similar environment recall mechanism for environment fingerprints and version fingerprints, cannot efficiently associate changes with affected objects, and lacks differential event mapping and graph propagation. This results in redundant test case selection, high execution costs, and root cause localization being susceptible to noise interference.

Method used

By generating environment and version fingerprints, using big data storage to recall historical evidence of similar environments, combining failure mode clusters to generate test case priority queues, mapping to compatibility relationship knowledge graphs for differential event list propagation, generating incremental regression test sets, and achieving self-updating of test strategies based on minimum cost explanation paths and counterfactual verification loops.

Benefits of technology

Significantly reduces the investment of repeated regressions and invalid test cases, improves the efficiency and stability of multi-version parallel testing, enhances the credibility and reproducibility of root cause localization, avoids error reinforcement and policy drift, and forms a stable accumulation of evidence and policy optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121858457A_ABST
    Figure CN121858457A_ABST
Patent Text Reader

Abstract

The invention discloses a method for testing compatibility of creative application software based on big data storage. The method comprises the following steps: acquiring environment and version information to generate fingerprints; similar evidence extraction failure feature clusters are recalled; evaluating a case risk sequence based on the cluster and evidence; a version difference event mapping graph is used for obtaining a seed; spreading the seeds to obtain an influence domain and generating an increment regression set; the duplicate removal execution cases are combined, and receipts and judgment are output; inference of a minimum cost explanation path is hit by the failure case atlas; obtaining a consensus root cause according to the explanation path, and generating complementary measurement and verification; and verifying the gating updating atlas and precipitating new evidence to drive self-updating. According to the method, incremental regression and root cause interpretation updating are realized by utilizing differential propagation and anti-fact verification closed loop of the environment and version fingerprints and the compatible relationship knowledge graph, and the method has the advantages of high efficiency, high coverage and high credibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information technology application software adaptation, and in particular to a compatibility testing method for information technology application software based on big data storage. Background Technology

[0002] Existing compatibility testing for domestic IT application software typically relies on pre-built test plans and manual experience to select test cases. After version iterations, regression testing becomes the primary method, using change lists or coverage information to filter and prioritize test cases. Logs, error codes, and execution results are stored in the test platform or big data system to form a historical evidence package. Some solutions introduce alarm rules or operation and maintenance knowledge bases to assist in localization, but these mostly rely on result summarization and manual review, making it difficult to reliably reuse historical evidence and form a traceable diagnostic chain in multi-environment and multi-version parallel scenarios.

[0003] The aforementioned existing technologies generally have the following drawbacks: First, they lack a similar environment evidence recall mechanism based on environmental fingerprints and version fingerprints, making it difficult to accurately reuse historical evidence packages, resulting in redundant use case selection and high execution costs; Second, they lack the generation of influence domains based on differential event mapping and graph propagation, making it difficult to establish a closed-loop association between changes and affected objects; Third, they lack verification steps for minimum cost interpretation paths and minimum counterfactual supplementary tests, making root cause candidates susceptible to noise interference; Fourth, they lack graph update boundaries for verification gating, which can easily lead to error reinforcement and policy drift.

[0004] Therefore, how to provide a compatibility testing method for domestic IT application software based on big data storage is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] One objective of this invention is to propose a compatibility testing method for domestic IT application software based on big data storage. This invention utilizes differential propagation and counterfactual verification closed loops of environment and version fingerprints and compatibility relationship knowledge graphs to achieve incremental regression and root cause explanation updates, which have the advantages of high efficiency, high coverage and high reliability.

[0006] A method for compatibility testing of domestic IT application software based on big data storage according to an embodiment of the present invention includes the following steps:

[0007] Obtain the target IT innovation test environment information and the application version information to be tested, and generate environment fingerprint and version fingerprint;

[0008] Based on environmental fingerprints, similar environmental historical evidence packages are recalled in big data storage, and features of failed evidence are extracted to generate a set of failure pattern clusters.

[0009] Based on the set of failure mode clusters and the set of historical evidence packages of similar environments, a test case risk score is generated, and a test case priority queue is output.

[0010] Perform version difference analysis on the parent version fingerprint and the current version fingerprint to generate a list of difference events, and map them to the compatibility relationship knowledge graph to generate a set of difference seeds;

[0011] Based on the differential seed set, an influence domain object set is generated in the compatibility relationship knowledge graph, and an incremental regression test set is generated by combining the use case coverage mapping.

[0012] The test case priority queue and the incremental regression test set are merged and deduplicated to obtain the set of execution test cases, which are then executed in the target information technology innovation test environment to generate structured execution receipts and compatibility judgment results.

[0013] Failed use cases are filtered based on compatibility judgment results, and the corresponding structured execution receipts are mapped to the compatibility relationship knowledge graph to generate a set of failure phenomenon hits and a set of candidate root causes. The minimum cost explanation path is output based on the edge cost reparameterization of environmental drift perception.

[0014] Generate a consensus explanation subgraph based on the minimum cost explanation path and output consensus root cause candidates, generate a minimum counterfactual supplementary test set and execute it to obtain the counterfactual verification conclusion;

[0015] Based on the counterfactual verification conclusion, the graph update of the compatibility relationship knowledge graph is performed with verification gating. The compatibility judgment result, consensus root cause candidates and minimum cost explanation path are written into the big data storage to form a new set of test evidence packages to drive the self-updating of the test strategy.

[0016] Optionally, the generation of the environment fingerprint and version fingerprint specifically includes:

[0017] Collect target information on the testing environment and the version information of the application under test, and perform field normalization and consistency processing to obtain a standardized set of fields. Generate a set of field hashes for each field value and concatenate them according to the preset field order to generate a fingerprint digest. Encapsulate the fingerprint digest and the set of field hashes to obtain the environment fingerprint, the current version fingerprint, and the parent version fingerprint, which together constitute the version fingerprint.

[0018] Read the pre-set environment baseline fingerprint corresponding to the target information technology innovation test environment type identifier from the big data storage and align it with the environment fingerprint field to generate an environment fingerprint field difference set and write it into the big data storage to form a fingerprint index record.

[0019] Optionally, the generation of the failure mode cluster set specifically includes:

[0020] Based on environmental fingerprints, candidate index records of similar environments are retrieved from big data storage. Historical evidence packages of similar environments are located and recalled. The structured execution receipts and compatibility judgment results in the historical evidence packages of similar environments are filtered, and the failure evidence features corresponding to the failed test cases are extracted and a set of failure evidence features is generated.

[0021] The set of failed evidence features is deduplicated and aligned, and aggregated according to the consistency of failed evidence features to generate a set of failed mode clusters. For each failed mode cluster, a cluster signature, a subset of typical evidence packets within the cluster, and a set of cluster-related dependent objects are generated.

[0022] Optionally, the generation of the use case priority queue specifically includes:

[0023] A use case-evidence association set is constructed based on the failure mode cluster set and the historical evidence package set of similar environments. A use case risk score is generated for each use case, which is synthesized from three components: failure trigger strength, failure severity strength, and coverage gain strength. The use case set is sorted in descending order according to the use case risk score, and a use case priority queue is output.

[0024] Optionally, the generation of the difference seed set specifically includes:

[0025] Read the corresponding version field hash sets and their preset field order from the parent version fingerprint and the current version fingerprint, perform field alignment on the parent version fingerprint and the current version fingerprint, and generate a version field alignment table;

[0026] Based on the version field alignment table, the field difference markers corresponding to software dependencies in the version fingerprint are parsed to generate a set of dependency difference entries;

[0027] Based on the version field alignment table, the field difference markers corresponding to the interface signature in the version fingerprint are parsed to generate a set of interface difference entries;

[0028] Based on the version field alignment table, the field difference markers corresponding to the configuration template and product summary in the version fingerprint are parsed to generate a set of configuration difference entries and a set of product difference entries;

[0029] Perform unified standardization on the dependency differential entry set, interface differential entry set, configuration differential entry set, and artifact differential entry set, and generate a differential event list according to the preset differential event mode;

[0030] Based on the node type set and edge type set of the compatibility relationship knowledge graph, a differential mapping rule is established to map the affected object identifier in the differential event list to the target node or target edge in the compatibility relationship knowledge graph, generating a differential hit node set and a differential hit edge set, and generating a mapping confidence entry for each mapping result to form a differential mapping result set.

[0031] Based on the differential mapping result set, seed encapsulation is performed on the differential hit node set and differential hit edge set to generate a differential seed set.

[0032] Optionally, the generation of the incremental regression test set specifically includes:

[0033] Based on the seed object type entries in the differential seed, the seed objects are grouped by type to generate a seed group set. Then, propagation constraint entries are generated for each subgroup that are consistent with the node type set and edge type set of the compatibility relationship knowledge graph, resulting in a propagation constraint set.

[0034] Based on the propagation constraint set, a graph hit check is performed on the differential seed set to obtain a valid differential seed set, and a seed adjacency index is generated.

[0035] Based on the seed adjacency index, influence domain propagation is performed in the compatibility relation knowledge graph according to the propagation constraint set, generating a set of candidate objects for influence domain and a set of candidate propagation paths;

[0036] Calculate the relevance score of the impact domain candidate object set and generate the impact domain score set;

[0037] Based on the influence domain score set, influence domain pruning is performed on the influence domain candidate object set, outputting the influence domain object set and the influence domain edge set, and simultaneously generating influence domain index records;

[0038] Read the use case coverage map and generate an impact domain coverage hit set based on the impact domain object set, which includes the use case identifier and a subset of the impact domain object identifiers it covers;

[0039] Based on the impact domain coverage hit set, coverage optimization is performed on the set of test case identifiers appearing in the test case coverage mapping to generate an incremental regression test set.

[0040] Optionally, the generation of the structured execution receipt and compatibility determination result specifically includes:

[0041] Read the test case priority queue and incremental regression test set, align test case identifiers, and generate a set of test case indexes to be merged;

[0042] Based on the set of test cases to be merged, the test case priority queue and the incremental regression test set are merged and deduplicated to generate the set of test cases to be executed.

[0043] An execution configuration set is generated based on the set of execution test cases, the target information of the domestic IT innovation test environment, and the version information of the application under test. The set is then written into a big data storage to form an execution configuration index record.

[0044] In the target IT innovation test environment, the execution test case set is executed one by one according to the execution configuration set to obtain a normalized execution observation set;

[0045] Structured execution receipts are generated based on the normalized execution observation set and written into big data storage to form execution receipt index records;

[0046] The judgment level is determined based on the structured execution receipt, and a compatibility judgment result is generated.

[0047] Optionally, the generation of the minimum cost interpretation path specifically includes:

[0048] Read the compatibility assessment results, filter the failed test cases according to the assessment level items, and establish a set of failed test case identifiers and their associated structured execution receipt index records to locate the receipts.

[0049] Based on the receipt location set, read the structured execution receipts corresponding to the failed test cases, generate a set of failure phenomenon descriptions, and encapsulate them into a failure phenomenon hit set;

[0050] Map the set of failed phenomenon hits to the knowledge graph of compatibility relationships to generate a set of phenomenon hit objects, and generate a graph hit record of the set of failed phenomenon hits based on the set of phenomenon hit objects and its adjacent edge type set.

[0051] Generate a set of candidate root causes based on the graph hit records;

[0052] Read the set of differences in environmental fingerprint fields and generate environmental drift perception;

[0053] Based on the compatibility relationship knowledge graph and environment drift perception, the execution edge cost is reparameterized to generate a set of reparameterized edge costs;

[0054] Based on the set of failed phenomena, the set of candidate root causes, and the set of reparameterized edge costs, the shortest cost path reasoning is performed in the compatibility relation knowledge graph to generate the minimum cost explanation path.

[0055] Optionally, the generation of the counterfactual verification conclusion specifically includes:

[0056] Read the minimum cost explanation path, extract the path object sequence and path edge sequence, merge and remove duplicates to obtain the explanation object set and explanation edge set, extract the corresponding objects and relationships from the compatibility relationship knowledge graph, and generate a consensus explanation subgraph;

[0057] Candidate consensus root causes are determined based on the consensus interpretation subgraph;

[0058] A set of key edges is generated based on the consensus interpretation subgraph and consensus root cause candidates, and the two end objects of each interpretation edge in the set of key edges are merged and deduplicated to generate a set of key objects.

[0059] Read the use case coverage map and generate a supplementary test coverage hit set based on the key object set; execute the minimumity decision to generate a counterfactual minimum supplementary test set.

[0060] Based on the minimum counterfactual test set, supplementary tests are performed in the target IT innovation test environment to generate corresponding structured execution receipts and compatibility judgment results. These results are then compared with the original failed test cases to generate a counterfactual comparison result set.

[0061] Counterfactual verification conclusions are generated based on the set of counterfactual comparison results.

[0062] Optionally, the generation of the self-updating test strategy specifically includes:

[0063] Read the counterfactual verification conclusion and its set of verification hit objects, and generate the verification gating judgment result based on the verification conclusion item in the counterfactual verification conclusion;

[0064] Under the constraint of verifying the gating decision results, the objects to be updated are determined based on the consensus explanation subgraph, consensus root cause candidates and minimum cost explanation path, and the set of edge confidence update objects and the set of cover mapping update objects are generated.

[0065] Based on the verification gating decision results, graph update action sets are generated for the edge confidence update object set and the coverage mapping update object set, respectively.

[0066] Based on the graph update action set, edge confidence entries are updated on the edge confidence update object set, and test case coverage map updates are performed on the coverage map update object set to generate a graph update result set;

[0067] The compatibility determination results, consensus root cause candidates, minimum cost explanation paths, counterfactual verification conclusions, and graph update results are encapsulated and written into big data storage to generate a new set of test evidence packages, thereby enabling the test strategy to update itself.

[0068] The beneficial effects of this invention are:

[0069] This invention achieves traceable and unique identification of test objects through environmental fingerprints and version fingerprints. Using these, it recalls historical evidence packages of similar environments in big data storage. Combined with failure evidence features, it forms a failure mode cluster set, which in turn generates a test case priority queue. This allows the execution test case set to be merged, deduplicated, and executed in a configuration-driven manner under risk-driven and coverage constraints, significantly reducing duplicate regressions and invalid test case inputs, and improving the efficiency and stability of multi-version parallel testing in the domestic IT innovation environment. Simultaneously, this invention maps the differential event list generated by version differentiation to a compatibility relationship knowledge graph, forming a differential seed set and propagating it to obtain an impact domain object set. This is further linked with the test case coverage mapping to generate an incremental regression test set, enabling the test scope to adaptively converge around the truly affected objects, thereby reducing the probability of missed tests and improving the targeting of defect exposure.

[0070] Furthermore, this invention constructs a set of failed phenomena and a set of candidate root causes based on compatibility judgment results and structured execution receipts. Under the constraint of edge cost reparameterization with environmental drift perception as the sole drift entry point, it generates a minimum cost explanation path. Subsequently, it generates a minimum counterfactual test set with consensus explanation subgraphs and consensus root cause candidates as the core and executes it to obtain counterfactual verification conclusions, achieving closed-loop noise filtering of "explanation-verification" and improving the credibility and reproducibility of root cause localization. Based on this, this invention implements a verification-gated graph update for the compatibility relationship knowledge graph. The update actions are strictly closed, consisting of up, down, freeze, and rollback, and only apply to edge confidence and coverage mapping, avoiding structural drift and error reinforcement. This allows the newly generated test evidence set to continuously drive the test strategy self-update and maintain convergence boundaries, thereby forming stable evidence accumulation and strategy optimization effects in long-term iterations. Attached Figure Description

[0071] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0072] Figure 1 This is a flowchart of a compatibility testing method for domestic IT application software based on big data storage proposed in this invention;

[0073] Figure 2 This is a flowchart of the differential mapping and differential seed generation process for a compatibility testing method for domestic IT application software based on big data storage proposed in this invention.

[0074] Figure 3 This is a flowchart illustrating the environment drift reparameterization and minimum cost interpretation path generation process of a compatibility testing method for domestic IT application software based on big data storage proposed in this invention. Detailed Implementation

[0075] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.

[0076] refer to Figures 1-3 A compatibility testing method for domestic IT application software based on big data storage includes the following steps:

[0077] Obtain the target IT innovation test environment information and the application version information to be tested, and generate environment fingerprint and version fingerprint;

[0078] Based on environmental fingerprints, similar environmental historical evidence packages are recalled in big data storage, and features of failed evidence are extracted to generate a set of failure pattern clusters.

[0079] Based on the set of failure mode clusters and the set of historical evidence packages of similar environments, a test case risk score is generated, and a test case priority queue is output.

[0080] Perform version difference analysis on the parent version fingerprint and the current version fingerprint to generate a list of difference events, and map them to the compatibility relationship knowledge graph to generate a set of difference seeds;

[0081] Based on the differential seed set, an influence domain object set is generated in the compatibility relationship knowledge graph, and an incremental regression test set is generated by combining the use case coverage mapping.

[0082] The test case priority queue and the incremental regression test set are merged and deduplicated to obtain the set of execution test cases, which are then executed in the target information technology innovation test environment to generate structured execution receipts and compatibility judgment results.

[0083] Failed use cases are filtered based on compatibility judgment results, and the corresponding structured execution receipts are mapped to the compatibility relationship knowledge graph to generate a set of failure phenomenon hits and a set of candidate root causes. The minimum cost explanation path is output based on the edge cost reparameterization of environmental drift perception.

[0084] Generate a consensus explanation subgraph based on the minimum cost explanation path and output consensus root cause candidates, generate a minimum counterfactual supplementary test set and execute it to obtain the counterfactual verification conclusion;

[0085] Based on the counterfactual verification conclusion, the graph update of the compatibility relationship knowledge graph is performed with verification gating. The compatibility judgment result, consensus root cause candidates and minimum cost explanation path are written into the big data storage to form a new set of test evidence packages to drive the self-updating of the test strategy.

[0086] In this embodiment, the generation of the environment fingerprint and the version fingerprint specifically includes:

[0087] Collect target information on the testing environment and the version information of the application under test, and perform field normalization and consistency processing to obtain a standardized set of fields. Generate a set of field hashes for each field value and concatenate them according to the preset field order to generate a fingerprint digest. Encapsulate the fingerprint digest and the set of field hashes to obtain the environment fingerprint, the current version fingerprint, and the parent version fingerprint, which together constitute the version fingerprint.

[0088] Read the pre-set environment baseline fingerprint corresponding to the target information technology innovation test environment type identifier from the big data storage and align it with the environment fingerprint field to generate an environment fingerprint field difference set and write it into the big data storage to form a fingerprint index record.

[0089] In this embodiment, the generation of the failure mode cluster set specifically includes:

[0090] Based on environmental fingerprints, candidate index records of similar environments are retrieved from big data storage. Historical evidence packages of similar environments are located and recalled. The structured execution receipts and compatibility judgment results in the historical evidence packages of similar environments are filtered, and the failure evidence features corresponding to the failed test cases are extracted and a set of failure evidence features is generated.

[0091] The failure evidence feature set includes crash stack signature, error code set, critical log template index, dependency conflict signature, and performance degradation signature;

[0092] The set of failed evidence features is deduplicated and aligned, and aggregated according to the consistency of failed evidence features to generate a set of failed mode clusters. For each failed mode cluster, a cluster signature, a subset of typical evidence packets within the cluster, and a set of cluster-related dependent objects are generated.

[0093] In this embodiment, the generation of the use case priority queue specifically includes:

[0094] A use case-evidence association set is constructed based on the failure mode cluster set and the similar environment historical evidence package set. A use case risk score is generated for each use case, which is synthesized from three components: failure trigger strength, failure severity strength, and coverage gain strength. The use case set is sorted in descending order according to the use case risk score, and a use case priority queue is output.

[0095] The failure trigger strength is jointly determined by the failure frequency of the failure pattern cluster hit by the use case in the similar environment historical evidence package set, the failure reproducibility mark and the recent decay within the time window. The failure severity strength is generated by mapping the failure type entry in the structured execution receipt corresponding to the use case and the judgment level entry in the compatibility judgment result. The coverage gain strength is jointly determined by the number of cluster-related dependency object sets covered by the use case in the use case coverage mapping and the number of cluster signature coverage.

[0096] In this embodiment, the generation of the difference seed set specifically includes:

[0097] Read the corresponding version field hash sets and their preset field order from the parent version fingerprint and the current version fingerprint, perform field alignment on the parent version fingerprint and the current version fingerprint, and generate a version field alignment table;

[0098] Based on the version field alignment table, the field difference markers corresponding to software dependencies in the version fingerprint are parsed to generate a set of dependency difference entries;

[0099] The dependency difference entry set includes dependency identifier, difference type marker, parent version dependency value summary, current version dependency value summary, and dependency difference evidence index;

[0100] Based on the version field alignment table, the field difference markers corresponding to the interface signature in the version fingerprint are parsed to generate a set of interface difference entries;

[0101] The set of interface differential entries includes an interface identifier, a differential type marker, a parent version interface signature digest, a current version interface signature digest, and an interface differential evidence index.

[0102] Based on the version field alignment table, the field difference markers corresponding to the configuration template and product summary in the version fingerprint are parsed to generate a set of configuration difference entries and a set of product difference entries;

[0103] The configuration differential entry set includes a configuration item identifier, a differential type marker, a parent version configuration template summary, a current version configuration template summary, and a configuration differential evidence index; the artifact differential entry set includes an artifact identifier, a parent version artifact summary, a current version artifact summary, and an artifact differential evidence index.

[0104] Perform unified standardization on the dependency differential entry set, interface differential entry set, configuration differential entry set, and artifact differential entry set, and generate a differential event list according to the preset differential event mode;

[0105] Each differential event in the differential event list includes an event identifier, an event type entry, an affected object identifier, a parent version value summary, a current version value summary, an event evidence index, and an event severity entry.

[0106] Based on the node type set and edge type set of the compatibility relationship knowledge graph, a differential mapping rule is established to map the affected object identifier in the differential event list to the target node or target edge in the compatibility relationship knowledge graph, generating a differential hit node set and a differential hit edge set, and generating a mapping confidence entry for each mapping result to form a differential mapping result set.

[0107] The mapping confidence score is obtained by synthesizing the identifier consistency score, structural consistency score, and evidence consistency score according to preset weights and then truncating and normalizing them. The structural consistency score is obtained by performing structural consistency verification on the event type entry and the target node type or edge type according to the differential mapping rule. The identifier consistency score is obtained based on the result of complete hit, alias hit, or summary hit between the affected object identifier and the target object identifier. The evidence consistency score is obtained based on the degree of consistency between the parent version value summary pointed to by the event evidence index, the current version value summary, and the target object summary and its adjacency relationship template. Conflict penalties are applied to candidate results with mutually exclusive mapping conflicts.

[0108] Based on the differential mapping result set, seed encapsulation is performed on the differential hit node set and differential hit edge set to generate a differential seed set;

[0109] The differential seed includes a seed object identifier, a seed object type entry, a mapping confidence entry, an event severity entry, and a seed weight entry.

[0110] In this embodiment, the generation of the incremental regression test set specifically includes:

[0111] Based on the seed object type entries in the differential seed, the seed objects are grouped by type to generate a seed group set. Then, propagation constraint entries are generated for each subgroup that are consistent with the node type set and edge type set of the compatibility relationship knowledge graph, resulting in a propagation constraint set.

[0112] Based on the propagation constraint set, a graph hit check is performed on the differential seed set to obtain a valid differential seed set, and a seed adjacency index is generated.

[0113] The graph hit verification is achieved by verifying that the seed object identifier corresponds to the target node or target edge in the compatibility relationship knowledge graph and that its object type is consistent with the seed object type entry.

[0114] Based on the seed adjacency index, influence domain propagation is performed in the compatibility relation knowledge graph according to the propagation constraint set, generating a set of candidate objects for influence domain and a set of candidate propagation paths;

[0115] The influence domain propagation sequentially expands the adjacent objects of the seed object along the set of edge types that satisfy the event type entry constraints. The candidate propagation path set records the path edge sequence and path edge type sequence corresponding to each influence domain candidate object.

[0116] Calculate the relevance score of the impact domain candidate object set and generate the impact domain score set;

[0117] The influence domain relevance score is synthesized by the seed weight entry, mapping confidence entry, path length entry in the candidate propagation path set, and edge confidence entry corresponding to the path edge in the candidate propagation path set. The synthesis rule is to multiply the seed weight entry and the mapping confidence entry, and then multiply them together with the edge confidence entry of each path edge in the candidate propagation path set according to the path edge sequence. After applying a penalty factor that monotonically decreases with the increase of path length to the path length entry, the score is truncated and normalized.

[0118] Based on the influence domain score set, influence domain pruning is performed on the influence domain candidate object set, outputting the influence domain object set and the influence domain edge set, and simultaneously generating influence domain index records;

[0119] The influence domain pruning removes candidate objects whose influence domain relevance scores are lower than a preset threshold and merges multi-path records with the same object identifier. The influence domain index record includes object identifier, object type entry, influence domain relevance score, corresponding seed object identifier, and corresponding candidate propagation path set index.

[0120] Read the use case coverage map and generate an impact domain coverage hit set based on the impact domain object set, which includes the use case identifier and a subset of the impact domain object identifiers it covers;

[0121] Based on the impact domain coverage hit set, perform coverage optimization on the set of use case identifiers appearing in the use case coverage map to generate an incremental regression test set;

[0122] The preferred coverage rule is that the coverage of a subset of objects with a higher number of objects in the affected domain takes precedence, and deduplication is performed on use cases that cover the same subset of objects in the affected domain.

[0123] In this embodiment, the generation of the structured execution receipt and compatibility determination result specifically includes:

[0124] Read the test case priority queue and incremental regression test set, align test case identifiers, and generate a set of test case indexes to be merged;

[0125] Based on the set of test cases to be merged, the test case priority queue and the incremental regression test set are merged and deduplicated to generate the set of test cases to be executed.

[0126] The deduplication process uses the test case identifier as the unique deduplication key, and retains the sorting position and coverage hit entries for cases where the same test case identifier appears simultaneously in the test case priority queue and the incremental regression test set.

[0127] An execution configuration set is generated based on the set of execution test cases, the target information of the domestic IT innovation test environment, and the version information of the application under test. The set is then written into a big data storage to form an execution configuration index record.

[0128] The execution configuration set includes the runtime entry configuration entries for the target domestic IT innovation testing environment, the installation and deployment configuration entries for the application version under test, the test case execution order entries, the test case data loading configuration entries, and the test case isolation configuration entries.

[0129] In the target IT innovation test environment, the execution test case set is executed one by one according to the execution configuration set to obtain a normalized execution observation set;

[0130] The standardized execution observation set is obtained by collecting runtime logs, standard output, error output, resource usage, and exit status for each use case, and performing execution field normalization and consistency processing.

[0131] Structured execution receipts are generated based on the normalized execution observation set and written into big data storage to form execution receipt index records;

[0132] The structured execution receipt includes a use case identifier, use case execution start and end time entries, execution configuration index records, exit status entries, error code set, crash stack signature, critical log template index, dependency conflict signature, performance degradation signature, and evidence location index entries.

[0133] The judgment level is determined based on the structured execution receipt, and a compatibility judgment result is generated.

[0134] The compatibility determination result includes a use case identifier, a determination level entry, a determination basis entry, and an associated structured execution receipt index record. The determination level is determined by a combination mapping of exit status entries, error code sets, dependency conflict signatures, and performance degradation signatures. The determination basis entry is generated by jointly locating the crash stack signature and the critical log template index.

[0135] In this embodiment, the generation of the minimum cost interpretation path specifically includes:

[0136] Read the compatibility assessment results, filter the failed test cases according to the assessment level items, and establish a set of failed test case identifiers and their associated structured execution receipt index records to locate the receipts.

[0137] Based on the receipt location set, read the structured execution receipts corresponding to the failed test cases, generate a set of failure phenomenon descriptions, and encapsulate them into a failure phenomenon hit set;

[0138] The failure phenomenon description set includes extracted crash stack signatures, error code sets, critical log template indexes, dependency conflict signatures, and performance degradation signatures;

[0139] Map the set of failed phenomenon hits to the knowledge graph of compatibility relationships to generate a set of phenomenon hit objects, and generate a graph hit record of the set of failed phenomenon hits based on the set of phenomenon hit objects and its adjacent edge type set.

[0140] The set of objects that the phenomenon hits is obtained by ensuring consistency between the set of descriptions of failed phenomena and the object summaries and their adjacency templates in the compatibility knowledge graph.

[0141] Generate a set of candidate root causes based on the graph hit records;

[0142] The candidate root cause set includes a subset of object identifiers that satisfy the preset root cause candidate type constraints with the set of objects that hit the phenomenon, as well as the path reachability records associated with them.

[0143] Read the set of differences in environmental fingerprint fields and generate environmental drift perception;

[0144] The environmental drift perception is generated solely from the environmental fingerprint field difference set and serves as the sole input for edge cost reparameterization. It reads each difference record from the environmental fingerprint field difference set and regularizes it into a unified difference entry containing a field identifier, difference type label, baseline field value summary, and current field value summary. It performs pre-defined field normalization and maps the field identifiers of the unified difference entries to drift dimension labels based on a pre-defined field dimension mapping table. It then divides the entries into drift intensity categories according to the difference type label. The unified difference entries, drift dimension labels, and drift intensity categories are encapsulated into drift evidence entries. These entries are aggregated according to the drift dimension labels to obtain a set of drift dimension intensity entries. A drift fingerprint summary is further generated, and the drift fingerprint summary, the set of drift dimension intensity entries, and the drift evidence entries are collectively encapsulated to obtain the environmental drift perception.

[0145] Based on the compatibility relationship knowledge graph and environment drift perception, the execution edge cost is reparameterized to generate a set of reparameterized edge costs;

[0146] The reparameterized edge cost set outputs the reparameterized edge cost value for each propagable edge and forms an edge cost index record. The reparameterized edge cost value is obtained by inverting the edge confidence entries in the compatibility relationship knowledge graph to obtain the unreliability component, mapping the edge propagation type entries to obtain the type penalty component, mapping the failure frequency statistics entries to obtain the historical failure penalty component, and using the drift penalty component generated by environmental drift perception as the only drift entry, and performing weighted summation according to preset weights to obtain the reparameterized edge cost value.

[0147] Based on the set of failed phenomena hits, the set of candidate root causes, and the set of reparameterized edge costs, the shortest cost path reasoning is performed in the compatibility relation knowledge graph to generate the minimum cost explanation path.

[0148] The minimum cost explanation path uses the set of phenomena hit objects in the failed phenomenon hit set as the starting set and the set of candidate root cause objects in the candidate root cause set as the ending set. A weighted, propagable subgraph is constructed based on edge cost index records, and edges without cost records are removed. For each phenomenon hit object, the shortest cost path reasoning is performed in the weighted, propagable subgraph. The process expands layer by layer along adjacent propagable edges and updates the path's cumulative cost to the sum of the accumulated cost and the current edge's reparameterized edge value. The predecessor objects and predecessor edges corresponding to the minimum cumulative cost of each object form a backtrackable predecessor record set. When a candidate root cause object is hit, the path object sequence and path edge sequence are backtracked along the predecessor record set and summarized to form a path cumulative cost entry. For multiple candidate paths corresponding to the same phenomenon hit object, the path with the lowest cumulative cost is prioritized, and in the case of the same cost, the path with the shorter path length is given priority. The output is a minimum cost explanation path containing the phenomenon hit object identifier, candidate root cause object identifier, path object sequence, path edge sequence, path cumulative cost entry, and its path evidence index.

[0149] In this embodiment, the generation of the counterfactual verification conclusion specifically includes:

[0150] Read the minimum cost explanation path, extract the path object sequence and path edge sequence, merge and remove duplicates to obtain the explanation object set and explanation edge set, extract the corresponding objects and relationships from the compatibility relationship knowledge graph, and generate a consensus explanation subgraph;

[0151] Candidate consensus root causes are determined based on the consensus interpretation subgraph;

[0152] The consensus root cause candidates are determined by counting the number of times the objects appearing as candidate root cause object identifiers in the minimum cost explanation path, and then weighting and sorting them according to the cumulative cost entries of their corresponding paths. The subset of object identifiers that ranks first in the sorting is used as consensus root cause candidates.

[0153] A set of key edges is generated based on the consensus interpretation subgraph and consensus root cause candidates, and the two end objects of each interpretation edge in the set of key edges are merged and deduplicated to generate a set of key objects.

[0154] The set of key edges is obtained by filtering explanatory edges that meet certain conditions in the consensus explanatory subgraph. The explanatory edge is located on a connected link that can be reached from the set of phenomena-hit objects to the consensus root cause candidate. The frequency of the explanatory edge in the path edge sequence of the minimum cost explanatory path is not less than a preset threshold.

[0155] Read the use case coverage map and generate a supplementary test coverage hit set based on the key object set; execute the minimumity decision to generate a counterfactual minimum supplementary test set.

[0156] The supplementary test coverage hit set obtains the key object coverage hit subset of the test case by reading the subset of covered object identifiers corresponding to each test case identifier in the test case coverage mapping and performing an intersection operation with the key object set. For test cases where the intersection result is not empty, a supplementary test coverage hit record is generated and written into the supplementary test coverage hit set, which includes the test case identifier and the key object identifier subset it covers.

[0157] The minimumity decision takes the set of key objects as the coverage constraint and the minimum number of use cases as the decision objective, and outputs the minimum counterfactual supplementary test set.

[0158] Based on the minimum counterfactual test set, supplementary tests are performed in the target IT innovation test environment to generate corresponding structured execution receipts and compatibility judgment results. These results are then compared with the original failed test cases to generate a counterfactual comparison result set.

[0159] Generate counterfactual verification conclusions based on the counterfactual comparison result set;

[0160] The counterfactual verification conclusion includes a verification conclusion item and a set of verification hit objects. The verification conclusion item is determined by the comparison results of the disappearance, migration or retention of the failure phenomenon description set in the counterfactual comparison result set. The set of verification hit objects is obtained by backfilling the dependency conflict signature, crash stack signature, critical log template index and performance degradation signature in the counterfactual comparison result set into the consensus interpretation subgraph and performing consistency verification.

[0161] In this embodiment, the generation of the self-updating test strategy specifically includes:

[0162] Read the counterfactual verification conclusion and its set of verification hit objects, and generate the verification gating judgment result based on the verification conclusion item in the counterfactual verification conclusion;

[0163] The verification gating decision is achieved by reading the counterfactual verification conclusion, extracting the value of the verification conclusion item, and mapping it to a gating state entry according to preset gating rules. When the failure phenomenon represented by the verification conclusion item disappears or migrates after the execution of the counterfactual minimum supplementary test set and the migration direction is consistent with the consensus root cause candidate, a "pass" gating state entry is generated. When the failure phenomenon represented by the verification conclusion item remains unchanged or the migration direction is inconsistent with the consensus root cause candidate, a "fail" gating state entry is generated. A hit consistency check is performed based on the set of verification hit objects and the consensus explanation subgraph. If the coverage hit of the set of verification hit objects in the consensus explanation subgraph meets the preset consistency threshold, the gating state entry remains unchanged. If the coverage hit is insufficient, the gating state entry is judged as "needs to be rolled back".

[0164] Under the constraint of verifying the gating decision results, the objects to be updated are determined based on the consensus explanation subgraph, consensus root cause candidates and minimum cost explanation path, and the set of edge confidence update objects and the set of cover mapping update objects are generated.

[0165] The edge confidence update object set consists of the path edge sequence located in the minimum cost interpretation path in the consensus interpretation subgraph and the edge identifier associated with the verification hit object set. The coverage map update object set consists of the use case identifier that has a coverage hit with the verification hit object set in the use case coverage map and a subset of its covered object identifiers.

[0166] Based on the verification gating decision results, graph update action sets are generated for the edge confidence update object set and the coverage mapping update object set, respectively.

[0167] The action closure of the graph update action set is up, down, freeze, and rollback. It only applies to the edge confidence entries and use case coverage mapping in the compatibility relationship knowledge graph, and does not add, delete, or rename the node type set, edge type set, object identifier, and their adjacency relationship in the compatibility relationship knowledge graph.

[0168] Based on the graph update action set, edge confidence entries are updated on the edge confidence update object set, and test case coverage map updates are performed on the coverage map update object set to generate a graph update result set;

[0169] In the set of graph update actions, the up action is used to increase the edge confidence entries or coverage relationship validity markers that are consistent with the set of verified hit objects; the down action is used to decrease the edge confidence entries or coverage relationship validity markers that are inconsistent with the set of verified hit objects; the freeze action is used to keep the corresponding entries unchanged; and the rollback action is used to restore the corresponding entries to the previous stable value of the entries in the historical record.

[0170] The compatibility determination results, consensus root cause candidates, minimum cost explanation paths, counterfactual verification conclusions, and graph update results are encapsulated and written into big data storage to generate a new set of test evidence packages, thereby enabling the test strategy to update itself.

[0171] Example 1:

[0172] To verify the feasibility of this invention in practice, it was applied to a routine compatibility testing scenario at a domestic IT innovation adaptation and verification center in a provincial capital city. In this scenario, the same application under test frequently encountered problems such as "occasional non-reproducible issues, unstable reproduction paths, and significant discrepancies in root cause attribution" under different target domestic IT innovation testing environments. Testers often had to repeatedly expand the regression scope and rely on experience for screening, resulting in redundant test case execution, incomplete fault interpretation chains, and difficulty in channeling accumulated knowledge back to the next round of testing strategies.

[0173] In this scenario, at the start of the test, information about the target IT innovation test environment and the version information of the application under test are collected, and environment fingerprints and version fingerprints are generated. The environment fingerprint is used to recall historical evidence packages of similar environments in big data storage. Crash stack signatures, error code sets, key log template indexes, dependency conflict signatures, and performance degradation signatures are extracted to form a set of failure mode clusters, and a test case priority queue is generated based on this. At the same time, version difference is performed on the parent version fingerprint and the current version fingerprint to generate a differential event list, which is mapped to the compatibility relationship knowledge graph to generate a differential seed set. Further propagation is used to obtain a set of influence domain objects, which is combined with the test case coverage mapping to generate an incremental regression test set. The test case priority queue and the incremental regression test set are deduplicated and executed in the target IT innovation test environment to form a structured execution receipt and compatibility judgment results. When a failure occurs, the structured execution receipt is mapped to the compatibility relationship knowledge graph to obtain the failure phenomenon hit set and candidate root cause set. Environmental drift perception is generated from the environmental fingerprint field difference set as the sole input for edge cost reparameterization, and the shortest cost path reasoning is completed to obtain the minimum cost explanation path. Subsequently, a consensus explanation subgraph and consensus root cause candidates are generated based on the minimum cost explanation path. The counterfactual minimum supplementary test set is formed according to the supplementary test coverage hit set and executed to obtain the counterfactual verification conclusion. Finally, the verification gating judgment result constrains the compatibility relationship knowledge graph update action, and only the edge confidence entries and test case coverage mapping are adjusted up, down, frozen or rolled back. The compatibility judgment result, consensus root cause candidates and minimum cost explanation path are written into big data storage to form a new test evidence package set, driving the subsequent test strategy to update itself.

[0174] During implementation, multiple batches of adaptation regression records from the second quarter of a certain year at the center were selected as the comparison basis. The location was the center's IT innovation verification environment computer room and test station. Data sources included execution configuration index records, structured execution receipts, compatibility judgment results, failure phenomenon hit sets, minimum cost explanation paths, counterfactual verification conclusions, and trace records of graph update results. Comparison of traces before and after implementation shows that the incremental regression test set generated based on the differential seed set and the set of impact domain objects significantly converged the execution of irrelevant test cases, and the failure reproduction changed from "relying on manual expansion" to "focused execution based on test case priority queues"; the minimum cost explanation path and consensus explanation subgraph transformed the fault explanation chain from fragmented to a traceable closed loop, and the root cause candidates changed from divergent judgments to verifiable consistent candidates; the counterfactual minimum supplementary test set reduced the number of supplementary test rounds from multiple rounds of trial and error to a small number of supplementary tests to form verification gating judgment results, and the graph update of the verification gating stabilized the effective evidence, reducing repeated investigation and repeated execution under similar environmental drift conditions.

[0175] Table 1 Comparison Data of Closed-Loop Compatibility Testing Strategies

[0176] (Summary of 20 rounds of version upgrades and regressions in the same batch)

[0177] index Baseline method Method of the present invention change Size of the set of execution test cases (number of cases) 1240 930 -310(25.00%) Incremental regression test set size (number of records) 610 380 -230(37.70%) Failure rate of the top 200 test case priority queue (%) 38.6 52.4 +13.8 Failure reproducibility rate (%) 62.3 71.6 +9.3 Average root cause localization time (hours) 5.4 3.7 -1.7(31.48%) Average number of candidates per failure in the candidate root cause set 4.8 3.1 -1.7(35.42%) Explanation of path generation time (seconds / failure) 615 248 -367(59.67%) Minimum counterfactual complement set size (number of items / round) 46 28 -18(39.13%) Manual intervention time (hours / rotation) 42.5 28.4 -14.1(33.18%) Test evidence package reuse rate (%) 28.7 41.9 +13.2 Verification gate pass rate (%) 63.8 68.5 +4.7 Percentage of rollback actions triggered (%) 9.6 7.2 -2.4

[0178] As shown in Table 1, the method of this invention reduces the "size of the execution test case set" from 1240 to 930 without pursuing absolute coverage, and the "size of the incremental regression test set" from 610 to 380. This indicates that generating an impact domain object set based on the differential seed set and combining it with test case coverage mapping for coverage optimization can more effectively allocate execution resources to affected links, reducing the regression burden unrelated to the differential event list. Correspondingly, the "failure rate of the Top 200 hits in the test case priority queue" increases from 38.6% to 52.4%, indicating that generating test case risk scores based on the failure mode cluster set and the similar environment historical evidence package set can prioritize higher-risk test cases, thus maintaining stronger failure hit capability even with a smaller execution test case set size.

[0179] At the localization and interpretation level, the "average root cause localization time" decreased from 5.4 hours to 3.7 hours, the "average number of candidates in the candidate root cause set" decreased from 4.8 to 3.1, and the "interpretation path generation time" decreased from 615 seconds to 248 seconds. This reflects the combined effect of two key mechanisms: First, environmental drift perception is generated solely from the set of differences in environmental fingerprint fields and uniquely enters the edge cost reparameterization, making the shortest cost path reasoning more inclined to choose the propagation edge consistent with the current environmental drift on the weighted propagable subgraph, shortening ineffective exploration; Second, the set of failed phenomena and the set of candidate root causes form a more compact reachability constraint through the graph hit records of the compatible relational knowledge graph, enabling the minimum cost interpretation path to converge more quickly to the optimal predecessor link in the set of traceable predecessor records, thereby reducing the time cost of manual screening and repeated verification.

[0180] At the verification and self-updating level, the "minimum counterfactual test set size" decreased from 46 to 28 items, and the "failure reproducibility rate" increased from 62.3% to 71.6%. This indicates that extracting key edge sets and key object sets based on the consensus interpretation subgraph, and generating a test cover hit set on the test case coverage mapping before making a minimum decision, can form a stronger counterfactual comparison signal with a smaller test cost. At the same time, the "test evidence package reuse rate" increased from 28.7% to 41.9%, coupled with the "verification gating pass rate" increasing from 63.8% to 68.5% and the "rollback action trigger ratio" decreasing from 9.6% to 7.2%. This shows that the graph update of the verification gating limits the update action closure to adjustment, adjustment, freezing, and rollback, and only applies to edge confidence entries and test case coverage mapping. This helps to continuously accumulate new test evidence package sets while ensuring controllable updates, promotes stable iteration of subsequent similar environment recall and test case risk scoring, thereby reducing manual intervention time and improving strategy consistency.

[0181] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for compatibility testing of domestic IT application software based on big data storage, characterized in that, Includes the following steps: Obtain the target IT innovation test environment information and the application version information to be tested, and generate environment fingerprint and version fingerprint; Based on environmental fingerprints, similar environmental historical evidence packages are recalled in big data storage, and features of failed evidence are extracted to generate a set of failure pattern clusters. Based on the set of failure mode clusters and the set of historical evidence packages of similar environments, a test case risk score is generated, and a test case priority queue is output. Perform version difference analysis on the parent version fingerprint and the current version fingerprint to generate a list of difference events, and map them to the compatibility relationship knowledge graph to generate a set of difference seeds; Based on the differential seed set, an influence domain object set is generated in the compatibility relationship knowledge graph, and an incremental regression test set is generated by combining the use case coverage mapping. The test case priority queue and the incremental regression test set are merged and deduplicated to obtain the set of execution test cases, which are then executed in the target information technology innovation test environment to generate structured execution receipts and compatibility judgment results. Failed use cases are filtered based on compatibility judgment results, and the corresponding structured execution receipts are mapped to the compatibility relationship knowledge graph to generate a set of failure phenomenon hits and a set of candidate root causes. The minimum cost explanation path is output based on the edge cost reparameterization of environmental drift perception. Generate a consensus explanation subgraph based on the minimum cost explanation path and output consensus root cause candidates, generate a minimum counterfactual supplementary test set and execute it to obtain the counterfactual verification conclusion; Based on the counterfactual verification conclusion, the graph update of the compatibility relationship knowledge graph is performed with verification gating. The compatibility judgment result, consensus root cause candidates and minimum cost explanation path are written into the big data storage to form a new set of test evidence packages to drive the self-updating of the test strategy.

2. The method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the environment fingerprint and version fingerprint specifically includes: Collect the target information of the domestic IT innovation test environment and the version information of the application under test, and perform field normalization and consistency processing to obtain a normalized field set. Generate a field hash set for each field value and concatenate them according to the preset field order to generate a fingerprint digest. Encapsulate the fingerprint digest and the field hash set to obtain the environment fingerprint, the current version fingerprint and the parent version fingerprint, which together constitute the version fingerprint. Read the pre-set environment baseline fingerprint corresponding to the target information technology innovation test environment type identifier from the big data storage and align it with the environment fingerprint field to generate an environment fingerprint field difference set and write it into the big data storage to form a fingerprint index record.

3. The method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the failure mode cluster set specifically includes: Based on environmental fingerprints, candidate index records of similar environments are retrieved from big data storage. Historical evidence packages of similar environments are located and recalled. The structured execution receipts and compatibility judgment results in the historical evidence packages of similar environments are filtered, and the failure evidence features corresponding to the failed test cases are extracted and a set of failure evidence features is generated. The set of failed evidence features is deduplicated and aligned, and aggregated according to the consistency of failed evidence features to generate a set of failed mode clusters. For each failed mode cluster, a cluster signature, a subset of typical evidence packets within the cluster, and a set of cluster-related dependent objects are generated.

4. The method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the use case priority queue specifically includes: A use case-evidence association set is constructed based on the failure mode cluster set and the historical evidence package set of similar environments. A use case risk score is generated for each use case, which is synthesized from three components: failure trigger strength, failure severity strength, and coverage gain strength. The use case set is sorted in descending order according to the use case risk score, and a use case priority queue is output.

5. The method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the difference seed set specifically includes: Read the corresponding version field hash sets and their preset field order from the parent version fingerprint and the current version fingerprint, perform field alignment on the parent version fingerprint and the current version fingerprint, and generate a version field alignment table; Based on the version field alignment table, the field difference markers corresponding to software dependencies in the version fingerprint are parsed to generate a set of dependency difference entries; Based on the version field alignment table, the field difference markers corresponding to the interface signature in the version fingerprint are parsed to generate a set of interface difference entries; Based on the version field alignment table, the field difference markers corresponding to the configuration template and product summary in the version fingerprint are parsed to generate a set of configuration difference entries and a set of product difference entries; Perform unified standardization on the dependency differential entry set, interface differential entry set, configuration differential entry set, and artifact differential entry set, and generate a differential event list according to the preset differential event mode; Based on the node type set and edge type set of the compatibility relationship knowledge graph, a differential mapping rule is established to map the affected object identifier in the differential event list to the target node or target edge in the compatibility relationship knowledge graph, generating a differential hit node set and a differential hit edge set, and generating a mapping confidence entry for each mapping result to form a differential mapping result set. Based on the differential mapping result set, seed encapsulation is performed on the differential hit node set and differential hit edge set to generate a differential seed set.

6. The method for compatibility testing of domestic IT application software based on big data storage according to claim 1, characterized in that, The generation of the incremental regression test set specifically includes: Based on the seed object type entries in the differential seed, the seed objects are grouped by type to generate a seed group set. Then, propagation constraint entries are generated for each subgroup that are consistent with the node type set and edge type set of the compatibility relationship knowledge graph, resulting in a propagation constraint set. Based on the propagation constraint set, a graph hit check is performed on the differential seed set to obtain a valid differential seed set, and a seed adjacency index is generated. Based on the seed adjacency index, influence domain propagation is performed in the compatibility relation knowledge graph according to the propagation constraint set, generating a set of candidate objects for influence domain and a set of candidate propagation paths; Calculate the relevance score of the impact domain candidate object set and generate the impact domain score set; Based on the influence domain score set, influence domain pruning is performed on the influence domain candidate object set, outputting the influence domain object set and the influence domain edge set, and simultaneously generating influence domain index records; Read the use case coverage map and generate an impact domain coverage hit set based on the impact domain object set, which includes the use case identifier and a subset of the impact domain object identifiers it covers; Based on the impact domain coverage hit set, coverage optimization is performed on the set of test case identifiers appearing in the test case coverage mapping to generate an incremental regression test set.

7. The method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the structured execution receipt and compatibility determination result specifically includes: Read the test case priority queue and incremental regression test set, align test case identifiers, and generate a set of test case indexes to be merged; Based on the set of test cases to be merged, the test case priority queue and the incremental regression test set are merged and deduplicated to generate the set of test cases to be executed. An execution configuration set is generated based on the set of execution test cases, the target information of the domestic IT innovation test environment, and the version information of the application under test. The set is then written into a big data storage to form an execution configuration index record. In the target IT innovation test environment, the execution test case set is executed one by one according to the execution configuration set to obtain a normalized execution observation set; Structured execution receipts are generated based on the normalized execution observation set and written into big data storage to form execution receipt index records; The judgment level is determined based on the structured execution receipt, and a compatibility judgment result is generated.

8. The compatibility testing method for domestic IT application software based on big data storage according to claim 1, characterized in that, The generation of the minimum cost interpretation path specifically includes: Read the compatibility assessment results, filter the failed test cases according to the assessment level items, and establish a set of failed test case identifiers and their associated structured execution receipt index records to locate the receipts. Based on the receipt location set, read the structured execution receipts corresponding to the failed test cases, generate a set of failure phenomenon descriptions, and encapsulate them into a failure phenomenon hit set; Map the set of failed phenomenon hits to the knowledge graph of compatibility relationships to generate a set of phenomenon hit objects, and generate a graph hit record of the set of failed phenomenon hits based on the set of phenomenon hit objects and its adjacent edge type set. Generate a set of candidate root causes based on the graph hit records; Read the set of differences in environmental fingerprint fields and generate environmental drift perception; Based on the compatibility relationship knowledge graph and environment drift perception, the execution edge cost is reparameterized to generate a set of reparameterized edge costs; Based on the set of failed phenomena, the set of candidate root causes, and the set of reparameterized edge costs, the shortest cost path reasoning is performed in the compatibility relation knowledge graph to generate the minimum cost explanation path.

9. The method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the counterfactual verification conclusion specifically includes: Read the minimum cost explanation path, extract the path object sequence and path edge sequence, merge and remove duplicates to obtain the explanation object set and explanation edge set, extract the corresponding objects and relationships from the compatibility relationship knowledge graph, and generate a consensus explanation subgraph; Candidate consensus root causes are determined based on the consensus interpretation subgraph; A set of key edges is generated based on the consensus interpretation subgraph and consensus root cause candidates, and the two end objects of each interpretation edge in the set of key edges are merged and deduplicated to generate a set of key objects. Read the use case coverage map and generate a supplementary test coverage hit set based on the key object set; execute the minimumity decision to generate a counterfactual minimum supplementary test set. Based on the minimum counterfactual test set, supplementary tests are performed in the target IT innovation test environment to generate corresponding structured execution receipts and compatibility judgment results. These results are then compared with the original failed test cases to generate a counterfactual comparison result set. Counterfactual verification conclusions are generated based on the set of counterfactual comparison results.

10. A method for compatibility testing of domestically developed application software based on big data storage according to claim 1, characterized in that, The generation of the self-updating test strategy specifically includes: Read the counterfactual verification conclusion and its set of verification hit objects, and generate the verification gating judgment result based on the verification conclusion item in the counterfactual verification conclusion; Under the constraint of verifying the gating decision results, the objects to be updated are determined based on the consensus explanation subgraph, consensus root cause candidates and minimum cost explanation path, and the set of edge confidence update objects and the set of cover mapping update objects are generated. Based on the verification gating decision results, graph update action sets are generated for the edge confidence update object set and the coverage mapping update object set, respectively. Based on the graph update action set, edge confidence entries are updated on the edge confidence update object set, and test case coverage map updates are performed on the coverage map update object set to generate a graph update result set; The compatibility determination results, consensus root cause candidates, minimum cost explanation paths, counterfactual verification conclusions, and graph update results are encapsulated and written into big data storage to generate a new set of test evidence packages, thereby enabling the test strategy to update itself.

Citation Information

Cited By

  • SSD test method and system, electronic equipment and medium

    CN122067587A

  • A verifiable execution and regression acceptance method for data governance rule version evolution

    CN122197092A

  • A verifiable execution and regression acceptance method for data governance rule version evolution

    CN122197092B