Internal control penetration type checking method based on multi-agent cooperation and relationship memory

By using multi-agent collaboration and relational memory methods, object identifiers and version fingerprints are generated, and a three-level matching agent and relational memory unit are constructed. This fills the gap in multi-level relational scope constraints and versioned memory management in internal control permission verification, and achieves efficient and accurate internal control permission verification and compliance traceability.

CN123179377APending Publication Date: 2026-11-27ZHONGBO INFORMATION TECH RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies cannot achieve hierarchical scope constraints and version memory management for multi-level matching relationships, resulting in low verification efficiency for internal control permission checks in scenarios with frequent changes in systems, processes, and personnel. Furthermore, they cannot accurately locate affected relationships, posing compliance risks.

Method used

By employing multi-agent collaboration and relational memory methods, object identifiers and version fingerprints are generated. A three-level matching agent and relational memory unit with parent-child relationship identifiers are constructed. A reverse dependency index is established to realize a penetrating relational chain, locate the relationships affected by configuration changes, and output abnormal evidence paths.

Benefits of technology

It enables efficient and accurate internal control permission verification after configuration changes, improves verification efficiency, ensures the traceability and compliance of verification results, and avoids the inefficiency of traditional full scans and the misuse of old relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179377A_ABST
    Figure CN123179377A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of computer data processing, and particularly relates to an internal control penetration type checking method based on multi-agent cooperation and relationship memory, wherein internal control permission rules, business process configuration and organization personnel data are obtained, converted into objects and assigned with identification and version fingerprints; a rule process, node, role personnel matching agent is called, candidate relationships and evidence are outputted step by step, and after confirmation, a range token is generated, a gate checking state and a fingerprint are checked, and after passing, the next level is entered; after three-level confirmation relationship, the parent-child identification memory unit is written, the reverse index is built, and is connected into a penetration type relationship chain; when the data is changed, the seed unit is positioned according to the index and is entered into the invalid queue, the affected subgraph is marked invalid, the token is cancelled, the corresponding and downstream agents are re-adjusted, the relationship is regenerated, the current version is compared along the chain, and the abnormal evidence path containing the evidence, identification and fingerprint of each level is outputted. Thus, the problems that the affected relationship cannot be positioned and the full calculation efficiency is low in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer data processing technology, specifically relating to an internal control penetration verification method based on multi-agent collaboration and relational memory. Background Technology

[0002] As enterprises deepen their digital management and control systems, the market urgently needs comprehensive consistency verification of internal control authority rules, business process configurations, and organizational personnel. This requires capabilities such as traceable configuration versions, precise location of relationship changes, and high-efficiency incremental verification. However, existing technologies lack hierarchical scope constraints and version memory management for multi-level matching relationships, and lack a linkage mechanism between configuration changes and relationship failures. Consequently, they struggle to support continuous compliance verification in scenarios with frequent changes in systems, processes, and personnel, falling significantly short of the technical requirements for building full-link penetration verification of configuration states and precise incremental recalculation of version changes.

[0003] However, traditional internal control configuration verification has key flaws: it often relies on manual item-by-item verification or a single full-scale matching mode, which lacks sufficient accuracy in responding to dynamic changes in configuration versions and is easily affected by changes such as policy revisions, process releases, organizational adjustments, and personnel reassignments; the verification process lacks hierarchical scope constraints, allowing unconfirmed candidate relationships to directly enter the next level of matching, easily leading to the amplification of low-confidence relationships at each level; and the data dimensions are fragmented, failing to form a version-identified relationship memory chain, making it impossible to accurately locate the affected relationship range after configuration changes, requiring a full rematch, resulting in low verification efficiency or the use of old relationships, thus causing compliance risks. With the accelerated advancement of enterprise internal control system refinement and digital transformation, the market urgently needs highly accurate and efficient internal control penetration verification, but existing technologies, due to the lack of scope constraints, weak version management, and insufficient incremental verification capabilities, are unable to support continuous compliance verification applications in complex configuration change scenarios. Summary of the Invention

[0004] This application provides an internal control penetration verification method based on multi-agent collaboration and relational memory to solve the problems of inability to locate affected relationships and low efficiency of full recalculation in the prior art.

[0005] The first aspect of this application provides an internal control penetration verification method based on multi-agent collaboration and relational memory, comprising the following steps: Obtain internal control permission rules data, business system process configuration data, and organizational personnel data; The internal control permission rule data, business system process configuration data, and organizational personnel data are converted into corresponding objects and object identifiers and version fingerprints are generated. Based on the object identifier and version fingerprint, the rule-based process matching agent is invoked to generate a first candidate relationship and first relationship evidence. Upon receiving confirmation or adjustment instructions, a first confirmation relationship is formed, and a first confirmation range token recording the object identifiers and version fingerprints at both ends is generated. The confirmation gate verifies the relationship status and version fingerprint of the first confirmation range token. After successful verification, the node matching agent is invoked to generate a second candidate relationship and evidence using the process node set pointed to by the token as the candidate range. Upon receiving confirmation or adjustment instructions, a second confirmation relationship is formed and a second confirmation range token is generated. After successful verification by the confirmation gate, the role-based organization personnel matching agent is invoked to match internal control roles and departmental positions. Based on the employment relationship, the personnel object is determined, forming a third confirmation relationship and evidence. The first, second, and third confirmation relationships are written into the relationship memory unit with parent-child relationship identifiers, a reverse dependency index is established, a sequentially connected penetrating relationship chain is constructed, source data change events are received, the seed relationship memory unit is located using the reverse dependency index and written into the failure queue, the affected subgraph is traversed to mark the failure unit, the corresponding token is revoked, the affected level and downstream matching smart weight is called to generate relationships, the current version corresponding information is compared according to the penetrating relationship chain, inconsistency items are generated, and an abnormal evidence path containing relationship evidence at all levels, object identifiers, and version fingerprints is output.

[0006] The second aspect of this application provides an internal control penetration verification system based on multi-agent collaboration and relational memory, including: The acquisition module is used to acquire internal control permission rules data, business system process configuration data, and organizational personnel data; The conversion module is used to convert the internal control permission rule data, business system process configuration data and organizational personnel data into corresponding objects and generate object identifiers and version fingerprints; The multi-level verification and matching module is used to generate a first candidate relationship and first relationship evidence by calling a rule-based process matching agent based on the object identifier and version fingerprint. Upon receiving confirmation or adjustment instructions, a first confirmation relationship is formed, and a first confirmation range token recording the object identifiers and version fingerprints at both ends is generated. The confirmation gate verifies the relationship status and version fingerprint of the first confirmation range token. If the verification passes, the node matching agent is called to generate a second candidate relationship and evidence using the process node set pointed to by the token as the candidate range. Upon receiving confirmation or adjustment instructions, a second confirmation relationship is formed and a second confirmation range token is generated. After the confirmation gate verifies the second confirmation relationship, the role-organization personnel matching agent is called to match internal control roles and departmental positions, determine personnel objects based on their employment relationships, and form a third confirmation relationship and evidence. The relation memory and verification module is used to write the first confirmed relation, the second confirmed relation, and the third confirmed relation into relation memory units with parent-child relation identifiers, establish a reverse dependency index, construct a sequentially connected penetrating relation chain, receive source data change events, use the reverse dependency index to locate seed relation memory units and write them into the failure queue, traverse affected subgraphs to mark failure units, revoke corresponding tokens, call the affected level and downstream matching smart weight to generate relations, compare the current version's corresponding information according to the penetrating relation chain, generate inconsistencies, and output abnormal evidence paths containing relation evidence at all levels, object identifiers, and version fingerprints.

