Compliance session routing method, apparatus, device, storage medium and program product

By preprocessing and evaluating multi-communication channel session data in multinational enterprise data governance, compliant language messages are generated and routed to secure channels, solving the problem of discontinuous compliant sessions, achieving cross-channel consistency of session status and sensitivity labels, and improving the accuracy and efficiency of compliant session processing.

CN123145200APending Publication Date: 2026-11-20CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the data governance of multinational enterprises and overseas platforms, compliance sessions in multi-communication channel scenarios are often discontinuous, making it difficult to maintain session status. The separation of regulatory interpretation, risk assessment and audit records leads to poor continuity of compliance tasks.

Method used

By preprocessing the raw session data of the first communication channel, compliant language messages are generated, the context object is updated, the channel security level and data sensitivity are assessed, routing instructions are generated, and the compliant language messages are routed to the secure target communication channel. Subsequent compliant sessions are then conducted based on the context object and the target model.

Benefits of technology

It achieves consistency of session status, risk profiles, and sensitivity labels across different communication channels, reduces context loss and redundant communication costs during cross-platform switching, improves the accuracy and response efficiency of compliance session processing, and enhances the collaborative capabilities and audit traceability of multi-channel compliance work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145200A_ABST
    Figure CN123145200A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a compliance session routing method, device, equipment, storage medium and program product. The method comprises: preprocessing original session data corresponding to a first communication channel to obtain a compliance language message corresponding to a current compliance session, updating a context object corresponding to the current compliance session based on the compliance language message, evaluating the compliance language message to obtain an evaluation result, and determining a routing instruction of the compliance language message according to the evaluation result, wherein the context object is used for synchronization to a second communication channel, the context object records a session state, a risk portrait and a sensitivity label corresponding to the current compliance session, and the evaluation result at least includes a channel security level and data sensitivity. The method is used to solve the continuity problem of cross-channel compliance sessions in a multi-communication channel scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data compliance management, and in particular to a compliance session routing method, apparatus, device, storage medium, and program product. Background Technology

[0002] In the data governance of multinational corporations and overseas platforms, a Data Protection Officer (DPO) is usually required to conduct compliance audits on the conversation data collected from communication channels in order to verify whether there are any non-compliant risk behaviors during the communication process and to retain complete and traceable conversation evidence to meet internal control and regulatory requirements.

[0003] In related technologies, most tasks related to compliant communication channels are carried out on a single channel. They collect session records from a single communication channel, complete session archiving, rely on rules or models to perform session semantic detection, identify clues of violations, and trigger alarms and manual review.

[0004] Therefore, in scenarios with multiple communication channels, compliant sessions in related technologies suffer from session discontinuity. Summary of the Invention

[0005] This application provides a compliance session routing method, apparatus, device, storage medium, and program product to solve the aforementioned technical problems. This solution addresses the need for continuous processing of compliance sessions across communication channels by constructing a unified routing and coordination mechanism based on session status, risk information, and sensitive information. This enables sessions originating from a first communication channel to be switched to a target communication channel in a second communication channel as needed, provided compliance judgments are met, thereby improving the continuity and collaborative processing capabilities of multi-channel compliance tasks.

[0006] In a first aspect, embodiments of this application provide a compliant session routing method, including:

[0007] Preprocess the raw session data corresponding to the first communication channel to obtain the compliant language message corresponding to the current compliant session;

[0008] The context object corresponding to the current compliance session is updated based on compliance language messages. The context object is used to synchronize to the second communication channel. The context object records the session status, risk profile and sensitivity label corresponding to the current compliance session.

[0009] The evaluation results of compliant language messages include at least the channel security level and data sensitivity.

[0010] Based on the assessment results, the routing instructions for compliance language messages are determined. The routing instructions are used to instruct the compliance language messages to be routed to the third communication channel in the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model.

[0011] In one possible embodiment, obtaining the compliant language message includes:

[0012] Parse the raw session data to determine the protocol type of the first communication channel;

[0013] Based on the message format conversion rules corresponding to the protocol type, the field structure in the compliant language message is formatted to obtain the compliant language message.

[0014] In one possible embodiment, the method further includes:

[0015] In response to a change in the task type of the context object, a new context object corresponding to the changed task is created based on the compliant language message.

[0016] In response to the existence of associated tasks in the context object, a new context object corresponding to the associated task is created based on the compliant language message.

[0017] In one possible embodiment, the assessment of channel security level includes at least assessing whether transmission is encrypted, whether it is statically encrypted, whether there is access control, whether data resides, whether audit logs are immutable, and whether a retention policy is configured.

[0018] In one possible embodiment, the assessment of data sensitivity includes at least verifying whether the compliant language message includes disclosure records, personally identifiable information, consent biometrics, DPIA documents, ROPA records, vendor assessments, policy assessment results, audit logs, session logs, skill configurations, system metadata, and performance metrics.

[0019] In one possible embodiment, generating routing instructions includes:

[0020] Security channels are determined by combining second communication channels based on channel security level and data sensitivity;

[0021] If the candidate channel indicated by the user is a secure channel, the candidate channel is determined to be the third communication channel, and a routing instruction is generated.

[0022] In one possible embodiment, the method further includes:

[0023] If the candidate channel is not a secure channel, a prompt message is generated based on the secure channel identifier. The prompt message is used to prompt the user to select a communication channel from the secure channels to continue the session.

[0024] In one possible embodiment, the method further includes:

[0025] In response to changes in the context object content, a change event is published based on the changed content, so that the second communication channel that has subscribed to the current compliance session receives the push of the change event and updates the local cached context object corresponding to the current compliance session based on the change event.

[0026] In one possible embodiment, the method further includes:

[0027] At least one candidate model is determined from multiple session models based on data sensitivity.

[0028] The configurations of candidate models are scored based on task type, and the candidate model with the highest score is determined as the target model. The target model is used to perform compliance assessment on the original session data based on the context object to obtain the compliance assessment document.

[0029] In one possible embodiment, the method further includes:

[0030] Input the raw session data into the target model to obtain the risk score and risk classification output by the model;

[0031] If the risk score and risk classification meet the convergence condition, the compliance assessment document output by the target model based on the original session data is obtained.

[0032] In one possible embodiment, the method further includes:

[0033] If the risk score and risk classification do not meet the convergence condition, obtain the risk question output by the target model based on the original session data. The risk question is used to obtain supplementary data from the user's answers.

[0034] Based on supplementary data, the risk score and risk classification are updated using the target model until they meet the convergence condition.

[0035] In one possible embodiment, the method further includes:

[0036] In response to changes in regulations, the strategy codes corresponding to the regulations are updated. The strategy codes are used to generate compliance assessment documents for the target model.

[0037] The knowledge graph corresponding to the legal provisions is updated, and the knowledge graph is used by the target model to determine the risk classification of the original session data.

[0038] In one possible implementation, updating the policy code includes:

[0039] Semantic parsing is performed on the structured clauses in the revised regulatory documents to obtain the sub-elements corresponding to each structured clause. The sub-elements include at least obligations, conditions, exceptions, and cross-references.

[0040] The update strategy code is generated based on the sub-elements to correspond to the structured clauses. The update strategy code is used to override the old strategy code.

[0041] In one possible embodiment, the method further includes:

[0042] The revised regulatory document is divided into multiple clause texts based on the format information of the revised regulatory document;

[0043] The format of the clause text is corrected to obtain the standard text;

[0044] Structured clauses are generated based on the target fields in the specification text.

[0045] In one possible embodiment, updating the knowledge graph includes:

[0046] Identify any changes to the structured terms;

[0047] The clause nodes are generated based on the sub-elements corresponding to the obligations, conditions, and exceptions of the structured clauses, and relationship edges are generated based on the cross-referenced sub-elements.

[0048] The knowledge graph is updated based on clause nodes and relationship edges.

[0049] In one possible embodiment, the method further includes:

[0050] Identify the relevant compliance sessions for regulatory provisions;

[0051] Based on the updated policy code and knowledge graph, compliance assessments are re-evaluated for each session data in the associated compliance sessions using the target model.

[0052] In one possible embodiment, the method further includes:

[0053] Write the hash values ​​corresponding to compliance events generated during the compliance assessment process into a preset data structure;

[0054] Compliance events are stored in the default storage location.

[0055] Secondly, embodiments of this application provide a compliant session routing device, comprising:

[0056] The preprocessing module is used to preprocess the raw session data corresponding to the first communication channel to obtain the compliant language message corresponding to the current compliant session;

[0057] The update module is used to update the context object corresponding to the current compliance session based on compliance language messages. The context object is used to synchronize to the second communication channel. The context object records the session status, risk profile and sensitivity label corresponding to the current compliance session.

[0058] The assessment module is used to evaluate compliant language messages and obtain assessment results, which include at least the channel security level and data sensitivity.

[0059] The routing module is used to determine the routing instructions for compliance language messages based on the evaluation results. The routing instructions are used to instruct the compliance language messages to be routed to the third communication channel in the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model.

[0060] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0061] The memory stores instructions that the computer executes;

[0062] The processor executes computer execution instructions stored in memory, causing the processor to perform the methods described above.

[0063] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided above.

[0064] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described above.

[0065] The above embodiments provide a compliance session routing method, apparatus, device, storage medium, and program product. The method includes: preprocessing the original session data corresponding to a first communication channel to obtain a compliance language message corresponding to the current compliance session; updating the context object corresponding to the current compliance session based on the compliance language message; evaluating the compliance language message to obtain an evaluation result; and determining the routing instruction for the compliance language message based on the evaluation result. The context object is used to synchronize to a second communication channel and records the session state, risk profile, and sensitivity label corresponding to the current compliance session. The evaluation result includes at least the channel security level and data sensitivity. The routing instruction is used to instruct the compliance language message to be routed to a third communication channel within the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model. In this way, by processing the original session data for compliance and forming a synchronizeable context object, the session state, risk profile, and sensitivity labels can be kept consistent across different communication channels, thereby reducing the context loss and redundant communication costs caused by cross-platform switching. By evaluating compliant language messages and generating routing instructions accordingly, dynamic identification and routing of message security and sensitivity can be achieved, thereby improving the accuracy and response efficiency of compliant session processing. By continuing subsequent sessions on the target communication channel based on context objects and target models, the continuous inheritance of regulatory interpretation, risk assessment, and processing records can be achieved. Furthermore, it can also enhance the overall collaborative capability and audit traceability capability of multi-channel compliance work. Attached Figure Description

[0066] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0067] Figure 1 Flowchart of the compliant session routing method provided in this application embodiment Figure 1 ;

[0068] Figure 2 A schematic diagram of the process architecture of an exemplary compliant routing method provided in the embodiments of this application;

[0069] Figure 3 A flowchart illustrating the automated compilation process of strategy code is provided for embodiments of this application.

[0070] Figure 4 A flowchart for constructing a Merkle tree is provided for embodiments of this application;

[0071] Figure 5 This application provides a schematic diagram of a complete compliance assessment process.

[0072] Figure 6A schematic diagram of a compliance assessment architecture provided for an embodiment of this application;

[0073] Figure 7 This is a schematic diagram of the structure of the compliant session routing device provided in the embodiments of this application;

[0074] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0075] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0076] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0077] In the data governance systems of multinational corporations, overseas platforms, and large groups, a Data Protection Officer (DPO) is typically required to conduct compliance audits on conversation data collected from communication channels. This audits are conducted to verify whether there are any non-compliant risk behaviors during the communication process and to retain complete and traceable conversation evidence to meet internal control and regulatory requirements.

[0078] In related technologies, most tasks related to compliant communication channels are carried out on a single channel. They collect session records from a single communication channel, complete session archiving, rely on rules or models to perform session semantic detection, identify clues of violations, and trigger alarms and manual review.

