Artificial intelligence operation control method and device

By establishing a trusted execution context and conducting multi-dimensional scenario access checks before the AI ​​agent runs, the problem of erroneous business operation results caused by uncontrolled execution boundaries is solved, and deterministic control over execution boundaries is achieved.

CN123180158APending Publication Date: 2026-11-27LOGICUS INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611422092.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, AI agents lack the establishment of a trusted execution context and scenario access checks before running, leading to uncontrolled operation boundaries and consequently errors in business operation results.

Method used

By acquiring AI agent business requests, a trusted execution context is established, and scenario access checks are performed, including tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and operating mode upper limit checks. AI operation processing is only performed when the scenario access results are passed.

Benefits of technology

It enables deterministic access control of the operational boundaries before AI runs, reducing the risk of errors in business operation results due to loss of control over the operational boundaries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180158A_ABST
    Figure CN123180158A_ABST
Patent Text Reader

Abstract

The application discloses an artificial intelligence operation control method and device, relates to the technical field of artificial intelligence, and comprises the following steps: acquiring an artificial intelligence agent service request and establishing a trusted execution context, wherein the trusted execution context comprises a service scenario, a tenant identifier, a target service identifier, a calling subject and a request operation mode; performing scene access checking according to the trusted execution context, wherein the scene access checking comprises tenant checking, service scenario checking, trusted execution context validity checking, target service checking, calling subject checking and operation mode upper limit checking; and if the scene access result is passed, performing AI operation processing according to the intelligent agent request to complete artificial intelligence operation control. The application establishes a trusted execution context before AI operation and performs scene access checking, thereby avoiding that AI processing without access directly enters service operation, and thus reducing the service result error condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to an artificial intelligence operation control method and apparatus. Background Technology

[0002] AI-powered agents typically enter the business processing flow directly based on the information provided by the requester. Upon receiving a business request, AI agents often directly invoke models or tools to perform analysis, generation, or writing operations, lacking a process of unified verification of the tenant, business scenario, target business object, calling subject, and request execution mode corresponding to the request before execution.

[0003] Because existing technologies lack mechanisms to establish a trusted execution context and conduct scenario access checks before AI agents run, AI agents may directly enter business processing under circumstances such as tenant mismatch, business scenario mismatch, unclear target business object, unauthorized calling entity, or request running mode exceeding the limit. This can lead to loss of control over the AI ​​running boundary and consequently cause errors in business operation results.

[0004] Therefore, how to prevent errors in business operations caused by the loss of control over the operational boundaries during AI runtime is a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0005] The main purpose of this application is to provide an artificial intelligence operation control method and device, which aims to solve the technical problem of how to prevent errors in business operation results caused by the loss of control over the operation boundary during AI operation.

[0006] To achieve the above objectives, this application provides an artificial intelligence operation control method, comprising: Obtain AI agent service requests and establish a trusted execution context based on the AI ​​agent service requests. The trusted execution context includes the service scenario, tenant identifier, target service identifier, calling subject, and request execution mode. Based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, a scenario admission check is performed to obtain the scenario admission result. The scenario admission check includes tenant check, business scenario check, trusted execution context validity check, target business check, calling subject check, and execution mode upper limit check. If the scenario admission result is passed, then AI operation processing is performed according to the intelligent agent request to complete the artificial intelligence operation control.

[0007] In one embodiment, the step of performing scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode to obtain scenario access results includes: Based on the business scenario, tenant identifier, target business identifier, calling entity, and request execution mode, a scenario access matrix query is performed to obtain the corresponding access configuration; Based on the access configuration and the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, a scenario access check is performed to obtain the scenario access result.

[0008] In one embodiment, the scenario access check includes tenant check, business scenario check, trusted execution context validity check, target business check, calling subject check, and running mode upper limit check. The scenario access check based on the access configuration and the business scenario, tenant identifier, target business identifier, calling subject, and request running mode includes: Perform tenant isolation checks based on the tenant identifier and the admission configuration; Perform scenario registration and version validity checks based on the business scenario and the access configuration; Perform a trusted execution context validity check based on the trusted execution context and the admission configuration; Perform object ownership checks and object version validity checks based on the target business identifier, the calling entity, and the access configuration; Perform user permission checks based on the calling entity and the access configuration; Perform a check on the upper limit of the running mode based on the requested running mode and the upper limit of the running mode in the admission configuration.

[0009] In one embodiment, the step of checking the running mode upper limit based on the requested running mode and the running mode upper limit in the admission configuration includes: The request execution mode value is obtained by extracting the request execution mode based on the trusted execution context. Based on the access configuration, the production operation mode is extracted to obtain the production threshold of the operation mode; Compare the requested runtime mode value with the production threshold of the runtime mode; If the requested running mode value is less than or equal to the production threshold of the running mode, the running mode upper limit check is deemed to have passed, and AI running processing continues. If the requested running mode value is greater than the production threshold of the running mode, the running mode upper limit check is determined to have failed, and the AI ​​running process corresponding to the intelligent agent request is suspended.

[0010] In one embodiment, the step of performing AI operation processing according to the intelligent agent request includes: AI is run based on the scenario admission results and the intelligent agent request to obtain candidate results; Based on the candidate results, a multi-dimensional security check is performed to obtain an execution license. The multi-dimensional security check includes version check, decision-making check, and business semantic duplication check. The execution license is used to complete the artificial intelligence operation control.

[0011] In one embodiment, the version verification step includes: Based on the target business object version corresponding to the candidate results, the candidate basis version is obtained; Based on the current official version corresponding to the target service identifier, obtain the current official version; Compare the candidate versions with the current official version; If the candidate version is consistent with the current official version, the version verification is deemed successful. If the candidate version is inconsistent with the current official version, the version verification is deemed to have failed, and the AI ​​operation processing corresponding to the smart agent request is suspended.

[0012] In one embodiment, the step of verifying the decision decision includes: Obtain decision-making strategies; Based on the candidate results, the corresponding candidate actions are obtained; The candidate actions are executed according to the decision-making strategy to obtain the determination result; If the determination result is passed, the AI ​​processing will continue.

[0013] In one embodiment, the business semantic duplication verification step includes: Based on the candidate results, the corresponding candidate actions are obtained; The trusted execution context and candidate actions are processed and verified to obtain the processing and verification results. If the processing test result is "unprocessed", then continue to execute the AI ​​processing.

[0014] In one embodiment, before performing AI operation based on the scene admission result and the intelligent agent request to obtain candidate results, the method further includes: Obtain the agent side effect status, tool side effect status, business writing status, and external sending status involved in the AI ​​operation and processing; Set the proxy side effect status, tool side effect status, business write status, and external send status to the prohibited execution status.