[0007] A third aspect of this application provides a computer device, including a processor and a memory, wherein a computer program in the memory, when executed by the processor, implements the internal control penetration verification method based on multi-agent collaboration and relational memory as described in the above embodiments.

[0008] The beneficial effects of the embodiments of this application are as follows: This application's embodiments convert three types of configuration data into standardized objects with object identifiers and version fingerprints. A three-level matching agent sequentially generates confirmation relationships and corresponding range tokens, using confirmation gating to achieve hierarchical range constraints and prevent unconfirmed relationships from entering the next level of matching. Through relationship memory units with parent-child relationship identifiers and reverse dependency indexes, a penetrating relationship chain is constructed to achieve precise location of configuration changes. Combined with an invalidation queue, only the affected subgraph is recalculated, solving the problems of low efficiency and misuse of old relationships in traditional full-scale scanning. Simultaneously, anomaly evidence paths with version identifiers are output, ensuring the traceability of verification results. This significantly improves the response efficiency after configuration changes while ensuring verification accuracy, effectively filling the gap in multi-level relationship range constraints and versioned incremental verification in existing technologies. Therefore, it solves the problems of inability to locate affected relationships and low efficiency of full-scale recalculation in existing technologies.

[0009] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0010] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart of the internal control penetration verification method based on multi-agent collaboration and relational memory provided in the embodiments of this application; Figure 2 This is a schematic diagram of an internal control penetration verification method based on multi-agent collaboration and relational memory provided according to an embodiment of this application; Figure 3This is a schematic diagram of a process for a single matching agent to generate, confirm, and save relationship memories according to an embodiment of this application; Figure 4 This is a schematic diagram illustrating the process of reversing the source data change event relationship and incrementally recalculating according to an embodiment of this application; Figure 5 This is a block diagram of an internal control penetration verification system based on multi-agent collaboration and relational memory provided in an embodiment of this application. Figure 6 This is a schematic diagram of an internal control penetration verification system based on multi-agent collaboration and relational memory according to an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a computer provided according to an embodiment of this application. Detailed Implementation

[0011] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0012] The following describes, with reference to the accompanying drawings, an internal control penetration verification method based on multi-agent collaboration and relational memory, according to embodiments of this application.

[0013] Specifically, Figure 1 This is a flowchart illustrating the internal control penetration verification method based on multi-agent collaboration and relational memory provided in the embodiments of this application, as shown below. Figure 1 As shown, this internal control penetration verification method based on multi-agent collaboration and relational memory includes the following steps: In step S101, internal control permission rules data, business system process configuration data, and organizational personnel data are obtained.

[0014] Among them, internal control authority rules data refers to the system-type data in the enterprise's internal control system that stipulates approval authority, scope of application, node requirements, and role conditions, and serves as the benchmark for internal control verification; business system process configuration data refers to the configuration data such as process nodes, roles, and authority conditions deployed in business systems such as procurement, contracts, and expenses, and serves as the verification object on the execution side of internal control verification; organizational personnel data refers to data such as departments, positions, personnel appointments, and account status in human resources or organizational master data systems, and serves as the verification object of the responsible entity for internal control verification.

[0015] It is understood that the embodiments of this application provide a full-dimensional data foundation for subsequent object conversion, relationship matching and penetration verification by obtaining internal control permission rule data, business system process configuration data and organizational personnel data, thereby avoiding the one-sidedness of verification caused by a single data source; at the same time, the unified access of multi-source data also provides a prerequisite for the unified generation of fingerprints in subsequent versions and the construction of cross-system relationships, supporting the full-link coverage of the penetration relationship chain.

[0016] In step S102, the internal control permission rule data, business system process configuration data, and organizational personnel data are converted into corresponding objects and object identifiers and version fingerprints are generated.

[0017] Among them, the object identifier is a standardized identifier used to uniquely identify different types of internal control objects, and the version fingerprint is a content summary generated based on the object configuration content, used to identify different versions of the same object.

[0018] It is understood that the embodiments of this application convert multi-source heterogeneous internal control data into standardized objects and generate unified object identifiers and version fingerprints, thereby achieving unified identity management and version control of internal control objects from different sources and of different types. This not only solves the problem of inconsistent data formats across systems and the inability to directly associate them, but also provides a benchmark for version consistency verification at each level of subsequent verification, avoiding relationship verification errors caused by version mismatch. At the same time, incremental version updates are achieved through the version fingerprint comparison mechanism, reducing duplicate data storage, improving object management efficiency, and providing a standardized object foundation for subsequent multi-level matching and relationship memory.

[0019] In this embodiment, generating an object identifier and a version fingerprint includes: defining an identity key field and a version content field according to the object type; standardizing the source system identifier, object type, and identity key field in a fixed order to generate an object identifier; and calculating a content digest after standardizing the object identifier and version content field in a fixed order to obtain a version fingerprint. If the same object identifier already exists: if the version fingerprints are the same, the existing version identifier is not written again and is returned; if the version fingerprints are different, the version fingerprint and the corresponding configuration content are written as a new configuration version of the same object into the version table, and a mapping relationship between the object identifier and the version fingerprint is established or updated in the configuration object version index.

[0020] Among them, the identity key field is the core field used to distinguish different objects under the same type, such as the rule number of the permission rule, the process code of the process, and the employee number of the personnel; the version content field is all content fields that affect the configuration version of the object, such as the permission scope of the permission rule, the node configuration of the process, and the job information of the personnel.

[0021] It is understood that the embodiments of this application generate object identifiers by defining fields and standardizing the concatenation method, ensuring that similar objects in different source systems have unified identity encoding rules, avoiding object matching errors caused by name duplication or differences in encoding rules across systems; at the same time, a version fingerprint is generated based on the object identifier plus the version content field, which quickly identifies version changes in the form of content summary, and incremental updates are achieved by combining a duplicate judgment mechanism, which not only ensures the accuracy of version identification, but also reduces redundant data storage; by configuring the object version index to maintain the mapping relationship between objects and versions, a fast query entry is provided for version consistency verification at each level of subsequent verification, improving verification efficiency and accuracy.

[0022] In step S103, based on the object identifier and version fingerprint, the rule flow matching agent is invoked to generate a first candidate relationship and first relationship evidence. Upon receiving confirmation or adjustment instructions, a first confirmation relationship is formed, and a first confirmation range token recording the object identifiers and version fingerprints at both ends is generated. The confirmation gate verifies the relationship status and version fingerprint of the first confirmation range token. After successful verification, the node matching agent is invoked to generate a second candidate relationship and evidence using the set of flow nodes pointed to by the token as the candidate range. Upon receiving confirmation or adjustment instructions, a second confirmation relationship is formed and a second confirmation range token is generated. After successful verification by the confirmation gate, the role organization personnel matching agent is invoked to match internal control roles and departmental positions. Based on the employment relationship, the personnel object is determined, forming a third confirmation relationship and evidence.

[0023] Among them, the confirmation range token is a credential used to carry the version information and candidate range of the confirmed relationship, serving as the admission basis for the next level of matching; the confirmation gate is a verification node used to verify the validity of the token, the relationship status, and the consistency of the version.

