Security context driven intelligent office request orchestration method and system

By constructing security context vectors and risk assessments, execution policies are generated, solving the problem of fragmented security policies in intelligent office systems. This enables end-to-end security orchestration and convenient office work, improving the security and traceability of data access.

CN123179474APending Publication Date: 2026-11-27INST OF COMPUTING TECH CHINA ACAD OF RAILWAY SCI +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611337369.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing intelligent office systems lack end-to-end security context orchestration across different terminals, network areas, or task types. This results in the same user gaining access to the same data scope, the NL2SQL generation process potentially exposing patterns beyond authorized permissions, and RAG Q&A and report generation potentially introducing sensitive fragments into the model context. Furthermore, the security policies for file preview, download, printing, and API calls are fragmented, making it difficult to form a traceable closed loop.

Method used

By semantically parsing the received intelligent office requests, context vectors of identity, terminal, permissions, data, and policies are constructed, target risk values ​​are calculated, execution policies are generated, and the corresponding engines are called to execute the requests, output the results, and record dynamic watermarks, traces, and audit feedback to form a security context-driven closed loop.

Benefits of technology

It achieves improved network data security, reduced risk of unauthorized SQL generation, controlled knowledge fragment retrieval and report output, and traceability of file operations while maintaining the convenience of smart office, thus enhancing the security and controllability of the entire chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179474A_ABST
    Figure CN123179474A_ABST
Patent Text Reader

Abstract

The application provides a security context-driven intelligent office request arrangement method and system, relates to the field of electronic digital data processing, and the method comprises the following steps: performing semantic analysis on intelligent office requests received from multiple end entrances to obtain the task type and the operation object entity of the requests; based on the task type and the operation object entity, acquiring the security state information of the requests in the identity dimension, the terminal dimension, the permission dimension, the data dimension, the strategy dimension and the history dimension from multiple security control data sources associated with the requests, and generating corresponding context vectors; calculating the target risk value of the request according to the context vector; generating an execution strategy for the request by using the target risk value and the task type; and calling the engine corresponding to the task type to execute the request and output the result based on the execution strategy. The application can improve the security of network data while maintaining the convenience of intelligent office.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic digital data processing, and in particular to a security context-driven intelligent office request orchestration method and system. Background Technology

[0002] Existing office systems are typically built around workflows such as document processing, meeting organization, and task management. With the maturation of large-scale modeling, retrieval-enhanced generation, and Natural Language to Structured Query Language (NL2SQL) technologies, office systems are beginning to incorporate vertical domain knowledge bases, intelligent question answering, intelligent query statistics, and automatic report generation capabilities. For the office scenarios of non-transportation railway enterprises, existing technical solutions have proposed: adding an integrated intelligent question answering system and a network security hardening module to the existing office system architecture; using a hybrid storage of relational databases, file storage, and vector libraries to store policies and regulations, business processes, frequently asked questions, structured business data, and unstructured documents; and providing intelligent office capabilities through retrieval-enhanced generation (RAG) engines, NL2SQL engines, multimodal report generation engines, and end-to-end security protection engines.

[0003] However, standalone intelligent question answering or NL2SQL technologies primarily focus on "how to answer or generate Structured Query Language (SQL)," while individual security technologies such as account, terminal, dynamic watermarking, and interface monitoring primarily focus on "how to control a certain link." When intelligent office systems uniformly open up knowledge base, database, file, chart, and report generation capabilities to PCs, mobile devices, and office system plugins, the link from natural language requests to knowledge retrieval, SQL execution, chart generation, report output, and file preview or download becomes lengthened. Without a security context orchestration throughout the entire link, the following problems can easily occur: the same user still obtains the same data access scope under different terminals, different network areas, or different task types; the NL2SQL generation process may expose schemas exceeding permissions or execute unauthorized queries; RAG question answering and report generation may introduce sensitive fragments into the model context; and the security policies for file preview, download, printing, and interface calls are fragmented, making it difficult to form a traceable closed loop. Summary of the Invention

[0004] In view of this, embodiments of this application provide a security context-driven intelligent office request orchestration method and system to eliminate or improve one or more defects existing in the prior art.

[0005] One aspect of this application provides a security context-driven intelligent office request orchestration method, which includes the following steps: Semantic parsing is performed on smart office requests received from multiple entry points to obtain the task type and operation object entity of the smart office request; Based on the task type and the operation object entity, the security status information of the intelligent office request in terms of identity, terminal, permission, data, policy and history dimensions is obtained from multiple security management data sources associated with the intelligent office request, and a corresponding context vector is generated. Calculate the target risk value of the intelligent office request based on the context vector; Using the target risk value and the task type, an execution strategy is generated for the intelligent office request; Based on the execution strategy, the preset engine corresponding to the task type is invoked to execute the intelligent office request and output the result.

[0006] In some embodiments of this application, the context vector includes: identity credibility obtained based on the identity dimension, terminal credibility obtained based on the terminal dimension, data sensitivity obtained based on the permission dimension and data dimension, output diffusion obtained based on the policy dimension, and anomaly degree obtained based on the history dimension.

[0007] In some embodiments of this application, generating an execution strategy for the intelligent office request using the target risk value and the task type includes: When the target risk value is less than a preset first threshold, a policy corresponding to the task type that is allowed to be executed within the permission range is generated; When the target risk value is greater than or equal to the first threshold and less than the preset second threshold, an enhanced control strategy corresponding to the task type is generated; the enhanced control strategy includes one or more of the following: field desensitization, visibility mode pruning, secondary authentication, dynamic watermarking, reduced aggregation granularity, and submission for review and approval. A strategy is to generate a blocking request and issue an alarm when the target risk value is greater than or equal to the second threshold.

[0008] In some embodiments of this application, when the task type is a natural language query request and the generated execution policy is an allow execution or enhanced control policy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Based on the permission information and data hierarchy information in the context vector, construct a set of visible modes; Only tables, fields, relationships, and a small number of sample examples from the aforementioned set of visible patterns will be written into the prompt word template; The prompt word template is input into a preset natural language to SQL query engine so that the query engine generates the target SQL statement; Based on the set of visible patterns, the generated target SQL statement is validated for fields, tables, functions, and execution range, and the validation results are generated and judged. If the verification passes, the target SQL statement will be executed and the result will be output.