[0079] In multi-channel scenarios, when switching between channels, no cross-channel compliance session context is established; only session data from each channel is aggregated and managed. This makes it difficult to maintain the continuous state of compliance sessions. During a session, regulatory interpretations, risk assessments, and audit records are often stored in separate components. When old session data enters a new channel, the context often needs to be re-entered or historical content manually reviewed, creating a break in the processing chain. For compliance messages containing sensitive personal information, regulatory communication records, and internal corporate policies, the lack of a combined judgment based on data sensitivity and channel security capabilities can easily lead to misrouting, unauthorized forwarding, and mismatched subsequent inference objects, hindering the continuous progress of compliance tasks.

[0080] In view of this, embodiments of this application provide a compliance session routing method, apparatus, device, storage medium, and program product. The method includes: preprocessing the original session data corresponding to a first communication channel to obtain a compliance language message corresponding to the current compliance session; updating the context object corresponding to the current compliance session based on the compliance language message; evaluating the compliance language message to obtain an evaluation result; and determining the routing instruction for the compliance language message based on the evaluation result. The context object is used to synchronize to a second communication channel and records the session state, risk profile, and sensitivity label corresponding to the current compliance session. The evaluation result includes at least the channel security level and data sensitivity. The routing instruction is used to instruct the compliance language message to be routed to a third communication channel within the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model. In this way, by processing the original session data for compliance and forming a synchronizeable context object, the session state, risk profile, and sensitivity labels can be kept consistent across different communication channels, thereby reducing the context loss and redundant communication costs caused by cross-platform switching. By evaluating compliant language messages and generating routing instructions accordingly, dynamic identification and routing of message security and sensitivity can be achieved, thereby improving the accuracy and response efficiency of compliant session processing. By continuing subsequent sessions on the target communication channel based on context objects and target models, the continuous inheritance of regulatory interpretation, risk assessment, and processing records can be achieved. Furthermore, it can also enhance the overall collaborative capability and audit traceability capability of multi-channel compliance work.

[0081] Figure 1 Flowchart of the compliant session routing method provided in this application embodiment Figure 1 This method can be applied to electronic devices, such as gateway devices capable of capturing, intercepting, or receiving data from corresponding communication channels, possessing independent data processing and routing capabilities; specifically, it can be a server or a terminal. (See reference...) Figure 1 The compliant session routing methods provided in this application include:

[0082] S101, preprocess the original session data corresponding to the first communication channel to obtain the compliant language message corresponding to the current compliant session.

[0083] Here, communication channels are the carriers used to transmit information and carry out communication and collaboration, and are also the source of raw conversation data.

[0084] Understandably, in a multi-communication channel scenario, the first communication channel is the one currently conducting a session among all communication channels. However, when a cross-channel compliance session occurs, the relevant session data from the first communication channel needs to be transferred to other communication channels in the scenario to continue the subsequent compliance session.

[0085] Here, the current compliance session refers to a series of compliance control tasks carried out based on compliance sessions collected and archived through communication channels. These tasks are mainly executed with the assistance of compliance intelligence agents, and are used by DPOs and compliance personnel to perform subsequent compliance tasks. These compliance tasks can include at least compliance semantic inspection of the session, identification of non-compliant content, risk marking and alarm, compliance task routing, evidence locking, and audit review.

[0086] In this embodiment of the application, the original session data is the interaction content obtained from the first communication channel, which may include unprocessed text content and related metadata.

[0087] Regarding the process of obtaining raw session data, in one possible implementation, different communication channels correspond to different message protocols. The message protocol corresponding to the first communication channel can be adapted. The message protocol gives the rules for the content composition of the message obtained from the first communication channel. Based on the message protocol, the raw session data is obtained and related preprocessing is performed in order to convert the raw session data into structured compliant language messages.

[0088] Here, compliant language messages are standardized message formats used for subsequent context updates, evaluations, and routing decisions.

[0089] In this embodiment of the application, compliant language messages may include structured content text fields, field names, attachment information, session identifiers, sender identifiers, timestamps, data sensitivity levels, and channel metadata, etc.

[0090] Understandably, the preprocessing process is used to convert raw interactive content from different sources and in different formats into compliant language messages that can be uniformly recognized and processed.

[0091] In one possible implementation, character encoding, image text, or file content in the original session data can be uniformly mapped using preset mapping rules to obtain compliant language messages after mapping conversion.

[0092] In another possible implementation, the process of "obtaining compliant language messages" in S101 may include: parsing the original session data to determine the protocol type of the first communication channel; and formatting the field structure in the compliant language messages according to the message format conversion rules corresponding to the protocol type to obtain the compliant language messages.

[0093] Here, the protocol type can be used to identify the type of communication protocol used by the first communication channel.

[0094] Different protocol types correspond to different message format conversion rules. In this embodiment, the message format conversion rules are used to convert the message field structure under different protocols into a unified set of rules. The set of rules includes at least field mapping relationships, field completion rules, field order specifications, and text encoding specifications.

[0095] In some embodiments, after parsing the raw session data, the protocol type can be determined by combining the protocol header tags, message packet format, metadata description, and channel identifier in the session context, and the conversion rule matching the protocol type can be invoked accordingly.

[0096] In practical implementation, protocol features can be extracted from the raw session data first, identifying delimiters, field keys, message body encoding methods, and platform-specific identifiers in the message packets. The extracted results are then compared with a pre-set protocol template to determine the protocol type of the first communication channel. Subsequently, the field structure in the compliant language message can be formatted according to the message format conversion rules corresponding to the determined protocol type. This includes mapping non-uniformly named fields to uniform field names, expanding nested fields into a flat structure, completing missing standard fields based on context information, and converting text content with different encoding methods into a unified character set representation, thereby generating a structurally consistent compliant language message.

[0097] In some embodiments, the formatting process may also normalize attachment references, time expressions, and tag fields into standard expressions that can be used for subsequent evaluation and routing.

[0098] This approach enables the conversion of heterogeneous compliance language messages into consistent compliance language messages based on the identification of different communication protocols. This ensures that subsequent risk assessments, context updates, and routing decisions are all performed using a unified data format, thereby improving the continuous processing capability of cross-channel compliance sessions. Because the protocol type and conversion rules correspond one-to-one, the message structure is standardized before entering subsequent modules, reducing field ambiguity and mitigating processing deviations caused by inconsistent message parsing across different platforms.

[0099] By converting raw session data into compliant language messages, differences in message format, field organization, and content expression across different communication channels can be eliminated, providing a unified input for subsequent session state continuation and routing decisions.

[0100] S102, Update the context object corresponding to the current compliance session based on the compliance language message.

[0101] The context object is used to synchronize to the second communication channel. The context object records the session status, risk profile and sensitivity label corresponding to the current compliance session.

[0102] Here, the context object is a data carrier that carries the continuous state of the current compliant session, used to maintain the continuity of the same session trajectory across different communication channels.

[0103] In this embodiment, the context object includes at least a session state field, a risk profile field, and a sensitivity tag field. The session state indicates which stage the current compliance session is in (access, review, supplementation, confirmation, transfer, or closure); the risk profile describes the scope of data subjects, processing purpose, cross-border factors, regulatory matters, or approval matters involved in the current compliance session; and the sensitivity tag identifies different content categories contained in the message.

[0104] In some embodiments, when updating the context object based on compliance language messages, new content, supplementary content, and status changes in the compliance language messages can be written into the corresponding fields and associated with the current compliance session identifier to ensure that the same task can still read consistent historical information and the latest status when switching between multiple channels.

[0105] In one possible implementation, the subject, topic, handling conclusion, and matters to be confirmed in the compliant language message can be mapped to different content items in the context object, and the session state can be updated after the message arrives.

[0106] In another possible implementation, sensitivity labels can be dynamically adjusted based on the data categories and processing actions involved in the compliance language messages, while updating the risk level, risk source, and risk scope in the risk profile, so that the context object can reflect the real-time compliance status of the current session.

[0107] Because the context object is synchronized to the second communication channel, subsequent compliant sessions entering from the second communication channel can directly read the object without having to re-encode the historical context, thus enabling cross-channel sessions to continue to be built on the same state carrier.

[0108] Understandably, if a change in the corresponding compliance task type is detected when updating the context object, it may be due to switching to another compliance audit task or entering an associated subtask. The method also includes: responding to a change in the task type of the context object by creating a new context object corresponding to the changed task based on a compliance language message; and responding to the existence of associated tasks in the context object by creating a new context object corresponding to the associated task based on a compliance language message.

[0109] Here, "task type change" means that the current compliance session has switched from the original handling target to a new handling target, and "related tasks" means other tasks that are related to the current compliance session in terms of business, review, or handling.

[0110] In this embodiment of the application, after detecting a change in the task type of the context object, the session identifier, historical summary and risk status stored in the context object can be read first. Then, the subject, object, timeliness information and compliance intent in the compliance language message can be used as the carrier content of the new task to create a new context object corresponding to the changed task. The task type field of the new object is written with a target value different from the original task, while the session link identifier consistent with the original context object is retained so that the new and old objects can be associated in the same compliance session trajectory.

[0111] In this embodiment of the application, for associated tasks, after determining that there are associated task records in the current context object, the associated topic, associated parties and reference relationships can be extracted based on compliant language messages. This information is mapped to the context object corresponding to the associated task, and an associated pointer pointing to the original context object is configured for the context object, so that the two are associated, thereby enabling the associated task to continue independently while maintaining a connection.

[0112] In practical applications, the context object can be implemented using database records, memory objects, or state carriers in a message bus. Its field structure can include a task type field, an associated task field, a message summary field, and an audit identifier field. This structure allows for the generation of a changed task object when the task type changes, and the generation of an associated task object when associated tasks exist. Compliance language messages can be output by the rule engine or model service and saved using a unified encoding format so that the corresponding fields can be directly written when creating a new object. This application does not impose any restrictions on this.

[0113] In this way, when the task type of the current compliance session changes or is converted to other related tasks, a new context object corresponding to the changed task can be created. As a result, the compliance session can maintain context consistency in the case of type switching and multi-task linkage, and subsequent routing, auditing and model inference can all refer to the correct object state.

[0114] Understandably, when the context object is updated, it is necessary to synchronize the updated context object to other communication channels. Based on this, the method also includes: responding to changes in the content of the context object, publishing a change event based on the changed content, so that the second communication channel that has subscribed to the current compliance session receives the push of the change event, and updating the local cached context object corresponding to the current compliance session based on the change event.

[0115] Here, the second communication channel refers to the communication channel other than the first communication channel in the current multi-communication channel scenario.

[0116] Among them, the change event is a session synchronization event generated when the content of the context object changes. The content change may include at least one of the following: session state, risk profile, sensitivity label, routing instruction, or associated task identifier. The local cache is the local storage content of the context object corresponding to the current compliant session on the second communication channel side. The local storage content can be set in the session gateway, channel adapter, or message consumption component corresponding to the second communication channel.

[0117] In this embodiment of the application, when it is detected that the context object corresponding to the current compliant session has been updated, the changed fields can be incrementally compared first to generate a change event carrying a session identifier, a change version number, a change timestamp, and a summary of the change content. Then, the event is pushed to the second communication channel that has subscribed to the session through the event publishing bus. After receiving the push, the second communication channel can locate the corresponding context object in the local cache according to the session identifier, and perform overwrite, field merging, or version replacement processing according to the incremental content carried in the change event, so that the session state in the local cache is consistent with the central side context.

[0118] It is understood that local caching can be implemented using memory caching, distributed caching, or persistent caching. Memory caching is suitable for low-latency updates, distributed caching is suitable for multi-instance sharing, and persistent caching is suitable for offline recovery scenarios. In practical applications, other types of caching media can also be selected, and this application does not limit them.