[0024] It is understood that the embodiments of this application achieve penetrating verification from internal control rules to business processes, then to process nodes, and finally to roles and personnel through three-level matching intelligent agents working in tiers. Each level of matching limits the candidate boundaries based on the confirmation range token of the previous level, avoiding invalid cross-range matching and improving matching accuracy. At the same time, after each level of matching, a confirmation gating is used to perform dual verification of status and version, ensuring the consistency of version and the validity of status before the relationship takes effect, and preventing invalid or version mismatched relationships from being propagated downstream. Through the intervention of manual confirmation or adjustment instructions, the efficiency of intelligent matching and the accuracy of manual verification are balanced, forming a three-level matching mechanism that provides reliable relationship nodes for the construction of penetrating relationship chains.

[0025] In this embodiment, candidate generation for each matching agent involves: acquiring the current source object and the previous or root scope token, and standardizing the name, business attributes, role attributes, permission conditions, and structural position of the input object to obtain a standardized object feature set; querying the relation memory to obtain historically confirmed relationships with consistent versions and confirmed status based on the standardized object feature set and the object scope defined by the previous or root scope token; determining candidate objects based on historically confirmed relationships, structural constraints, and standardized object features, and calculating consistency and historical relationship support; calculating the matching value based on the consistency and historical relationship support, sorting the candidate objects according to the matching value, and outputting the candidate objects, the features involved in the calculation, the data source, and the pending confirmation status. If the threshold is not reached or cannot be distinguished, the output status of no candidate or multiple candidates is displayed, and subsequent tasks are paused.

[0026] It is understood that the embodiments of this application achieve a unified dimensional comparison of object features from different sources by standardizing object features, and improve the continuity and accuracy of matching by combining historical confirmation relationships. The matching value is calculated through two dimensions: consistency and historical support. This takes into account both the matching degree of the current object features and the experience accumulated from historical verification, thereby improving the rationality of candidate generation. At the same time, through threshold judgment and multi-candidate pause mechanism, the matching degree is paused in time when there is insufficient matching degree or ambiguity, to avoid the transmission of erroneous relationships downstream, ensure the quality of verification, and provide clear nodes for manual intervention.

[0027] In this embodiment of the application, the node matching agent generates a second candidate relationship only in the business process node set limited by the first confirmation scope token, based on the node name, node order, node role and node permission conditions, and excludes candidate objects that do not meet the node order constraint or node number constraint.

[0028] It is understood that the embodiments of this application limit the candidate range of the node matching agent to the set of process nodes pointed to by the first token, ensuring that node matching is strictly carried out within the confirmed process framework and avoiding invalid node matching that deviates from the process; at the same time, by combining node order, role, permission conditions and structural constraints, candidate nodes that conform to the process logic are further screened, and objects that do not conform to the order and quantity constraints are excluded, thereby improving the accuracy and compliance of node matching and ensuring the consistency between the second-level relationship and the actual configuration of the business process.

[0029] In this embodiment of the application, the role organization personnel matching agent establishes the relationship between internal control roles and departmental positions only within the scope of internal control roles and system node roles limited by the second confirmation scope token. Then, it determines the personnel objects based on the employment relationship between departmental positions and personnel objects, and reads the organization status, employment status, and account status as third relationship evidence.

[0030] It is understood that this application embodiment ensures that the matching of roles and personnel strictly corresponds to the confirmed process node roles by limiting the scope of role matching to the range of roles pointed to by the second token, thereby avoiding role overreach matching. At the same time, by using the intermediate association of department positions and the verification of employment status, it ensures that personnel matching conforms to the actual organizational structure, and uses the organization, employment, and account status as relationship evidence, which not only improves the authenticity and compliance of the third-level relationship, but also provides complete personnel-dimensional evidence for the subsequent output of abnormal evidence paths.

[0031] In step S104, the first confirmation relationship, the second confirmation relationship, and the third confirmation relationship are written into the relationship memory unit with parent-child relationship identifiers, a reverse dependency index is established, a sequentially connected penetrating relationship chain is constructed, source data change events are received, the seed relationship memory unit is located using the reverse dependency index and written into the failure queue, the affected subgraph is traversed to mark the failure unit, the corresponding token is revoked, the affected level and downstream matching smart weight is called to generate the relationship, the current version corresponding information is compared according to the penetrating relationship chain to generate inconsistencies, and the abnormal evidence path containing relationship evidence at all levels, object identifiers, and version fingerprints is output.

[0032] Among them, the relational memory unit is a storage unit used to store a single confirmed relation, which includes information such as the objects at both ends of the relation, version fingerprint, relation status, parent and child identifiers; the reverse dependency index is an index structure used to quickly trace upstream relationships from downstream relationships.

[0033] It is understood that the embodiments of this application store the confirmation relationships at all levels through relational memory units with parent-child identifiers, and construct a full-link penetrating relational chain by combining the reverse dependency index. When the source data changes, the affected seed relationship is quickly located through the reverse dependency index, and all downstream related relationships are marked as invalid and the corresponding tokens are revoked to ensure full-link synchronization of the impact of the change and avoid the risk of downstream relationship delay and failure caused by traditional single-point updates. At the same time, the affected relationship is automatically reconstructed through the regeneration mechanism, and inconsistencies are generated by combining version comparison to output a complete abnormal evidence path, which not only improves the response efficiency of version change, but also provides a complete traceability evidence chain for compliance audit.

[0034] In this embodiment of the application, when the object version changes and the relationship needs to be regenerated, the original relationship memory unit is retained and the relationship status is marked as invalid, and a relationship memory unit with a new relationship identifier is written as the new currently valid relationship.

[0035] It is understood that the embodiments of this application retain the original invalid relationship memory units instead of deleting them directly, thereby achieving full-track retention of relationship changes and providing a complete relationship version record for historical tracing and audit verification; at the same time, new valid units are generated through new relationship identifiers to ensure that the currently running relationship is always the latest valid version, taking into account both historical traceability and current running accuracy.

[0036] In this embodiment, when the token status is valid, the relationship status is confirmed, and the version fingerprint recorded on the token is consistent with the version fingerprint of the current object, the confirmation range token is in a valid state. When the token status is revoked, the confirmation range token is invalid and cannot be used as the admission basis for the next level of matching. The next level candidate range is used to limit the candidate object set of the next level matching agent, including at least one of the process node set, system node role range, and internal control role range. The revocation sequence number is generated in ascending order according to the order of revocation.

[0037] It is understood that this application embodiment strictly controls the entry threshold for the next level of matching by clearly defining the three determination conditions for token validity, ensuring that only confirmed relationships with normal status and consistent versions can be used as the basis for downstream matching, thus avoiding errors in the transmission of invalid or mismatched relationships; by clearly defining the three categories of candidate content, it provides clear boundary constraints for matching agents at different levels, ensuring the compliance of the matching process; and by incrementally generating revocation sequence numbers to record the timing of token revocation, it provides a timing basis for subsequent event tracing and conflict handling.