[0009] In some embodiments of this application, when the task type is a question-and-answer request and the generated execution strategy is an allow execution or enhanced control strategy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Based on the knowledge classification permissions and version tags in the context vector, permission pre-filtering is performed on knowledge fragments in the preset knowledge base; Semantic similarity retrieval is performed on knowledge fragments that have been pre-filtered for permissions, and knowledge fragments that simultaneously meet the preset semantic similarity threshold and permission constraints are retrieved. The recalled knowledge fragments are used as contextual input data for retrieval enhancement generation and input into a preset retrieval enhancement generation question-answering engine, so that the retrieval enhancement generation question-answering engine generates and outputs corresponding traceable answers with accompanying source citations.

[0010] In some embodiments of this application, when the task type is a report generation request and the generated execution strategy is an enhanced control strategy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Based on the data hierarchy and permission information in the context vector, the structured data referenced in the report is anonymized for sensitive fields, the granularity of the summary is controlled, and the range of the chart data is controlled to obtain the corresponding anonymized, summarized, and range-controlled data. The anonymized, aggregated, and range-controlled data is input into a preset multimodal report generation engine, which then generates and outputs the corresponding target report.

[0011] In some embodiments of this application, when the task type is a file operation request and the generated execution policy is an execution-allowing policy or an enhanced control policy, executing the intelligent office request and outputting the result includes: The system obtains the account identifier, terminal identifier, and request time when the intelligent office request is received, and generates dynamic watermark information by combining it with the file identifier of the current operation. A dynamic watermark is generated based on the dynamic watermark information when the file is output, and a file download or printing log is recorded.

[0012] In some embodiments of this application, when the file operation request is a print request and the generated execution policy is an enhanced control policy, the method further includes: While performing dynamic watermark overlay, secondary authentication or submission for review and approval is also performed.

[0013] In some embodiments of this application, the method further includes: Record the intelligent office request, the execution strategy, the result, and the exception information, and use the recorded information for auditing and feedback to update the configuration parameters; The step of auditing and providing feedback on recorded information to update configuration parameters includes: Mark low-confidence response results, SQL validation failure records, sensitive field hit records, download and print exceeding threshold records, non-bound terminal access records, and abnormal interface call records in the recorded information as abnormal samples; The abnormal sample update strategy threshold, query template, knowledge base index, and abnormal behavior model are based on the abnormal sample.

[0014] Another aspect of this application provides a security context-driven intelligent office request orchestration system, the system comprising: The multi-terminal request entry module is used to receive intelligent office requests from multiple terminal entry points and record the session identifier, account identifier, terminal identifier, and request time. The request semantic parsing module is used to perform semantic parsing on the intelligent office request to obtain the task type and operation object entity of the intelligent office request; The security context construction module is used to obtain the security status information of the intelligent office request in terms of identity, terminal, permission, data, policy and history dimensions from multiple security management data sources associated with the intelligent office request based on the task type and the operation object entity, and generate the corresponding context vector. The risk assessment module is used to calculate the target risk value of the smart office request based on the context vector; The strategy orchestration and decision-making module is used to generate an execution strategy for the intelligent office request by utilizing the target risk value and the task type; The strategy execution and output module is used to call the preset engine corresponding to the task type based on the execution strategy to execute the intelligent office request and output the result; The audit and feedback learning module is used to record the intelligent office requests, the execution strategies, the results, and the abnormal information, and to perform audit and feedback based on the recorded information to update the configuration parameters.

[0015] A third aspect of this application provides an electronic device including a processor and a memory, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the security context-driven intelligent office request orchestration method described above.

[0016] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the security context-driven intelligent office request orchestration method described above.

[0017] A fifth aspect of this application provides a computer program product comprising a computer program that, when executed by a processor, implements the security context-driven intelligent office request orchestration method described above.

[0018] This application presents a security context-driven intelligent office request orchestration method, which includes the following steps: semantically parsing intelligent office requests received from multiple entry points to obtain the task type and operation object entity of the intelligent office request; based on the task type and operation object entity, obtaining security status information of the intelligent office request in terms of identity, terminal, permission, data, policy, and history dimensions from multiple security management data sources associated with the intelligent office request, and generating corresponding context vectors; calculating the target risk value of the intelligent office request based on the context vector; generating an execution strategy for the intelligent office request using the target risk value and the task type; and executing the intelligent office request by calling a preset engine corresponding to the task type based on the execution strategy and outputting the result. This method can improve the security of network data while maintaining the convenience of intelligent office work.

[0019] Additional advantages, objectives, and features of this application will be set forth in part in the description which follows, and will in part become apparent to those skilled in the art upon review of the following description, or may be learned by practice of the application. The objectives and other advantages of this application can be realized and obtained by means of the structures specifically pointed out in the specification and drawings.

[0020] Those skilled in the art will understand that the purposes and advantages that can be achieved with this application are not limited to those specifically described above, and that the above and other purposes that this application can achieve will be more clearly understood from the following detailed description. Attached Figure Description

[0021] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, do not constitute a limitation thereof. The components in the drawings are not drawn to scale but are merely for illustrating the principles of this application. For ease of illustration and description of certain parts of this application, corresponding portions in the drawings may be enlarged, i.e., may appear larger relative to other components in an exemplary device actually manufactured according to this application. In the drawings: Figure 1This is a schematic diagram of the first process of a security context-driven intelligent office request orchestration method in one embodiment of this application.

[0022] Figure 2 This is a schematic diagram of a second process of a security context-driven intelligent office request orchestration method in one embodiment of this application.

[0023] Figure 3 This is a schematic diagram of the third process of the security context-driven intelligent office request orchestration method in one embodiment of this application.

[0024] Figure 4 This is a schematic diagram of the first flowchart of the security context-driven intelligent office request orchestration method in a specific example of this application.

[0025] Figure 5 This is a schematic diagram of the second flowchart of the security context-driven intelligent office request orchestration method in a specific example of this application. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the embodiments and accompanying drawings. Here, the illustrative embodiments and their descriptions are used to explain this application, but are not intended to limit it.

