Evidence graph-based ontology incremental evolution method and system and storage medium

By adopting an ontology incremental evolution method based on evidence graphs, the problem of lack of fine-grained incremental expression and evidence governance in enterprise ontology updates is solved, thereby achieving credibility, interpretability and rollback of ontology changes and reducing the risks in the production environment.

CN123137709APending Publication Date: 2026-11-20XIDE QIUSHUO (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing enterprise ontology update methods lack fine-grained incremental change expression, evidence governance mechanism, conflict detection, impact scope analysis, sandbox verification, and rollback mechanism, resulting in query failures, incorrect calls to intelligent proxy tools, invalid permission judgments, and abnormal business processes.

Method used

An ontology incremental evolution method based on evidence graphs is adopted. By receiving candidate ontology change requests, an evidence graph is constructed, confidence, conflict degree and impact scope are calculated, ontology change patches are generated, and verification and rollback governance are carried out in a sandbox environment to ensure the credibility, interpretability and rollbackability of ontology updates.

Benefits of technology

It improves the credibility, explainability, auditability, and rollbackability of the enterprise ontology's continuous evolution process, and reduces the risk of ontology changes disrupting production queries, business processes, and intelligent agent tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137709A_ABST
    Figure CN123137709A_ABST
Patent Text Reader

Abstract

The application provides an ontology incremental evolution method and system based on an evidence graph, and a storage medium. The method comprises the following steps: obtaining evidence related to a candidate ontology change request and a current stable ontology version; constructing an ontology change evidence graph according to the evidence and the stable ontology version; calculating the confidence, conflict degree and influence range of the candidate ontology change request based on the ontology change evidence graph; generating an ontology change patch according to the candidate ontology change request, the current stable ontology version, the ontology change evidence graph, the confidence, the conflict degree and the influence range; generating a rollback plan and a verification plan; applying the ontology change patch to generate a candidate ontology version, and performing sandbox verification on the ontology change patch according to the verification plan; publishing the ontology change patch that passes the verification; and monitoring the running signal of a new stable ontology version, executing the rollback plan when the rollback condition is met, taking the ontology version that passes the rollback verification as the new stable ontology version, and realizing the ontology incremental evolution based on the evidence graph.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of artificial intelligence, enterprise data management and business process automation, and in particular to an ontology incremental evolution method, system and storage medium based on evidence graphs. Background Technology

[0002] As enterprises become increasingly digital, they typically deploy customer relationship management (CRM) systems, enterprise resource planning (ERP) systems, financial systems, billing systems, customer service systems, data warehouses, business intelligence (BI) systems, workflow systems, approval systems, access control (ACT) systems, API gateways, and various internal application systems. To enable intelligent agents, data analytics systems, and business applications to accurately understand enterprise semantics, enterprises usually need to build enterprise ontology, knowledge graphs, data directories, or a unified semantic layer. These semantic assets are used to describe business objects, field meanings, object relationships, business rules, access control rules, and process constraints within the enterprise.

[0003] In recent years, large language models and intelligent agent systems have been applied to scenarios such as enterprise question answering, business analysis, process automation, and decision support. To support the operation of these systems, enterprise ontology is no longer just a static knowledge base, but has gradually become the runtime semantic foundation for intelligent agents to perform queries, inferences, tool selection, permission checks, and business action execution. However, enterprise business is constantly changing. New business processes, field renaming, permission rule adjustments, API modifications, workflow changes, user error correction, and task failures all require continuous updates to the enterprise ontology. If ontology updates lack a reliable incremental governance mechanism, it may lead to existing query failures, incorrect intelligent agent tool calls, invalid permission checks, or abnormal business processes.

[0004] Existing methods for updating enterprise ontology or knowledge graphs have at least the following problems.

[0005] First, existing solutions often directly modify the entire ontology or regenerate the ontology, lacking fine-grained incremental change expressions. Full-coverage updates make it difficult to clearly define which ontology elements are involved in a change, what the differences are before and after the change, what evidence supports it, whether it depends on other changes, and how to roll back.

[0006] Second, existing solutions lack an evidence governance mechanism for ontology changes. Ontology changes generated by large language models, rule systems, or manual configurations are often difficult to accurately record their source evidence. The lack of supporting evidence makes ontology changes unexplainable, unauditable, and difficult to assess their credibility.

[0007] Third, existing solutions struggle to automatically identify conflicts between ontology changes and existing ontologies. For example, new attributes may have semantic overlap with existing attributes, new relationships may conflict with existing relationship paths, new constraints may invalidate existing valid data, and new permission rules may conflict with existing access control policies.

[0008] Fourth, existing solutions lack impact scope analysis. A change in an object, field, relationship, or constraint in the ontology may affect multiple downstream queries, reports, API mappings, tool schemas, workflows, and intelligent agent tasks. Failure to identify the scope of impact before release could lead to a cascading failure in the production environment.

[0009] Fifth, existing solutions lack sandbox replay verification for historical tasks and intelligent agent calls. Traditional ontology updates typically only check whether the ontology structure is storable and parseable, but lack replay of historical queries, historical API calls, historical workflow tasks, and historical intelligent agent tasks, thus failing to detect the impact of ontology changes on real business tasks in advance.

[0010] Sixth, the existing solution lacks a rollback mechanism. Once an anomaly occurs after a change to the system is released, it is difficult for the system to locate the problematic patch, determine the affected version, select the rollback order, and restore to a stable version.

[0011] Therefore, a technical solution is needed that can incrementally represent ontology changes, bind evidence, detect conflicts, perform sandbox verification, and rollback governance. Summary of the Invention

[0012] In view of the above problems, the present invention is proposed to provide an evidence graph-based ontology incremental evolution method, system, and storage medium that overcomes or at least partially overcomes the above problems.

[0013] This invention provides an ontology incremental evolution method based on evidence graphs, the method comprising: Receive candidate ontology change requests; Based on the initial evidence identifier, target ontology element, and proposed change content in the candidate ontology change request, obtain the evidence related to the candidate ontology change request and the current stable ontology version; Construct an ontology change evidence graph based on the evidence related to candidate ontology change requests and the current stable ontology version; The confidence level, conflict level, and scope of impact of candidate ontology change requests are calculated based on the ontology change evidence graph. Generate ontology change patches based on candidate ontology change requests, the current stable ontology version, ontology change evidence graph, confidence level, conflict level, and scope of impact. Generate rollback plans and verification plans based on the change type and scope of impact of the ontology change patches. In the sandbox environment, apply ontology change patches to the current stable ontology version to generate candidate ontology versions, and perform ontology consistency verification, permission verification, constraint verification, and compatibility verification on the candidate ontology versions according to the verification plan. When the confidence level of the ontology change patch is higher than the preset first threshold, the conflict level is lower than the preset second threshold, the impact range is smaller than the preset third threshold, and the sandbox verification is passed, the ontology change patch is released to generate a new stable ontology version. Monitor the running signals during the operation of the new stable ontology version. When the running signals meet the preset rollback conditions, locate the ontology change patch that triggered the anomaly and execute the rollback plan for the ontology change patch. Perform rollback verification in the sandbox environment to use the ontology version that passes the rollback verification as the new stable ontology version.

[0014] Another aspect of the present invention provides an ontology incremental evolution system based on evidence graphs, the system comprising functional modules for implementing the ontology incremental evolution method based on evidence graphs as described above, including: The interaction module is used to receive candidate ontology change requests; The acquisition module is used to acquire evidence related to the candidate ontology change request and the current stable ontology version based on the initial evidence identifier, target ontology element and proposed change content in the candidate ontology change request; The evidence graph construction module is used to construct an ontology change evidence graph based on evidence related to candidate ontology change requests and the current stable ontology version. The scoring and analysis module is used to calculate the confidence level, conflict level, and impact scope of candidate ontology change requests based on the ontology change evidence graph. The patch generation module is used to generate ontology change patches based on candidate ontology change requests, the current stable ontology version, ontology change evidence graph, confidence level, conflict level, and scope of impact. It also generates rollback plans and verification plans based on the change type and scope of impact of the ontology change patches. The sandbox verification module is used to apply ontology change patches to the current stable ontology version in a sandbox environment to generate candidate ontology versions, and to perform ontology consistency verification, permission verification, constraint verification and compatibility verification on the candidate ontology versions according to the verification plan. The release decision module is used to release an ontology change patch to generate a new stable ontology version when the confidence level of the ontology change patch is higher than a preset first threshold, the conflict level is lower than a preset second threshold, the impact range is smaller than a preset third threshold, and the sandbox verification is passed. The rollback evolution module is used to monitor the running signals during the operation of a new stable ontology version. When the running signals meet the preset rollback conditions, it locates the ontology change patch that triggered the anomaly and executes the rollback plan for the ontology change patch. The sandbox verification module is also used to perform rollback verification in the sandbox environment, so that the ontology version that passes the rollback verification can be used as the new stable ontology version.

[0015] In another aspect, the present invention also provides a computer storage medium storing a computer program that, when executed, implements the ontology incremental evolution method based on evidence graphs as described above.

[0016] This invention provides an ontology incremental evolution method, system, and storage medium based on evidence graphs. It represents candidate ontology change requests as ontology change patches with evidence, confidence levels, conflict information, impact scope, verification plans, and rollback paths. The evidence graph is used to uniformly model the source, support, opposition, impact, verification plan, and rollback verification of these ontology change patches. Subsequently, the ontology change patches are applied in a sandbox environment, and the newly generated candidate ontology versions undergo ontology consistency verification, permission verification, constraint verification, and compatibility verification according to the verification plan. Finally, the invention automatically releases the required ontology change patches based on the release gate decision, and performs operational monitoring and rollback evolution after release. This invention can improve the credibility, interpretability, auditability, verifiability, and rollbackability of the enterprise ontology continuous evolution process, and reduce the risk of ontology changes disrupting production queries, business processes, access control, and intelligent agent tasks.

[0017] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. In the drawings: Figure 1 This is a flowchart of an ontology incremental evolution method based on evidence graphs according to an embodiment of the present invention; Figure 2 This is a structural block diagram of an ontology incremental evolution system based on evidence graphs according to an embodiment of the present invention. Detailed Implementation

[0019] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0020] It is understood that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art and should not be interpreted in an idealized or overly formal sense unless specifically defined.