[0038] In this embodiment, when updating a relationship, the original relationship memory unit is retained and a new relationship memory unit with a new relationship identifier is written. This includes: deduplicating the relationship memory units to be processed according to the relationship identifier; when retrieving a relationship memory unit, using the relationship identifier and revision number as conditions, changing the relationship status of the version fingerprint that is inconsistent with the current object from confirmed to invalid in the same transaction, and marking the corresponding confirmation range token as revoked, writing the revocation sequence number, and publishing a token revocation event in the token status registration table; canceling downstream tasks that have not yet started according to the token revocation event, and verifying the token status again before writing the result of the downstream task that is being executed; when a transaction update conflict occurs, rereading the latest relationship status and event version; if the relationship has completed invalidation processing at a version no lower than the current event version, then the current processing is recorded as idempotent; otherwise, merging the change event and retrying; submitting the relationship memory units separately; maintaining the token revocation status of the failed relationship memory units and writing them into the retry queue; writing the sub-relationship identifiers of invalid relationships into the invalidation queue until the queue is empty; and performing a full verification in response to the update of the internal control permission rule version or the arrival of the preset period.

[0039] It is understood that the embodiments of this application ensure the consistency of state changes and avoid data inconsistency caused by partial updates through transactional relationship failure handling; prevent the continued execution of incorrect matching based on invalid tokens through the downstream task interception mechanism of token revocation events; deal with concurrent change scenarios through conflict handling and idempotency mechanisms to ensure the correctness and stability of event handling; achieve synchronous failure of the entire link relationship through the cascading processing of the failure queue to avoid missing downstream relationships; and combine a full verification mechanism to conduct comprehensive reviews regularly to ensure the continuous compliance of internal control relationships.

[0040] The following will illustrate the internal control penetration verification method based on multi-agent collaboration and relational memory through a specific embodiment, such as... Figure 2 As shown, it includes: Taking a manufacturing group's headquarters internal control permission compliance verification project as a practical application scenario, the project covers the group headquarters and 12 subordinate production, R&D, and trading subsidiaries. It involves 27 internal control items across five major categories: material procurement, fund payment, contract signing, personnel appointment and dismissal, and expense reimbursement. These items correspond to 18 heterogeneous business approval system processes, 312 system configuration nodes, 216 internal control approval roles, and 1764 on-duty personnel. Full-scale periodic verification is conducted quarterly, with incremental verification triggered in real-time by daily configuration changes. The group's internal control rules are scattered across 32 formal policy documents and supplementary notices. Business processes are independently deployed across multiple heterogeneous systems such as ERP, OA, procurement, and HR. The organizational structure and personnel are adjusted quarterly. The permission configuration chain is long, with numerous change nodes and inconsistent data standards. Traditional manual point-by-point verification is inefficient, has a high rate of missed checks, and is difficult to trace, failing to meet dynamic compliance management requirements. Therefore, an internal control penetration verification method based on multi-agent collaboration and relational memory is adopted to achieve full-chain, refined, and traceable compliance verification of internal control permissions. The overall execution flow of the method is as follows: The project first acquires three types of configuration data and generates object identifiers and version fingerprints: It specifically acquires three types of core verification source data: internal control permission rules, business system process configurations, and organizational personnel data, employing standardized interface access and a standardized object conversion process throughout. For the five categories of internal control rules, core fields such as rule identifiers, internal control items, applicable organizations, node descriptions, approval roles, and permission conditions are extracted using a system structure parsing tool to form standardized internal control rule objects. For the process configuration data of 18 business systems, configuration information such as system identifiers, process identifiers, node identifiers, node order, node roles, and node permission conditions are synchronized through the open interfaces of each system to form process configuration objects. For the organizational personnel data of the group and its subsidiaries, data such as organization identifiers, department identifiers, position identifiers, personnel identifiers, employment relationships, organizational status, personnel status, and account status are synchronized through the human resources management system and the unified identity platform interface to form organizational personnel objects. All objects are uniformly supplemented with source system identifier and object type fields. Then, key fields are selected according to object type, and field names, null value rules, character encoding, monetary units, and field arrangement order are uniformly standardized. A content summary is calculated from the standardized complete content to generate a version fingerprint. If the data source can provide a reliable version number, the version number and content summary are written together into the version fingerprint. If objects have the same identifier but different version fingerprints, it is determined that the object has formed a new configuration version, which is stored in the version table as a new configuration version of the same object. The mapping relationship between object identifier and version fingerprint is established or updated synchronously in the configuration object version index, ultimately forming a complete standardized verification object library, providing a unified and traceable data foundation for subsequent multi-agent matching verification.

[0041] The rule-process matching agent generates the first candidate relationship and corresponding evidence: Based on a standardized verification object library, the project deploys three independent matching agents: rule-process matching, node matching, and role / organizational personnel matching. These agents do not directly transmit natural language conclusions but instead transmit confirmation range tokens verified by status and version. Through three-level sequential collaboration, end-to-end penetration matching is completed. The matching process incorporates a candidate generation mechanism and a confirmation gating mechanism, such as... Figure 3As shown, the standardized execution process and corresponding implementation logic of a single-level matching agent are as follows: The agent receives the source object of its current level and the token of the previous level or root scope. The data object construction unit first generates a root scope token based on the internal control rule objects and process configuration snapshots in the current import batch. This root scope token is used to limit the rule objects and process configuration versions that the first agent can read. The first-level rule-process matching agent receives the source object of its current level's internal control rules and the root scope token. It verifies the token and queries the relation memory by object identifier and version. The agent first checks the object identifier, version fingerprint, and relationship status in the token, and then queries the relation memory by the object identifier and version fingerprint of its current level. When the confirmation gate receives a task request from the next level, it compares the token fields, the token status registration table, and the current object item by item. If the relationship is not in a confirmed state, the token is not in a valid state, the revocation sequence number has changed, or any version fingerprint is inconsistent, the token verification fails, thus blocking the transmission of invalid tokens and mismatched versions of objects downstream. The validity of the relationship version and token is determined at this node to decide whether an existing historically confirmed relationship can be reused. It has two execution branches: If the result is "yes," it loads historically confirmed relationships with the same version and valid tokens. If a historically confirmed relationship with the same version is found, the system directly loads that relationship along with its complete matching basis and evidence information, eliminating the need to repeat the matching calculation at this level. This relationship memory reuse improves verification efficiency. If the result is "no," it calls the matching capability at this level to generate candidate relationships and evidence. If no usable historically confirmed relationship exists, it performs candidate matching at this level. Candidate matching comprehensively calculates semantic consistency of name, consistency of business attributes, consistency of structural constraints, and support of historical relationships. Each consistency is multiplied by its corresponding non-negative weight and summed, with the sum of weights being 1. The agent sorts the candidate objects according to the obtained matching values, while retaining the fields involved in the calculation, the constraints satisfied or violated, and the data source. The three matching agents use different fields and structural constraints, and do not share a uniform candidate set: the rule-process matching agent uses internal control matters, business objects, applicable organizations, rule texts, and permission conditions as core matching fields. When no candidate object reaches the threshold, or when the matching values ​​of multiple candidate objects cannot be distinguished, the agent outputs a state of no candidates or multiple candidates, confirming that the gating pauses subsequent tasks, awaiting confirmation or adjustment instructions, to prevent low-confidence candidate relationships from being further amplified by subsequent agents. The agent outputs candidate relationships, their basis, and pending confirmation status. Regardless of whether historical confirmation relationships are loaded or current-level candidate relationships are generated, the agent uniformly outputs candidate relationship entries, matching basis details, and pending confirmation status. All outputs retain verifiable field sources, constraint judgment results, and data origins, providing complete support for subsequent confirmation operations and compliance traceability.