[0027] It should also be noted that, in order to avoid obscuring this application with unnecessary details, only the structures and / or processing steps closely related to the solution according to this application are shown in the accompanying drawings, while other details that are not closely related to this application are omitted.

[0028] It should be emphasized that the term "including / comprises" as used herein refers to the presence of a feature, element, step, or component, but does not exclude the presence or addition of one or more other features, elements, steps, or components.

[0029] It should also be noted that, unless otherwise specified, the term "connection" in this article can refer not only to a direct connection, but also to an indirect connection involving an intermediary.

[0030] In the following description, embodiments of the present application will be illustrated with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar parts, or the same or similar steps.

[0031] It should be noted that existing technologies suffer from several technical challenges, including a disconnect between intelligent and security capabilities, a lack of pre-emptive security constraints in the generation of natural language-to-structured query language, a lack of context-level leakage prevention in retrieval-enhanced question-and-answer and report generation, difficulties in establishing closed-loop security strategies for files and interfaces, and a lack of task-level differentiated handling for mobile devices, public accounts, and abnormal terminals. Specifically, existing intelligent question answering, natural language querying, and report generation often only perform login authentication at the entry point. Once in the model or database stage, there is a lack of fine-grained control linking with the terminal, data level, file policies, and interface ledgers, easily leading to the risk of unauthorized access where "anyone who logs in can ask questions, and anyone who asks can query." Furthermore, traditional NL2SQL typically generates SQL first and then performs syntax or execution validation. If the schema, fields, examples, and prompts are not tailored according to user permissions and data hierarchy, the model may generate SQL involving sensitive tables, sensitive fields, or cross-range statistics. Existing question-answering leakage prevention methods mostly identify confidential information from user question text, rarely combining knowledge fragment-level permissions, data source level, output channel, and user terminal trustworthiness to control the retrieved content, prompt content, and final answer. Existing dynamic watermarking, download and print logs, and interface monitoring are typically deployed independently, failing to feed back risk scoring, policy hits, and anomaly results from a single intelligent query, report generation, or file operation into subsequent access control. Furthermore, there is a lack of task-level differentiated handling for mobile devices, public accounts, and abnormal terminals. The same account, whether bound to an Internet Protocol (IP) address, not bound to an IP address, in MDM (Mobile Device Management) health status, or a public account status, requires different strategies for different requests such as Q&A, queries, reports, and downloads; existing solutions struggle to achieve unified orchestration. Based on this, the inventors of this application first conceived of a method to handle user requests for intelligent question answering, natural language queries, report generation, or file operations. Instead of directly handing the request to a large model, database, or file service, they first parse the request intent and business object, constructing a security context composed of identity, terminal, permissions, data level, file policy, interface ledger, historical behavior, and current network area. Then, a risk score is calculated based on data sensitivity and context credibility. Subsequently, a task-level execution strategy is generated, uniformly orchestrating RAG recall scope, NL2SQL visibility schema, SQL execution permissions, report data granularity, file watermarking and download control, interface call logging, and audit feedback. This application establishes a closed loop throughout the intelligent office request lifecycle, sequentially from request semantic recognition, security context construction, risk scoring, policy orchestration, controlled intelligent execution, secure output encapsulation, to audit feedback learning. Through this closed loop, while maintaining the convenience of intelligent office operations, knowledge, data, files, and interface call behaviors can meet the requirements of minimum permissions, traceability, blocking, and sustainable optimization.

[0032] The following examples will provide a detailed description.

[0033] This application provides a security context-driven intelligent office request orchestration method, see [link to relevant documentation]. Figure 1 The method includes the following steps: Step 1000: Perform semantic parsing on the intelligent office request received from multiple terminal entry points to obtain the task type and operation object entity of the intelligent office request; In step 1000, while receiving intelligent office requests from multiple entry points, the session identifier, account identifier, terminal identifier, and request time are recorded. The intelligent office requests from multiple entry points can be requests from PCs, mobile devices, and office system plugins. The task type can be one or more of the following: natural language query requests, question-and-answer requests, report generation requests, and file operation requests; specifically including but not limited to policy question-and-answer, business data statistical queries, chart or report generation, file preview, file download, file printing, and interface data calls. The operation object entity includes business entities, knowledge categories, data objects, time ranges, file objects, output formats, and intent confidence. The intent confidence is output by the request semantic parsing module when identifying the task type. As a reproducible implementation, when using a classification model to identify the task type, the normalized confidence score output by the classification model for the finally selected task type is used as the intent confidence; when using a preset intent template for matching, the normalized matching score between the intelligent office request and the finally selected intent template is used as the intent confidence. The intent confidence score ranges from 0 to 1, with a higher value indicating a higher degree of match between the intelligent office request and the final selected task type. When the intent confidence score is lower than a preset intent confidence score threshold, supplementary questions, secondary analysis, or manual review are triggered. The preset intent confidence score threshold is a configuration parameter of the request semantic parsing module and can be adjusted based on misclassification samples obtained from the audit.

[0034] Step 2000: Based on the task type and the operation object entity, obtain the security status information of the intelligent office request in the identity dimension, terminal dimension, permission dimension, data dimension, policy dimension and history dimension from multiple security management data sources associated with the intelligent office request, and generate the corresponding context vector; In step 2000, the security control data source associated with the intelligent office request can be two or more of the following: user account type, role permissions, affiliated organization, account holder, mobile phone number binding status, terminal IP binding status, MDM health status, network area, data classification and grading, knowledge classification permissions, database table field permissions, file distribution range, watermarking policy, download and print threshold, interface call ledger, historical abnormal behavior, and current session authentication strength. The context vector includes identity trustworthiness obtained based on the identity dimension, terminal trustworthiness obtained based on the terminal dimension, data sensitivity obtained based on the permission and data dimensions, output diffusion degree obtained based on the policy dimension, and anomaly degree obtained based on the historical dimension. It should be noted that terminal trustworthiness can be determined by bound IP, device fingerprint, MDM health status, application-level virtual private network (VPN) status, certificate status, or a combination of the above; mobile terminals can also combine application sandbox status, cache clearing status, and remote wipe status.