[0119] In this way, when new compliance information is generated in the first communication channel, the background updates the context object and triggers a change event. The second communication channel continuously receives the event and caches it synchronously. This allows subsequent compliance interactions initiated in the second communication channel to directly read the latest context object without having to re-enter historical information. The current compliance session can maintain context consistency during cross-channel flow. The local cache read by the second communication channel can reflect changes in session status in a timely manner, reducing context mismatch and duplicate entry, and enabling subsequent compliance processing to be carried out continuously based on the same session trajectory.

[0120] S103, evaluate the compliant language messages and obtain the evaluation results.

[0121] The assessment results include at least the channel security level and data sensitivity.

[0122] Here, the assessment results are used to characterize the sensitivity of the compliance language message itself and whether the third communication channel in the second communication channel has the security conditions to carry the message. Among them, the channel security level is the quantitative or graded result of the security capabilities of the communication channel, and the data sensitivity is the quantitative or graded result of the sensitivity of the current compliance language message.

[0123] In this application embodiment, the assessment of channel security level includes at least assessing whether transmission is encrypted, whether static encryption is used, whether access control is implemented, whether data resides, whether audit logs are immutable, and whether a retention policy is configured.

[0124] In this embodiment, the channel security level is used to characterize the security carrying capacity of the target communication channel that is about to be routed across channels for compliant language messages. The security capability configuration of the corresponding channel can be read based on the channel identifier of the first communication channel in the compliant language message, and the transport layer encryption status, static storage encryption status, access control status, data residency attribute, audit log anti-tampering attribute, and retention policy configuration status are used as judgment items for comprehensive evaluation.

[0125] Specifically, whether transmission is encrypted is used to determine whether the channel uses an encryption protocol or encryption tunnel in the message transmission link; whether static encryption is used to determine whether messages are kept encrypted when written to disk, archived, or cached; whether access control is used to determine whether the channel has an access restriction mechanism based on account, role, or policy; whether data resides is used to determine whether the data storage location of the channel meets regional or regulatory requirements; whether audit logs are tamper-proof is used to determine whether the channel logs have the ability to prevent modification after being written; and whether a retention policy is configured is used to determine whether the channel has set storage retention rules that meet the compliant retention period.

[0126] In one possible implementation, corresponding attribute values ​​can be obtained from channel access configuration, key management configuration, permission management configuration, data center region configuration, log storage configuration, and lifecycle management configuration, and these attribute values ​​can be mapped to a unified security score or threshold judgment result to obtain the channel security level of the channel.

[0127] In another possible implementation, the channel security level can be determined based on the number of evaluation results that pass each evaluation dimension in the channel security level assessment. For example, if all evaluation dimensions are met, the channel security level is determined to be the highest level; if only the first number of evaluation dimensions are met, the channel security level is determined to be the medium level; and if only the second number (which is less than the first number) of evaluation dimensions are met, the channel security level is determined to be the low level.

[0128] In terms of working principle, the channel security level jointly evaluates six types of security capabilities: transmission, storage, access, residence, auditing, and retention. It transforms the security attributes of the channel into computable routing basis, and together with the sensitivity of compliant language messages and session context, it participates in the generation of routing instructions, so that subsequent sessions can only continue within communication channels that meet security constraints.

[0129] In this way, channel security capabilities jointly confirm the compliance carrying conditions of channels for subsequent routing through multi-dimensional attributes, enabling routing instructions to accurately reflect whether a channel is suitable for undertaking compliant sessions containing sensitive information, and simultaneously incorporating audit trails and data retention requirements into the judgment scope, thereby improving the consistency and controllability of multi-channel compliant session routing.

[0130] In this application embodiment, the assessment of data sensitivity includes at least verifying whether the compliant language message includes disclosure records, personally identifiable information, consent biometrics, Data Protection Impact Assessment (DPIA) documents, Records of Processing Activities (ROPA) records, vendor assessments, policy assessment results, audit logs, session log skill configurations, system metadata, and performance metrics.

[0131] In this embodiment, data sensitivity is used to evaluate the sensitivity of compliant language messages. After receiving a compliant language message, the message body, attachment index, reference context, and metadata can be uniformly extracted first. Then, the extraction results are compared with a preset sensitive field dictionary, regular expression pattern library, and entity recognition model to determine whether the message contains leaked records, personally identifiable information, consent biometrics, DPIA documents, ROPA records, supplier evaluations, policy evaluation results, audit logs, session record skill configurations, system metadata, and performance indicators.

[0132] Here, leakage records are used to identify whether there are incident reports, leakage descriptions, or remediation content in the session; personally identifiable information (PMI) is used to identify identity data that can directly or indirectly locate natural persons; biometric consent is used to identify records related to biometric data authorization; DPIA documents, ROPA records, supplier evaluations, and policy evaluation results are used to identify compliance assessment, record, and review materials; audit logs, session log skill configurations, system metadata, and performance metrics are used to identify sensitive fragments that may reflect the internal operating status, configuration content, or governance information of the system. The system can map the above-mentioned hit items to corresponding sensitivity level weights and output data sensitivity labels for subsequent routing security determination.

[0133] In practical implementation, text parsing can separate the main text, tables, attachment names, and embedded links. Feature extraction can be performed on the parsed text to extract named entities, dates, numbers, and organizational identifiers. The extracted features are matched and identified with preset rules to determine whether different data sensitivity assessments are met.

[0134] In some embodiments, when the message contains identifiers such as “DPIA”, “ROPA”, “incident”, or “breach”, they can be associated and judged in conjunction with the context window; when the message contains employee ID, email address, identity verification information, or biometric authorization statements, the sensitivity weight corresponding to personally identifiable information and consent biometrics can be increased; when the message contains audit trails, configuration parameters, skill tags, or performance statistics fields, they can be included as internal information in the same sensitivity classification result.

[0135] In this way, structured data sensitivity results can be output and written into the compliance session context object. This processing method enables different types of sensitive content in the session to be uniformly identified and mapped to consistent hierarchical results, which in turn are linked with the channel security level to form sensitivity constraints that can be used for routing control, thereby improving the consistency of security control in the continuous flow of cross-channel compliance sessions.

[0136] S104, Determine the routing instructions for compliant language messages based on the evaluation results.

[0137] The routing instruction is used to instruct the compliance language message to be routed to the third communication channel in the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model.

[0138] Here, the routing instructions are control results generated by the evaluation results, which can instruct the routing of compliance language messages to a third communication channel for continuous compliance sessions.

[0139] In this embodiment, the second communication channel is a communication channel other than the first communication channel in the current multi-communication channel scenario, and the third communication channel is a communication channel among the second communication channels that meets the routing requirements corresponding to the evaluation results.

[0140] Regarding the process of generating routing instructions, in one possible implementation, if the user only instructs to switch channels without specifying the channel to be switched, each second communication channel can be matched according to the channel security level and data sensitivity to determine the third communication channel that meets the channel security level and data sensitivity. If there are multiple third communication channels, the third communication channel to be switched can be selected from the third communication channels according to preset rules or randomly. The routing instructions can be generated according to the channel identifier corresponding to the third communication channel to be switched.

[0141] In another possible implementation, if the user indicates a candidate channel to be switched to, the process may include: determining a secure channel from the second communication channels based on the channel security level and data sensitivity; if the candidate channel indicated by the user is a secure channel, determining the candidate channel as a third communication channel, and generating a routing instruction.

[0142] Among them, the secure channel refers to the set of transmittable channels selected by jointly filtering the security capabilities of the second communication channel and the sensitivity of the current compliant language messages. The security capabilities are characterized by at least transmission encryption, static encryption, access control, data residency, audit log immutability, and whether the retention policy meets the preset conditions.

[0143] The candidate channel is the communication channel to be switched that the user indicates in the session switching interface or message operation interface. In this embodiment, if the candidate channel is a secure channel, the candidate channel can be directly determined as the third communication channel; otherwise, the third communication channel is selected from the secure channels.

[0144] In this embodiment, based on the channel security level and data sensitivity, and by reading the security attribute configuration of each channel from each second communication channel set, a secure channel set can be formed by combining them according to the security level threshold and sensitivity label matching rules.

[0145] In response to a user's switching command, the identifier of the candidate channel indicated by the switching command can be compared one by one with the channel identifiers in the set of secure channels.

[0146] In some implementations, if the comparison result shows that the candidate channel belongs to a secure channel, it is identified as the third communication channel, and a routing instruction containing the channel identifier, session identifier, context object reference and forwarding constraints is written into the routing queue, so that the session management module can complete the subsequent message transfer.

[0147] In some implementations, if a candidate channel is not a secure channel, no valid routing instruction is generated.

[0148] In one possible implementation, if the candidate channel is not a secure channel, a third communication channel can be selected from the secure channels according to a preset selection rule.

[0149] In another possible implementation, if the candidate channel is not a secure channel, a prompt message can be generated based on the secure channel identifier. The prompt message is used to prompt the user to select a communication channel from the secure channels to continue the session.

[0150] Among them, the security channel identifier is used to identify the security channel that can carry compliant sessions. After completing the security verification of the candidate channel, if it is determined that the candidate channel does not meet the security channel conditions, a prompt message can be generated according to the identifier corresponding to each security channel.

[0151] In this embodiment, the prompt message can be output in the form of text, pop-up window, message card, or in-session notification. The content should at least indicate that the currently selected candidate channel is unsuitable as a communication channel for continuing the session, and guide the user to reselect a communication channel from the identified secure channels to continue the session. In practical applications, the display template for the prompt message can also be other styles, and this application does not limit this.

[0152] This process first determines whether a candidate channel is secure based on its security level, data sensitivity, and session context. If a candidate channel does not meet the security requirements, the system reads the set of available channels corresponding to the secure channel identifier, maps this set to user-facing prompts, and then generates a prompt message based on the current session identifier and the target communication scenario, returning the user to the current interface. Upon receiving this prompt, the user can directly select a communication channel from the secure channel set to continue the session, ensuring that subsequent messages remain within the controlled communication link. During this process, if a candidate channel is deemed insecure, a clear selection prompt is generated based on the secure channel identifier, allowing the user to switch to a compliant channel to continue the session without having to review complex security decisions. This maintains session routing continuity and ensures that subsequent interactions remain constrained by secure channels.

[0153] In this way, a third communication channel is only confirmed when the candidate channel meets the security constraints, so that the routing instructions only apply to the communication channels that meet the compliant transmission requirements. This ensures that cross-channel session switching maintains context continuity and that the message routing results are consistent with the security verification results.

[0154] Based on the above analysis, this application provides a compliance session routing method, including: preprocessing the original session data corresponding to the first communication channel to obtain the compliance language message corresponding to the current compliance session; updating the context object corresponding to the current compliance session based on the compliance language message; evaluating the compliance language message to obtain an evaluation result; and determining the routing instruction for the compliance language message based on the evaluation result. The context object is used to synchronize to the second communication channel, and records the session state, risk profile, and sensitivity label corresponding to the current compliance session. The evaluation result includes at least the channel security level and data sensitivity. The routing instruction is used to instruct the compliance language message to be routed to a third communication channel within the second communication channel, and subsequent compliance sessions are conducted in the third communication channel based on the context object and the target model. In this way, by processing the original session data for compliance and forming a synchronizeable context object, the session state, risk profile, and sensitivity labels can be kept consistent across different communication channels, thereby reducing the context loss and redundant communication costs caused by cross-platform switching. By evaluating compliant language messages and generating routing instructions accordingly, dynamic identification and routing of message security and sensitivity can be achieved, thereby improving the accuracy and response efficiency of compliant session processing. By continuing subsequent sessions on the target communication channel based on context objects and target models, the continuous inheritance of regulatory interpretation, risk assessment, and processing records can be achieved. Furthermore, it can also enhance the overall collaborative capability and audit traceability capability of multi-channel compliance work.

[0155] Based on the foregoing embodiments, in one possible implementation, after data is routed to a third communication channel, compliance assessment of the original session data can be performed using different session models. This application also provides a method for selecting a suitable session model, including:

[0156] S201, determine at least one candidate model from multiple session models based on data sensitivity.