[0015] In addition, to achieve the above objectives, this application also provides an artificial intelligence operation control device, comprising: The acquisition module is used to acquire AI agent service requests and establish a trusted execution context based on the AI ​​agent service requests. The trusted execution context includes the service scenario, tenant identifier, target service identifier, calling subject, and request execution mode. The inspection module is used to perform scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request running mode to obtain scenario access results. The scenario access checks include tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and running mode upper limit checks. The result module is used to perform AI operation processing according to the intelligent agent request if the scenario admission result is passed, so as to complete the artificial intelligence operation control.

[0016] This application provides an artificial intelligence (AI) operation control method. It employs a technical approach that establishes a trusted execution context after receiving an AI agent business request, performs scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request operation mode within this trusted execution context, and only initiates AI operation processing based on the AI ​​agent request if the scenario access result is successful. This ensures that the AI ​​agent completes tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and operation mode upper limit checks before entering AI operation processing. This provides unified verification of tenant boundaries, business scenario boundaries, target business boundaries, calling subject boundaries, and operation mode boundaries before AI operation, thereby solving the problem of AI agents directly entering business operation processing due to the lack of pre-operation trusted context establishment and scenario access checks, leading to uncontrolled operation boundaries and errors in business operation results. Compared to existing technologies where AI agents directly enter the business processing flow based on information provided by the requester, this application achieves deterministic access control of the operation boundaries before AI operation processing, thereby reducing the risk of errors in business operation results due to uncontrolled operation boundaries. Attached Figure Description

[0017] 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.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1This is a flowchart illustrating the first embodiment of the artificial intelligence operation control method of this application; Figure 2 This is a flowchart illustrating the second embodiment of the artificial intelligence operation control method of this application; Figure 3 This is a flowchart illustrating the third embodiment of the artificial intelligence operation control method of this application; Figure 4 This is a flowchart illustrating the fourth embodiment of the artificial intelligence operation control method of this application; Figure 5 This is a structural block diagram of the first embodiment of the artificial intelligence operation control device of this application; The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0020] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0021] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0022] The main solution of this application is as follows: First, an AI agent service request is obtained, and a trusted execution context is established based on the AI ​​agent service request. The trusted execution context includes a business scenario, tenant identifier, target business identifier, calling subject, and request execution mode. Then, a scenario admission check is performed based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode to obtain a scenario admission result. The scenario admission check includes tenant check, business scenario check, trusted execution context validity check, target business check, calling subject check, and execution mode upper limit check. If the scenario admission result is passed, AI execution processing is performed based on the intelligent agent request to complete the AI ​​execution control.

[0023] In this embodiment, for ease of description, the following description uses a computing device as the execution subject.

[0024] Because existing technologies lack mechanisms for establishing a trusted execution context and conducting scenario access checks before AI agents run, AI agents may directly enter business processing under conditions of tenant mismatch, business scenario mismatch, unclear target business object, unauthorized calling entity, or request execution mode exceeding the limit. This can lead to loss of control over AI execution boundaries and consequently, errors in business operation results. Therefore, preventing errors in business operation results due to loss of control over execution boundaries during AI runtime is a pressing technical problem that needs to be solved in this field.

[0025] This application deeply integrates AI agent business requests with pre-run trusted execution context and scenario access checks, enabling AI operation processing permissions to focus on requests that have passed access verification. This solves the problem that existing technologies cannot perform deterministic access control on the operation boundary before AI runs, and achieves the technical effect of blocking risks such as tenant mismatch, business scenario mismatch, unclear target business object, unauthorized calling entity, and excessive operation mode before AI runs, thereby reducing the risk of errors in business operation results.

[0026] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or artificial intelligence operation control program capable of performing the above functions. The following description uses a computing device as an example to illustrate this embodiment and the subsequent embodiments.

[0027] Based on this, this application proposes an artificial intelligence operation control method according to the first embodiment. Please refer to [link / reference]. Figure 1 The artificial intelligence operation control method includes steps S10 to S30: Step S10: Obtain the AI ​​agent service request and establish a trusted execution context based on the AI ​​agent service request. The trusted execution context includes the service scenario, tenant identifier, target service identifier, calling subject, and request execution mode.

[0028] Understandably, AI agents typically enter the business processing flow based on information directly provided by the requester, lacking a pre-processing step that uniformly binds and verifies operational boundary elements such as the tenant, business scenario, target business object, calling subject, and request execution mode corresponding to the business request. If a trusted execution context is not established before AI processing, subsequent scenario access checks will lack a unified and reliable check object and judgment basis, and the AI ​​agent may directly enter business processing with unclear operational boundaries. Therefore, it is necessary to first obtain the AI ​​agent's business request and establish a trusted execution context accordingly, providing a reliable input foundation for subsequent scenario access checks.

[0029] It should be noted that an AI agent business request refers to a request initiated or triggered by an AI agent that needs to enter into business processing, such as an AI agent requesting to modify the booking information of a shipment or requesting to send a delivery notification to a customer. A trusted execution context refers to a set of binding information used to determine the trusted scope within which this request is valid. For example, this request belongs to tenant A, the business scenario is booking modification, the target business identifier is booking order B, the calling entity is operator C, and the request execution mode is formal write. This information together constitutes the trusted execution context. The business scenario in the trusted execution context refers to the business processing scenario in which this request occurs, such as booking modification, delivery notification, or fee entry. The tenant identifier is the unique identifier of the tenant to which this request belongs, such as tenant A or tenant B, used to prevent cross-tenant operations. The target business identifier is the unique identifier of the business object to be processed by this request, such as a booking order number, a bill of lading number, or a customer number. The calling entity refers to the initiator or executor of this request, such as an operator, a business workbench, or an intelligent agent. The request execution mode refers to the desired execution mode for this request, such as read-only mode, analysis mode, draft mode, suggestion mode, formal write mode, or external send mode.

[0030] Understandably, by acquiring AI agent business requests and establishing a trusted execution context, the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode are uniformly bound, so that the request has a clear and credible execution scope before entering subsequent processing. This avoids the information directly provided by the requester or the model inference results directly becoming the basis for execution, thereby providing a unified and credible inspection object and judgment basis for subsequent scenario access checks, reducing the risk of errors in business operation results due to unclear operation boundaries.

[0031] Step S20: Perform scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request running mode to obtain scenario access results. The scenario access checks include tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and running mode upper limit checks.

[0032] Understandably, in existing technologies, AI proxy requests typically enter the business processing flow directly upon arrival, lacking a step for unified checks on tenant boundaries, business scenario boundaries, target business boundaries, calling entity boundaries, and operating mode boundaries before execution. Without scenario access checks before AI processing, even with a trusted execution context established, it's impossible to determine whether the request is truly permitted to execute in the current business scenario. Issues such as cross-tenant conflicts, scenario mismatches, untrusted contexts, incorrect target business objects, unauthorized calling entities, or excessive operating modes may still arise. Therefore, scenario access checks are necessary based on the business scenario, tenant identifier, target business identifier, calling entity, and request operating mode within the trusted execution context. This provides a deterministic basis for determining whether to allow entry into AI processing.