[0035] Step 3000: Calculate the target risk value of the intelligent office request based on the context vector; In step 3000, the calculation process for the target risk value can be as follows: in, This indicates the target risk value of the intelligent office request; Indicates data sensitivity; Indicates the credibility of the identity; Indicates the trustworthiness of the terminal; Indicates the output diffusion; Indicates the degree of historical anomaly; to The weights are non-negative, and the sum of all weights is 1. and All are normalized values ​​in the range of 0 to 1. Therefore, The value ranges from 0 to 1. The higher the target risk value, the higher the possibility that this request will result in unauthorized access, leakage of sensitive information, or abnormal data flow.

[0036] In one or more embodiments of this application, the calculation of the target risk value may also be implemented using rule weighting, decision tree, logistic regression, anomaly detection model or security policy engine; each weight and threshold may be configured according to organization, business type, data level or time period.

[0037] Step 4000: Using the target risk value and the task type, generate an execution strategy for the intelligent office request; In one or more embodiments of this application, for the NL2SQL engine, only databases, tables, fields, relationships, and a few sample examples within the permissions are provided to the model prompts. After generating SQL, syntax validation, permission validation, and sensitive field validation are performed. For the RAG engine, only knowledge fragments matching user roles, organizations, and knowledge classification permissions are allowed to be recalled. For the report generation engine, field desensitization, summary granularity control, and chart data range control are performed before writing the report. For file services, a dynamic watermark containing account, time, terminal, and file identifier is generated during preview, download, and printing, and download and printing logs are recorded. For interface calls, the caller, called interface, data object, call result, and exception type are recorded to form an interface call ledger and participate in subsequent risk scoring. The interface call ledger is a collection of audit records that record the interface caller, call time, data object, call result, exception type, and handling result.

[0038] In step 4000, a first threshold and a second threshold can be set according to the security management requirements of the office system. Specifically, this includes: Step 4100: When the target risk value is less than a preset first threshold, generate a policy corresponding to the task type that is allowed to be executed within the permission range; Step 4200: When the target risk value is greater than or equal to the first threshold and less than the preset second threshold, an enhanced control strategy corresponding to the task type is generated; the enhanced control strategy includes one or more of the following: field desensitization, visibility mode pruning, secondary authentication, dynamic watermarking, reduced aggregation granularity, and submission for review and approval. In step 4200, when using the above-described normalized weighted risk scoring model, both the first threshold and the second threshold are configurable parameters of the strategy orchestration decision module, satisfying 0 ≤ first threshold < second threshold ≤ 1. Specifically, the corresponding first and second thresholds can be read according to organization, business type, data level, or time period, and adjusted based on audit and feedback results. For requests involving sensitive data, public accounts, or unbound terminals, lower first and / or second thresholds can be configured to trigger enhanced control strategies or blocking alarm strategies earlier. Since the specific values ​​are related to the risk scoring model used and security management requirements, this embodiment does not limit fixed values.

[0039] Step 4300: When the target risk value is greater than or equal to the second threshold, generate a blocking request and issue an alarm.

[0040] Step 5000: Based on the execution strategy, call the preset engine corresponding to the task type to execute the intelligent office request and output the result.

[0041] In step 5000, the engine includes a natural language to SQL query engine, a retrieval-enhanced question-and-answer generation engine, and a multimodal report generation engine. The natural language to SQL query engine can be an engine that converts natural language queries into target SQL statements based on a large language model, semantic parsing model, or a preset query template. The retrieval-enhanced question-and-answer generation engine can be an engine that retrieves knowledge fragments based on vector retrieval, keyword retrieval, knowledge graph retrieval, or a combination thereof, and generates answers with source citations using a generative model. The multimodal report generation engine can be an engine that aggregates, analyzes, and arranges one or more of structured data, charts, and text analysis conclusions to generate a target report according to a preset report template. The output results are securely encapsulated, wherein question-and-answer results include source fragments and permission markers; query results return detailed or summary results according to permissions; sensitive fields in the report are anonymized or summarized; file previews, downloads, and print results have dynamic watermarks; and interface calls are logged and anomaly detection is performed.

[0042] As described above, the security context-driven intelligent office request orchestration method provided in this application constructs a security context before the request enters the model, database, file, and interface service, and performs desensitization, watermarking, logging, and blocking during the output stage. This covers the entire request lifecycle, forming an integrated closed loop of intelligent and security capabilities. By trimming the visible schema before SQL generation and performing permission, syntax, and sensitive field validation after SQL generation, the risk of the model generating unauthorized SQL, mistakenly querying sensitive tables, or leaking field structures can be reduced, thus mitigating the risk of unauthorized natural language queries. Knowledge fragment retrieval, report data aggregation, and text generation are all controlled by data level, knowledge classification permissions, user roles, and terminal trust status, preventing sensitive fragments from being written into the model context or report output, and improving the security of RAG Q&A and report generation. Dynamic watermarking, download and print logs, interface call ledgers, and early warning records jointly record the output chain, making subsequent responsibility tracking, anomaly location, and security auditing traceable and enabling traceability of file and interface operations. It can automatically select different strategies such as allow, de-identification, secondary authentication, submission for review, and blocking based on account type, terminal status, network region, request type, and historical abnormal behavior. It can also continuously optimize thresholds and templates through feedback learning, supporting differentiated handling and continuous optimization.

[0043] To further reduce the risk of unauthorized access in natural language queries, a security context-driven intelligent office request orchestration method is provided in this application embodiment, see [link to relevant documentation]. Figure 2 When the task type is a natural language query request and the generated execution policy is an allow execution or enhanced control policy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Step 4111: Construct a set of visible modes based on the permission information and data hierarchy information in the context vector; In step 4111, the set of visible schemas can be represented as: V = {c | c belongs to a field that is allowed to be accessed by user role, organization scope, data level, and task purpose} Where V represents the set of visible schemas and c represents the candidate fields; the visible schema is the set of databases, tables, fields and relationships that are allowed to be exposed to the SQL generation model based on user permissions, data level and task purpose.