[0157] S202: Based on the task type, score the configuration of the candidate models and determine the candidate model with the highest score as the target model.

[0158] The target model is used to perform compliance assessment on the original session data based on the context object to obtain the compliance assessment document.

[0159] Here, data sensitivity is used to characterize the sensitivity of personal information, regulatory communication records, internal corporate policies, and audit information contained in the raw session data.

[0160] Here, multiple session models are sets of models configured for different sensitivity levels and compliance tasks. Candidate models are models selected from multiple session models based on data sensitivity. Task type is used to characterize the characteristics of the current compliance task, such as high inference task, real-time task, or batch task.

[0161] After the session model performs a compliance assessment on the original session data, a compliance assessment document can be obtained. Here, the compliance assessment document is used to carry the assessment conclusions and risk outputs of the original session data, including processing description, necessity assessment, risk identification, mitigation measures, residual risks, DPO signature column, etc.

[0162] In this embodiment of the application, data sensitivity can be the data sensitivity corresponding to the compliant language message, or it can be obtained from the context object.

[0163] For example, the session state, risk profile, and sensitivity labels can be read from the context object, and the sensitivity labels can be matched with preset model adaptation rules to determine a set of session models that can handle the current sensitivity level, and then at least one candidate model can be determined from the set.

[0164] Once candidate models are determined, if there are multiple candidate models, the model characteristics used for scoring can be determined according to the task type. For example, high inference tasks can be sorted by model capability score; real-time tasks can be sorted by latency score; and batch tasks can be sorted by cost score.

[0165] In some implementations, model attributes that can be used for scoring can be extracted by reading the model characteristics of each candidate model, and each model can be scored based on these attributes, thereby selecting the model with the highest score as the final target model for compliance assessment.

[0166] In this way, the target model completes the evaluation in conjunction with the context object, ensuring that model selection is consistent with the session task. This allows compliance judgments to be constrained by both data sensitivity and task type, and the evaluation results are uniformly written into the compliance evaluation file, thus forming a traceable output. Because the candidate models are first screened for sensitivity and then scored by task type, the final target model has a higher degree of matching with the context information of the current session link, and the evaluation conclusions can more stably correspond to the current compliance scenario.

[0167] Based on the foregoing embodiments, the compliance assessment process may include:

[0168] S203: Input the raw session data into the target model to obtain the risk score and risk classification output by the model.

[0169] S204. If the risk score and risk classification meet the convergence condition, obtain the compliance assessment document output by the target model based on the original session data.

[0170] The raw session data refers to the original content of the session that is to be entered into the target model for compliance analysis. It may include user speech text, contextual information, and session-related metadata.

[0171] It is understandable that when inputting raw data into the model, preset prompts will also be input. In this embodiment of the application, the intelligent agent role of the target model can be defined as a compliance assistant to the data protection officer, a list of jurisdictions can be configured, and a risk framework corresponding to the risk management standard can be adopted. At the same time, a mandatory constraint statement is set, that is, the output content does not constitute legal advice, the reply must cite real legal provisions, mark uncertain content, prohibit the fabrication of laws and regulations, and high-risk decisions need to be submitted to the human data protection officer for processing.

[0172] Here, the risk score characterizes the risk intensity identified by the target model for the session content, while the risk classification characterizes the risk category to which the session content belongs. Together, they constitute a dual output of the same original session data. The convergence condition refers to the decision constraint that the risk score and risk classification reach a stable consistency in continuous calculations. When the two fail to meet this decision constraint, it indicates that the risk judgment for the current session has not yet converged.

[0173] In the specific implementation, after the target model input layer receives the raw session data, it encodes the entities, intents, sensitive fields and contextual relationships in the data, and outputs a risk score in the form of continuous values ​​and a risk classification in the form of discrete labels.

[0174] Here, the risk score can be represented by a percentage or a normalized value. In the embodiments of this application, the risk score can be determined based on the characteristics of multiple dimensions, including data sensitivity, processing scale, data subject vulnerability, cross-border transmission and degree of automated decision-making, etc. The score weights corresponding to the characteristics of different dimensions are different.

[0175] Understandably, this feature can be obtained through semantic parsing, rule matching, knowledge graph mapping, and extraction from context objects on raw text data. Semantic parsing involves extracting data type, processing purpose, data subject type, processing scale, cross-border nature, and whether automated decision-making is involved from the raw text data. Rule matching determines whether special categories of data, children's data, or large-scale surveillance are triggered based on pre-defined rules. Knowledge graph mapping retrieves risk factor nodes, obligation nodes, and clause nodes related to the processing activity from the compliance knowledge graph. Context object field extraction directly reads existing information such as the scope of association, data sensitivity tags, and accumulated input context.

[0176] Here, a knowledge graph refers to the structural representation of rules used for auditing, including graph nodes that represent the rules and edges that represent the relationships between the rules.

[0177] In this embodiment of the application, risk classification refers to the category corresponding to the risk factors involved in the original text data. Here, risk factors refer to risk nodes or attributes in the knowledge graph that are related to the content audited by the compliance assessment, such as special category data processing, large-scale processing, cross-border transmission, automated decision-making, children's data, biometrics, employee monitoring, etc.

[0178] Understandably, the assessment process is repeated multiple times. When the change between N consecutive risk scores and the previous risk score is less than a threshold, and the risk factor categories include all preset high-risk categories, convergence can be determined, and a compliance assessment document can be generated based on the same original session data.

[0179] Understandably, this compliance assessment document is used to describe the model's processing of session content, assess necessity, identify risks, identify mitigation measures, identify residual risks, and include the DPO signature field. It can also serve as the basis for subsequent manual review, routing decisions, or archiving. If the target model uses a versioned configuration, the compliance assessment document can also record the model version number, timestamp, and input summary for traceability.

[0180] In this way, risk scoring and risk classification work together to make a convergence judgment, thereby ensuring that the analysis results of the original session data can be output after the risk judgment is stable, and providing a consistent basis for subsequent session handling.

[0181] Furthermore, if the risk score and risk classification do not meet the convergence condition, the method may also include:

[0182] S205, Risks associated with obtaining the target model's output based on raw session data.

[0183] Among them, risk questions are used to obtain supplementary data from user responses.

[0184] S206, based on supplementary data, update the risk score and risk classification through the target model until the risk score and risk classification meet the convergence condition.

[0185] In this implementation, the risk question is a follow-up question generated by the target model after the convergence determination fails due to the original session data. It is a targeted question generated from the knowledge graph based on the risk score and jurisdiction to identify the regulatory requirements associated with the risk category, and to guide the user to supplement the factual basis related to the current compliance assessment.

[0186] Here, supplementary data refers to the user's response to the risk issue. The response may include text descriptions, supplementary attachments, confirmation statements, or correction information, and together with the original session data, constitutes the input for subsequent model updates.

[0187] In this embodiment of the application, after receiving supplementary data, the target model associates and fuses it with the original session data, and recalculates the risk score and risk classification.

[0188] If the risk score and risk classification in this round meet the convergence conditions, a compliance assessment document can be generated based on the original text data and supplementary data. If the convergence conditions are not met, risk questions are generated again to further investigate, thereby obtaining supplementary data for updating, and the risk score and risk category are updated again. This operation is repeated until the risk score and risk category converge, and then the compliance assessment document can be output.

[0189] In this embodiment, the target model can generate risk questions based on the session context. The output position of the risk questions corresponds to the clarification fragment in the original session data, thereby enabling users to supplement information in a targeted manner.

[0190] Regarding the output process, in one possible implementation, the attribute dimension and jurisdiction with higher scores in the risk score can be used as query conditions to traverse the knowledge graph and retrieve the corresponding clauses. Based on these clauses, they can be converted into answerable risk question templates. For example, if the data sensitivity score in the risk score is high, special category data processing related questions will be generated first.

[0191] After obtaining user responses, supplementary data is written into the session context according to field mapping, semantic alignment, or entity normalization, and then input into the target model to perform secondary inference, thereby iteratively updating the previous risk score and risk classification. If the change in the updated risk score is less than a preset threshold, and the risk classification covers all preset high-risk classifications, then the two are determined to meet the convergence condition. If there are still significant fluctuations or the classification results are not stable, new risk questions are output and supplementary data is obtained in a loop.

[0192] In this way, the target model, through a closed-loop mechanism of "risk issue—supplementary data—reassessment," progressively supplements information from the original session that is insufficient to support stable judgments, enabling risk scores and risk classifications to gradually converge from an uncertain state to a consistent state. This mechanism allows the model to continuously revise its output around the key uncertainties of the current session and directly incorporate user-supplemented content into subsequent inference chains. With this implementation method, risk judgments no longer rely on single inference results but can be continuously updated after users supplement facts, thus allowing risk scores and risk classifications to more stably approach consistent results and improving the continuity and interpretability of compliance assessment conclusions.

[0193] Based on the foregoing embodiments, the method provided in this application may further include:

[0194] S301 updates the policy code corresponding to the regulatory provisions in response to changes in the regulations.

[0195] The strategy code is used to generate compliance assessment documents for the target model.

[0196] S302 updates the knowledge graph corresponding to the legal provisions. The knowledge graph is used by the target model to determine the risk classification of the original session data.

[0197] In this embodiment of the application, in response to changes in the regulatory provisions, the strategy code corresponding to the regulatory provisions is updated. This strategy code is used to generate compliance assessment documents for the target model.

[0198] Understandably, when the legal provisions are changed, the knowledge graph corresponding to the legal provisions also needs to be updated. The knowledge graph is used by the target model to determine the risk classification of the original session data.

[0199] Among them, the legal provisions are the legal content objects used to drive the updates of strategy codes and knowledge graphs. When receiving revisions to regulations, updates to regulatory interpretations, or adjustments to the scope of application, the changes can be parsed into structured clause units, and a correspondence between clause identifiers, applicable topics, constraints, and timeliness information can be established.

[0200] Here, strategy code is the rule code used to generate compliance assessment documents for the target model. It usually consists of conditional statements, feature mapping statements, and output template statements. After the regulatory provisions change, the corresponding old code will be overwritten by the new code to keep the compliance judgment logic consistent with the latest provisions.

[0201] Here, a knowledge graph refers to the structural representation of rules used for auditing, including graph nodes that represent the rules and edges that represent the relationships between the rules.

[0202] In its implementation, upon detecting a change in regulatory provisions, the system first performs semantic parsing to extract newly added, deleted, or replaced constraints. Then, based on the provision number, it maps the parsing results to the corresponding rule block in the strategy code template and performs a comprehensive update on that rule block. This ensures that the target model uses the same judgment logic as the current regulations when generating compliance assessment documents. Simultaneously, the system updates the knowledge graph related to the provision, adding new risk concepts to graph nodes, marking edges corresponding to invalid constraints as unavailable, and recalculating the weights of affected risk classification paths. This allows the target model to complete risk classification based on the latest graph after inputting the original session data.

[0203] Understandably, if the regulations involve the scope of application of a region or a specific data type, the regional label, data category label, and effective date will also be written into the update record so that the target model can retrieve the corresponding rules and map subsets according to the applicable conditions in subsequent evaluations.

[0204] In this way, both the strategy code and the knowledge graph are consistent with the latest regulations. The target model can call effective rules when generating compliance assessment documents and can rely on consistent knowledge associations when determining the risk classification of the original session data. This ensures that the compliance assessment results and risk classification results converge synchronously and reduces the mismatch of old rules caused by regulatory changes.

[0205] In one possible implementation, the process of updating the policy code may include: semantically parsing the structured clauses in the revised regulatory document to obtain the sub-elements corresponding to each structured clause, wherein the sub-elements include at least obligations, conditions, exceptions, and cross-references; generating updated policy codes corresponding to the structured clauses based on the sub-elements, and using the updated policy codes to override the old policy codes.