[0033] It should be noted that the scenario admission result refers to the unified judgment result obtained after all the above-mentioned tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and operating mode upper limit checks have been completed. This result is used to determine whether the current AI agent business request is allowed to enter AI operation processing. For example, when all six checks pass, the scenario admission result is passed, and the current request is allowed to enter AI operation processing; when any of the above six checks fails, the scenario admission result is failed, and the current request is not allowed to enter AI operation processing, or the current AI operation processing needs to be paused or terminated. The scenario admission result is not the result of a single check itself, but a summary judgment of the results of the above multiple checks. The scenario admission check refers to the unified verification of whether the current request meets the operating boundary conditions required by the current business scenario before the AI ​​agent enters AI operation processing. The tenant check refers to the verification of the tenant identifier corresponding to the current request, such as verifying whether the request belongs to tenant A and whether there is cross-tenant access. Business scenario checks verify the business scenario corresponding to this request, such as whether the request belongs to a registered scenario like booking modification, arrival notification, or fee entry, and whether the scenario version is valid. Trusted execution context validity checks verify the trusted execution context itself established by S10, such as whether the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode in the context are complete, consistent, and usable. Target business checks verify the target business identifier corresponding to this request, such as whether the target booking order, target bill of lading, or target customer exists and matches this request. Calling subject checks verify the initiator or executor of this request, such as whether an operator, business workbench, or intelligent agent is qualified to initiate this request. Execution mode limit checks verify the request execution mode corresponding to this request, such as whether the request execution mode exceeds the upper limit of the execution mode allowed by the current business scenario or the current production environment. After the scenario access check passes, there may be multiple pending AI agent business requests; in this case, it is necessary to determine the processing order of these requests. Therefore, task priorities can be determined based on urgency, risk level, business value, deadline pressure, customer waiting time, and dependency blocking level. The weights for urgency, risk, business value, deadline pressure, customer waiting time, and dependency blocking level are all 0.15, 0.20, and 0.10 respectively. All indicators are normalized to zero to one. Task priorities are only used to determine the task processing order after the scenario access check is passed and must not override permissions or execution gates.

[0034] Understandably, by performing scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode within the trusted execution context before AI processing, and specifically executing tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and execution mode limit checks, this ensures that the request undergoes multi-dimensional deterministic verification before entering AI processing. This prevents operational boundary risks such as cross-tenant issues, scenario mismatches, untrusted contexts, incorrect target business objects, unauthorized calling subjects, and exceeding execution mode limits before execution, thus avoiding unauthorized AI processing from directly entering business operations and reducing the risk of errors in business operation results due to uncontrolled execution boundaries.

[0035] Step S30: If the scenario admission result is passed, then perform AI operation processing according to the intelligent agent request to complete the artificial intelligence operation control.

[0036] Understandably, the decision to allow an AI proxy request to enter AI processing is based on the scenario admission result. In existing technologies, AI proxy requests typically enter the business processing flow directly upon entry, lacking a release control based on the scenario admission result as a prerequisite. This can easily lead to requests that fail tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling entity checks, or operating mode upper limit checks still entering AI processing. Therefore, it is necessary to use the scenario admission result as a condition for entering AI processing, setting a deterministic release gate before AI processing to achieve control over the AI ​​operation process.

[0037] It should be noted that AI operation processing refers to the AI ​​processing procedures executed based on the current AI agent business request after the scenario admission result is passed. This includes processes such as reading business data, analyzing business information, generating drafts, generating suggestions, generating candidate results, or further performing multi-dimensional security checks and generating execution permissions. AI operation control refers to the unified control of the entire process of the AI ​​agent, from request access and trusted execution context establishment to scenario admission checks and AI operation processing, ensuring that AI operation processing only occurs when the scenario admission result is passed.

[0038] Understandably, by using scenario access as a prerequisite for entering AI processing, this AI proxy service request is only allowed to enter AI processing after passing tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and operating mode upper limit checks. This creates a deterministic gate before AI processing, preventing requests that fail scenario access checks from directly entering business operations, reducing the risk of errors in business operation results due to loss of control over operating boundaries, and achieving control over the AI ​​operation process.

[0039] Understandably, by acquiring AI agent business requests, establishing a trusted execution context, and performing scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode within that trusted execution context, and only proceeding with AI execution processing based on the intelligent agent request if the scenario access result is passed, the technical means ensure that the AI ​​agent must complete tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and execution mode upper limit checks before entering AI execution processing. This allows for unified verification of tenant boundaries, business scenario boundaries, target business boundaries, calling subject boundaries, and execution mode boundaries before AI execution, thereby solving the problem of AI agents directly entering business execution processing due to the lack of pre-run trusted context establishment and scenario access checks, leading to uncontrolled execution boundaries and errors in business operation results.

[0040] refer to Figure 2 In one feasible implementation, step S20 may include steps A11-A12: Step A11: Based on the business scenario, tenant identifier, target business identifier, calling subject, and request running mode, perform a scenario access matrix query to obtain the corresponding access configuration.

[0041] It should be noted that the scenario admission matrix refers to a pre-configured dataset describing scenario admission rules for different business scenarios, recording the admission configurations corresponding to each business scenario. The admission configuration refers to the specific rule content in the scenario admission matrix that matches the current business scenario, used for subsequent scenario admission checks. For example, when the business scenario of this request is "booking modification," the scenario admission matrix query retrieves the admission configuration corresponding to that scenario. This includes the tenant allowed range for tenant checks under this scenario, the scenario registration and version information for business scenario checks, the context validity conditions for trusted execution context validity checks, the target business allowed range for target business checks, the caller qualification conditions for caller subject checks, and the upper limit of the operating mode for operating mode upper limit checks. The business scenario, tenant identifier, target business identifier, caller subject, and request operating mode serve as query inputs to locate the admission configuration matching the current request in the scenario admission matrix. For example, if this request belongs to tenant A, the business scenario is booking modification, the target business identifier is booking order B, the calling entity is operator C, and the request operation mode is formal write, then the scenario access matrix can be queried to obtain the access configuration corresponding to tenant A, booking order B, operator C, and formal write operation mode under the booking modification scenario.

[0042] Understandably, by querying the scenario admission matrix based on business scenarios, tenant identifiers, target business identifiers, calling entities, and request execution modes, the corresponding admission configuration is obtained. This ensures that subsequent scenario admission checks have a unified set of rules that match the current business scenario, avoiding the lack of judgment standards or inconsistent criteria in scenario admission checks. This provides executable admission rules for tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling entity checks, and execution mode upper limit checks, reducing the risk of unapproved AI processing entering business operations due to unclear admission rules.

[0043] Step A12: Perform scenario access checks based on the access configuration and the business scenario, tenant identifier, target business identifier, calling subject, and request running mode to obtain scenario access results.