[0042] Confirming the first relationship and generating a first-range token that limits the scope of the process: Upon receiving confirmation or adjustment instructions and forming a confirmation relationship, the system makes a final judgment on the candidate relationships output by the rule-based process matching and forms the first confirmed relationship. A new range token is generated and written into the relationship memory and dependency index. After the first-level relationship is confirmed, a corresponding first-confirmation range token is generated. This token only contains the object identifier, version fingerprint, and node set reference of the confirmed process. The core function of the token is to limit the reading scope of the next-level intelligent agent, rather than to store complete business data. The next-level intelligent agent can only obtain the candidate object set based on the token and cannot expand it to other processes or roles on its own. After the token is revoked, the original candidate range immediately loses its task input qualification.

[0043] The node matching agent generates a second candidate relationship and corresponding evidence: The intermediate-level node matching agent receives the source object of the current-level process node and the first confirmation range token generated by the previous level. After verification, the node matching agent only reads the set of process nodes pointed to by the token and no longer traverses other business processes. In addition to node names, the matching process also checks the node order, adjacent relationships, node roles, and permission conditions. Candidate nodes that do not meet the constraints on the order or number of nodes are directly excluded. The agent sorts the candidate nodes according to the matching value, retains the matching basis and constraint judgment results, and generates a second candidate relationship and corresponding evidence; when there are no candidates or multiple candidates that cannot be distinguished, the confirmation gating pause mechanism is also triggered.

[0044] The system confirms the second relationship and generates a second-range token that limits the node's scope: Upon receiving a confirmation or adjustment command, the system makes a final judgment on the candidate relationships output by node matching and forms a second confirmation relationship, generating a second confirmation range token. This token is only passed downstream after being verified again by the confirmation gate. The second confirmation range token points to the confirmed node and its role range, limiting only the node roles and corresponding positions that the next-level agent can read. The next-level agent cannot expand this range to other nodes or roles on its own.

[0045] The role-organization personnel matching agent generates and confirms a third relationship: the lowest-level role-organization personnel matching agent receives the source object of its own position and the second confirmation scope token generated by the previous level. The role-organization personnel matching agent focuses on departmental and position affiliation, appointment relationships, and verification of organizational, appointment, and account status. It searches for the corresponding departmental position among the personnel objects, confirms the position relationship, and then determines the personnel object along with the appointment relationship. Relevant status information is read along with the personnel object as evidence of the third relationship, ensuring the targeting and accuracy of matching at each level. After the three-level agents sequentially complete the relationship confirmation at their respective levels, the task orchestration unit connects the three sets of confirmation relationships in sequence, forming a complete penetrating relationship chain of "internal control rules—business processes—system nodes—internal control roles—departmental positions—personnel". When the upper-level token expires, the confirmation gate changes the token status in the token status registration table to "revoked", increments the revocation sequence number, and publishes a token revocation event through the task message channel. The downstream agent does not use the token copy in the local cache as the final judgment basis, but queries the token status and revocation sequence number before the task starts and before the result is written. Tasks that have been queued but have not yet started are directly canceled, and tasks that are being executed cannot write confirmation results even if they hold cached tokens.

[0046] The system maintains confirmed relationships, dependency pointers, and a reverse dependency index: all confirmed relationships are written to independent relational memory units, constructing a relational memory system with parent-child relationships and a reverse dependency index mechanism to support efficient version management and change impact localization. Each relational memory unit uses the relation identifier as the primary key, recording basic information such as relation hierarchy, source object identifier, target object identifier, matching criteria, and pending confirmation status. Confirmed relationships additionally record a confirmation record summary and confirmation time, while continuously maintaining the parent relation identifier, child relation identifier, and version fingerprints of both end objects. Relationship states are divided into three categories: pending confirmation, confirmed, and invalid. Only confirmed relationships can generate valid confirmation scope tokens. The system synchronously establishes a reverse dependency index, with the index key consisting of the object identifier and version fingerprint, and the index value being the set of all relation identifiers referencing the object's version. When an object changes, it is not necessary to sequentially scan all relational memories; the initial set of affected relationships can be quickly obtained through this index. Each relational memory unit synchronously maintains a revision number, which increments with valid updates to the relation status or token status, and is used as a comparison value for concurrent conditional updates. The confirmation scope tokens used in the project adopt a unified structure, including token identifier, relationship hierarchy, source object identifier, target object identifier, source version fingerprint, target version fingerprint, relationship status, token status, revocation sequence number, and confirmation record summary. The core function of the token is to limit the reading scope of the next-level agent, rather than storing complete business data: the first confirmation scope token points to a confirmed process and its node set, the second confirmation scope token points to a confirmed node and its role scope. The next-level agent can only obtain the candidate object set based on the token and cannot expand it to other processes or roles. After the token is revoked, the original candidate scope immediately loses its task input eligibility. The three matching agents use different fields and structural constraints, and do not share a uniform candidate set, ensuring the targeting and accuracy of matching at each level. Tokens and confirmation relationships are synchronously written to the relationship memory unit. The system synchronously maintains the parent relationship identifier, child relationship identifier, and reverse dependency index. The relationship memory unit uses the relationship identifier as the primary key and records the relationship hierarchy, source and target object identifiers, matching criteria, confirmation record summary, confirmation time, and version fingerprints of both objects. The relationship status is updated to confirmed, and only confirmed relationships can generate valid confirmation scope tokens.