[0206] In this embodiment, the revised regulatory document refers to the text carrier formed after the content of the regulation has been revised. The text carrier can be first segmented, formatted and extracted to organize the content with independent normative meaning into structured clauses, and then the structured clauses can be semantically parsed.

[0207] Here, formatting can be based on the explicit structure of the regulatory document. The segmentation rules include regulatory hierarchy numbering (such as chapters, units, paragraphs, etc.), chapter title patterns, clause numbering patterns, paragraph boundaries, list structures, indentation levels, regular expressions, etc. After segmentation, the preliminary clause boundaries and the clause text to be revised are output.

[0208] Next, the format of the segmented clause text to be corrected can be corrected. In this embodiment, format correction refers to using an intelligent model to determine the boundaries and correct errors for clause text that spans multiple pages, paragraphs, has abnormal format, missing numbering, or irregular structure. This model is not a black box; its input is the segmented clause text and its contextual features, and its output is boundary correction suggestions and confidence level. All correction suggestions are recorded together with the segmentation results for auditors to review.

[0209] The revised clause text is processed by extracting clauses, such as the clause number, title, body text, chapter affiliation, source law, version number, and effective date, to form a structured clause for each clause text.

[0210] In this embodiment of the application, semantic parsing can be performed on structured clauses. Here, semantic parsing can be based on rule matching and language model joint identification to extract obligations, conditions, exceptions and cross-references in the clauses. Obligations are used to characterize the requirements that should be performed, conditions are used to limit the scope of application or the timing of triggering, exceptions are used to modify the execution boundary, and cross-references are used to establish the association mapping between clauses.

[0211] Structured clauses can be organized as a combination of clause identifiers, semantic fragments, and relational fields, and after parsing, they form an intermediate representation that can be called by the code generation module, namely multiple sub-elements.

[0212] In this embodiment of the application, corresponding update strategy code can be generated based on each sub-element. The update strategy code can be implemented in the form of rule expressions, conditional branch code, parameterized strategy configuration or executable scripts, and the obligation content is converted into execution actions, the condition content is converted into judgment logic, the exception content is converted into exclusion branches, and the cross-reference content is converted into clause jump and associated call logic.

[0213] Once generated, the updated strategy code can be verified. In this embodiment, synthetic compliance scenarios can be automatically generated based on a knowledge graph, including two types of test cases: compliant and non-compliant inputs. Each clause corresponds to at least 20 test scenarios in its strategy code, covering boundary conditions, cross-references, and exceptions. The verification engine calls commands to execute strategy evaluation. If any test case fails, the failure details are fed back to the code generator for iterative correction, with a maximum of 5 iterations. All strategy code passes syntax validation before being allowed into the configuration repository, ensuring zero syntax errors in the strategy.

[0214] For example, the verification of policy code includes three phases:

[0215] During the functional verification phase, the skill output is compared with regulatory templates and expert review benchmarks. Test cases cover at least 10 typical compliance scenarios, and the output accuracy must be ≥95%. Functional verification test cases can be constructed based on the compiled strategy code, the clause and obligation mapping in the knowledge graph, and the compliance assessment text. During verification, the skill is invoked in an isolated environment. Its input may include a description of the processing activity, data category, jurisdiction, etc., from the context object, and the output is compared with the expected compliance conclusion.

[0216] Security audits examine the data access patterns, external interface calls, and output processing of the audited skills, verifying compliance with the principles of data minimization and purpose limitation. Audit tools scan the skill's code for network calls, file access, and environment variable reads, performing consistency checks against declared data access requirements. Security audits pay particular attention to whether the skill has unauthorized access to previously generated sensitive data, such as reading context object fields beyond its declared level, querying unauthorized knowledge graph nodes, calling undeclared external model providers, or attempting to bypass the session routing or multi-model routing provided by this application. If any unauthorized access is detected, publication is rejected and the audit event is logged to a pre-defined data structure.

[0217] The regulatory mapping process involves cross-validating the regulatory reference fields of skills against the compliance knowledge graph to confirm the existence and up-to-date versions of the referenced regulatory clauses. If a regulatory reference is outdated or nonexistent, the skill is rejected and the developer is notified to update it. The regulatory mapping verification also checks whether the policy code upon which the skill depends is consistent with the clause nodes, obligation nodes, and control nodes in the knowledge graph, ensuring that the policy code referenced by the skill does not become invalid due to regulatory changes during skill execution.

[0218] In some implementations, the release of policy code also requires a two-person approval process. When the policy code is updated, a merge request needs to be generated and submitted. The request enters the two-person approval process of the data protection officer and the security engineer. If either party refuses, the policy code is regenerated. If both parties approve, the policy code can be released.

[0219] In this embodiment of the application, the obtained updated strategy code needs to overwrite the old strategy code in the configuration repository and synchronously update the index information related to the clause, so that the target model can make judgments in accordance with the latest regulatory requirements when generating compliance assessment documents.

[0220] Understandably, after the new policy code is put into use, relevant compliance indicators can be collected during its use, and it can be determined whether there are any anomalies based on the indicators. If there are any anomalies, it can be rolled back to the old version of the policy code. In some implementations, if there are any anomalies, prompt information can also be generated.

[0221] Here, compliance metrics may include: total number of cross-channel session context synchronization events, number of messages rejected due to insufficient channel security level, total number of executions of the regulatory-to-policy compilation pipeline, number of compilation pipeline output syntax errors or validation failures, time taken for a single compilation from text input to policy output, total number of session-based compliance assessment sessions, total number of targeted assessment questions generated by the compliance assessment engine, compliance assessment risk score convergence percentage, time taken for a single compliance assessment from start to document generation, number of skills passed the three-stage verification in the compliance skills market, number of skills that failed verification in the compliance skills market, number of data access violations detected during sandbox execution, total number of compliance skills invoked, total number of change events detected by regulatory changes, end-to-end time from regulatory change detection to policy deployment, and number of policies affected by a single regulatory change. The impact of a single regulatory change on the following metrics includes: the number of compliance assessment documents requiring reassessment, the total number of requests received by the multi-model router, the number of requests rejected due to the lack of a qualified model provider, the execution time of the routing algorithm, the number of Merkle tree root hash publications, the number of audit integrity verification executions, the number of times root hash mismatches were found during verification, the current depth of the Merkle tree, the total number of compliance events already included in the tree, the total number of policy assessment calls, the number of policy assessment failures or rejections, the count of successfully deployed compliance configuration versions, the number of configuration rollbacks triggered by anomalies, the total number of data violation events caused by exceeding retention periods, the number of cross-border data transfer batches in the past 24 hours, the cumulative number of data subject rights requests, the median response time from acceptance to completion of data subject rights requests, the end-to-end latency from regulatory updates to production effectiveness, and the number of currently unclosed violation alarms.

[0222] In this way, by performing fine-grained semantic parsing on structured clauses and then directly mapping the parsing results into executable update strategy code, regulatory changes can be reflected in the strategy layer in a timely manner, and cross-reference relationships can be synchronously preserved to maintain the dependency consistency between clauses, thereby ensuring that the old strategy code is accurately covered and remains consistent with the latest regulatory content.

[0223] In one possible implementation, the process of generating structured text may include: dividing the revised regulatory document into multiple clause texts based on the format information of the revised regulatory document; correcting the format of the clause texts to obtain standard text; and generating structured clauses based on the target fields in the standard text.

[0224] The format information describes the structural features of the revised regulatory document, identifying chapter titles, clause numbers, indentation levels, line break boundaries, and parallel item boundaries. The clause text is a fragment of clauses obtained by segmenting the revised regulatory document. The standard text is a standardized text obtained by formatting the clause text. The target field is a field in the standard text used to generate structured clauses, including clause number, clause subject, obligation content, applicable conditions, exceptions, and cross-reference information.

[0225] In this embodiment of the application, after receiving the modified regulatory document, the boundaries of the clauses in the document can be identified first based on the format information. Contents with page breaks, merged punctuation, misaligned bullet points, and missing numbers can be split into multiple clause texts. Then, character unification, punctuation standardization, title completion, and hierarchical alignment are performed on each clause text to form a standard text with semantic continuity and consistent layout.

[0226] In practice, the layout marks and structural tags of the regulatory document can be read, and the segment position can be determined by combining regular expression matching and layout backtracking mechanism; for paragraphs that lack explicit numbering, the scope of the clause to which they belong is determined by the indentation relationship of the preceding and following clauses, conjunctions and title semantics.

[0227] When revising the format, full-width and half-width characters, repeated whitespace, line break hyphens, and quotation marks in the clause text are standardized, and sentences that have been broken up within the same clause are reassembled into continuous text.

[0228] For the revised specification text, target fields can be extracted from the specification text and structured clauses can be generated according to the preset field template. The structured clauses can include clause number, clause name, constraint object, behavior requirements, triggering conditions and reference sources, so as to be used for subsequent policy code updates and knowledge graph updates.

[0229] During the process, format information first provides the basis for segmentation, enabling the revised regulatory document to be stably divided into multiple clause texts. After format correction, the clause texts become standardized texts, eliminating differences in layout and punctuation between regulatory texts from different sources. Then, structured clauses are generated based on the target fields in the standardized texts, transforming the regulatory content into computable and indexable structured data. This approach ensures that the revised regulatory content is standardized before entering the subsequent compliance processing chain, reducing manual review and secondary data entry.

[0230] In this way, the identification of clause boundaries in regulatory documents becomes more stable, the impact of formatting anomalies on text parsing is limited to the correction stage, structured clauses can accurately reflect the semantics of the revised regulations, and provide consistent input for subsequent policy code updates, knowledge graph maintenance, and compliance assessments.

[0231] In one possible implementation, the process of updating the knowledge graph may include: identifying the structured clauses that have changed; generating clause nodes based on the sub-elements corresponding to the obligations, conditions, and exceptions of the structured clauses, and generating relationship edges based on the cross-referenced sub-elements; and updating the knowledge graph based on the clause nodes and relationship edges.

[0232] Among them, the clause node is used to represent the semantic object of a single structured clause in the graph. The node can record the clause number, clause text, scope of application and effective status for subsequent retrieval and correlation analysis.

[0233] Cross-reference sub-elements are used to characterize the reference, reference, or association between clauses. When a structured clause is found to reference other clauses, appendices, definitions, or external specifications, the cross-reference is constructed as a relation edge, forming a traceable semantic connection between different clause nodes.

[0234] Understandably, relational edges can adopt a directional edge structure and can be accompanied by attributes such as reference type, reference position, and reference strength to distinguish between direct references, conditional references, or supplementary references.

[0235] In practice, we can first compare the set of structured clauses before and after the update, locate the clauses whose text content, applicable conditions or reference objects have changed, and mark them as structured clauses with changes. Then, we can normalize the sub-elements corresponding to obligations, conditions and exceptions in the clauses to generate clause nodes that correspond one-to-one with the clauses. At the same time, we can parse the cross-reference statements that appear in them, extract the reference targets and generate the corresponding relationship edges.

[0236] In this embodiment of the application, after the clause node and the relationship edge are established, the knowledge graph update module writes the new node into the graph storage, replaces the old version attribute corresponding to the changed node with the new version attribute, and reconnects the relevant nodes according to the relationship edge, thereby completing the incremental update of the knowledge graph.

[0237] In this embodiment, the regulatory provisions in the knowledge graph support the following query modes: query by jurisdiction, retrieving applicable regulations, provisions, and obligations based on relevant fields; query by processing activity, retrieving associated risk factors, obligations, and controls based on processing activity description, data category, data subject type, etc.; query by strategy, retrieving the provisions, obligations, and controls it depends on based on strategy package name; query by compliance assessment task, retrieving the provisions, risk factor categories, and mitigation measures it depends on based on compliance assessment document identifier; and query by change event, retrieving affected nodes based on regulatory change events. In this way, when there are changed provisions in the regulations, the knowledge graph can be automatically retrieved and updated.