[0044] It should be noted that scenario access control refers to the process of checking the tenant, business scenario, trusted execution context validity, target business, calling entity, and operating mode upper limit of the current request based on the access control configuration. Scenario access control result refers to the unified judgment conclusion obtained after all the above checks are completed, used to determine whether the current request is allowed to enter AI processing. For example, if the current request belongs to tenant A, the business scenario is booking modification, the target business identifier is booking form B, the calling entity is operator C, and the request operating mode is formal write, and the access control configuration obtained from the above steps specifies that tenant A is allowed to operate in this scenario, the booking modification scenario version is valid, the target booking form B exists and matches, operator C has modification permissions, and the formal write mode does not exceed the operating mode upper limit, then scenario access control is performed item by item based on this access control configuration; when all the above checks pass, the scenario access control result is passed; when any one of them fails, the scenario access control result is failed.

[0045] Understandably, by combining the obtained admission configuration with the business scenario, tenant identifier, target business identifier, calling subject, and request operation mode of this request to conduct scenario admission checks, the scenario admission checks have rules and clear inspection objects that match the current business scenario. This allows for unified verification of tenant boundaries, business scenario boundaries, target business boundaries, calling subject boundaries, and operation mode boundaries before AI operation and processing, outputting a definite scenario admission result. This prevents requests that fail admission from directly entering business operation and reduces the risk of errors in business operation results due to loss of control over operation boundaries.

[0046] refer to Figure 3 In one feasible implementation, step A12 may include steps B11 to B16: Step B11: Perform a tenant isolation check based on the tenant identifier and the admission configuration.

[0047] It should be noted that the tenant identifier refers to the unique identifier of the tenant to which this AI proxy service request belongs, such as tenant A and tenant B. The admission configuration refers to the specific admission rules obtained in A11 after querying the scenario admission matrix based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, matching the specific business scenario. This includes the allowed tenant range or tenant isolation conditions upon which the tenant isolation check is based. The tenant isolation check verifies the tenant identifier of this request based on the admission configuration to determine whether the request belongs to the allowed tenant range and whether cross-tenant access exists. For example, if the tenant identifier of this request is tenant A, and the admission configuration stipulates that the current business scenario allows tenant A to access, then the tenant isolation check passes; if the tenant identifier of this request is tenant B, but the admission configuration stipulates that the current business scenario only allows tenant A to access, then the tenant isolation check fails, and this request is not allowed to enter the AI ​​execution process.

[0048] Understandably, by performing tenant isolation checks based on tenant identifiers and access configurations, scenario access checks have clear verification criteria at the tenant level. This prevents cross-tenant access before AI runs and processes, avoiding one tenant's AI agent business requests from accessing another tenant's business data or business objects. This provides a tenant isolation foundation for subsequent business scenario checks, trusted execution context validity checks, target business checks, calling entity checks, and operating mode upper limit checks, reducing the risk of errors in business operation results due to cross-tenant access.

[0049] Step B12: Perform scenario registration and version validity checks based on the business scenario and the access configuration.

[0050] It should be noted that the "business scenario" refers to the business processing scenario in which this AI agent service request takes place, such as booking modification, arrival notification, or fee entry. The "admission configuration" refers to the specific admission rules obtained in A11 after querying the scenario admission matrix based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, matching the current business scenario. This includes the scenario registration information, scenario version information, or scenario validity conditions upon which scenario registration and version validity checks are based. Scenario registration and version validity checks verify the business scenario of this request against the admission configuration, determining whether the business scenario is registered in the system, whether the corresponding version is valid, and whether the scenario version used in this request matches the valid version in the admission configuration. For example, if the business scenario of this request is booking modification, and the admission configuration specifies that the booking modification scenario is registered and the current valid version is V2, then the scenario registration and version validity check passes. If the business scenario corresponding to this request is not registered, or its scenario version is the expired V1, then the scenario registration and version validity check fails, and this request is not allowed to enter AI processing.

[0051] Understandably, by registering scenarios and checking version validity based on business scenarios and access configurations, scenario access checks have clear verification criteria at the business scenario level. This prevents requests from unregistered or invalid business scenarios from being blocked before AI runs and processes them, thus avoiding AI agents directly entering AI running and processing under invalid business scenarios. This provides a valid business scenario foundation for subsequent trusted execution context validity checks, target business checks, call subject checks, and running mode upper limit checks, reducing the risk of errors in business operation results due to mismatched business scenarios or invalid scenario versions.

[0052] Step B13: Perform a trusted execution context validity check based on the trusted execution context and the admission configuration.

[0053] It should be noted that a trusted execution context refers to a set of binding information established based on the AI ​​agent's business request, used to determine the trusted scope within which the request is valid. This includes the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode. Admission configuration refers to the specific admission rules matching the current business scenario, obtained by querying the scenario admission matrix based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode. This includes the context validity conditions upon which the trusted execution context validity check is based. The trusted execution context validity check verifies the trusted execution context based on the admission configuration, determining whether the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode in the context are complete, consistent, and still usable. For example, if the trusted execution context records the business scenario as booking modification, the tenant identifier as tenant A, the target business identifier as booking order B, the calling subject as operator C, and the request execution mode as formal write, and the admission configuration stipulates that the above information should be complete and consistent with the current valid version, then the trusted execution context validity check passes; if the context lacks a calling subject, or the business scenario version in the context is invalid, or the tenant identifier in the context is inconsistent with the actual tenant to which the request belongs, then the trusted execution context validity check fails, and this request is not allowed to enter the AI ​​execution processing.

[0054] Understandably, by performing a trusted execution context validity check based on the trusted execution context and admission configuration, the scenario admission check has a clear verification basis in the context dimension. This prevents requests with missing, inconsistent, or invalid contexts from being blocked before AI runs and processes them, thus avoiding subsequent checks being based on untrusted or invalid contexts. This provides a trusted context foundation for subsequent target business checks, calling entity checks, and operating mode upper limit checks, reducing the risk of unreliable contexts causing loss of control over the operating boundary and errors in business operation results.

[0055] Step B14: Perform object ownership check and object version validity check based on the target business identifier, the calling subject, and the access configuration.

[0056] It should be noted that the target business identifier refers to the unique identifier of the business object to be processed by this AI agent service request, such as a booking order number, a bill of lading number, or a customer number. The calling entity refers to the initiator or executor of this request, such as an operator, a business workbench, or an intelligent agent. The object ownership check determines whether the target business object of this request belongs to the current calling entity or is within the scope of business objects that the current calling entity is authorized to operate, based on the access configuration. For example, if the target business identifier of this request is booking order B, the calling entity is operator C, and the access configuration stipulates that operator C is authorized to operate booking order B, then the object ownership check passes; if booking order B belongs to operator D and not operator C, then the object ownership check fails. The object version validity check determines whether the version of the target business object of this request is valid and consistent with the current official version, based on the access configuration. For example, if the version of booking order B used in this request is V2, while the current official version is V3, then the object version validity check fails; if the version of booking order B used in this request is consistent with the current official version, then the object version validity check passes.