[0021] Figure 1 A flowchart illustrating an ontology incremental evolution method based on evidence graphs according to an embodiment of the present invention is shown. Figure 1 As shown, the ontology incremental evolution method based on evidence graphs proposed in this invention can be applied to enterprise ontology management systems, semantic layer management systems, knowledge graph governance systems, or intelligent agent runtime semantic governance systems, and includes the following steps: S1. Receive candidate ontology change requests.

[0022] In this embodiment, the enterprise ontology refers to a structured semantic model used to describe enterprise business objects, object attributes, object relationships, business constraints, permission rules, approval rules, audit rules, rollback rules, and intelligent agent callable interfaces. In this invention, the enterprise ontology can be a released stable version or a candidate ontology version temporarily generated in a sandbox environment. Candidate ontology change requests can be generated by a large language model extraction module, a rule engine, data governance personnel, business personnel, user error correction records, a log analysis module, a task failure analysis module, or an external ontology construction system. A candidate ontology change request includes at least one of the following: change intent, target ontology element, proposed change content, change source, triggering reason, and initial evidence identifier. The change intent includes at least one of the following: adding, modifying, merging, splitting, discarding, deleting, mapping, constraint enhancement, permission adjustment, and rollback correction. Upon receiving a candidate ontology change request, a change request identifier is assigned to the candidate ontology change request, and the request generation time, triggering subject, source system, applicable ontology version, and initial state are recorded. Ontology modification suggestions from different systems or different triggering mechanisms are uniformly transformed into manageable candidate ontology change requests, providing a unified entry point for subsequent evidence graph construction and incremental patch generation.

[0023] S2. Obtain evidence related to the candidate ontology change request and the current stable ontology version based on the initial evidence identifier, target ontology element and proposed change content in the candidate ontology change request.

[0024] In this embodiment, ontology elements refer to the basic constituent units in an enterprise ontology, including at least one of object type, attribute type, relationship type, action type, constraint rule, permission rule, approval rule, audit rule, rollback rule, mapping relationship, and interface definition.

[0025] S3. Construct an ontology change evidence graph based on the evidence related to the candidate ontology change request and the current stable ontology version. The evidence graph is a graph structure used to connect incremental ontology changes, target ontology elements, source evidence, conflict evidence, verification tasks, and rollback records. Source evidence refers to enterprise data, documents, logs, dialogues, task records, or manual review records that support the candidate ontology change request. Source evidence may include at least one of the following: database fields, field value samples, data lineage, document fragments, business rule text, user dialogues, user corrections, API call logs, workflow logs, approval logs, permission policies, historical queries, historical tasks, historical API calls, historical intelligent agent tasks, and manual review records.

[0026] S4. Calculate the confidence level, conflict level, and impact scope of candidate ontology change requests based on the ontology change evidence graph.

[0027] S5. Generate ontology change patches based on candidate ontology change requests, the current stable ontology version, ontology change evidence graph, confidence level, conflict level, and scope of impact. Generate rollback plans and verification plans based on the change type and scope of impact of the ontology change patches.

[0028] S6. Apply ontology change patches to the current stable ontology version in the sandbox environment to generate candidate ontology versions, and perform ontology consistency verification, permission verification, constraint verification, and compatibility verification on the candidate ontology versions according to the verification plan.

[0029] Sandbox verification refers to the process of replicating the current stable ontology version, applying the Ontology Delta to be verified, generating a candidate ontology version, and performing consistency verification, permission verification, constraint verification, compatibility verification, historical task replay, and rollback path check on the candidate ontology version without affecting the production environment ontology and production system.