[0238] In this way, by abstracting changed clauses into clause nodes and cross-references into relationship edges, the semantics of clauses, reference chains, and version changes in the graph can be preserved synchronously. When conducting compliance assessments, the target model can directly identify the constraint relationships, applicable boundaries, and related clause content between clauses based on the updated graph. Since the update process is incrementally written with the changed clauses as the center, graph maintenance does not require rebuilding all clauses, thus maintaining the consistency of clause relationships and ensuring that the risk classification and compliance reasoning results after regulatory changes reflect the latest regulatory content in a timely manner.

[0239] Building upon the aforementioned embodiments, when regulatory provisions are updated, the knowledge graph is updated, and the policy code is updated, correspondingly, the session data within the scope of regulatory impact that has already been assessed by the data protection officer also needs to be re-evaluated for compliance, including: identifying the associated compliant sessions of the regulatory provisions; and re-evaluating the compliance of each session data in the associated compliant sessions based on the updated policy code and knowledge graph through the target model.

[0240] Among them, associated compliance sessions refer to a set of sessions that correspond to legal provisions.

[0241] In this embodiment of the application, after the regulatory provisions are updated, related compliance sessions can be matched from the archived compliance sessions based on the provisions identifier, clause subject, applicable business domain, and historical compliance task association information, and marked as recalibration objects. Subsequently, the related sessions are re-evaluated for compliance based on the updated knowledge graph and policy code to obtain an updated compliance evaluation document, and the updated compliance evaluation document overwrites the old compliance evaluation document.

[0242] The knowledge graph works in conjunction with the updated strategy code. Internally, it records the mapping relationships between regulatory provisions and risk factors, review items, evidence types, and conversational semantic features to provide auxiliary constraints for the target model during re-evaluation. The updated strategy code, in turn, carries the decision logic, threshold rules, and output constraints formed after the revision of the regulatory provisions, ensuring that the model adopts a consistent evaluation approach across different versions of the provisions.

[0243] In this embodiment, the revised article number, revision content, and scope of effect can be read from the regulatory article version library first, and compared with the session topic, subject type, business process tag, and historical audit record in the session index table to determine the associated compliance session. Subsequently, the session data of each session in the associated compliance session can be sent to the target model, and the updated strategy code and knowledge graph can be loaded synchronously to realize the re-evaluation of the associated compliance session.

[0244] In this embodiment, when parsing session data, the target model re-verifies the message content, attachment summary, context markers, and audit fields based on the compliance judgment conditions in the policy code. Simultaneously, it matches the textual elements with the session semantics based on the association edges and node weights in the knowledge graph, thereby outputting the corresponding compliance assessment results. For sessions where the assessment results show changes in risk remapping, changes in the scope of application of the text, or changes in evidence gaps, the compliance score, risk classification, and review marker are regenerated, and the updated results are written back to the session context.

[0245] This approach allows changes to regulatory provisions to directly drive the reassessment of related compliance sessions. The target model, under the joint constraints of policy codes and knowledge graphs, re-evaluates session data, ensuring that associated sessions remain consistent with the latest regulatory requirements. Because the reassessment process is executed synchronously based on provision mapping relationships and session history context, it reduces manual backtracking and repetitive data entry, and improves the continuity and consistency of compliance conclusions after regulatory updates.

[0246] As can be seen from the above embodiments, when there are changes to the regulatory provisions, the knowledge graph, policy code, and compliance sessions within the already assessed scope of association also need to be reassessed for compliance. In this embodiment, the automated detection process for changes to regulatory provisions may include:

[0247] By using a headless browser to periodically retrieve simplified information aggregation sources and Web Markup Language (BML) pages from official gazettes of various jurisdictions, a dual-engine approach using fixed-format paths and regular expressions is employed to extract the titles, chapters, and clause texts of regulations. Upon the initial retrieval, the Uniform Resource Locator (URL), timestamp, and hash value are stored in the regulation query log table. When the content hash corresponding to the same URL changes, a regulation update event is triggered within 5 minutes.

[0248] It is understandable that automated detection methods can be automated through sandboxed skills. Correspondingly, the aforementioned methods and steps, such as calling and updating strategy code, querying and updating knowledge graphs, and archiving compliance assessment documents, can also be encapsulated and sandboxed for automated execution through skills.

[0249] Understandably, these skills, when running in a sandbox environment, need to be subject to the following security restrictions:

[0250] Namespace-level network isolation means that skills can only access external endpoints declared in the skill declaration file, and are prohibited from accessing undeclared model providers, regulatory databases or other network resources.

[0251] Data access is restricted so that a skill can only read data at the data classification level declared in its skill declaration file. For example, a skill with a confidentiality level of 1 can read compliance assessment texts and data processing activity log records, but cannot read disclosure records or related information requested by data subjects with a confidentiality level of 0. Access to context object 1 by a skill is also limited to the fields it declares.

[0252] The strategy code can be updated by calling the compiled strategy code. However, before calling, it is necessary to verify that the strategy version is consistent with the current regulatory version. When there is a regulatory update event, the strategy code version can be updated automatically. Understandably, the call result should be written to the audit log.

[0253] Knowledge graph query updates: skills can query the constructed knowledge graph, but the query scope is limited to the jurisdiction and clause scope declared by its legal reference field. When there is a legal update event, the knowledge graph can be automatically updated.

[0254] Operation capture: all inputs, outputs, and intermediate states of the skill are written to an immutable audit log. The audit event hash is then appended to a preset data structure used for archiving events.

[0255] Resource limitations include CPU call cycles, memory usage limits, and network bandwidth limitations.

[0256] Understandably, sandbox execution ensures that third-party compliance skills operate under safe and controllable conditions. Even if the skill logic is flawed or there is malicious behavior, it cannot bypass the data sensitivity routing, channel security strategy and audit evidence storage mechanism established above.

[0257] Based on the foregoing embodiments, it can be determined that compliance events generated during the compliance assessment process need to be archived. In one possible implementation, compliance events during the compliance assessment process are archived in a preset data structure, including: writing the hash value corresponding to the compliance event generated during the compliance assessment process into the preset data structure; and storing the compliance event in a default storage location.

[0258] Here, a compliance event can be any time that occurs during the compliance assessment process, including but not limited to session creation time, channel switching time, routing events, context updates, regulatory capture events, regulatory change events, policy code update events, knowledge graph update events, sensitive data identification events, compliance assessment events, compliance alert events, and compliance assessment text storage events.

[0259] In this embodiment of the application, a compliance event includes at least a timestamp, an event execution entity identifier, an event type, an event target, an event execution result, and metadata.

[0260] The preset data structure is used to carry the hash index information of compliance events, and can be implemented using a hash table, key-value mapping table, or tree index structure. In this embodiment, the preset data structure can be a Merkle tree. In practical applications, other structures can also be selected for the preset data structure, and this application does not limit this choice.

[0261] Regarding the construction process, in some implementations, for each compliance event, a corresponding hash value can be calculated based on its relevant content. The content of the compliance event may include a timestamp, event execution entity identifier, event type, event target, event execution result, and metadata. In the embodiments of this application, the hash value can be generated by digest algorithms such as SHA (Secure HashAlgorithm)-256 or SM3 (ShangMi 3).

[0262] The calculated hash value generates a corresponding leaf node, which is appended to a preset data structure. The preset data structure is then reconstructed and published. For example, taking a Merkle tree, after appending a leaf node, the parent node hash can be calculated layer by layer from the leaf node to the root node. If the number of nodes is odd, the right side is filled with the previous hash value, thus realizing the reconstruction and update of the Merkle tree. After reconstruction, at fixed time intervals (e.g., the time interval can be configured to the default 1 hour), the current Merkle tree root hash and root node hash value are published to append-only storage. The append-only storage uses Write Once Read Many (WORM) storage medium and supports the compliant retention policy locking function of cloud object storage to ensure that the published root hash cannot be modified or deleted, thus completing the incremental hash publication.

[0263] The default storage location is used to store the original records of compliance events. For example, it can be set to a privacy database for local auditing, an object storage directory, or a default partition in a message persistence queue, and access permissions and retention periods are pre-configured to correspond to hash values.

[0264] In this embodiment, when the default storage location is a local priority privacy repository, the local priority privacy repository follows the principle of data sovereignty and is reinforced for compliance. It does not only store audit events, but also carries the complete set of compliant data. The default data is stored on the organization's own infrastructure and does not rely on third-party cloud services. It is complementary to the Merkle tree audit architecture: the privacy repository is responsible for the complete compliant data storage and hierarchical management; the Merkle tree only stores the event hash leaf nodes, Merkle proofs, and root hashes for tamper prevention and integrity verification.

[0265] Here, the local priority privacy library serves as the foundation for compliant data persistence, receiving data generated from various stages of the system: cross-channel context objects, message records and channel metadata; message sensitive tags, routing rejection events; regulatory breakdown results, policy codes, and verification reports; compliance assessment documents, risk scores and risk handling records; agent skill definitions and sandbox execution logs; regulatory change events and compliance impact reports; model routing decisions and invocation records; original audit events; electronic approval signature records; compliance training records, etc.

[0266] Here, the local priority privacy library employs a tiered storage strategy based on different data sensitivities. For example, the first tier is for restricted data, such as leak records, DSR PII, and biometrics, which are encapsulated with the most complex keys and retained for the minimum legal period plus a buffer period; accessible only to data protection officers and legal personnel. The second tier is for confidential data, such as compliance assessment documents, data access request records, and vendor evaluations, which can be encapsulated with less complex keys and retained for the default period, such as 7 years or the period stipulated by the jurisdiction, accessible only to the privacy team and relevant stakeholders. The third tier is for internal data, such as policy assessment results, audit logs, and session records, which can be encapsulated with keys of varying complexity and retained for a shorter period than the second tier, such as 3–5 years, accessible only to the privacy team. The fourth tier is for operational data, such as skill configurations, system metadata, and performance metrics, which are encapsulated with the least complex keys and retained for an even shorter period, such as 1–2 years, accessible only to system administrators.

[0267] The privacy database supports multi-regional deployment, with compliant data stored in the local data center of the corresponding jurisdiction to meet localization requirements; relying on a dedicated service management key, it is rotated periodically without interrupting the system during the rotation process.

[0268] The privacy database stores the complete original data; the Merkle tree only stores the leaf hashes, Merkle proofs, and root hashes corresponding to events, not large sections of original text. During auditing and verification, the original event is read from the privacy database to calculate its hash, combined with the Merkle proof to calculate the root hash, and compared with the published root hash to verify data integrity. For example, the original record of an approval event is stored in the privacy database, and the hash of the approval event is written into the Merkle tree. During querying and auditing, the original data is retrieved from the privacy database based on the event identifier, and the proof path is obtained from the Merkle tree, ensuring that the original data is readable and its integrity is verifiable.

[0269] In this way, after the hash value is stored in the preset data structure, when the original record of the compliant event is written to the default storage location, the event subject, context object summary, evaluation result, trigger time and operator identifier can be persisted together, which is convenient for subsequent retrieval and verification.

[0270] In this embodiment, the generated compliance events are standardized and encoded, a unique hash value is calculated based on the event content, and the hash value is written into the corresponding slot or index item in a preset data structure. Simultaneously, an associated event record is generated in the default storage location. The hash value and event record are associated through the same event identifier. Records in the default storage location can be directly retrieved from the hash result in the preset data structure, or the record file address can be located by the index in the preset data structure. This method stores the summary verification information and the complete record of the compliance event in different locations, preserving the original event text while forming a fixed index for audit comparison. By writing the hash value of the compliance event into the preset data structure and storing the event in the default storage location, the system can establish a stable evidence association without changing the main compliance assessment chain. The hash value in the preset data structure can be used for subsequent consistency verification, tamper detection, and duplicate event identification, while the record in the default storage location is used to trace the assessment basis, output process, and handling results, thus ensuring that the compliance audit traces remain complete and verifiable.