[0057] Understandably, by performing object ownership checks and object version validity checks based on the target business identifier, the calling entity, and the access configuration, the scenario access check has a clear verification basis at the target business object level. This prevents requests for target business objects that do not belong to the current calling entity or whose versions are invalid from being blocked before AI runs and processes them. This avoids the AI ​​agent directly entering AI running and processing business objects that it does not have the authority to operate on or whose versions are invalid. It provides a valid target business object basis for subsequent user permission checks and running mode upper limit checks, reducing the risk of errors in business operation results due to mismatched object ownership or invalid object versions.

[0058] Step B15: Perform a user permission check based on the calling entity and the access configuration.

[0059] It should be noted that the calling entity refers to the initiator or executor of this AI agent service request, such as an operator, a business workbench, or an intelligent agent. User permission checking refers to determining whether the calling entity of this request possesses the necessary permissions to initiate this AI agent service request based on the access configuration. For example, if the calling entity of this request is operator C, and the access configuration stipulates that the formal write mode in the booking modification scenario requires the calling entity to have booking modification permissions, then the user permission check determines whether operator C possesses these permissions. If operator C possesses these permissions, the user permission check passes; if operator C does not possess these permissions, the user permission check fails, and this request is not allowed to proceed to AI processing. In the multi-dimensional security verification process, when it is necessary to judge the evidence on which candidate results are based, the quality of evidence can be used to measure the sufficiency of the evidence. The quality of evidence is jointly determined by evidence coverage, source reliability, information timeliness, and evidence consistency. Specifically, in the user permission check process, when it is necessary to determine whether the evidence on which candidate results are based is sufficient to support the request continuing to proceed to AI processing, the quality of evidence can be used to measure the sufficiency of the evidence. Evidence quality is determined by evidence coverage, source reliability, information timeliness, and evidence consistency. Evidence coverage accounts for 0.35 of the weight, source reliability for 0.25, information timeliness for 0.20, and evidence consistency for 0.20. When key evidence configured as a mandatory requirement is missing, supplementary evidence, manual review, or rejection is directly requested, without compensation through other high scores. Evidence quality is used in user permission checks to assess the sufficiency of the evidence supporting the request.

[0060] Understandably, by performing user permission checks based on the calling subject and access configuration, the scenario access check has a clear verification basis at the calling subject level. This prevents unauthorized requests from the calling subject before AI runs and processes, avoiding unauthorized operators, business workbench, or intelligent agents from directly entering AI running and processing. This provides a basis for calling subject permissions for subsequent upper limit checks of the running mode, reducing the risk of errors in business operation results due to unauthorized calling subjects.

[0061] Step B16: Perform a check on the upper limit of the running mode based on the requested running mode and the upper limit of the running mode in the admission configuration.

[0062] It's important to note that the "request execution mode" refers to the desired execution mode for this AI agent service request, such as read-only mode, analysis mode, draft mode, suggestion mode, formal write mode, or external transmission mode. The "admission configuration" refers to the specific admission rules obtained from A11 that match this business scenario, including the upper limit of the execution mode for which the execution mode upper limit check is based. The upper limit of the execution mode refers to the highest execution mode allowed for this request in the current business scenario or production environment. For example, in a booking modification scenario, the highest allowed execution mode in the current production environment is formal write mode, or only draft mode is allowed. The execution mode upper limit check determines whether the request's execution mode exceeds the upper limit specified in the admission configuration. For example, if the request's execution mode is formal write mode, and the admission configuration specifies that the upper limit of the execution mode for the current scenario is formal write mode, then the execution mode upper limit check passes. If the request's execution mode is external transmission mode, but the admission configuration specifies that the upper limit of the execution mode for the current scenario is formal write mode, then the execution mode upper limit check fails, and this request is not allowed to enter AI processing.

[0063] Understandably, by checking the upper limit of the running mode based on the request running mode and the upper limit of the running mode in the admission configuration, the scenario admission check has a clear verification basis in the running mode dimension. This blocks requests that exceed the running mode limit before AI runs, preventing the AI ​​agent from directly entering AI running processing in a running mode that exceeds the upper limit allowed by the current business scenario or the current production environment. This provides a running mode boundary basis for allowing AI running processing when the scenario admission result is passed, reducing the risk of errors in business operation results due to running mode exceeding the limit.

[0064] In one feasible implementation, step B16 further includes: extracting the request running mode based on the trusted execution context to obtain a request running mode value; extracting the production running mode based on the admission configuration to obtain a production threshold for the running mode; comparing the request running mode value with the production threshold for the running mode; if the request running mode value is less than or equal to the production threshold for the running mode, then the running mode upper limit check is determined to be passed, and AI running processing continues; if the request running mode value is greater than the production threshold for the running mode, then the running mode upper limit check is determined to be failed, and AI running processing corresponding to the intelligent agent request is paused.

[0065] It should be noted that the requested runtime mode value refers to the numerical value extracted from the trusted execution context, representing the runtime mode required for this AI agent service request. For example, read-only mode corresponds to 1, analysis mode to 2, draft mode to 3, suggestion mode to 4, formal write mode to 5, and external send mode to 6. The production threshold of the runtime mode refers to the numerical value extracted from the admission configuration, representing the highest runtime mode allowed in the current business scenario or production environment. For example, if the admission configuration specifies that the production threshold of the runtime mode for the current scenario is 5, then the highest allowed runtime mode is formal write mode. Comparison refers to comparing the requested runtime mode value with the production threshold of the runtime mode. For example, if the requested runtime mode value for this request is 5 and the production threshold of the runtime mode is 5, then the requested runtime mode value is less than or equal to the production threshold of the runtime mode, the runtime mode upper limit check passes, and AI runtime processing continues; if the requested runtime mode value for this request is 6 and the production threshold of the runtime mode is 5, then the requested runtime mode value is greater than the production threshold of the runtime mode, the runtime mode upper limit check fails, and AI runtime processing corresponding to the intelligent agent request is suspended.

[0066] Understandably, by extracting the request's runtime mode value from the trusted execution context and the production threshold of the runtime mode from the admission configuration, and comparing the two, the runtime mode upper limit check has a quantifiable and executable judgment process. This allows for accurate determination of whether the runtime mode of the current request exceeds the upper limit allowed by the current business scenario or the current production environment before AI processing. If the limit is exceeded, the AI ​​processing corresponding to the intelligent proxy request is suspended, preventing requests with runtime mode exceeding the limit from directly entering business operations and reducing the risk of errors in business operation results due to runtime mode exceeding the limit.