[0030] Furthermore, after completing ontology consistency verification, permission verification, constraint verification, and compatibility verification, the process also includes a step of replaying historical tasks on the candidate ontology version. Historical task replay refers to re-executing historical queries, historical report tasks, historical API calls, historical workflow tasks, or historical intelligent agent tasks on the candidate ontology version after applying Ontology Delta, and comparing the replay results with historical baseline results to determine whether the incremental change has disrupted existing business logic or system behavior.

[0031] S7. When the confidence level of the ontology change patch is higher than the preset first threshold, the conflict level is lower than the preset second threshold, the impact range is smaller than the preset third threshold, and the sandbox verification is passed, the ontology change patch is released to generate a new stable ontology version.

[0032] During the release gate decision phase, the system executes the release gate decision based on the confidence level, conflict level, impact scope, verification results, permission risk, constraint risk, and / or manual review status of the ontology change patch. Specifically, when the confidence level of the ontology change patch (Ontology Delta) is higher than the first threshold, the conflict level is lower than the second threshold, the impact scope is less than the third threshold, and the sandbox verification is passed, the system automatically releases the Ontology Delta.

[0033] Furthermore, during the release gate decision-making phase, the method also includes the following steps: For ontology change patches involving sensitive permissions, high-risk actions, core objects, key constraints, cross-system mappings, or impacts greater than or equal to a third threshold, they are submitted to a manual review process. Ontology change patches with conflicts or failed sandbox verification are rejected for release. For ontology change patches with insufficient evidence, they are downgraded to a candidate status to await supplementary evidence or to enter the manual review process. Specifically, when an Ontology Delta involves sensitive permissions, high-risk actions, core objects, key constraints, cross-system mappings, or impacts greater than a third threshold, the system submits the Ontology Delta for manual review. When the evidence for an Ontology Delta is insufficient but no obvious conflict is found, the system downgrades the Ontology Delta to a candidate status and continues to await supplementary evidence. When an Ontology Delta experiences a serious conflict, sandbox application failure, historical task replay failure, or permission verification failure, the system rejects the Ontology Delta. When a manual reviewer requests modification of an Ontology Delta, the system generates a new candidate change request based on the review comments and returns to the evidence graph construction phase. Finally, the system writes the results of release, rejection, downgrade, submission for review, and manual review into the evidence diagram and audit log. This invention automates the governance of ontology changes through a configurable release gate, enabling low-risk changes to be released quickly, high-risk changes to undergo manual review, and failed changes to be blocked.

[0034] S8. Monitor the running signals during the operation of the new stable ontology version. When the running signals meet the preset rollback conditions, locate the ontology change patch that triggered the abnormality and execute the rollback plan of the ontology change patch.

[0035] In this embodiment, after an Ontology Delta is released, the system generates a new stable ontology version and records the version number, release time, release entity, Delta identifier, scope of impact, and rollback plan. After release, the system monitors operational signals related to the scope of impact of the Ontology Delta. These operational signals include at least one of the following: query failure, report anomaly, tool call failure, permission verification failure, API call anomaly, workflow execution anomaly, intelligent agent task failure, user error correction, and manual alert. When an operational signal meets preset rollback conditions, the system locates the Ontology Delta that triggered the anomaly, determines the Delta set and rollback order to be rolled back based on the release record, version dependencies, and rollback chain in the evidence graph, and executes the rollback plan. The rollback plan includes at least one of the following: revoking newly added elements, restoring the state before modification, restoring relationship paths, restoring constraint rules, restoring permission policies, restoring reference mappings, and restoring compatibility layers.

[0036] S9. Perform rollback verification in the sandbox environment to use the ontology version that passes the rollback verification as the new stable ontology version.

[0037] In this embodiment, after executing the rollback plan, the system performs rollback verification in a sandbox environment or production environment. The rollback verification includes at least one of ontology consistency checks, historical task replays, permission checks, and affected query checks. When the rollback verification passes, the system marks the rolled-back ontology version as the new stable version. When the rollback verification fails, the system submits it for manual processing and retains the reason for the rollback failure, affected tasks, and suggested repair paths. The system writes the rollback event into the evidence graph, allowing subsequent similar candidate changes to adjust their confidence and risk scores by referring to historical rollback results. This invention enables traceable and verifiable patch-level rollbacks when ontology changes cause anomalies, rather than only providing a coarse-grained full version recovery.

[0038] The ontology incremental evolution method based on evidence graphs provided by this invention represents candidate ontology change requests as ontology change patches with evidence, confidence levels, conflict information, impact scope, verification plans, and rollback paths. The method uses evidence graphs to uniformly model the source, support, opposition, impact, verification plans, and rollback verification of these ontology change patches. Subsequently, the ontology change patches are applied in a sandbox environment, and the newly generated candidate ontology versions undergo ontology consistency verification, permission verification, constraint verification, and compatibility verification according to the verification plan. Finally, the method automatically releases ontology change patches that meet the requirements based on the release gate decision, and performs operational monitoring and rollback evolution after release. This invention can improve the credibility, interpretability, auditability, verifiability, and rollbackability of the enterprise ontology continuous evolution process, and reduce the risk of ontology changes disrupting production queries, business processes, access control, and intelligent agent tasks.

[0039] In this embodiment of the invention, step S2, which involves obtaining evidence related to the candidate ontology change request and the current stable ontology version based on the initial evidence identifier, target ontology element, and proposed change content in the candidate ontology change request, specifically includes the following steps (not shown in the accompanying drawings): S21. Locate the current stable ontology version based on the target ontology element and the content to be changed, and extract relevant ontology subgraphs from the current stable ontology version based on the target ontology element. The relevant ontology subgraphs include the target ontology element, upstream dependent elements, downstream dependent elements, and constraints, permission rules, and / or action rules related to the candidate ontology change request.

[0040] S22. Obtain source evidence related to the candidate ontology change request based on the initial evidence identifier in the candidate ontology change request. Specifically, the source evidence includes at least one of the following: database fields, field value samples, data lineage, document fragments, business rule text, user dialogues, user corrections, API call logs, workflow logs, approval logs, permission policies, historical queries, historical tasks, historical API calls, historical intelligent agent tasks, and manual review records.

[0041] S23. Identify potential conflict evidence for candidate ontology change requests. Further, identifying potential conflict evidence for candidate ontology change requests includes: identifying field definitions semantically inconsistent with the candidate ontology change request, user corrections contrary to the intent of the candidate ontology change request, document paragraphs conflicting with the intent of the candidate ontology change request, historical task results conflicting with the candidate ontology change request, and permission rules incompatible with the candidate ontology change request, thus forming potential conflict evidence.

[0042] S24. Generate an evidence identifier, evidence type, source system, timestamp, trust level, access permission identifier, and traceable location information for each source evidence and potentially conflicting evidence related to the candidate ontology change request.