[0271] In some implementations, the integrity of compliance events archived according to a preset data structure is further verified. The specific process may include: reading the root hash that has been stored externally for the time window from the WORM storage; retrieving all original compliance events within the time window from the compliance event database; reconstructing the Merkle tree using these original events and calculating the new root hash; comparing the two root hashes. If the hashes are the same, the audit integrity verification passes and the event has not been tampered with. If the hashes are inconsistent, a binary search method is used to calculate the sub-root hashes of the left and right subtrees respectively, and the search is recursively performed downwards to accurately locate the leaf node of the single compliance event that has been tampered with.

[0272] Understandably, storing event hash values ​​using a pre-defined data structure and archiving the original event records in a default storage location avoids the additional complexity and performance overhead of consensus mechanisms and node synchronization, compared to related technologies that rely on blockchain as the root hash publishing and storage medium. This is suitable for the high-frequency, low-latency event writing requirements in compliance audit scenarios. Furthermore, a dedicated data structure is designed for compliance events, capable of capturing compliance-specific event types such as related operations, policy assessments, compliance evaluations, approval signatures, and training records. It also supports rapid audit queries based on regulatory clauses, compliance dimensions, and operation types. An interactive query and verification interface allows auditors to query and verify compliance operation records for specific time periods through conversational interaction and export audit reports, meeting the regulatory agency's audit requirements of "traceability and non-repudiation."

[0273] In this application, the original session data corresponding to the first communication channel is first parsed to determine its protocol type. Then, the field structure in the session is formatted according to the message format conversion rules corresponding to the protocol type to obtain compliance language messages. These compliance language messages are then used to update the context object corresponding to the current compliance session. If the task type of the context object changes, a new context object corresponding to the changed task is created based on the compliance language messages. If the context object has associated tasks, a new context object corresponding to the associated tasks is created based on the compliance language messages. The context object records the session state, risk profile, and sensitivity tags of the current compliance session and is synchronized to the second communication channel.

[0274] In one possible implementation, compliant language messages are evaluated to obtain evaluation results. These results include at least channel security level and data sensitivity. The channel security level evaluation includes verification of transmission encryption, static encryption, access control, data residency, audit log immutability, and retention policy configuration. The data sensitivity evaluation includes verification of whether compliant language messages contain leaked records, personally identifiable information, consent biometrics, DPIA documents, ROPA records, vendor evaluations, policy evaluation results, audit logs, session log skill configurations, system metadata, and performance metrics. Routing instructions are generated based on the evaluation results. A secure channel is determined from the second communication channels based on the channel security level and data sensitivity. If the candidate channel indicated by the user is a secure channel, it is determined as the third communication channel, and routing instructions are generated. If the candidate channel is not a secure channel, a prompt message is generated based on the secure channel identifier, prompting the user to select a communication channel from the secure channels to continue the session.

[0275] In another implementation, in response to changes in the context object content, a change event is published based on the changed content. This event is then pushed to a second communication channel subscribed to the current compliance session, and the locally cached context object corresponding to the current compliance session is updated accordingly. Simultaneously, at least one candidate model is determined from multiple session models based on data sensitivity. The configurations of the candidate models are then scored based on task type, and the candidate model with the highest score is selected as the target model. The target model is used to perform a compliance assessment on the original session data based on the context object and obtain a compliance assessment document. After inputting the original session data into the target model, the model outputs a risk score and risk classification. If the risk score and risk classification meet the convergence condition, the compliance assessment document output by the target model based on the original session data is obtained. If the risk score and risk classification do not meet the convergence condition, a risk question is output, and supplementary data from user responses is received. The risk score and risk classification are then updated based on the supplementary data using the target model until the risk score and risk classification meet the convergence condition.

[0276] When regulatory provisions are changed, the corresponding strategy codes and knowledge graphs are updated. The strategy codes are used by the target model to generate compliance assessment documents, while the knowledge graph is used by the target model to determine the risk classification of the original session data. When updating the strategy codes, semantic parsing is performed on the structured clauses in the revised regulatory document to obtain the sub-elements corresponding to each structured clause. Each sub-element includes at least obligations, conditions, exceptions, and cross-references. Updated strategy codes are then generated based on these sub-elements to overwrite the old strategy codes. When updating the knowledge graph, the regulatory document is first segmented into multiple clause texts based on the format information of the revised document. The clause texts are then formatted to obtain standardized text. Structured clauses are generated based on the target fields in the standardized text. After identifying the modified structured clauses, clause nodes are generated based on the first sub-element of each structured clause, and relationship edges are generated based on cross-reference sub-elements. The knowledge graph is then updated based on the clause nodes and relationship edges. After identifying the associated compliance sessions of the regulatory provisions, based on the updated policy code and knowledge graph, the compliance assessment of each session data in the associated compliance sessions is re-performed through the target model. The hash values ​​corresponding to the compliance events generated during the compliance assessment process are written into the preset data structure, and the compliance events are stored in the default storage location.

[0277] In this embodiment, the compliance requirement form is driven by a state machine, undergoing the following state transition from "entry" to "end": Entry -> Legal Confirmation -> Configuration Generation -> Sandbox Verification -> Canary Release -> Monitoring and Observation -> End. Each state corresponds to a Worker component:

[0278] Legal Confirmation Worker: Pushes the original text of the regulations, the breakdown results, and the conflict report to the legal review interface. After legal confirmation, the status flows to the next stage; Configuration Generation Worker: Calls the regulations to compile the strategy, generating strategy code and configuration variables; Sandbox Verification Worker: Executes strategy verification test cases in an isolated sandbox and outputs a strategy verification report; Canary Deployment Worker: After electronic approval by two people, canary deployment is carried out; Monitoring and Observation Worker: Collects compliance indicators in real time, and automatically triggers rollback if an anomaly is detected.

[0279] Figure 2 A schematic diagram of the process architecture of an exemplary compliant routing method provided in this application embodiment is shown below. Figure 2 It can be seen that the multi-channel gateway device standardizes the message format of the raw text data of each communication channel through the protocol adapter, performs the corresponding compliance assessment through the compliance agent, and sends the data obtained after assessment to the data sensitivity module for evaluation. After determining the data sensitivity, the channel security level assessment is determined, the corresponding routing decision is generated, and the context object is synchronized to other communication channels through the publish-subscribe mechanism.

[0280] Figure 3 This application provides an automated compilation flowchart for strategy code. The process may include: inputting the original regulatory text; obtaining a list of clauses through clause segmentation; the segmentation process includes segmenting according to preset format rules and performing anomaly correction to finally obtain a list of clauses including multiple keywords; extracting keywords from each clause in the clause list to obtain structured clauses; the sub-factors in the structured clauses can be used for knowledge graph generation and output of strategy code (keywords filled into the template); the output knowledge graph and strategy code can be verified through sandbox engineering test cases and test scenarios; if the verification passes, syntax verification is performed to complete the verification; if the verification fails, the knowledge graph and strategy code are iteratively corrected; if the verification passes within 5 times, the strategy code is valid and can be released; if the verification fails more than 5 times, the strategy code is determined to be invalid and enters the consistency verification.

[0281] Figure 4 This application provides a flowchart for constructing a Merkle tree, which is the aforementioned preset data structure for storing hash values. (Refer to...) Figure 4 It is divided into the construction process of the Merkle tree and the integrity verification process.

[0282] During the Merkle tree construction process, four compliant events, e1:DPIA_CREATED, e2:POLICY_EVALUATED, e3:BREACH_REPORTED, and e4:DSR_RECEIVED, need to be written, and a hash calculation needs to be performed on each event.

[0283] Specifically, the hash value h1 of e1 is SHA-256(e1), which is calculated by concatenating the timestamp, actor, action type, target entity, outcome, and metadata. Similarly, the hash values ​​h2, h3, and h4 of e2 are SHA-256(e2), h3, h3, and h4, respectively.

[0284] The adjacent leaf hashes are merged and recalculated, such as h12=SHA-256(h1||h2); h34=SHA-256(h3||h4), and h12 and h34 are merged to calculate the root hash RootHash.

[0285] The root hash is published once per hour, and storage is only added to the WORM storage.

[0286] The integrity verification process includes: retrieving the published root hash from the WORM storage; reading all raw events {e1, e2, ..., e} within the time window. n The original events are stored in a local priority privacy database; the Merkle tree is reconstructed using the original events, and a new root hash is calculated; the hash values ​​are compared, if the hashes match, the verification passes and the integrity is confirmed, if the hashes do not match, binary search is enabled to recursively search for the tampered node, with an accuracy up to the level of a single event; by calculating the root hashes of the left and right subtrees respectively, the leaf node is recursively located.

[0287] Figure 5 A schematic diagram of a complete compliance assessment process provided for embodiments of this application includes:

[0288] S501, Multi-channel Compliance Gateway Construction: Completes channel protocol adaptation, unifies context objects, realizes compliance-aware security routing, and outputs session and routing capabilities.

[0289] S502, Automatic compilation from regulations to policies: Segmenting and semantically decomposing regulatory provisions, generating policy code, verifying it, and outputting the policy code.

[0290] S503, a conversational compliance assessment engine: It conducts an iterative risk refinement cycle, receives strategy code as input, and produces DPIA and risk profiles.

[0291] S504, Sandbox Implementation of Compliance Skills Market: Conduct three-stage verification and sandbox operation of skills, receive compliance assessment risk profiles as input, and implement corresponding compliance skills.

[0292] S505, end-to-end automatic propagation of regulatory changes: detect regulatory changes, complete graph traversal, recompile, approve, and deploy, triggering compliance assessment re-marking; when regulations change, policies can be invoked for recompiling, compliance assessment documents can be reassessed, and skills sandboxes can be used.

[0293] S506, Data Sensitivity Driven Multi-Model Routing: Makes model routing decisions and executes model calls based on data sensitivity level, task complexity, latency, and cost.

[0294] S507, Merkle Tree Immutable Audit: Calculates hashes for events, publishes root hashes, performs integrity checks, supports interactive queries and interpretable playback; receives audit events from all preceding stages and outputs audit evidence.

[0295] S508, end-to-end compliance workflow closed loop: based on the state machine flow of the requirement sheet, automatic push notifications are sent to achieve zero human intervention, including indicator statistics, approval, daily report training, and the process ends here.

[0296] Figure 6A schematic diagram of a compliance assessment architecture provided for an embodiment of this application includes:

[0297] Channel access layer 601: It sequentially accesses various communication messages through adapters of different communication channels; then it performs compliant and secure routing and generates a session context object.

[0298] Intelligent Agent Operation Layer 602: Receives input from the upper layer, completes session state management and multi-model orchestration, calls the prompt word engine, and then the skill scheduler schedules skills. It also manages the flow of compliant requirements through the single state machine of the requirements.

[0299] Skills Marketplace and Sandbox Layer 603: Acquire compliant skills from the skills marketplace, perform three-stage verification of skills, run skills in the sandbox environment, orchestrate skill chains using directed cyclic graphs, and follow the specifications defined in the skills declaration file.

[0300] Strategy code layer 604: Divide the scope into layers by global, jurisdiction, and entity; conduct event-driven evaluation, test the strategy through the strategy verification engine, and complete the canary deployment of the strategy.

[0301] Knowledge Graph Layer 605: Transforms regulations into clauses, obligations, control rules, and strategies; performs cross-reference parsing of regulations; uses a pre-defined change propagation algorithm to handle regulatory changes; performs semantic vectorization; and maintains bilingual comparison management.

[0302] Data sovereignty and audit layer 606: It adopts a four-level sensitivity hierarchical storage and supports data residence in multiple regions; the key management service is responsible for key management, generates Merkle tree audit logs, and the logs are stored in append-only WORM storage to ensure data sovereignty and audit tamper-proof.

[0303] Figure 7 This is a schematic diagram of the structure of the compliant session routing device provided in the embodiments of this application, as shown below. Figure 7 As shown, the compliant session routing device 700 provided in this embodiment includes:

[0304] Preprocessing module 701 is used to preprocess the original session data corresponding to the first communication channel to obtain the compliant language message corresponding to the current compliant session;

[0305] Update module 702 is used to update the context object corresponding to the current compliance session based on compliance language messages. The context object is used to synchronize to the second communication channel. The context object records the session status, risk profile and sensitivity label corresponding to the current compliance session.

[0306] The assessment module 703 is used to assess compliant language messages and obtain assessment results, which include at least the channel security level and data sensitivity.

[0307] The routing module 704 is used to determine the routing instructions for the compliance language message based on the evaluation results. The routing instructions are used to instruct the compliance language message to be routed to the third communication channel in the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model.

[0308] In one possible implementation, the preprocessing module 701 includes:

[0309] The parsing unit is used to parse the raw session data to determine the protocol type of the first communication channel;

[0310] The formatting processing unit is used to format the field structure in the compliant language message according to the message format conversion rules corresponding to the protocol type, so as to obtain the compliant language message.

[0311] In one possible implementation, the device further includes:

[0312] Create a new module to respond to changes in the task type of the context object and create a new context object corresponding to the changed task based on the compliant language message;

[0313] The association module is used to create a new context object corresponding to the associated task based on the compliant language message in response to the existence of associated tasks in the context object.

[0314] In one possible implementation, the assessment of channel security level includes at least assessing whether transmission is encrypted, whether static encryption is used, whether access control is implemented, whether data resides, whether audit logs are immutable, and whether retention policies are configured.

[0315] In one possible implementation, the assessment of data sensitivity includes at least verifying whether compliant language messages contain leaked records, personally identifiable information, consent biometrics, DPIA documents, ROPA records, vendor assessments, policy assessment results, audit logs, session logs, skill configurations, system metadata, and performance metrics.

[0316] In one possible implementation, routing module 704 includes:

[0317] A filtering unit is used to combine and determine secure channels from the second communication channels based on channel security level and data sensitivity;

[0318] The generation unit is used to determine the candidate channel as the third communication channel and generate routing instructions if the candidate channel indicated by the user is a secure channel.

[0319] In one possible implementation, the routing module 704 also includes:

[0320] The reselection unit is used to generate a prompt message based on the secure channel identifier if the candidate channel is not a secure channel. The prompt message is used to prompt the user to select a communication channel from the secure channels to continue the session.

[0321] In one possible implementation, the device further includes:

[0322] The push module is used to respond to changes in the content of the context object, publish change events based on the changed content, so that the second communication channel that has subscribed to the current compliance session can receive the push of the change event and update the local cached context object corresponding to the current compliance session based on the change event.

[0323] In one possible implementation, the device further includes:

[0324] The model routing module is used to determine at least one candidate model from multiple session models based on data sensitivity; it scores the configuration of the candidate models based on task type, and determines the candidate model with the highest score as the target model. The target model is used to perform compliance assessment on the original session data based on the context object to obtain a compliance assessment document.

[0325] In one possible implementation, the device further includes:

[0326] The compliance assessment module is used to input raw session data into the target model and obtain the risk score and risk classification output by the model. If the risk score and risk classification meet the convergence condition, the compliance assessment document output by the target model based on the raw session data is obtained.

[0327] In one possible implementation, the device further includes:

[0328] The supplementary module is used to obtain risk questions output by the target model based on the original session data if the risk score and risk classification do not meet the convergence conditions. The risk questions are used to obtain supplementary data from the user's answers. Based on the supplementary data, the risk score and risk classification are updated by the target model until the risk score and risk classification meet the convergence conditions.

[0329] In one possible implementation, the device further includes:

[0330] The strategy code update module is used to update the strategy code corresponding to the changes in the regulations in response to the changes in the regulations. The strategy code is used to generate compliance assessment documents for the target model.

[0331] The knowledge graph update module is used to update the knowledge graph corresponding to the legal provisions. The knowledge graph is used by the target model to determine the risk classification of the original session data.

[0332] In one possible implementation, the strategy code update module includes:

[0333] The parsing unit is used to perform semantic parsing on the structured clauses in the revised regulatory document to obtain the sub-elements corresponding to each structured clause. The sub-elements include at least obligations, conditions, exceptions, and cross-references.

[0334] The code update unit is used to generate update strategy codes corresponding to structured terms based on sub-elements. The update strategy codes are used to overwrite the old strategy codes.

[0335] In one possible implementation, the strategy code update module also includes:

[0336] The structured clause unit is used to divide the revised regulatory document into multiple clause texts according to the format information of the revised regulatory document; to correct the format of the clause texts to obtain the standard text; and to generate structured clauses based on the target fields in the standard text.

[0337] In one possible implementation, the knowledge graph update module includes:

[0338] The knowledge graph update unit is used to identify structured clauses that have changed; generate clause nodes based on the sub-elements corresponding to the obligations, conditions and exceptions of the structured clauses, and generate relationship edges based on cross-referenced sub-elements; and update the knowledge graph based on the clause nodes and relationship edges.

[0339] In one possible implementation, the device further includes:

[0340] The reassessment module is used to identify the associated compliance sessions of regulatory provisions; based on the updated policy code and knowledge graph, it reassesses the compliance data of each session in the associated compliance sessions through the target model.

[0341] In one possible implementation, the device further includes:

[0342] The storage module is used to write the hash values ​​corresponding to compliance events generated during the compliance assessment process into a preset data structure; and to store compliance events in the default storage location.

[0343] The compliant session routing device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0344] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 8 As shown, the electronic device 80 provided in this embodiment includes at least one processor 801 and a memory 802. Optionally, the device 80 further includes a communication component 803. The processor 801, memory 802, and communication component 803 are connected via a bus 804.

[0345] In a specific implementation, at least one processor 801 executes computer execution instructions stored in memory 802, causing at least one processor 801 to perform the above-described method.

[0346] The specific implementation process of processor 801 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0347] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0348] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0349] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0350] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0351] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0352] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0353] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0354] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0355] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0356] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0357] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0358] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0359] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A compliant session routing method, characterized in that, include: Preprocess the raw session data corresponding to the first communication channel to obtain the compliant language message corresponding to the current compliant session; The context object corresponding to the current compliance session is updated based on the compliance language message. The context object is used to synchronize to the second communication channel. The context object records the session status, risk profile, and sensitivity label corresponding to the current compliance session. The evaluation results are obtained based on the compliant language messages, and the evaluation results include at least the channel security level and data sensitivity. Based on the evaluation results, a routing instruction for the compliance language message is determined. The routing instruction is used to instruct the compliance language message to be routed to a third communication channel in the second communication channel, and to conduct a subsequent compliance session in the third communication channel based on the context object and the target model.

2. The method according to claim 1, characterized in that, Receive compliant language messages, including: The protocol type of the first communication channel is determined by parsing the original session data; According to the message format conversion rules corresponding to the protocol type, the field structure in the compliant language message is formatted to obtain the compliant language message.

3. The method according to claim 1, characterized in that, The method further includes: In response to a change in the task type of the context object, a new context object corresponding to the changed task is created based on the compliant language message. In response to the existence of an associated task in the context object, a new context object corresponding to the associated task is created based on the compliant language message.

4. The method according to claim 1, characterized in that, The assessment of the channel security level includes at least assessing whether transmission is encrypted, whether static encryption is used, whether access control is implemented, whether data resides, whether audit logs are immutable, and whether retention policies are configured.

5. The method according to claim 1, characterized in that, The data sensitivity assessment includes at least verifying whether the compliant language messages contain leak records, personally identifiable information, consent biometrics, DPIA documents, ROPA records, vendor assessments, policy assessment results, audit logs, session logs, skill configurations, system metadata, and performance metrics.

6. The method according to claim 1, characterized in that, Generate routing instructions, including: A secure channel is determined by combining the security level of the channel and the data sensitivity from the second communication channels; If the candidate channel indicated by the user belongs to the secure channel, the candidate channel is determined to be the third communication channel, and the routing instruction is generated.

7. The method according to claim 6, characterized in that, The method further includes: If the candidate channel does not belong to the secure channel, a prompt message is generated based on the secure channel identifier. The prompt message is used to prompt the user to select a communication channel from the secure channels to continue the session.

8. The method according to claim 1, characterized in that, The method further includes: In response to a change in the content of the context object, a change event is published based on the changed content, so that the second communication channel that has subscribed to the current compliance session receives the push of the change event and updates the local cached context object corresponding to the current compliance session based on the change event.

9. The method according to claim 1, characterized in that, The method further includes: Based on the aforementioned data sensitivity, at least one candidate model is determined from multiple session models; The candidate models are scored based on the task type, and the candidate model with the highest score is determined as the target model. The target model is used to perform a compliance assessment on the original session data based on the context object to obtain a compliance assessment document.

10. The method according to claim 9, characterized in that, The method further includes: The original session data is input into the target model to obtain the risk score and risk classification output by the model. If the risk score and the risk classification meet the convergence condition, the compliance assessment document output by the target model based on the original session data is obtained.

11. The method according to claim 10, characterized in that, The method further includes: If the risk score and risk classification do not meet the convergence condition, obtain the risk question output by the target model based on the original session data. The risk question is used to obtain supplementary data from the user's answers. Based on supplementary data, the risk score and risk classification are updated using the target model until they meet the convergence condition.

12. The method according to claim 1, characterized in that, The method also includes: In response to changes in regulatory provisions, the strategy code corresponding to the regulatory provisions is updated. The strategy code is used to generate compliance assessment documents for the target model. The knowledge graph corresponding to the aforementioned legal provisions is updated, and the knowledge graph is used by the target model to determine the risk classification of the original session data.

13. The method according to claim 12, characterized in that, Update the policy code, including: Semantic parsing is performed on the structured clauses in the revised regulatory documents to obtain the sub-elements corresponding to each structured clause. The sub-elements include at least obligations, conditions, exceptions, and cross-references. An update strategy code is generated based on the sub-elements to correspond to the structured clauses. The update strategy code is used to overwrite the old strategy code.

14. The method according to claim 13, characterized in that, The method further includes: The revised regulatory document is divided into multiple clause texts based on the format information of the revised regulatory document; The format of the aforementioned clause text is corrected to obtain the standard text; The structured terms are generated based on the target fields in the specification text.

15. The method according to claim 12, characterized in that, The updated knowledge graph includes: Identify any changes to the structured terms; The clause nodes are generated based on the sub-elements corresponding to the obligations, conditions, and exceptions of the structured clauses, and relationship edges are generated based on the cross-referenced sub-elements. The knowledge graph is updated based on the clause nodes and relationship edges.

16. The method according to claim 12, characterized in that, The method further includes: Determine the associated compliance session for the aforementioned regulatory provisions; Based on the updated policy code and knowledge graph, the compliance assessment of each session data in the associated compliance session is re-performed through the target model.

17. The method according to claim 1, characterized in that, The method further includes: Write the hash values ​​corresponding to compliance events generated during the compliance assessment process into a preset data structure; The compliance events are stored in the default storage location.

18. A compliant session routing device, characterized in that, include: The preprocessing module is used to preprocess the raw session data corresponding to the first communication channel to obtain the compliant language message corresponding to the current compliant session; The update module is used to update the context object corresponding to the current compliance session based on the compliance language message. The context object is used to synchronize to the second communication channel. The context object records the session status, risk profile and sensitivity label corresponding to the current compliance session. An evaluation module is used to evaluate the compliant language messages and obtain evaluation results, which include at least the channel security level and data sensitivity. The routing module is used to determine the routing instructions for the compliance language message based on the evaluation results. The routing instructions are used to instruct the compliance language message to be routed to a third communication channel in the second communication channel, and to conduct subsequent compliance sessions in the third communication channel based on the context object and the target model.

19. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-17.

20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-17.

21. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-17.