[0044] Step 4112: Write only the tables, fields, relationships, and few sample examples from the set of visible patterns into the prompt word template; In step 4112, only tables, fields, relationships, and a few sample examples from V are written into the prompt word template to prevent the model from accessing fields without permissions.

[0045] Step 4113: Input the prompt word template into a preset natural language to SQL query engine so that the natural language to SQL query engine generates the target SQL statement; In one or more embodiments of this application, SQL is generated by combining model and schema descriptions with a small number of sample examples.

[0046] Step 4114: Based on the set of visible patterns, perform field validation, table validation, function validation, and execution range validation on the generated target SQL statement, and generate and judge the validation results; In step 4114, after the SQL is generated, field validation, table validation, function validation, and execution scope validation are performed based on V. Field validation determines whether the fields referenced by the target SQL statement belong to the visible pattern set and satisfy field-level access permissions and sensitive field usage rules. Table validation determines whether the tables or views referenced by the target SQL statement and their relationships belong to the visible pattern set. Function validation determines whether the aggregate functions, calculation functions, or database functions called by the target SQL statement are within a preset function whitelist. Execution scope validation determines whether the organizational scope, time range, data volume, maximum number of returned rows, and query resource consumption corresponding to the target SQL statement are within the permitted range of permissions and policies. Furthermore, the statement type can be identified through SQL abstract syntax tree analysis, and non-read-only write, delete, data structure change, or permission change statements can be deemed invalid. The verification result can be either pass or fail. When the generated execution strategy is an enhanced control strategy, the query fields, aggregation methods, or query range can be desensitized, aggregated, or narrowed according to the execution strategy before re-executing the above verification. The target SQL statement is executed only after the verification passes; execution is blocked and an alarm is recorded when the verification fails. In addition, for NL2SQL, alternative or combined methods such as whitelist field pruning, blacklist field exclusion, SQL abstract syntax tree analysis, read-only view proxy, pre-set query template matching, or secondary interception by the database gateway can also be used to achieve security verification.

[0047] Step 4115: If the verification passes, execute the target SQL statement and output the result.

[0048] To further enhance the security of RAG question-and-answer and report generation, a security context-driven intelligent office request orchestration method is provided in this application embodiment, see [link to relevant documentation]. Figure 3 When the task type is a question-and-answer request and the generated execution policy is an allow-execution or enhanced control policy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Step 4121: Based on the knowledge classification permissions and version tags in the context vector, perform permission pre-filtering on the knowledge fragments in the preset knowledge base; In step 4121, the knowledge base can be one or more of a relational database, document repository, or vector database that stores one or more knowledge contents such as policies and regulations, business processes, institutional norms, and common issues; wherein, the knowledge fragment is associated with one or more tags such as knowledge category, organization, applicable role, data level, version, validity period, and source identifier, for permission pre-filtering, version validity verification, and source tracing.

[0049] Step 4122: Perform semantic similarity retrieval on the knowledge fragments after permission pre-filtering to recall knowledge fragments that simultaneously meet the preset semantic similarity threshold and permission constraints; In step 4122, the semantic similarity threshold is a configurable recall parameter of the retrieval model. Since the similarity value is related to the similarity calculation method, the retrieval model version, and the knowledge category, this embodiment does not limit the value to a fixed value; question-and-answer knowledge fragments with relevant or irrelevant labels can be used to verify the samples, calculate the recall and precision under different candidate thresholds, and determine the candidate threshold that meets the preset retrieval performance requirements as the semantic similarity threshold. The permission constraint can be: the organization, applicable role, knowledge category, and data level tags configured for the knowledge fragment are all within the current user's authorization scope for this task, and the version of the knowledge fragment is valid and the request time is within its validity period; for tags specified as mandatory by the permission policy, if the knowledge fragment does not have the corresponding tag configured, the permission constraint is determined to be unsatisfactory, and only tags where the permission policy is not enabled are not subject to corresponding item verification. If the similarity is satisfied but the permission constraint is not satisfied, the knowledge fragment will not enter the model context; when no knowledge fragment simultaneously satisfies the semantic similarity threshold and permission constraint after permission pre-filtering, the clarification or manual review process is initiated.

[0050] Step 4123: Input the recalled knowledge fragments as contextual input data for retrieval enhancement generation into the preset retrieval enhancement generation question answering engine, so that the retrieval enhancement generation question answering engine generates and outputs the corresponding traceable answer with accompanying source citations.

[0051] In step 4123, for question-and-answer requests, semantic retrieval of knowledge fragments such as policies and regulations, business processes, institutional norms, and common questions is performed only from the knowledge base within the permissions, and traceable answers are generated, thereby improving the security of RAG question-and-answer and report generation.

[0052] In one or more embodiments of this application, alternative or combined methods such as vector library filtering, knowledge graph permission edge filtering, post-retrieval reordering filtering, prompt word injection interception, or post-answer processing desensitization can also be used for question-and-answer requests.

[0053] To further prevent sensitive segments from being written into the model context or report output, and to improve the security of RAG question answering and report generation, in a security context-driven intelligent office request orchestration method provided in this application embodiment, when the task type is a report generation request and the generated execution strategy is an enhanced control strategy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Step 4131: Based on the data hierarchy information and permission information in the context vector, perform sensitive field desensitization, summary granularity control, and chart data range control on the structured data referenced in the report to obtain the corresponding desensitized, summarized, and range-controlled data; Step 4132: Input the anonymized, summarized and range-controlled data into the preset multimodal report generation engine so that the multimodal report generation engine can generate and output the corresponding target report.

[0054] In one or more embodiments of this application, the aggregation granularity control refers to determining the allowed grouping dimensions, time granularity, geographic level, organizational level, number of detailed rows, and statistical caliber for the report based on user roles, organizational scope, data level, task objectives, and target risk values. When the detailed output exceeds the current user's permission scope or does not meet the enhanced control strategy, the detailed data is converted into statistical values ​​aggregated by day, month, or quarter, by department, unit, or business category, as allowed by the current permissions and strategy, and the data range used by the charts is consistent with the aggregated data range. For report requests, data aggregation, chart generation, and text generation capabilities are invoked according to the strategy to generate structured data, charts, and text analysis conclusions; the structured data, charts, and text analysis conclusions are combined into a report and the corresponding target report is output.