[0067] refer to Figure 4 In one feasible implementation, step S30 may include steps C11-C13: Step C11: Perform AI operation based on the scenario admission results and the intelligent agent request to obtain candidate results.

[0068] It should be noted that the scenario admission result refers to the unified judgment conclusion obtained after scenario admission checks based on business scenario, tenant identifier, target business identifier, calling subject, and request operation mode, such as all passing. Intelligent agent request refers to a request initiated or triggered by an AI agent that needs to enter business processing, such as a request to modify the booking information of a shipment or a request to send a delivery notification to a customer. AI operation refers to the AI ​​processing performed according to the intelligent agent request after the scenario admission result is passed, such as reading business data, analyzing business information, generating drafts, and generating suggestions. Candidate result refers to the processing result produced by AI operation that has not yet been converted into formal business action, such as generating a booking modification draft, generating a delivery notification suggestion text, and generating a cost entry suggestion value. Candidate results differ from formal business actions; they only serve as the object of subsequent multi-dimensional security checks and do not directly result in formal business writes or external transmissions.

[0069] Understandably, after the scenario admission result is passed, AI is run based on the scenario admission result and the intelligent agent request to obtain candidate results. The processing results produced by the AI ​​run exist in the form of candidate results, rather than being directly converted into formal business actions. This provides objects to be tested for subsequent version verification, decision-making verification, and business semantic duplication verification, avoiding the direct entry of untested AI run results into business operations and reducing the risk of errors in business operation results due to untested AI run results.

[0070] Step C12: Perform multi-dimensional security checks based on the candidate results to obtain execution permission. The multi-dimensional security checks include version checks, decision-making checks, and business semantic duplication checks.

[0071] It should be noted that candidate results refer to the processing results generated by AI operation that have not yet been converted into formal business actions, such as generating a draft modification of a booking order, generating suggested text for an arrival notification, or generating suggested values ​​for fee entry. Multi-dimensional security verification refers to the process of performing security checks on candidate results from multiple dimensions, including version verification, decision-making verification, and business semantic duplication verification. Version verification verifies whether the version of the target business object on which the candidate result is based is still the current official version. For example, if the version of booking order B on which the candidate result is based is V2, while the current official version is V3, then the version verification fails. Decision-making verification determines the execution of the candidate action corresponding to the candidate result according to the decision-making strategy, such as determining whether the candidate action is allowed to be executed. Business semantic duplication verification verifies whether the candidate action corresponding to the candidate result has already been processed, such as whether actions under the same tenant, same scenario, same action type, same business object, same object version, same logical action, same channel, same recipient, and same strategy version have already been executed. An execution license is a permit generated after passing multi-dimensional security checks, allowing a candidate result to be converted into a formal business action. For example, it allows a draft booking order modification to be converted into a formal booking order modification action. For instance, if the candidate result is a draft booking order modification, and it passes version verification, decision-making verification, and business semantic duplication verification, an execution license is obtained. If any one of these verifications fails, an execution license is not generated, and the candidate result is not converted into a formal business action.

[0072] Understandably, by conducting multi-dimensional security checks on candidate results to obtain execution permission, the candidate results must undergo version verification, decision-making verification, and business semantic duplication verification before being converted into formal business actions. This allows for continued control over object versions, decision-making strategies, and the risk of repeated execution before the AI ​​operation results are converted into formal business actions. It prevents candidate results based on expired object versions, those that have not passed decision-making strategies, or those that have been repeatedly executed from directly entering business operations. This provides a security verification basis for completing AI operation control based on execution permission and reduces the risk of errors in business operation results caused by candidate results being directly converted into formal business actions without verification.

[0073] Step C13: Complete the artificial intelligence operation control according to the execution permission.

[0074] It should be noted that an execution license refers to a permit generated after multi-dimensional security checks on candidate results, allowing the candidate result to be converted into a formal business action. For example, if the candidate result is a draft booking modification, after passing version verification, decision-making verification, and business semantic duplication verification, an execution license is obtained, allowing the draft booking modification to be converted into a formal booking modification action. Artificial intelligence operation control refers to the unified control of the entire process of the AI ​​agent, from request access, establishment of a trusted execution context, scenario access checks, AI operation processing to the execution of candidate results, ensuring that AI operation results are only allowed to be executed after obtaining an execution license. For example, when an execution license has been generated, the formal business action corresponding to the candidate result is allowed to be executed; when an execution license has not been generated, the formal business action corresponding to the candidate result is not allowed to be executed.

[0075] Understandably, by controlling the operation of artificial intelligence based on execution permission, candidate results are only allowed to become formal business actions after undergoing multi-dimensional security checks and obtaining execution permission. This completes the entire control process from request access, establishment of trusted execution context, scenario access check, AI operation processing, multi-dimensional security checks to execution permission, avoiding candidate results from directly entering business operation without version verification, decision-making verification, and business semantic duplication verification, and reducing the risk of errors in business operation results due to candidate results being executed directly without execution permission.

[0076] In one feasible implementation, a multi-dimensional security check is performed based on the candidate results. If the multi-dimensional security check fails, manual takeover is initiated.

[0077] Understandably, when a multi-dimensional security check fails, the decision to initiate manual takeover can be determined based on the manual takeover judgment value. This value is jointly determined by the risk level, conflict level, failure level, business impact, and uncertainty level, with each factor contributing a weight of 0.30 (risk level, conflict level, failure level, business impact, and uncertainty). When the manual takeover judgment value is not lower than 0.80, manual takeover can be requested; when it falls between 0.60 and 0.80, manual review can be requested. This method allows for the determination of whether manual takeover or review is necessary when a multi-dimensional security check fails, preventing candidate results that fail the multi-dimensional security check from directly entering business operations.

[0078] In one feasible implementation, step C12, version verification, includes: obtaining a candidate basis version based on the target business object version corresponding to the candidate result; obtaining the current official version based on the current official version corresponding to the target business identifier; comparing the candidate basis version with the current official version; if the candidate basis version is consistent with the current official version, the version verification is determined to be successful; if the candidate basis version is inconsistent with the current official version, the version verification is determined to be unsuccessful, and the AI ​​operation processing corresponding to the intelligent agent request is suspended.

[0079] It should be noted that the candidate basis version refers to the version value obtained from the target business object version corresponding to the candidate result, indicating the version of the business object on which the candidate result was based when it was generated. For example, if the candidate result is a revised booking order draft, and the version of booking order B on which the draft was based is V2, then the candidate basis version is V2. The current official version refers to the version value obtained from the current official version corresponding to the target business identifier, indicating the latest valid version of the target business object in the current business system. For example, if the target business identifier is booking order B, and the current official version of booking order B in the current business system is V3, then the current official version is V3. Comparison refers to comparing the candidate basis version with the current official version for consistency. For example, if the candidate basis version is V2 and the current official version is V3, and they are inconsistent, then the version verification is deemed to have failed, and the AI ​​operation processing corresponding to the intelligent agent request is suspended; if the candidate basis version is V3 and the current official version is also V3, and they are consistent, then the version verification is deemed to have passed.

