Search

CN-121979999-A - Intelligent workflow generation method, device, equipment and medium

CN121979999ACN 121979999 ACN121979999 ACN 121979999ACN-121979999-A

Abstract

The invention relates to the technical field of natural language, which can be applied to financial science and technology and medical health care business scenes, and discloses an intelligent workflow generation method, device, equipment and medium, comprising the steps of acquiring natural language input by a user and analyzing the natural language to obtain a standardized business concept matched with the natural language; the method comprises the steps of obtaining a technical component matched with a standardized service concept through a preset mapping relation table, inquiring context information matched with the standardized service concept through a preset knowledge base, wherein the context information comprises service rules, and generating a standardized workflow according to the standardized service concept, the technical component and the context information. The service intention of the user can be accurately identified, and the requirements of various fields are met.

Inventors

  • YU YICHAO

Assignees

  • 平安科技(深圳)有限公司

Dates

Publication Date
20260505
Application Date
20260302

Claims (10)

  1. 1. An intelligent workflow generation method is characterized by comprising the following steps: acquiring natural language input by a user, and analyzing the natural language to acquire standardized business concepts matched with the natural language; Obtaining a technical component matched with the standardized service concept through a preset mapping relation table; Inquiring context information matched with the standardized business concept through a preset knowledge base, wherein the context information comprises business rules; And generating a standardized workflow according to the standardized business concept, the technical component and the context information.
  2. 2. The method of claim 1, wherein said parsing the natural language to obtain standardized business concepts that match the natural language comprises: Preprocessing the natural language to obtain a structured sentence; Extracting core semantic elements of the structured sentences, and carrying out semantic reasoning on the core semantic elements so as to abstract out business intention corresponding to the natural language; And confirming the business concept corresponding to the business intention through a preset business concept table so as to obtain the standardized business concept.
  3. 3. The method according to claim 2, wherein after said confirming the business concept corresponding to the business intention by a preset business concept table to obtain the standardized business concept, further comprising: judging whether the standardized business concept is matched with business rules in the preset knowledge base or not; If the standardized service concept is matched with the service rule in the preset knowledge base, entering the step of acquiring a technical component matched with the standardized service concept through a preset mapping relation table; If the standardized business concept is not matched with the business rules in the preset knowledge base, prompting rule conflict and re-matching after user confirmation is obtained.
  4. 4. The method according to claim 1, wherein the obtaining, by a preset mapping relation table, a technical component matched with the standardized service concept includes: Inquiring the preset mapping relation table based on the standardized service concept to acquire a technical component to be checked corresponding to the standardized service concept; checking the technical component to be checked to confirm whether the technical component to be checked is available; If the technical component to be verified is available, taking the technical component to be verified as the technical component; And if the technical component to be verified is not available, replacing the technical component to be verified with an alternative technical component functionally equivalent to the technical component to be verified, and taking the alternative technical component as the technical component after the alternative technical component passes verification.
  5. 5. The method according to claim 1, wherein said querying, via a preset knowledge base, the context information matching the standardized business concept comprises: extracting business rules and rule thresholds matched with the standardized business concepts from the preset knowledge base according to the standardized business concepts to obtain context information to be checked; and carrying out consistency check on the context information to be checked to obtain the context information.
  6. 6. The method according to claim 1, wherein the method further comprises: Audit information is embedded in the standardized workflow, wherein the audit information includes source information of the natural language and the context information.
  7. 7. The method according to claim 1, wherein the method further comprises: if the workflow to be generated is detected, acquiring a service scene of the workflow to be generated to acquire a first service scene; Confirming the business scenes of the generated workflow to obtain a plurality of second business scenes; if the first service scene is similar to any one of the plurality of second service scenes, taking the second service scene similar to the first service scene as a target service scene; acquiring the workflow of the target service scene to obtain a workflow to be configured; And configuring the workflow to be configured according to the service requirement of the first service scene to obtain the workflow of the workflow to be generated.
  8. 8. An intelligent workflow generating apparatus, comprising: the first acquisition module is used for acquiring natural language input by a user and analyzing the natural language to acquire standardized business concepts matched with the natural language; the second acquisition module is used for acquiring the technical component matched with the standardized service concept through a preset mapping relation table; The first query module is used for querying context information matched with the standardized service concept through a preset knowledge base, wherein the context information comprises service rules; and the first generation module is used for generating a standardized workflow according to the standardized business concept, the technical component and the context information.
  9. 9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the intelligent workflow generation method of any of claims 1 to 7 when the computer program is executed.
  10. 10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the intelligent workflow generation method of any of claims 1 to 7.

Description

Intelligent workflow generation method, device, equipment and medium Technical Field The present invention relates to the field of natural language technologies, and in particular, to a method, an apparatus, a device, and a medium for generating an intelligent workflow. Background With the advancement of enterprise digital transformation, a low-code or code-free automatic workflow system has become a core tool for service automation, supports a user to quickly create a flow through natural language, and is widely applied to scenes such as order management, wind control early warning, case management and the like. The design of such a system is initially focused on the efficiency and convenience of process creation, but the obvious defect of logic mismatch generated by the core business process is exposed when the enterprise-level standardization and precision requirements are met, especially in sensitive fields such as financial science and technology, medical health and the like. The existing system can not accurately analyze business concepts from natural language input of users and only depends on keyword or template matching. In the field of finance and science, facing the input of triggering auditing when the transaction amount exceeds 5 ten thousand, the system can only recognize surface keywords to generate a simple flow, cannot associate business concepts of high-risk transaction wind control auditing, possibly causes compliance risks such as permission border crossing and sensitive transaction data leakage, and in the field of medical health, a user inputs postoperative medication compliance verification of a patient, the system cannot recognize corresponding business concepts, can only generate scattered data query and notification nodes, and breaks away from medical compliance requirements. The invention realizes that the prior art relies on keyword and template matching, and cannot identify core business intention behind natural language, so that the process and business are essentially disjointed. Disclosure of Invention The invention provides an intelligent workflow generation method, an intelligent workflow generation device, computer equipment and a medium, which are used for solving the technical problem that the conventional workflow generation system cannot accurately identify business intention. In a first aspect, an intelligent workflow generating method is provided, including: acquiring natural language input by a user, and analyzing the natural language to acquire standardized business concepts matched with the natural language; Obtaining a technical component matched with the standardized service concept through a preset mapping relation table; Inquiring context information matched with the standardized business concept through a preset knowledge base, wherein the context information comprises business rules; And generating a standardized workflow according to the standardized business concept, the technical component and the context information. In a second aspect, an intelligent workflow generating apparatus is provided, including: the first acquisition module is used for acquiring natural language input by a user and analyzing the natural language to acquire standardized business concepts matched with the natural language; the second acquisition module is used for acquiring the technical component matched with the standardized service concept through a preset mapping relation table; The first query module is used for querying context information matched with the standardized service concept through a preset knowledge base, wherein the context information comprises service rules; and the first generation module is used for generating a standardized workflow according to the standardized business concept, the technical component and the context information. In a third aspect, a computer device is provided, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the intelligent workflow generation method described above when executing the computer program. In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, which when executed by a processor, implements the steps of the intelligent workflow generation method described above. According to the scheme realized by the intelligent workflow generating method, the intelligent workflow generating device, the computer equipment and the storage medium, natural language input by a user is obtained, the natural language is analyzed to obtain standardized business concepts matched with the natural language, technical components matched with the standardized business concepts are obtained through a preset mapping relation table, context information matched with the standardized business concepts is queried through a preset knowledge base, wherein the context information compr