[0055] To further ensure traceability of file and interface operations, in a security context-driven intelligent office request orchestration method provided in this application embodiment, when the task type is a file operation request and the generated execution policy is an allowed execution policy or an enhanced control policy, the execution of the intelligent office request and the output of the result include: Step 4141: Obtain the account identifier, terminal identifier, and request time when the intelligent office request is received, and generate dynamic watermark information by combining it with the file identifier of the current operation; Step 4142: Generate a dynamic watermark based on the dynamic watermark information when outputting the file, and record the file download or printing log.

[0056] In one or more embodiments of this application, for file services, a dynamic watermark containing information such as account, time, terminal, and file identifier is generated during preview, download, and printing, and download and printing logs are recorded. Secondary authentication or submission for approval is performed simultaneously with the dynamic watermark overlay. For file requests, the system invokes the file preview, download, or print services and implements watermarking, logging, or blocking policies. It is understood that for file output, the dynamic watermark can be replaced with an invisible watermark, QR code watermark, layout watermark, download token, or one-time access link; anomaly handling can include reminders, secondary confirmation, approval, rate limiting, blocking, or session freezing.

[0057] To further support differentiated processing and continuous optimization, in a security context-driven intelligent office request orchestration method provided in this application embodiment, the method further includes: Step 6000: Record the intelligent office request, the execution strategy, the result, and the exception information, and use the recorded information for auditing and feedback to update the configuration parameters; The step of auditing and providing feedback on recorded information to update configuration parameters includes: Step 6100: Mark low-confidence response results, SQL validation failure records, sensitive field hit records, download and print exceeding threshold records, non-bound terminal access records, and abnormal interface call records in the recorded information as abnormal samples; Step 6200: Update the strategy threshold, query template, knowledge base index, and abnormal behavior model based on the abnormal samples.

[0058] In one or more embodiments of this application, the low-confidence answer result refers to an answer result where the knowledge fragments pre-filtered by permissions are insufficient to support the answer, or the consistency between the answer and its source citation is lower than a preset answer confidence threshold. As a reproducible implementation, a comprehensive confidence score can be calculated based on one or more of the following: semantic similarity of recalled valid knowledge fragments, source consistency, semantic consistency between the answer and the cited fragments, and the validity status of the knowledge version. When the comprehensive confidence score is lower than the answer confidence threshold, no valid knowledge fragments are recalled, no valid source citations are provided, or there are conflicts between valid sources, the corresponding answer result is marked as a low-confidence answer result, triggering clarification or manual review. The answer confidence threshold is a configuration parameter and is not limited to a fixed value. When a user provides feedback that the answer is inaccurate after outputting the answer, the answer corresponding to that feedback is separately marked as a low-confidence sample for subsequent updates to the answer confidence threshold, knowledge base index, or retrieval configuration, and is not used as input for the comprehensive confidence score before the current answer output.

[0059] This application also provides a security context-driven intelligent office request orchestration system, the system comprising: The multi-terminal request entry module 10 is used to receive intelligent office requests from multiple entry points and record the session identifier, account identifier, terminal identifier, and request time. The request semantic parsing module 20 is used to perform semantic parsing on the intelligent office request to obtain the task type and operation object entity of the intelligent office request. The security context construction module 30 is used to obtain the security status information of the intelligent office request in the identity dimension, terminal dimension, permission dimension, data dimension, policy dimension and history dimension from multiple security management data sources associated with the intelligent office request based on the task type and the operation object entity, and generate the corresponding context vector. Risk assessment module 40 is used to calculate the target risk value of the intelligent office request based on the context vector; The strategy orchestration and decision-making module 50 is used to generate an execution strategy for the intelligent office request using the target risk value and the task type; The strategy execution and output module 60 is used to call the preset engine corresponding to the task type based on the execution strategy to execute the intelligent office request and output the result; The audit and feedback learning module 70 is used to record the intelligent office request, the execution strategy, the result, and the abnormal information, and to perform audit and feedback based on the recorded information to update the configuration parameters.

[0060] In one or more embodiments of this application, the multi-terminal request entry module 10 is used to receive requests from PC, mobile, and office system plugins. Request types include, but are not limited to, policy Q&A, business data statistical queries, chart or report generation, file preview, file download, file printing, and interface data calls. The request semantic parsing module 20 is used to parse user natural language or operation instructions, identifying task type, business entity, time range, data object, file object, output format, and intent confidence level. For natural language query requests, it identifies statistical definitions, filtering conditions, and candidate data topics; for Q&A requests, it identifies knowledge categories, question tags, and whether external knowledge needs to be called; for report requests, it identifies report templates, data sources, and analysis focuses; for file operation requests, it identifies operation types such as preview, download, print, and forward. The security context construction module 30 aggregates security elements related to the request, including at least: user account type, role permissions, affiliated organization, account holder, mobile phone number binding status, terminal IP binding status, MDM health status, network zone, data classification and grading, knowledge classification permissions, database table field permissions, file distribution range, watermarking policy, download and print threshold, interface call log, historical abnormal behavior, and current session authentication strength. The risk assessment module 40 calculates the target risk value of the intelligent office request based on the context vector. The policy orchestration decision module 50 calculates the risk score based on the request semantics and security context, and outputs a task-level policy. Policies include allowing execution, restricting recall, schema pruning, field anonymization, aggregation granularity reduction, two-factor authentication, dynamic watermarking, download logging, interface anomaly alerts, threshold warnings, automatic blocking, submission for approval, and manual review. The strategy execution and output module 60 includes a RAG question-answering engine, an NL2SQL query engine, and a multimodal report generation engine. The RAG question-answering engine is used to perform semantic retrieval of knowledge fragments such as policies and regulations, business processes, institutional norms, and common questions, and generate traceable answers. The NL2SQL query engine is used to convert natural language statistical queries into executable SQL. The multimodal report generation engine is used to combine structured data, charts, and text analysis conclusions into reports, and to implement the strategy orchestration results into specific execution stages.For example: For the RAG engine, only knowledge fragments matching user roles, organizations, and knowledge classification permissions are allowed to be recalled; for the NL2SQL engine, only databases, tables, fields, relationships, and a few sample examples within permissions are provided to the model prompts, and syntax validation, permission validation, and sensitive field validation are performed after SQL is generated; for the report generation engine, field desensitization, summary granularity control, and chart data range control are performed before writing the report; for file services, dynamic watermarks containing account, time, terminal, and file identifiers are generated during preview, download, and printing, and download and printing logs are recorded; for API calls, the caller, the called API, the data object, the call result, and the exception type are recorded to form an API call ledger and participate in subsequent risk scoring. The Audit and Feedback Learning Module 70 records requests, context, strategies, execution results, and output objects, including question data, question tags, answer data, query results, chart data, transformation data, account approval data, account cleanup data, terminal verification data, information release review data, watermark data, file download and print logs, document warning configuration data, warning record data, and interface call logs; and updates strategy thresholds, few-sample examples, knowledge base versions, query templates, and abnormal behavior models based on audit results. When user feedback answers are inaccurate, SQL transformations fail, queries hit sensitive fields, download and print counts are abnormal, or interface calls are abnormal, this module marks the corresponding samples as low-confidence samples or abnormal samples and feeds them back to the strategy orchestration decision module 50.