[0080] Understandably, by obtaining the candidate basis version based on the target business object version corresponding to the candidate result, and obtaining the current official version based on the current official version corresponding to the target business identifier, and comparing the two, version verification has a clear comparison object and judgment process. This prevents candidate results generated based on expired object versions from being converted into official business actions before the candidate results are converted into official business actions. This avoids the candidate results from directly entering business operation when the target business object version has changed, providing a version consistency basis for subsequent decision-making verification and business semantic duplication verification, and reducing the risk of errors in business operation results due to inconsistent object versions.

[0081] In one feasible implementation, step C12, decision verification, includes: obtaining a decision strategy; obtaining corresponding candidate actions based on the candidate results; performing an execution determination on the candidate actions based on the decision strategy to obtain a determination result; and if the determination result is passed, continuing the AI ​​processing.

[0082] It should be noted that the decision-making strategy refers to the rules used to determine whether a candidate action is allowed to be executed. For example, the decision-making strategy may specify the types of actions allowed to be executed in a specific business scenario, the scope of target business objects allowed to be executed, the allowed operating mode, or the conditions that must be met. A candidate action refers to an action that, based on the candidate results, may become a formal business action. For example, if the candidate result is a draft modification of a booking order, the corresponding candidate action is "Modify Booking Order B". Execution determination refers to judging whether a candidate action is allowed to be executed based on the decision-making strategy. For example, if the candidate action is "Modify Booking Order B", and the decision-making strategy stipulates that modifying booking orders is allowed in the booking modification scenario, then the determination result is "passed"; if the decision-making strategy stipulates that modifying booking orders is not allowed in the current scenario, then the determination result is "failed", and the candidate action is not allowed to be executed. The determination result refers to the conclusion obtained after judging the execution of the candidate action according to the decision-making strategy, such as "passed" or "failed". During the decision-making verification process, the decision-making strategy needs to determine whether a candidate action is allowed to be executed. When there are multiple candidate actions or it is necessary to compare the reliability of the source of candidate actions, the result comparison value can be used as the determination basis. The result comparison value is jointly determined by the quality of evidence and the reliability of the intelligent agent, with the quality of evidence accounting for 0.80 and the reliability of the intelligent agent accounting for 0.20. The reliability of the intelligent agent is obtained by dividing the number of verified correct results by the total number of verified results. The result comparison value must not allow the artificial intelligence inference to cover confirmed formal business facts. The result comparison value is used in the decision-making verification process to determine the execution of candidate actions based on the decision-making strategy.

[0083] It is understandable that by acquiring the decision-making strategy, obtaining the corresponding candidate actions based on the candidate results, and making execution judgments on the candidate actions according to the decision-making strategy, the decision-making verification has a clear judgment object and judgment basis. In this way, before the candidate results are converted into formal business actions, candidate actions that are not allowed to be executed by the decision-making strategy are blocked, preventing candidate actions that are not allowed to be executed from directly entering business operations. This provides a decision-making basis for subsequent repeated verification of business semantics and reduces the risk of errors in business operation results due to candidate actions being executed directly without decision-making.

[0084] In one feasible implementation, step C12, the business semantic duplication verification step, includes: obtaining the corresponding candidate action based on the candidate result; performing processing verification based on the trusted execution context and the candidate action to obtain the processing verification result; if the processing verification result is unprocessed, then continuing to execute AI running processing.

[0085] It should be noted that candidate actions refer to actions that, based on candidate results, may be converted into formal business actions. For example, if the candidate result is a draft modification of a booking order, the corresponding candidate action is "Modify Booking Order B". Processing verification refers to the process of determining whether a candidate action has already been processed based on the trusted execution context and the candidate action. For example, processing verification can determine whether an action with the same business semantics has been executed based on the tenant identifier, business scenario, target business identifier, and the action type, logical action, channel, and recipient information corresponding to the candidate action in the trusted execution context. The processing verification result refers to the conclusion obtained after processing verification, such as whether it has been processed or not. For example, if the candidate action is "Send a delivery notification to the customer", and the trusted execution context records the tenant as tenant A, the business scenario as delivery notification, and the target business identifier as booking order B, if a processing record of sending a delivery notification to the same customer under the same tenant, same business scenario, and same target business identifier already exists in the system, then the processing verification result is "processed"; if the processing record does not exist, the processing verification result is "not processed", and AI processing continues. During the business semantic duplication verification process, it is necessary to determine whether the candidate action corresponding to the candidate result has already been processed. To this end, a business semantic idempotency identifier can be generated based on the trusted execution context and candidate actions. The business semantic idempotency identifier is calculated using a digest algorithm by combining standardized tenant, scenario, action type, business object, object version, logical action, channel, receiver, and policy version in a fixed order, where non-substantial format differences are eliminated before calculation. This business semantic idempotency identifier allows determination of whether an action with the same business semantic has already been processed. If it has, the candidate action is not executed repeatedly, thus avoiding duplicate business writes or duplicate external transmissions during business semantic duplication verification.

[0086] It is understandable that by obtaining the corresponding candidate actions based on the candidate results, and processing and verifying them according to the trusted execution context and the candidate actions, the processing and verification results are obtained. This gives the business semantic duplication verification a clear verification object and judgment process, thereby blocking the processed candidate actions before the candidate results become formal business actions. This avoids the duplicate execution of the same business semantic action, which would result in duplicate business writing or duplicate external transmission. It provides a basis for business semantic duplication verification for subsequent execution permissions and reduces the risk of errors in business operation results due to duplicate execution of candidate actions.

[0087] In one feasible implementation, before step C11, the method further includes obtaining the agent side effect status, tool side effect status, business write status, and external transmission status involved in the AI ​​operation process; and setting the agent side effect status, tool side effect status, business write status, and external transmission status to a prohibited execution status.

[0088] It should be noted that the agent side effect state refers to the current state of potential side effects that the intelligent agent may produce during AI processing, such as whether the intelligent agent is allowed to modify business data or trigger external actions. The tool side effect state refers to the current state of potential side effects that the tools invoked during AI processing may produce, such as whether the tool is allowed to write to the database or send messages. The business write state refers to the current state of potential writes to formal business objects during AI processing, such as whether it is allowed to modify booking orders or update expense records. The external transmission state refers to the current state of potential information transmission to external entities during AI processing, such as whether it is allowed to send delivery notices to customers or push data to external systems. The prohibited execution state refers to setting the above four types of side effect states to a state where execution is not permitted. For example, setting the agent side effect state, tool side effect state, business write state, and external transmission state to prohibited ensures that the AI ​​does not produce agent side effects, tool side effects, business writes, or external transmissions before obtaining candidate results. For example, when AI is processing booking modification requests, it can read booking forms, analyze booking information, and generate draft modification requests. However, before obtaining candidate results, it is not allowed for the intelligent agent to directly modify the booking form, the tool to directly write to the database, business operations to write to the database, or to send notifications to customers.