[0047] By comparing configuration status by version and recalculating the affected subgraph using the failure queue: The project establishes a complete change event-driven mechanism and incremental recalculation process to achieve accurate incremental verification in configuration change scenarios, avoid the performance overhead of full recalculation, and ensure data consistency and system stability. Figure 4As shown, the system receives change events containing object identifiers, new version fingerprints, and event identifiers. The process data interface and organization / personnel data interface automatically send change events when configurations change. Each change event carries at least an event identifier, object identifier, change type, new version fingerprint, and source object change sequence number. The system first deduplicates change events by event identifier. The source object change sequence number is used to determine the order of events for the same object; earlier events cannot overwrite newer object versions that have already been processed. The system uses a reverse dependency index to locate affected seed relationship memory units. Utilizing this reverse dependency index mechanism, the system avoids sequentially scanning all relationship memories. It directly uses the index key composed of the object identifier and version fingerprint to quickly obtain the set of all relationship identifiers referencing the object version, accurately locating the seed relationship memory units affected by this change, serving as the starting node for failure handling. The system writes the located seed relationship identifiers into the failure queue and deduplicates entries by event identifier, preventing the same change event from causing the same relationship to enter the failure queue multiple times. Simultaneously, the failure queue is deduplicated by relationship identifier, ensuring that the same relationship is not repeatedly included in the failure handling scope. The process involves comparing object versions, marking invalid relationships, and revoking the corresponding range tokens. After a change event enters the queue, the invalidation executor in the consistency check and incremental recalculation unit triggers token invalidation. When processing a relationship memory unit, the invalidation executor compares the version fingerprint recorded in that unit with the current object version. Using the relationship identifier and revision number as conditions, within the same transaction, it updates the status of inconsistent relationships from confirmed to invalid. Simultaneously, it marks the corresponding token in the token status registry as revoked and increments the revocation sequence number. After the transaction is committed, the invalidation executor publishes a token revocation event. The task orchestration unit cancels downstream tasks that have not yet started. Downstream agents currently executing query the token status and revocation sequence number again before writing the result to ensure that old tokens in the cache cannot be used to commit results. The sub-relationship identifier is added to the queue until the affected subgraph is traversed. After the failure mark and token revocation of the current relationship are completed, the failure executor adds the sub-relationship identifier of the relationship to the queue and continues to traverse downstream along the parent-child relationship link. When the queue is empty, all downstream relationships affected by this change have been located, the range of the affected subgraph is fully determined, and the memory units of unaffected relationships remain in their original state without processing. Only the affected level and its downstream agents are called to regenerate and confirm the relationship. The system only calls the level involved in the affected subgraph and its downstream matching agents to regenerate candidate relationships and complete the confirmation within the limited scope, without triggering a full recalculation of the entire link, thus minimizing the performance overhead caused by configuration changes. Relationship updates adopt an append-only record method. The old relationship memory unit retains the original relationship identifier, version, and evidence. The newly confirmed relationship is written with a new relationship identifier, and the parent-child relationship and reverse dependency index are re-established. The current verification only reads the relationship with a confirmed status and consistent version. The old record is used for historical tracing.The system writes a new relationship and a new range token, and outputs the updated evidence path. After the new confirmation relationship and corresponding range token are written, the system synchronously updates the reverse dependency index and relationship revision number, and outputs the updated complete evidence path. The failure queue is committed separately with each relationship memory unit as the transaction boundary. Successfully updated relationships are not rolled back due to the failure of other relationships in the same batch: for example, when batch verifying one hundred relationships to be invalidated, the ninety-five successfully processed relationships are committed separately; the five relationships that failed due to interface timeouts retain their token revocation status and are written to the retry queue with an idempotent key composed of an event identifier and a relationship identifier. The system reprocesses according to the preset number of retries and intervals. Downstream tasks with parent-child dependencies remain blocked until the corresponding parent relationship is successfully processed; relationship chains that still fail after exceeding the retry conditions are marked as data unverifiable and a manual processing prompt is output. Duplicate change events are deduplicated using event identifiers to prevent the same relationship from entering the failure queue multiple times. When two change events simultaneously hit the same relationship, the failure executor updates the conditions using the relationship identifier and the current revision number. Only one event can be committed first. The thread handling the optimistic locking conflict rereads the latest relationship state, revision number, and source object change sequence number. If the relationship has already completed failure processing with a version no lower than the one for this event, this event is recorded as idempotent. If the object version corresponding to this event is updated, the two changes are merged into the same failure request, and retried based on the latest revision number. If the system still fails after reaching the preset number of conflict retries, the token is retained in the revocation state, the relationship is written to the retry queue, and the reason for the conflict is recorded to prevent earlier events from overwriting newer relationship states. When a new version of internal control permission rules is imported or the preset verification period is reached, the system performs a full verification. When an interface fails, data is missing, or version information is incomplete, the most recent confirmation record can still be queried, but it is not used as the current compliance conclusion.

[0048] Output of anomalies and penetrating evidence paths with object versions: The project performs full-dimensional consistency checks along the current valid relationship chain, generating complete anomaly evidence paths to support rapid location and tracing of compliance issues. It also adapts to various deployment and implementation methods, covering various boundary scenarios. The consistency check unit reads object fields item by item along the penetrating relationship chain. Before comparing permission conditions, it standardizes the monetary unit, comparison operators, and boundary values. The process structure comparison checks the number of nodes, node order, and required nodes. The role comparison checks the matching between internal control roles and system node roles. The organizational personnel comparison checks departmental position affiliation, organizational status, appointment status, and account status. All anomalies generate standardized anomaly evidence paths, recording the anomaly type, original values ​​on both sides, data source, object identifier, version fingerprint, confirmation scope token identifier, and the relationship identifier traversed. The confirmation relationship table and anomaly result table can be exported separately. After entering from the anomaly item, inspectors can trace back to the corresponding internal control rules, process nodes, departmental positions, and personnel objects according to the relationship identifier, achieving full-chain tracing of the problem. The project supports flexible alternative implementation methods: matching capabilities can employ rule engines, semantic vector models, classification models, or combinations of these components; relational memories and dependency indexes can be stored in relational databases or graph databases, or stored separately and linked through relational identifiers; multiple matching agents can be deployed on the same computing node or different computing nodes. Regardless of the deployment and implementation method, candidate relationships retain verifiable matching criteria, unconfirmed relationships cannot generate confirmation scope tokens, task orchestration units verify confirmation scope tokens, relation updates maintain parent-child relationships and reverse dependency indexes, and abnormal outputs retain object versions and relational identifiers. For scenarios where one internal control rule corresponds to multiple business processes, one internal control node corresponds to multiple system nodes, or one role corresponds to multiple departmental positions, the system saves candidate relationships separately and maintains a pending confirmation status; no candidates, multiple candidates, missing data, interface failures, duplicate events, and version conflicts are all recorded in their processing status and are not automatically interpreted as compliant. Organizational personnel data only reads the identifiers and status fields required for position and personnel status verification; all access and export operations are recorded in audit logs to ensure data security. Through the implementation of this method, the efficiency of internal control permission verification in the group has been improved by more than 85% compared with the manual mode, the missed detection rate has been reduced to less than 1%, and the response time for compliance verification after configuration changes has been shortened from 3 working days to hours, realizing dynamic, continuous, and penetrating compliance management of internal control permissions.

[0049] In summary, the internal control penetration verification method of this application is not limited to static compliance verification through single-point manual checking. Instead, it achieves dynamic compliance management across the entire chain through multi-agent collaboration and relational memory mechanisms: A unified verification object library is constructed based on the standardized conversion of three types of configuration data and a version fingerprint system, comprehensively covering the rules, processes, and organizational personnel configuration information of multiple heterogeneous systems; through three-level matching agent sequential collaboration and step-by-step transmission of confirmation scope tokens, the penetration verification chain from internal control rules to on-the-job personnel is accurately established; an event-driven incremental recalculation mechanism is established based on relational memory and reverse dependency indexes to efficiently locate the scope of change impact and perform recalculation only on the affected subgraphs; full-dimensional consistency detection is performed along the penetration relation chain, and a traceable path of abnormal evidence is generated, supporting rapid location of compliance issues and full-chain tracing. The verification mechanisms at each level are independent yet closely connected, jointly achieving highly efficient, low-missibility, and traceable dynamic continuous compliance management of complex heterogeneous configurations in large groups.

[0050] This invention also proposes an internal control penetration verification system based on multi-agent collaboration and relational memory. Please refer to [link / reference needed]. Figure 5 , Figure 5 This is a schematic diagram of the internal control penetration verification system based on multi-agent collaboration and relational memory, according to an embodiment of this application.

[0051] The internal control penetration verification system based on multi-agent collaboration and relational memory includes: an acquisition module, a conversion module, a multi-level verification and matching module, and a relational memory and verification module.