[0061] In a specific example of the security context-driven intelligent office request orchestration method of this application, see [link to relevant documentation]. Figure 4 and Figure 5 The method includes the following steps, where S1 to S8 refer to steps 1 to 8 in sequence: S1: Receive intelligent office requests. The system receives user requests from PCs, mobile devices, or embedded plugins within the office system, and records the session identifier, account identifier, terminal identifier, and request time.

[0062] S2: Parse request semantics. The system identifies whether the request belongs to one or more of the following: question and answer, query, report, or file operation (task type), and extracts business entities, knowledge categories, data objects, time ranges, file objects, output formats, and intent confidence (a set of semantic information elements).

[0063] S3: Constructing a Security Context. The system invokes account management, endpoint control, permission management, data directory, knowledge classification, file policy, interface ledger, and historical audit database to form a context vector for this request. The context vector includes at least identity trustworthiness, endpoint trustworthiness, data sensitivity, output diffusion degree, and historical anomaly degree; among them, data sensitivity is determined based on security status information in the permission and data dimensions, output diffusion degree is determined based on security status information in the policy dimension, and historical anomaly degree is determined based on security status information in the historical dimension.

[0064] S4: Calculate the risk score. The system calculates data sensitivity, identity credibility, terminal credibility, output diffusion, and historical anomaly according to preset weights; among them, data sensitivity is determined by the sensitivity level of the data involved in the request and the permission matching status. The higher the risk value, the more likely the request is to cause unauthorized access, leakage of sensitive information, or abnormal data flow.

[0065] S5: Generate execution strategy. When the risk value is less than the first threshold, execution is allowed within the authorized scope; when the risk value is greater than or equal to the first threshold but less than the second threshold, field desensitization, schema trimming, two-factor authentication, dynamic watermarking, aggregation granularity reduction, or submission for review are executed; when the risk value is greater than or equal to the second threshold, the request is blocked and an alarm is generated.

[0066] S6: Invoke intelligent capabilities according to policies. For question-and-answer requests, the system only retrieves fragments from the knowledge base within the user's permissions and provides the source in the answer; for natural language query requests, the system constructs a visible schema based on permissions and data hierarchy, generates SQL using "model + schema description + few sample examples," and executes it after syntax, permission, and sensitive field validation; for report requests, the system invokes data aggregation, chart generation, and text generation capabilities according to policies; for file requests, the system invokes file preview, download, or print services and executes watermarking, logging, or blocking policies.

[0067] S7: Securely Encapsulated Output. The system securely encapsulates the output results: Q&A results are accompanied by source fragments and permission markers; query results are returned in detail or summary form according to permissions; sensitive fields in reports are anonymized or summarized; file previews, downloads, and print results are accompanied by dynamic watermarks; API calls are logged and anomaly detection is performed.

[0068] S8: Auditing and Feedback. The system records requests, policies, execution, outputs, and exception information. Low-confidence responses, SQL validation failures, sensitive field hits, download and print exceeding thresholds, non-bound terminal access, and abnormal interface calls are used as feedback samples to update policy thresholds, query templates, knowledge base indexes, and abnormal behavior models.

[0069] This application also provides an electronic device, which may include a processor, a memory, a receiver, and a transmitter. The processor is used to execute the security context-driven intelligent office request orchestration method mentioned in the above embodiments. The processor and the memory can be connected via a bus or other means, taking a bus connection as an example. The receiver can be connected to the processor and the memory via wired or wireless means.

[0070] The processor can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.

[0071] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the security context-driven intelligent office request orchestration method described in the embodiments of this application. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions, and modules stored in the memory, thereby implementing the security context-driven intelligent office request orchestration method described in the above method embodiments.

[0072] The memory may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the processor, etc. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, which can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0073] The one or more modules are stored in the memory, and when executed by the processor, the security context-driven intelligent office request orchestration method described in the embodiment is executed.

[0074] In some embodiments of this application, the user equipment may include a processor, a memory, and a transceiver unit. The transceiver unit may include a receiver and a transmitter. The processor, memory, receiver, and transmitter may be connected via a bus system. The memory is used to store computer instructions, and the processor is used to execute the computer instructions stored in the memory to control the transceiver unit to send and receive signals.

[0075] As one implementation method, the functions of the receiver and transmitter in this application can be implemented by transceiver circuits or dedicated transceiver chips, and the processor can be implemented by dedicated processing chips, processing circuits or general-purpose chips.

[0076] As another implementation approach, the server provided in this application embodiment can be implemented using a general-purpose computer. That is, the program code implementing the processor, receiver, and transmitter functions is stored in memory, and the general-purpose processor implements the processor, receiver, and transmitter functions by executing the code in memory.

[0077] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the aforementioned security context-driven intelligent office request orchestration method. The computer-readable storage medium can be a tangible storage medium, such as random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disks, removable storage disks, read-only optical disks (CD-ROMs), or any other form of storage medium known in the art.