[0043] Before generating an incremental patch for the ontology, this invention can clearly define the evidence basis for the current stable version and candidate changes, avoiding the direct generation of changes without considering the existing ontology and production semantic environment.

[0044] In this embodiment of the invention, step S3, which involves constructing an ontology change evidence graph based on evidence related to the candidate ontology change request and the current stable ontology version, specifically includes the following steps not shown in the accompanying drawings: S31. Take the candidate ontology change requests as change request nodes, the ontology elements to be added or modified as candidate ontology element nodes, and the relevant ontology elements in the current stable ontology version as published ontology element nodes to construct an initial ontology change evidence graph.

[0045] S32. Write the source evidence, potential conflict evidence, historical tasks, verification tasks, and rollback records related to the candidate ontology change request into the initial ontology change evidence graph as evidence nodes, conflict nodes, task nodes, verification nodes, and rollback nodes, respectively.

[0046] S33. Establish supporting edges between candidate ontology element nodes and source evidence nodes, and establish conflict edges between candidate ontology element nodes and conflict evidence nodes; establish dependency edges, substitution edges, merging edges, splitting edges, or impact edges between candidate ontology element nodes and published ontology element nodes according to the change intention and / or the proposed change content; establish impact edges between candidate ontology element nodes and historical task nodes to indicate that the candidate change may affect the corresponding historical query, historical report task, historical API call, historical workflow task, or historical intelligent agent task; establish verification edges, publishing edges, and rollback edges between change request nodes and verification result nodes, publication record nodes, and rollback record nodes, respectively, to obtain the final ontology change evidence graph. Wherein, a supporting edge indicates that a certain piece of evidence supports the candidate ontology element or the candidate change, and an opposing edge or conflict edge indicates that a certain piece of evidence is inconsistent with the candidate change or may cause semantic conflict. In this embodiment of the invention, the edges in the ontology change evidence graph include at least one of supporting edges, opposing edges, source edges, co-occurrence edges, dependency edges, conflict edges, substitution edges, impact edges, verification edges, and rollback edges.

[0047] S34. Store the final ontology change evidence graph as a queryable graph structure. The system stores the evidence graph as a queryable graph structure, enabling the system to trace and query based on change requests, target ontology elements, evidence sources, historical tasks, or rollback events. In this embodiment of the invention, the ontology change evidence graph includes at least one of the following in addition to source evidence nodes: conflict evidence nodes, verification result nodes, release record nodes, and rollback record nodes. The graph structure uniformly expresses the relationships between ontology changes, evidence, conflicts, impacts, verification, and rollbacks, providing an interpretable, auditable, and computable governance foundation for incremental ontology changes.

[0048] In this embodiment of the invention, step S4, which calculates the confidence level, conflict level, and impact scope of candidate ontology change requests based on the ontology change evidence graph, specifically includes the following steps (not shown in the accompanying drawings): S41. Extract confidence calculation factors based on the ontology change evidence graph, and calculate the confidence of candidate ontology change requests based on the confidence calculation factors. The confidence calculation factors include at least one of the following: the number of supporting evidences corresponding to the supporting edge, the type of evidence, the credibility of the evidence source, the freshness of the evidence time, the consistency between evidences, the status of manual confirmation, the degree of matching with the current stable ontology version, and the historical verification results.

[0049] S42. Extract conflict degree calculation factors based on the ontology change evidence graph, and calculate the conflict degree of candidate ontology change requests according to the conflict degree calculation factors. The conflict degree calculation factors include at least one of the following: name conflict, type conflict, semantic conflict, relation path conflict, constraint expression conflict, action precondition / precondition conflict, permission policy conflict, version dependency conflict, and conflict evidence strength between candidate ontology element nodes and published ontology element nodes.

[0050] S43. Calculate the scope of influence of the candidate ontology change request based on the ontology change evidence graph. The scope of influence includes at least one of the following: affected ontology elements, affected query templates, affected report metrics, affected API mappings, affected tool interfaces, affected SDK types, affected UI forms, affected workflow nodes, affected permission policies, and affected smart agent tasks.

[0051] In this embodiment of the invention, the system can quantify the credibility, conflict risk, and downstream impact of ontology changes before generating and releasing Ontology Delta patches, thereby preventing changes with low confidence, high conflict, or high impact from directly entering the production environment.

[0052] In this embodiment of the invention, after calculating the confidence level, conflict level, and impact scope of candidate ontology change requests, the system generates an ontology change patch, Ontology Delta, based on the candidate ontology change request, the current stable ontology version, the ontology change evidence graph, the confidence level, conflict level, and impact scope. After generating the Ontology Delta, the Ontology Delta is written to the patch queue to be verified, and it is associated with the change request node, evidence node, and target ontology element node in the evidence graph.

[0053] Specifically, Ontology Delta includes at least one of the following: Delta identifier, change type, target ontology element, previous version, proposed change content, evidence list, confidence level, conflict level, scope of impact, version dependency, verification plan, release strategy, audit requirements, rollback plan, and audit fields. The change type includes at least one of the following: adding an object type, adding an attribute type, adding a relationship type, adding an action type, adding a constraint rule, adding a permission rule, modifying an object definition, modifying an attribute definition, modifying a relationship definition, modifying an action definition, modifying a constraint rule, modifying a permission rule, merging ontology elements, splitting ontology elements, deprecating ontology elements, deleting ontology elements, and restoring ontology elements.

[0054] Furthermore, for changes to newly added classes, the system records at least one of the following: definition of the new element, parent class or belonging object, attribute type, relation endpoint, constraint expression, permission conditions, and source evidence. For changes to modified classes, the system records the state before modification, the state after modification, the difference fields, compatibility strategy, and reverse modification rules. For changes to merged classes, the system records the merged element, retained element, alias mapping, relation migration rules, reference update rules, and reverse splitting rules. For changes to splitted classes, the system records the original element, the element after splitting, splitting conditions, historical data mapping rules, reference update rules, and reverse merging rules. For changes to deleted or obsolete classes, the system records the replacement element, reference migration rules, retention period, compatibility layer strategy, and recovery rules.

[0055] Through the above steps, this invention encapsulates ontology changes into structured, auditable, verifiable, and rollback-capable incremental patches, enabling subsequent verification, release, and rollback to be performed around the patches rather than the full ontology.

[0056] In this embodiment of the invention, step S5, which generates a rollback plan and a verification plan based on the change type and impact scope of the ontology change patch, specifically includes the following steps (not shown in the accompanying drawings): S51. Generate a change risk score based on confidence level, degree of conflict, and scope of impact.

[0057] S52. Slice the historical tasks within the scope of influence according to the scope of influence to generate a set of replay tasks related to the candidate ontology change request. The set of replay tasks preferentially includes historical queries, historical report tasks, historical API calls, historical workflow tasks, and historical intelligent agent tasks directly related to the target ontology elements.