[0089] Understandably, by obtaining the proxy side effect status, tool side effect status, business write status, and external send status involved in AI operation and processing in advance, and setting them to a prohibited execution state, the AI ​​operation can only perform processing that does not have a formal business impact before obtaining candidate results. This blocks proxy side effects, tool side effects, business writes, and external sends in the early stages of AI operation, preventing formal business impacts from occurring before the AI ​​operation produces candidate results. This provides a pre-control basis for subsequent multi-dimensional security verification and execution permission, and reduces the risk of errors in business operation results due to formal side effects occurring in the early stages of AI operation.

[0090] This application also provides an artificial intelligence operation control device, please refer to... Figure 5 The artificial intelligence operation control device includes: The acquisition module 10 is used to acquire artificial intelligence agent service requests and establish a trusted execution context based on the artificial intelligence agent service requests. The trusted execution context includes a business scenario, a tenant identifier, a target business identifier, a calling subject, and a request execution mode. The inspection module 20 is used to perform scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request running mode to obtain scenario access results. The scenario access checks include tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and running mode upper limit checks. The result module 30 is used to perform AI operation processing according to the intelligent agent request if the scenario admission result is passed, so as to complete the artificial intelligence operation control.

[0091] The artificial intelligence operation control device provided in this application, employing the artificial intelligence operation control method in the above embodiments, can solve the technical problem of preventing errors in business operation results caused by the loss of control over the operation boundary during AI operation. Compared with the prior art, the beneficial effects of the artificial intelligence operation control device provided in this application are the same as those of the artificial intelligence operation control method provided in the above embodiments, and other technical features in the artificial intelligence operation control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

Claims

1. An artificial intelligence operation control method, characterized in that, include: Obtain AI agent service requests and establish a trusted execution context based on the AI ​​agent service requests. The trusted execution context includes the service scenario, tenant identifier, target service identifier, calling subject, and request execution mode. Based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, a scenario admission check is performed to obtain the scenario admission result. The scenario admission check includes tenant check, business scenario check, trusted execution context validity check, target business check, calling subject check, and execution mode upper limit check. If the scenario admission result is passed, then AI operation processing is performed according to the intelligent agent request to complete the artificial intelligence operation control.

2. The artificial intelligence operation control method according to claim 1, characterized in that, The scenario access check based on the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, to obtain the scenario access result, includes: Based on the business scenario, tenant identifier, target business identifier, calling entity, and request execution mode, a scenario access matrix query is performed to obtain the corresponding access configuration; Based on the access configuration and the business scenario, tenant identifier, target business identifier, calling subject, and request execution mode, a scenario access check is performed to obtain the scenario access result.

3. The artificial intelligence operation control method according to claim 2, characterized in that, The scenario-based access control check includes tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling entity checks, and operating mode upper limit checks. The scenario-based access control check based on the access configuration and the business scenario, tenant identifier, target business identifier, calling entity, and request operating mode includes: Perform tenant isolation checks based on the tenant identifier and the admission configuration; Perform scenario registration and version validity checks based on the business scenario and the access configuration; Perform a trusted execution context validity check based on the trusted execution context and the admission configuration; Perform object ownership checks and object version validity checks based on the target business identifier, the calling entity, and the access configuration; Perform user permission checks based on the calling entity and the access configuration; Perform a check on the upper limit of the running mode based on the requested running mode and the upper limit of the running mode in the admission configuration.

4. The artificial intelligence operation control method according to claim 3, characterized in that, The step of checking the upper limit of the running mode based on the requested running mode and the upper limit of the running mode in the admission configuration includes: The request execution mode value is obtained by extracting the request execution mode based on the trusted execution context. Based on the access configuration, the production operation mode is extracted to obtain the production threshold of the operation mode; Compare the requested runtime mode value with the production threshold of the runtime mode; If the requested running mode value is less than or equal to the production threshold of the running mode, the running mode upper limit check is deemed to have passed, and AI running processing continues. If the requested running mode value is greater than the production threshold of the running mode, the running mode upper limit check is determined to have failed, and the AI ​​running process corresponding to the intelligent agent request is suspended.

5. The artificial intelligence operation control method according to claim 1, characterized in that, The AI ​​operation processing based on the intelligent agent request includes: AI is run based on the scenario admission results and the intelligent agent request to obtain candidate results; Based on the candidate results, a multi-dimensional security check is performed to obtain an execution license. The multi-dimensional security check includes version check, decision-making check, and business semantic duplication check. The execution license is used to complete the artificial intelligence operation control.

6. The artificial intelligence operation control method according to claim 5, characterized in that, The version verification steps include: Based on the target business object version corresponding to the candidate results, the candidate basis version is obtained; Based on the current official version corresponding to the target service identifier, obtain the current official version; Compare the candidate versions with the current official version; If the candidate version is consistent with the current official version, the version verification is deemed successful. If the candidate version is inconsistent with the current official version, the version verification is deemed to have failed, and the AI ​​operation processing corresponding to the smart agent request is suspended.

7. The artificial intelligence operation control method according to claim 5, characterized in that, The steps for verifying the decision-making decision include: Obtain decision-making strategies; Based on the candidate results, the corresponding candidate actions are obtained; The candidate actions are executed according to the decision-making strategy to obtain the determination result; If the determination result is passed, the AI ​​processing will continue.

8. The artificial intelligence operation control method according to claim 5, characterized in that, The steps for business semantic duplication verification include: Based on the candidate results, the corresponding candidate actions are obtained; The trusted execution context and candidate actions are processed and verified to obtain the processing and verification results. If the processing test result is "unprocessed", then continue to execute the AI ​​processing.

9. The artificial intelligence operation control method according to claim 5, characterized in that, Before performing AI operation based on the scenario admission result and the intelligent agent request to obtain candidate results, the process also includes: Obtain the agent side effect status, tool side effect status, business writing status, and external sending status involved in the AI ​​operation and processing; Set the proxy side effect status, tool side effect status, business write status, and external send status to the prohibited execution status.

10. An artificial intelligence operation control device, characterized in that, include: The acquisition module is used to acquire AI agent service requests and establish a trusted execution context based on the AI ​​agent service requests. The trusted execution context includes the service scenario, tenant identifier, target service identifier, calling subject, and request execution mode. The inspection module is used to perform scenario access checks based on the business scenario, tenant identifier, target business identifier, calling subject, and request running mode to obtain scenario access results. The scenario access checks include tenant checks, business scenario checks, trusted execution context validity checks, target business checks, calling subject checks, and running mode upper limit checks. The result module is used to perform AI operation processing according to the intelligent agent request if the scenario admission result is passed, so as to complete the artificial intelligence operation control.