[0052] The module is used to acquire internal control permission rules data, business system process configuration data, and organizational personnel data. The conversion module converts these data into corresponding objects and generates object identifiers and version fingerprints. The multi-level verification and matching module, based on the object identifiers and version fingerprints, calls a rule-process matching agent to generate a first candidate relationship and first relationship evidence. Upon receiving confirmation or adjustment instructions, a first confirmation relationship is formed, generating a first confirmation range token recording the object identifiers and version fingerprints at both ends. A confirmation gate verifies the relationship status and version fingerprint of the first confirmation range token. Upon successful verification, a node matching agent is called to generate a second candidate relationship and evidence using the process node set pointed to by the token as the candidate range. Upon receiving confirmation or adjustment instructions, a second confirmation relationship is formed, and a second... After confirming the scope token and verifying it through the gate control, the role organization personnel matching agent is invoked to match internal control roles and department positions. Based on the employment relationship, the personnel object is determined, forming a third confirmation relationship and evidence. The relationship memory and verification module is used to write the first, second, and third confirmation relationships into relationship memory units with parent-child relationship identifiers, establish a reverse dependency index, construct a sequentially connected penetrating relationship chain, receive source data change events, use the reverse dependency index to locate the seed relationship memory unit and write it into the failure queue, traverse the affected subgraph to mark the failure unit, revoke the corresponding token, invoke the affected level and downstream matching agent to generate relationships, compare the current version information with the penetrating relationship chain, generate inconsistencies, and output an abnormal evidence path containing relationship evidence at all levels, object identifiers, and version fingerprints.

[0053] The following will illustrate an internal control penetration verification system based on multi-agent collaboration and relational memory through a specific embodiment, such as... Figure 6 As shown, it includes: Taking the internal control authority compliance verification of a large heavy equipment manufacturing group as the implementation scenario, an internal control penetration-type multi-agent collaborative verification platform was deployed, covering the group headquarters and 12 production, R&D and trading subsidiaries, to achieve full-chain penetration verification of 27 internal control items in five major categories such as material procurement and fund payment.

[0054] The platform first constructs three types of standardized verification data objects. The internal control permission rules object parses 32 official internal control systems and supplementary notices from the group, extracting core fields such as rule identifiers, internal control matters, applicable organizations, approval roles, and permission conditions. The business process configuration object connects to 18 heterogeneous business systems including ERP, OA, procurement, and HR, synchronizing process identifiers, node identifiers, node order, node roles, and permission configuration information. The organization and personnel object connects to the human resources management system and the unified identity platform, synchronizing data such as organizational affiliation, job title, and account status for 1764 on-the-job personnel across the group. All objects undergo standardized processing for field names, null value rules, and monetary units, and a version fingerprint is generated by calculating a content summary. Objects with the same identifier but different version fingerprints are considered new configuration versions, ultimately forming a standardized verification object library.

[0055] The platform deploys a three-tiered sequential matching agent. Only confirmation scope tokens verified by status and version are exchanged between agents; natural language conclusions are not directly transmitted. The rule / process matching agent receives the internal control rule source object and the root scope token. It first queries the relation memory; if a confirmed historical relationship with the same version exists, it is directly reused. If no usable historical relationship exists, it calculates and sorts the matching value based on four dimensions: name semantics, business attributes, structural constraints, and historical support. If no candidate meets the criteria or multiple candidates cannot be distinguished, a pause is triggered, awaiting manual confirmation. After the first relationship is confirmed, a first confirmation scope token is generated, limiting the process scope. The node matching agent, after verifying the token, only matches within the node set pointed to by the token, additionally verifying node order, adjacency relationships, roles, and permission conditions, excluding candidate nodes that do not meet the constraints. After confirmation, a second confirmation scope token is generated, limiting the node scope. The role / organization / personnel matching agent, after verifying the second token, matches the corresponding department / position and incumbent personnel, synchronously reading the organization, position, and account status as evidence, ultimately forming a complete penetrating relationship chain of "internal control rule—business process—system node—internal control role—department / position—personnel".

[0056] The gating, range token, and task orchestration units are responsible for end-to-end token verification and task scheduling. Each level of token is stored in a status register. Downstream agents query the token status before task initiation and before result writing. If a token has been revoked or its version is mismatched, the queued task is canceled or the writing process is terminated to avoid the cascading of old tokens. The relation memory and dependency index store all relation information using the relation identifier as the primary key. Relationship status is categorized into three types: pending confirmation, confirmed, and expired. Only confirmed relationships can generate valid tokens. A reverse dependency index is synchronously established, allowing for quick location of affected relationships when objects change, eliminating the need for a full database scan. Relationship updates use an append-only approach, while old records are retained for historical tracing.

[0057] The consistency check, failure queue, and incremental recalculation unit receives configuration change events from each system. After event deduplication, seed relationships are located using the reverse dependency index and written to the failure queue. Version fingerprints are compared one by one; relationships with inconsistent versions are marked as invalid and their corresponding tokens are revoked. Sub-relationships are then traversed to determine the complete affected subgraph. Only the intelligent recalculation function within the subgraph is called; unaffected parts remain unchanged. Failure handling is committed independently with each relationship as the transaction boundary. Failed items are entered into the retry queue. Items exceeding the preset retry count are marked as unverifiable data and trigger a manual processing alert.

[0058] The evidence chain output and anomaly alert unit performs full-dimensional consistency verification along the effective relationship chain, unifying the comparison of permission conditions, process structure, role matching degree, and personnel status validity. All anomalies generate evidence paths with complete links, supporting backtracking from the anomaly item to the corresponding rules, nodes, positions, and personnel, achieving full-link traceability of compliance issues.

[0059] In summary, this application embodiment unifies the data benchmark through a standardized verification object system, achieves penetrating matching verification by relying on the three-level intelligent agent sequential collaboration and confirmation range token mechanism, and ensures data consistency and verification efficiency by combining relational memory reverse index and event-driven incremental recalculation. At the same time, it generates anomaly evidence paths that can be traced throughout the entire chain, significantly reducing the full verification cycle, greatly improving the compliance response speed after configuration changes, effectively reducing the missed detection rate of permission configuration, and supporting the group to achieve dynamic, continuous, and refined full-chain internal control permission compliance management.

[0060] The internal control penetration verification system based on multi-agent collaboration and relational memory provided in this embodiment of the invention has the same implementation principle and technical effect as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the system embodiment can be referred to the corresponding content in the aforementioned method embodiment.

[0061] This invention also proposes a computer, please refer to [link / reference]. Figure 7 The diagram shows a computer structure in an embodiment of the present invention, including a memory 10, a processor 20, and a computer program 30 stored in the memory 10 and executable on the processor 20. When the processor 20 executes the computer program 30, it implements the above-mentioned internal control penetration verification method based on multi-agent collaboration and relational memory.

[0062] The memory 10 includes at least one type of readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 10 can be an internal storage unit of a computer, such as the computer's hard disk. In other embodiments, the memory 10 can be an external storage device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Furthermore, the memory 10 can include both internal and external storage units of the computer. The memory 10 can be used not only to store application software and various types of data installed on the computer, but also to temporarily store data that has been output or will be output.

[0063] In some embodiments, the processor 20 may be an electronic control unit (ECU), a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip, used to run program code stored in the memory 10 or process data, such as executing access restriction programs.

[0064] It should be pointed out that, Figure 7 The structure shown does not constitute a limitation on the computer. In other embodiments, the computer may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0065] Those skilled in the art will understand that the logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can mean any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0066] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0067] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this invention should be determined by the appended claims.

Claims