[0058] S53. Determine the number and coverage of replay tasks to be selected from the replay task set based on the change risk score. The higher the risk score, the higher the replay task coverage. Generate a verification plan based on the number and coverage of replay tasks. The verification plan includes at least one of the following: consistency verification, constraint verification, permission verification, referential integrity verification, relationship path verification, tool interface compatibility verification, SDK type compatibility verification, UI form compatibility verification, historical task replay, and data sample verification.

[0059] S54. Generate a rollback plan based on the change type of the current ontology change patch. The rollback plan includes reverse operation, restored version, affected references, rollback order, rollback verification task, and post-rollback audit record. S55. Analyze the version dependencies between the current ontology change patch and other unreleased or released ontology change patches to form a rollback chain, and record the dependencies in the rollback plan. Specifically, when one ontology change patch depends on another ontology change patch, the system records the dependency in the rollback plan to avoid ontology version inconsistencies caused by rolling back individually.

[0060] This invention generates verification and rollback paths before the change patch is released, avoiding the discovery that verification or recovery is impossible only after the change has been released.

[0061] In this embodiment of the invention, after generating rollback and verification plans based on the change type and impact scope of the ontology change patch, the system creates a sandbox environment and loads the current stable ontology version into this sandbox environment. The ontology change patch, Ontology Delta, is applied in the sandbox environment to generate candidate ontology versions. The system records all change operations when applying Ontology Delta, including adding nodes, modifying attributes, deleting relationships, updating constraints, adjusting permission rules, and migrating references. Further, the system checks whether the version dependencies of Ontology Delta are satisfied. If the version dependencies are not satisfied, the sandbox application is aborted, and the ontology change patch is marked as a dependency failure. The system checks whether Ontology Delta can generate a resolvable and queryable candidate ontology version. If a candidate ontology version cannot be generated, it is marked as an application failure. Specifically, for multiple Ontology Deltas to be verified, the system can combine and apply them in the sandbox environment according to version dependencies, risk scores, or a manually specified order to verify the mutual influence between multiple patches. This invention can generate candidate ontology versions without affecting the production environment, providing an isolated operating environment for subsequent verification and historical task replay.

[0062] Specifically, sandbox validation includes ontology consistency validation, constraint validation, permission validation, and compatibility validation. Consistency validation includes at least one of the following: name uniqueness check, type validity check, relation endpoint validity check, inheritance relationship acyclicity check, referential integrity check, and version dependency check. Constraint validation includes at least one of the following: uniqueness constraint validation, non-null constraint validation, enumeration value constraint validation, cardinality constraint validation, state machine constraint validation, time order constraint validation, amount range constraint validation, action precondition validation, and action post-effect validation. Permission validation includes at least one of the following: role permission check, data permission check, action permission check, approval rule check, sensitive field access check, permission inheritance check, and permission conflict check. Compatibility validation includes at least one of the following: query template compatibility validation, API mapping compatibility validation, tool schema compatibility validation, SDK type compatibility validation, and UI form compatibility validation.

[0063] The system performs historical task replay on candidate ontology versions. These historical tasks include at least one of the following: historical queries, historical report tasks, historical API calls, historical workflow tasks, and historical intelligent agent tasks. The system compares the replay results with historical baseline results. The comparison includes whether the execution was successful, whether the returned fields are consistent, whether the relationship path is consistent, whether the permission judgment is consistent, whether the tool selection is consistent, whether the parameter validation is consistent, whether the state changes are consistent, and whether the output results are within the allowable difference range. When the replay results are better than the historical baseline results or fix the original failed task, the system records the corresponding verification item as passed or improved. When the replay results show query failure, relationship path breakage, permission bypass, wrong permission denial, constraint conflict, incorrect tool selection, incorrect parameter generation, or business process abnormality, the system records the corresponding verification item as failed and writes the reason for the failure into the evidence graph.

[0064] Finally, the system generates a verification report. The verification report includes at least one of the following: verification items, passed items, failed items, affected tasks, difference descriptions, risk scores, release recommendations, and rollback recommendations. This invention not only verifies the legality of the ontology structure but also verifies the impact of ontology changes on real historical business tasks and intelligent agent operational behavior, thereby reducing the risk of ontology change releases.

[0065] The following example illustrates the process of verifying incremental changes to the payment status attributes of newly added customers.

[0066] The enterprise's existing ontology contains a Customer object and a payment_status attribute, which only includes two enumeration values: paid and unpaid. The system discovered from financial statements, aging analysis documents, and user feedback that the enterprise also distinguishes between overdue and partially paid statuses.

[0067] The system generates a candidate ontology change request, requesting modification of the enumerated value of Customer.payment_status (customer payment status). The system obtains source evidence, including fields from aging analysis reports, fragments of financial policy documents, and user error correction records, and constructs an ontology change evidence graph.

[0068] Based on the evidence graph, the system calculates that the candidate change has a high confidence level and a low conflict level, but its impact includes customer payment inquiries, accounts receivable reports, and payment risk analysis tasks. The system then generates an Ontology Delta (incremental change) and applies it in the sandbox environment.

[0069] The system replays historical customer payment queries and payment risk analysis tasks. The replay results show that the original queries are still executable, and the newly added enumeration values ​​enable the payment risk analysis task to more accurately distinguish overdue customers. The system records the verification result as passed and submits the Delta (incremental change) for manual review. After approval, the system releases a new ontology version.

[0070] The following example illustrates the process by which modification of the relational path causes historical queries to fail and trigger rejection.

[0071] The existing relationship path within the enterprise entity is Customer → Order → Invoice. The candidate change request proposes to directly associate Invoice with Customer and abandon the Order → Invoice relationship.

[0072] The system found that Customer and Invoice co-occurred in some report queries, thus forming supporting evidence; however, it found from database foreign keys and historical API (Application Programming Interface) calls that invoices were still generated through orders, thus forming conflicting evidence.

[0073] After constructing the evidence graph, the system calculated a high degree of conflict, affecting multiple order reports and invoice queries. The system generated an Ontology Delta and replayed historical queries in a sandbox environment. The replay results showed that multiple queries dependent on the Order → Invoice path failed.

[0074] The system rejects the Ontology Delta (incremental change) based on the release gate and writes the failure replay result into the evidence graph. The system can then generate new alternatives based on this failure result, such as retaining the original relationship path while adding a new Customer → Invoice derived relationship, instead of discarding the original relationship.

[0075] The following example illustrates the process of adding new refund approval constraints and submitting them for manual review.

[0076] The enterprise ontology contains the "ApproveRefund" action type. The system detects from approval flow logs and financial policy documents that a second-level approval is required when the refund amount exceeds a certain threshold. The system generates a candidate ontology change request to add approval constraints to the "ApproveRefund" action.

[0077] The system constructs an evidence graph, using approval workflow logs, policy documents, and historical refund tasks as evidence nodes. The system calculates the change to have a high confidence level, but because the change involves high-risk actions and sensitive permissions, the system marks it as requiring manual review.