[0078] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the aforementioned security context-driven intelligent office request orchestration method.

[0079] Those skilled in the art will understand that the exemplary components, systems, and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software, or a combination of both. Whether implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. When implemented in hardware, it can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave.

[0080] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0081] In this application, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or in place of features of other embodiments.

[0082] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to the embodiments of this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A security context-driven intelligent office request orchestration method, characterized in that, The method includes: Semantic parsing is performed on smart office requests received from multiple entry points to obtain the task type and operation object entity of the smart office request; Based on the task type and the operation object entity, the security status information of the intelligent office request in terms of identity, terminal, permission, data, policy and history dimensions is obtained from multiple security management data sources associated with the intelligent office request, and a corresponding context vector is generated. Calculate the target risk value of the intelligent office request based on the context vector; Using the target risk value and the task type, an execution strategy is generated for the intelligent office request; Based on the execution strategy, the preset engine corresponding to the task type is invoked to execute the intelligent office request and output the result.

2. The method according to claim 1, characterized in that, The context vector includes: identity credibility obtained based on the identity dimension, terminal credibility obtained based on the terminal dimension, data sensitivity obtained based on the permission dimension and data dimension, output diffusion obtained based on the policy dimension, and anomaly degree obtained based on the history dimension.

3. The method according to claim 1, characterized in that, The step of generating an execution strategy for the smart office request using the target risk value and the task type includes: When the target risk value is less than a preset first threshold, a policy corresponding to the task type that is allowed to be executed within the permission range is generated; When the target risk value is greater than or equal to the first threshold and less than the preset second threshold, an enhanced control strategy corresponding to the task type is generated; the enhanced control strategy includes one or more of the following: field desensitization, visibility mode pruning, secondary authentication, dynamic watermarking, reduced aggregation granularity, and submission for review and approval. A strategy is to generate a blocking request and issue an alarm when the target risk value is greater than or equal to the second threshold.

4. The method according to claim 3, characterized in that, When the task type is a natural language query request and the generated execution policy is an allow execution or enhanced control policy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Based on the permission information and data hierarchy information in the context vector, construct a set of visible modes; Only tables, fields, relationships, and a small number of sample examples from the aforementioned set of visible patterns will be written into the prompt word template; The prompt word template is input into a preset natural language to structured query language query engine so that the query engine generates the target structured query language statement; Based on the set of visible patterns, the generated target structured query language statement is subjected to field validation, table validation, function validation, and execution range validation, and the validation results are generated and judged. If the validation passes, the target structured query language statement is executed, and the result is output.

5. The method according to claim 3, characterized in that, When the task type is a question-and-answer request and the generated execution policy is an allow execution or enhanced control policy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Based on the knowledge classification permissions and version tags in the context vector, permission pre-filtering is performed on knowledge fragments in the preset knowledge base; Semantic similarity retrieval is performed on knowledge fragments that have been pre-filtered for permissions, and knowledge fragments that simultaneously meet the preset semantic similarity threshold and permission constraints are retrieved. The recalled knowledge fragments are used as contextual input data for retrieval enhancement generation and input into a preset retrieval enhancement generation question-answering engine, so that the retrieval enhancement generation question-answering engine generates and outputs corresponding traceable answers with accompanying source citations.

6. The method according to claim 3, characterized in that, When the task type is a report generation request and the generated execution strategy is an enhanced control strategy, the step of calling the preset engine corresponding to the task type to execute the intelligent office request and output the result includes: Based on the data hierarchy and permission information in the context vector, the structured data referenced in the report is anonymized for sensitive fields, the granularity of the summary is controlled, and the range of the chart data is controlled to obtain the corresponding anonymized, summarized, and range-controlled data. The anonymized, aggregated, and range-controlled data is input into a preset multimodal report generation engine, which then generates and outputs the corresponding target report.

7. The method according to claim 3, characterized in that, When the task type is a file operation request and the generated execution policy is an allowed execution policy or an enhanced control policy, the execution of the intelligent office request and the output of the result include: The system obtains the account identifier, terminal identifier, and request time when the intelligent office request is received, and generates dynamic watermark information by combining it with the file identifier of the current operation. A dynamic watermark is generated based on the dynamic watermark information when the file is output, and a file download or printing log is recorded.

8. The method according to claim 7, characterized in that, When the file operation request is a print request and the generated execution policy is an enhanced control policy, it also includes: While performing dynamic watermark overlay, secondary authentication or submission for review and approval is also performed.

9. The method according to claim 1, characterized in that, The method further includes: Record the intelligent office request, the execution strategy, the result, and the exception information, and use the recorded information for auditing and feedback to update the configuration parameters; The step of auditing and providing feedback on recorded information to update configuration parameters includes: Low-confidence answers, failed structured query language validation records, sensitive field hit records, download and print exceeding threshold records, non-bound terminal access records, and abnormal interface call records in the recorded information are marked as abnormal samples; The abnormal sample update strategy threshold, query template, knowledge base index, and abnormal behavior model are based on the abnormal sample.

10. A security context-driven intelligent office request orchestration system, characterized in that, The system includes: The multi-terminal request entry module is used to receive intelligent office requests from multiple terminal entry points and record the session identifier, account identifier, terminal identifier, and request time. The request semantic parsing module is used to perform semantic parsing on the intelligent office request to obtain the task type and operation object entity of the intelligent office request; The security context construction module is used to obtain the security status information of the intelligent office request in terms of identity, terminal, permission, data, policy and history dimensions from multiple security management data sources associated with the intelligent office request based on the task type and the operation object entity, and generate the corresponding context vector. The risk assessment module is used to calculate the target risk value of the smart office request based on the context vector; The strategy orchestration and decision-making module is used to generate an execution strategy for the intelligent office request by utilizing the target risk value and the task type; The strategy execution and output module is used to call the preset engine corresponding to the task type based on the execution strategy to execute the intelligent office request and output the result; The audit and feedback learning module is used to record the intelligent office requests, the execution strategies, the results, and the abnormal information, and to perform audit and feedback based on the recorded information to update the configuration parameters.