1. An internal control penetration verification method based on multi-agent collaboration and relational memory, characterized in that, include: Obtain internal control permission rules data, business system process configuration data, and organizational personnel data; The internal control permission rule data, business system process configuration data, and organizational personnel data are converted into corresponding objects and object identifiers and version fingerprints are generated. Based on the object identifier and version fingerprint, the rule-based process matching agent is invoked to generate a first candidate relationship and first relationship evidence. Upon receiving confirmation or adjustment instructions, a first confirmation relationship is formed, and a first confirmation range token recording the object identifiers and version fingerprints at both ends is generated. The confirmation gate verifies the relationship status and version fingerprint of the first confirmation range token. After successful verification, the node matching agent is invoked to generate a second candidate relationship and evidence using the process node set pointed to by the token as the candidate range. Upon receiving confirmation or adjustment instructions, a second confirmation relationship is formed and a second confirmation range token is generated. After successful verification by the confirmation gate, the role-based organization personnel matching agent is invoked to match internal control roles and departmental positions. Based on the employment relationship, the personnel object is determined, forming a third confirmation relationship and evidence. The first, second, and third confirmation relationships are written into the relationship memory unit with parent-child relationship identifiers, a reverse dependency index is established, a sequentially connected penetrating relationship chain is constructed, source data change events are received, the seed relationship memory unit is located using the reverse dependency index and written into the failure queue, the affected subgraph is traversed to mark the failure unit, the corresponding token is revoked, the affected level and downstream matching smart weight is called to generate relationships, the current version corresponding information is compared according to the penetrating relationship chain, inconsistency items are generated, and an abnormal evidence path containing relationship evidence at all levels, object identifiers, and version fingerprints is output.

2. The method according to claim 1, characterized in that, Generating the object identifier and version fingerprint includes: Define identity key fields and version content fields according to object type, standardize the source system identifier, object type, and identity key fields in a fixed order, and generate object identifier; The object identifier and the version content field are standardized in a fixed order, and a content summary is calculated to obtain the version fingerprint. If the same object identifier already exists: if the version fingerprint is the same, it is not written again and the existing version identifier is returned; if the version fingerprint is different, the version fingerprint and the corresponding configuration content are written as a new configuration version of the same object into the version table, and the mapping relationship between the object identifier and the version fingerprint is established or updated in the configuration object version index.

3. The method according to claim 1, characterized in that, When the token status is valid, the relationship status is confirmed, and the version fingerprint recorded on the token is consistent with the version fingerprint of the current object, the confirmation range token is in a valid state. When the token status is revoked, the confirmation range token is invalid and cannot be used as the admission basis for the next level of matching. The next level candidate range is used to limit the candidate object set of the next level matching agent, including at least one of the process node set, system node role range, and internal control role range. The revocation sequence number is generated in ascending order according to the order in which the revocation occurs.

4. The method according to claim 1, characterized in that, When an object version change causes a relationship to need to be regenerated, the original relationship memory unit is retained, the relationship state is marked as invalid, and a new relationship memory unit with a new relationship identifier is written as the new currently valid relationship.

5. The method according to claim 4, characterized in that, The process of updating a relationship involves retaining the original relationship memory unit and writing a relationship memory unit with the new relationship identifier, including: According to the relation identifier, the relation memory unit to be processed is deduplicated. When a relation memory unit is retrieved, the relation identifier and revision number are used as conditions. In the same transaction, the relation status that is inconsistent with the current object is changed from confirmed to invalid. The corresponding confirmation range token is marked as revoked, the revocation sequence number is written, and the token revocation event is published in the token status registration table. The token revocation event cancels downstream tasks that have not yet started, and the token status is checked again before the results are written to the downstream tasks that are currently being executed. When a transaction update conflict occurs, the latest relationship status and event version are reread. If the relationship has been processed for failure at a version no lower than the current event version, the current processing is recorded as idempotent. Otherwise, the change event is merged and retried. The relationship memory units are submitted separately. The relationship memory units that fail to process maintain the token revocation status and are written to the retry queue. The sub-relationship identifiers of the failed relationship are written to the failure queue until the queue is empty. A full verification is performed in response to the update of the internal control permission rule version or the arrival of the preset period.

6. The method according to claim 1, characterized in that, Also includes: Candidate generation for each matching agent: Obtain the source object at this level and the token of the previous level or root scope, and standardize the name, business attributes, role attributes, permission conditions and structural position of the input object to obtain a standardized set of object features; Based on the standardized object feature set and the object range defined by the upper-level or root range token, query the relation memory to obtain historical confirmed relationships with the same version and a confirmed status. Based on the aforementioned historical confirmation relationships, structural constraints, and standardized object characteristics, candidate objects are determined, and consistency and historical relationship support are calculated. Based on the consistency and historical relationship support, calculate the matching value, sort the candidate objects according to the matching value, and output the candidate objects, the features involved in the calculation, the data source, and the pending confirmation status. If the threshold is not reached or cannot be distinguished, output the status of no candidate or multiple candidates and suspend subsequent tasks.

7. The method according to claim 1, characterized in that, The node matching agent generates a second candidate relationship only in the business process node set limited by the first confirmation scope token, based on the node name, node order, node role, and node permission conditions, and excludes candidate objects that do not meet the node order constraint or node number constraint.

8. The method according to claim 1, characterized in that, The role-organizing personnel matching agent establishes the relationship between internal control roles and departmental positions only within the scope of internal control roles and system node roles limited by the second confirmation scope token. Then, it determines the personnel objects based on the employment relationship between departmental positions and personnel objects, and reads the organization status, employment status, and account status as third relationship evidence.

9. An internal control penetration verification system based on multi-agent collaboration and relational memory, characterized in that, include: The acquisition module is used to acquire internal control permission rules data, business system process configuration data, and organizational personnel data; The conversion module is used to convert the internal control permission rule data, business system process configuration data and organizational personnel data into corresponding objects and generate object identifiers and version fingerprints; The multi-level verification and matching module is used to generate a first candidate relationship and first relationship evidence by calling a rule-based process matching agent based on the object identifier and version fingerprint. Upon receiving confirmation or adjustment instructions, a first confirmation relationship is formed, and a first confirmation range token recording the object identifiers and version fingerprints at both ends is generated. The confirmation gate verifies the relationship status and version fingerprint of the first confirmation range token. If the verification passes, the node matching agent is called to generate a second candidate relationship and evidence using the process node set pointed to by the token as the candidate range. Upon receiving confirmation or adjustment instructions, a second confirmation relationship is formed and a second confirmation range token is generated. After the confirmation gate verifies the second confirmation relationship, the role-organization personnel matching agent is called to match internal control roles and departmental positions, determine personnel objects based on their employment relationships, and form a third confirmation relationship and evidence. The relation memory and verification module is used to write the first confirmed relation, the second confirmed relation, and the third confirmed relation into relation memory units with parent-child relation identifiers, establish a reverse dependency index, construct a sequentially connected penetrating relation chain, receive source data change events, use the reverse dependency index to locate seed relation memory units and write them into the failure queue, traverse affected subgraphs to mark failure units, revoke corresponding tokens, call the affected level and downstream matching smart weight to generate relations, compare the current version's corresponding information according to the penetrating relation chain, generate inconsistencies, and output abnormal evidence paths containing relation evidence at all levels, object identifiers, and version fingerprints.

10. A computer device comprising a processor and a memory, characterized in that, When the computer program in the memory is executed by the processor, it implements the internal control penetration verification method based on multi-agent collaboration and relational memory as described in any one of claims 1 to 8.