[0078] The system generates an Ontology Delta (incremental change) and replays historical refund approval tasks in the sandbox. The replay results show that small refunds are unaffected, while large refunds enter a secondary approval path. The system submits the verification report for manual review. After the reviewer confirms the threshold, the system publishes the Delta (incremental change) and records the rollback plan.

[0079] The following example illustrates the process of triggering a patch-level rollback due to abnormal permissions after deployment.

[0080] After the system released a certain Ontology Delta (incremental change), multiple intelligent agent tasks in the production environment experienced permission verification failures. Based on the correspondence between the abnormal tasks and their impact scope, the system located the most recently released permission rule change Delta (incremental change).

[0081] The system reads the rollback information for this Delta (incremental change) and finds that its reverse operation is to restore the original permission policy, and it needs to synchronously restore the permission references of the two affected tool schemas (schema definitions). Based on the rollback chain, the system determines that only this permission rule Delta (incremental change) and its dependent references need to be rolled back, and other object definition changes in the same version do not need to be rolled back.

[0082] The system first performs a rollback and replays the abnormal task in the sandbox environment. After confirming that permission verification has returned to normal, the rollback operation is applied to the production version. The system records the rollback event and uses it as a basis for risk assessment of subsequent similar permission changes.

[0083] The following example illustrates the process of user error correction triggering concept splitting and change.

[0084] When a user pointed out while using the smart agent: "The customers here are not ordinary registered users, but contracted enterprise accounts." The system converted this error correction record into a candidate ontology change request, requesting that the Customer concept be split into RegisteredUser and ContractedAccount.

[0085] The system retrieves CRM (Customer Relationship Management) fields, contract system fields, historical queries, and user error correction records to construct an evidence graph. The system discovers that this split affects multiple historical queries that use the "customer" concept, thus generating a high-impact Ontology Delta (ontology incremental change).

[0086] The system applies split changes in a sandbox environment and replays historical customer queries. Some queries can be correctly mapped to ContractedAccount based on context, but the semantics of some queries are ambiguous. The system downgrades the Delta (incremental change) to a candidate state and requests manual supplementation of the mapping rules. After manual supplementation, the system regenerates the Delta (incremental change) and verifies it again.

[0087] The following example illustrates the process of a large language model generating candidate changes and then entering the evidence graph governance process.

[0088] The system extracts candidate ontology changes from business documents using a large language model: "For high-risk customers, the Customer.risk_level attribute should be added, and the enumeration value should be set to low, medium, or high." The system does not directly write this attribute into the enterprise ontology, but instead uses it as a candidate ontology change request. The system then searches risk control documents, customer scoring reports, historical queries, and user conversations to form source evidence; simultaneously, it searches existing ontologies for similar attributes such as Customer.credit_score (customer credit score) and Customer.payment_risk_score (customer payment risk score) to form potential conflict evidence.

[0089] The system constructs an ontology change evidence graph and calculates the confidence, conflict level, and impact scope of candidate changes. If semantic overlap is found between risk_level and the existing payment_risk_score, the system can generate an alternative Ontology Delta, for example, defining risk_level as a hierarchical attribute derived from payment_risk_score, instead of adding a completely independent attribute.

[0090] The system applies the Delta in a sandbox environment and replays historical customer risk analysis tasks. If the replay results show that the original task remains intact and the added attributes improve the interpretability of the risk analysis task, the Delta will proceed to either manual review or automatic release.

[0091] The ontology incremental evolution method based on evidence graphs provided by this invention has the following beneficial effects: This invention does not directly modify or cover the entire ontology, but instead represents each ontology change as an Ontology Delta. The Ontology Delta includes the change type, target ontology element, previous state, subsequent state, source of evidence, confidence level, conflict level, scope of impact, verification plan, release strategy, version dependency, and rollback plan. This transforms ontology evolution from full coverage to patch-level governance, improving the auditability, verifiability, and rollbackability of ontology changes.

[0092] This invention constructs an ontology change evidence graph, which unifies the modeling of candidate changes, target ontology elements, source evidence, conflict evidence, historical tasks, verification results, and rollback events. This enables the system to calculate confidence, conflict level, scope of impact, and review priority based on the graph structure, and supports full-link traceability of ontology changes.

[0093] This invention calculates the confidence level, conflict level, and impact scope of candidate ontology changes based on supporting evidence, opposing evidence, dependency relationships, conflict relationships, and impact relationships in the evidence graph. It can identify changes with low confidence, high conflict, or high impact scope before release, thus preventing high-risk changes from directly entering the production environment.

[0094] This invention loads the current stable ontology version in an isolated sandbox environment and applies Ontology Delta to generate candidate ontology versions. It can test the effect of ontology changes without affecting the production environment and supports combined verification and dependency verification of multiple Deltas.

[0095] This invention selects historical queries, historical report tasks, historical API calls, historical workflow tasks, and historical intelligent agent tasks based on the scope of impact, replays them on candidate ontology versions, and compares them with historical benchmark results. This can verify whether ontology changes disrupt existing business behaviors, rather than simply verifying whether the ontology structure is legal.

[0096] This invention implements release gate decisions based on confidence level, conflict level, scope of impact, verification results, permission risk, and constraint risk, enabling incremental changes to ontology to automatically enter different governance paths according to risk level, thereby improving ontology evolution efficiency and reducing the burden of manual review.

[0097] This invention generates rollback plans for Ontology Delta and forms rollback chains based on version dependencies. When an anomaly occurs after release, the system can locate the problematic Delta and determine the rollback scope and order according to the rollback chain, enabling precise rollback and avoiding the over-recovery problem caused by only being able to roll back the entire ontology version.

[0098] This invention does not directly publish the ontology content extracted or generated by the large language model. Instead, it uses it as a candidate ontology change request and governs it through evidence graphs, Ontology Delta, sandbox verification, release gates, and rollback chains. This allows the extraction capabilities of the large language model to be utilized while avoiding the problems of unreliable, unauditable, and difficult-to-rollback generated results.

[0099] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0100] This invention provides an ontology incremental evolution system based on evidence graphs, the system including functional modules for implementing the ontology incremental evolution method based on evidence graphs as described in any of the above embodiments. Figure 2 The schematic diagram illustrates the structure of the ontology incremental evolution system based on evidence graphs provided in an embodiment of the present invention, with reference to... Figure 2 The system described in this embodiment of the invention includes: Interaction module 201 is used to receive candidate ontology change requests, wherein the candidate ontology change request includes change intent, target ontology element, proposed change content, change source, triggering reason and initial evidence identifier; The acquisition module 202 is used to acquire evidence related to the candidate ontology change request and the current stable ontology version based on the initial evidence identifier, target ontology element and proposed change content in the candidate ontology change request; Evidence graph construction module 203 is used to construct an ontology change evidence graph based on evidence related to the candidate ontology change request and the current stable ontology version; The scoring and analysis module 204 is used to calculate the confidence level, conflict level, and impact scope of candidate ontology change requests based on the ontology change evidence graph. The patch generation module 205 is used to generate ontology change patches based on candidate ontology change requests, the current stable ontology version, ontology change evidence graph, confidence level, conflict level and impact scope, and to generate rollback plans and verification plans based on the change type and impact scope of the ontology change patches. The sandbox verification module 206 is used to apply ontology change patches to the current stable ontology version in a sandbox environment to generate candidate ontology versions, and to perform ontology consistency verification, permission verification, constraint verification and compatibility verification on the candidate ontology versions according to the verification plan. The release decision module 207 is used to release the ontology change patch to generate a new stable ontology version when the confidence level of the ontology change patch is higher than the preset first threshold, the conflict level is lower than the preset second threshold, the impact range is smaller than the preset third threshold, and the sandbox verification is passed. The rollback evolution module 208 is used to monitor the running signals during the operation of the new stable ontology version. When the running signals meet the preset rollback conditions, the ontology change patch that triggered the anomaly is located and the rollback plan of the ontology change patch is executed. Sandbox verification module 206 is also used to perform rollback verification in the sandbox environment so that the ontology version that passes the rollback verification can be used as the new stable ontology version.

[0101] In this embodiment of the invention, the release decision module 207 is further configured to submit ontology change patches involving sensitive permissions, high-risk actions, core objects, key constraints, cross-system mappings, or impact ranges greater than or equal to a third threshold to a manual review process; reject the release of ontology change patches that have conflicts or fail sandbox verification; and downgrade ontology change patches with insufficient evidence to a candidate status to await supplementary evidence or to enter the manual review process.

[0102] As the system implementation is basically similar to the method implementation, the description is relatively simple, and relevant parts can be found in the description of the method implementation.

[0103] Furthermore, another embodiment of the present invention provides a computer storage medium storing a computer program that, when executed, implements the steps described in the above embodiment of the ontology incremental evolution method based on evidence graphs, for example... Figure 1 Steps S1-S9 are shown.

[0104] Furthermore, another embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the steps described in the above embodiment of the ontology incremental evolution method based on evidence graphs, for example... Figure 1 Steps S1-S9 are shown.

[0105] This invention enables patch-level governance. Existing solutions typically modify or overwrite the entire ontology, making it difficult to record the differences, evidence, and rollback paths for individual changes. This invention represents each ontology change as an OntologyDelta, enabling the system to review, verify, release, and rollback individual change patches. Therefore, this invention improves the fine-grained management capabilities of ontology evolution.

[0106] This invention offers enhanced interpretability and auditability. Existing large language model extraction schemes typically output candidate ontology elements or candidate change suggestions directly, making it difficult to explain which evidence supports each change, which evidence conflicts with it, and which historical tasks it affects. This invention records source evidence, conflicting evidence, affected tasks, verification results, and rollback records through an evidence graph. Therefore, this invention can clearly trace the source, judgment criteria, and release process of ontology changes.

[0107] This invention can verify the impact of real-world business operations. Existing solutions often only check the legality of the ontology structure. This invention performs historical task replay in a sandbox environment, comparing the results of candidate ontology versions with historical benchmark results. Therefore, this invention can proactively identify the risks of ontology changes disrupting queries, reports, APIs, workflows, and intelligent agent tasks.

[0108] This invention enables automated release gatekeeping. Existing solutions typically rely on manual judgment to determine whether ontology changes can be released. This invention automatically determines whether to release, review, downgrade, or reject changes based on confidence level, conflict level, scope of impact, permission risk, constraint risk, and verification results. Therefore, this invention can improve the release efficiency of low-risk changes and reduce the probability of erroneous release of high-risk changes.

[0109] This invention enables patch-level rollback. Existing solutions, even with version management, typically only allow rollback to a single full version. This invention generates a rollback plan for each Ontology Delta and forms a rollback chain based on the version dependencies of multiple Deltas. Therefore, this invention can accurately locate and roll back problematic patches, minimizing the impact on other normal changes.

[0110] This invention enables the understanding of ontology semantic relationships. Ordinary configuration version management typically only records textual or configuration differences, failing to understand semantic dependencies, relationship paths, constraint conflicts, and permission impacts between ontology elements. This invention, through ontology change evidence graphs and impact scope analysis, can verify and govern the semantic structure of the ontology. Therefore, this invention is more suitable for scenarios involving the continuous evolution of semantic layers in enterprise ontology, knowledge graphs, and intelligent agents.

[0111] This invention reduces the risks of model illusion and semantic misjudgment. It positions the results generated by the large language model as candidate change requests, rather than directly publishable ontology updates. The system further requires these candidate changes to undergo evidence graph support, conflict detection, impact scope analysis, sandbox verification, and a release gate. Therefore, this invention can leverage the extraction capabilities of the large language model while mitigating the risks associated with model illusion, semantic misjudgment, and non-rollbackable releases.

[0112] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, any of the claimed embodiments can be used in any combination.

[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An ontology incremental evolution method based on evidence graphs, characterized in that, The method includes: Receive candidate ontology change requests; Based on the initial evidence identifier, target ontology element, and proposed change content in the candidate ontology change request, obtain the evidence related to the candidate ontology change request and the current stable ontology version; Construct an ontology change evidence graph based on the evidence related to candidate ontology change requests and the current stable ontology version; The confidence level, conflict level, and scope of impact of candidate ontology change requests are calculated based on the ontology change evidence graph. Generate ontology change patches based on candidate ontology change requests, the current stable ontology version, ontology change evidence graph, confidence level, conflict level, and scope of impact. Generate rollback plans and verification plans based on the change type and scope of impact of the ontology change patches. In the sandbox environment, apply ontology change patches to the current stable ontology version to generate candidate ontology versions, and perform ontology consistency verification, permission verification, constraint verification, and compatibility verification on the candidate ontology versions according to the verification plan. When the confidence level of the ontology change patch is higher than the preset first threshold, the conflict level is lower than the preset second threshold, the impact range is smaller than the preset third threshold, and the sandbox verification is passed, the ontology change patch is released to generate a new stable ontology version. Monitor the running signals during the operation of the new stable ontology version. When the running signals meet the preset rollback conditions, locate the ontology change patch that triggered the anomaly and execute the rollback plan for the ontology change patch. Perform rollback verification in the sandbox environment to use the ontology version that passes the rollback verification as the new stable ontology version.

2. The method according to claim 1, characterized in that, Based on the initial evidence identifier, target ontology element, and proposed change content in the candidate ontology change request, obtain the evidence related to the candidate ontology change request and the current stable ontology version, including: The current stable ontology version is located based on the target ontology element and the content to be changed, and relevant ontology subgraphs are extracted from the current stable ontology version based on the target ontology element. The relevant ontology subgraphs include the target ontology element, upstream dependent elements, downstream dependent elements, and constraints, permission rules and / or action rules related to the candidate ontology change request. Obtain source evidence related to the candidate ontology change request based on the initial evidence identifier in the candidate ontology change request; Identify potential conflicting evidence in candidate ontology change requests; For each source evidence and potentially conflicting evidence related to the candidate ontology change request, generate evidence identifier, evidence type, source system, timestamp, trust level, access permission identifier, and traceable location information.

3. The method according to claim 2, characterized in that, The evidence for identifying potential conflicts in candidate ontology change requests includes: Identify field definitions that are semantically inconsistent with the candidate ontology change request, user corrections that contradict the intent of the candidate ontology change request, document paragraphs that conflict with the intent of the candidate ontology change request, historical task results that conflict with the candidate ontology change request, and permission rules that are incompatible with the candidate ontology change request, to form potential conflict evidence.

4. The method according to claim 1, characterized in that, Construct an ontology change evidence graph based on evidence related to candidate ontology change requests and the current stable ontology version, including: The candidate ontology change requests are used as change request nodes, the ontology elements to be added or modified are used as candidate ontology element nodes, and the relevant ontology elements in the current stable ontology version are used as published ontology element nodes to construct an initial ontology change evidence graph. The source evidence, potential conflict evidence, historical tasks, verification tasks, and rollback records related to the candidate ontology change request are written into the initial ontology change evidence graph as evidence nodes, conflict nodes, task nodes, verification nodes, and rollback nodes, respectively. Establish supporting edges between candidate ontology element nodes and source evidence nodes, and establish conflict edges between candidate ontology element nodes and conflict evidence nodes; establish dependency edges, substitution edges, merging edges, splitting edges, or impact edges between candidate ontology element nodes and published ontology element nodes according to the change intention and / or the proposed change content; establish impact edges between candidate ontology element nodes and historical task nodes; establish verification edges, publishing edges, and rollback edges between change request nodes and verification result nodes, publication record nodes, and rollback record nodes, respectively, to obtain the final ontology change evidence graph; The final ontology change evidence diagram is stored as a queryable graph structure.

5. The method according to claim 1, characterized in that, Based on the ontology change evidence graph, the confidence level, conflict level, and scope of impact of candidate ontology change requests are calculated, including: Based on the ontology change evidence graph, confidence calculation factors are extracted, and the confidence of candidate ontology change requests is calculated according to the confidence calculation factors. The confidence calculation factors include at least one of the following: the number of supporting evidences corresponding to the supporting edges, the type of evidence, the credibility of the evidence source, the freshness of the evidence time, the consistency between the evidences, the status of manual confirmation, the degree of matching with the current stable ontology version, and the historical verification results. Based on the ontology change evidence graph, conflict degree calculation factors are extracted, and the conflict degree of candidate ontology change requests is calculated according to the conflict degree calculation factors. The conflict degree calculation factors include at least one of the following: name conflict, type conflict, semantic conflict, relation path conflict, constraint expression conflict, action precondition / precondition conflict, permission policy conflict, version dependency conflict, and conflict evidence strength between candidate ontology element nodes and published ontology element nodes. The scope of influence of candidate ontology change requests is calculated based on the ontology change evidence graph. The scope of influence includes at least one of the following: affected ontology elements, affected query templates, affected report metrics, affected API mappings, affected tool interfaces, affected SDK types, affected UI forms, affected workflow nodes, affected permission policies, and affected smart agent tasks.

6. The method according to claim 1, characterized in that, Generate rollback and verification plans based on the change type and impact scope of the ontology change patch, including: A change risk score is generated based on confidence level, conflict level, and scope of impact; Based on the scope of impact, historical tasks within the scope of impact are sliced ​​to generate a set of replay tasks related to candidate ontology change requests; The number and coverage of replay tasks to be selected from the replay task set are determined based on the change risk score, and a verification plan is generated based on the number and coverage of replay tasks. A rollback plan is generated based on the change type of the current ontology change patch. The rollback plan includes reverse operations, restored versions, affected references, rollback order, rollback verification tasks, and post-rollback audit logs. Analyze the version dependencies between the current ontology change patch and other unreleased or released ontology change patches to form a rollback chain, and record the dependencies in the rollback plan.

7. The method according to claim 1, characterized in that, The method further includes: For ontology change patches that involve sensitive permissions, high-risk actions, core objects, key constraints, cross-system mappings, or have an impact range greater than or equal to the third threshold, submit them for manual review. Patches that contain conflicts or fail sandbox verification will not be released. For ontology change patches with insufficient evidence, they will be downgraded to a candidate status to await supplementary evidence or to enter the manual review process.

8. An ontology incremental evolution system based on evidence graphs, characterized in that, The system includes functional modules for implementing the method as described in claim 1, including: The interaction module is used to receive candidate ontology change requests; The acquisition module is used to acquire evidence related to the candidate ontology change request and the current stable ontology version based on the initial evidence identifier, target ontology element and proposed change content in the candidate ontology change request; The evidence graph construction module is used to construct an ontology change evidence graph based on evidence related to candidate ontology change requests and the current stable ontology version. The scoring and analysis module is used to calculate the confidence level, conflict level, and impact scope of candidate ontology change requests based on the ontology change evidence graph. The patch generation module is used to generate ontology change patches based on candidate ontology change requests, the current stable ontology version, ontology change evidence graph, confidence level, conflict level, and scope of impact. It also generates rollback plans and verification plans based on the change type and scope of impact of the ontology change patches. The sandbox verification module is used to apply ontology change patches to the current stable ontology version in a sandbox environment to generate candidate ontology versions, and to perform ontology consistency verification, permission verification, constraint verification and compatibility verification on the candidate ontology versions according to the verification plan. The release decision module is used to release an ontology change patch to generate a new stable ontology version when the confidence level of the ontology change patch is higher than a preset first threshold, the conflict level is lower than a preset second threshold, the impact range is smaller than a preset third threshold, and the sandbox verification is passed. The rollback evolution module is used to monitor the running signals during the operation of the new stable ontology version. When the running signals meet the preset rollback conditions, the module locates the ontology change patch that triggered the anomaly and executes the rollback plan for the ontology change patch. The sandbox verification module is also used to perform rollback verification in the sandbox environment, so that the ontology version that passes the rollback verification can be used as the new stable ontology version.

9. The system according to claim 8, characterized in that, The release decision module is also used to submit ontology change patches involving sensitive permissions, high-risk actions, core objects, key constraints, cross-system mappings, or impact ranges greater than or equal to the third threshold to a manual review process; to reject the release of ontology change patches that have conflicts or fail sandbox verification; and to downgrade ontology change patches with insufficient evidence to a candidate status to await supplementary evidence or to enter the manual review process.

10. A computer storage medium, characterized in that, The computer storage medium stores a computer program, which, when executed, implements the ontology incremental evolution method based on evidence graphs as described in any one of claims 1-7.