Business processing method and device, equipment and storage medium
By acquiring and generating step-by-step processing processes, and outputting response results and intermediate process information, the problem of the inability of intelligent question answering systems to handle complex business questions is solved, and detailed responses to complex business scenarios are achieved and the interpretability of results is improved.
Patent Information
- Application Number
- CN202310851390.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-12
- Publication Date
- 2024-09-27
AI Technical Summary
The existing intelligent question and answer system cannot effectively handle complex business questions and cannot provide users with detailed responses and step-by-step processing procedures.
By obtaining business question information, generate step-by-step processing processes, and output response results and intermediate process information, including obtaining business process description information, generating step-by-step processing processes, decomposing and filtering steps, mapping service functions, checking and supplementing missing information, and using Generative models process intermediate process information.
It achieves detailed responses to complex business questions, improves the interpretability of response results and user trust, and is suitable for a variety of business scenarios such as cargo assembly, reimbursement approval, troubleshooting, etc.
Smart Images

Figure CN118708680A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a business processing method, device, equipment and storage medium. Background Art
[0002] With the promotion and application of intelligent question and answer in various fields, intelligent question and answer technology has attracted much attention.
[0003] When applying intelligent question-answering technology to the enterprise side to realize a GPT (Generative Pre-Trained Transformer) type dialogue product for the enterprise side, this type of dialogue product needs to answer more complex business questions for users, such as reimbursement of travel expenses, parts failure handling, etc. The existing intelligent answering system can only provide simple answers to simple questions with pre-stored questions, and cannot be applied to complex business question-answering scenarios.
[0004] How to handle (ie, answer) such complex business questions is a technical problem that urgently needs to be solved. Summary of the invention
[0005] A technical problem to be solved by the present disclosure is how to process (ie, answer) business questions.
[0006] According to the first aspect of the present disclosure, a business processing method is provided, comprising: obtaining business question information; obtaining a step-by-step processing flow for achieving the business goal targeted by the business question information; outputting a response content; the response content comprises: a response result and intermediate process information of each intermediate step in the step-by-step processing flow.
[0007] Optionally, obtaining a step-by-step processing flow for achieving the business goal targeted by the business question information includes: obtaining business process description information related to the business involved in the business question information; generating a step-by-step business processing flow based on the business process description information; and decomposing and / or screening the steps in the business processing flow based on the business goal targeted by the business question information to obtain a step-by-step processing flow for achieving the business goal targeted by the business question information.
[0008] Optionally, the business process description information includes one or more of the following: process introduction documents, operating instructions, rules and regulations, chat records, emails, contracts, meeting minutes, and office system flow records.
[0009] Optionally, based on the business process description information, a step-by-step business process flow is generated, including: if there is a document for guiding the relevant business process, then the step-by-step business process flow is obtained based on the document; if there is no document for guiding the relevant business process, then the business process records related to the business targeted by the business question information are searched, and the searched business process records are processed using a generative model to obtain a step-by-step business process flow.
[0010] Optionally, based on the business goal targeted by the business question information, the steps in the business processing flow are decomposed and / or screened to obtain a step-by-step processing flow for achieving the business goal targeted by the business question information, including: based on the business question information and the identity information of the user who initiated the business question information, determining the business processing part that can be executed under the authority of the user to resolve the business question information; based on the business processing part that can be executed by the user, decomposing and / or screening the steps in the business processing flow to obtain a step-by-step processing flow for achieving the business goal targeted by the business question information.
[0011] Optionally, the method further comprises: mapping the intermediate steps in the step-by-step processing flow that require calling a service function to a corresponding service interface.
[0012] Optionally, the steps in the step-by-step processing flow that require calling service functions are mapped to corresponding service interfaces, including: if there is a mapping document for characterizing the mapping relationship between steps and service interfaces, then the mapping document is used to map the intermediate steps in the step-by-step processing flow that require calling service functions to the corresponding service interfaces; if there is no mapping document for characterizing the mapping relationship between steps and service interfaces, then the generative model is used to map the intermediate steps in the step-by-step processing flow that require calling service functions to the corresponding service interfaces.
[0013] Optionally, the method also includes: checking whether there is missing information in each intermediate step in the step-by-step processing flow; using a generative model to generate intermediate step question information for the intermediate steps with missing information, wherein the intermediate process information includes: intermediate step information; or intermediate step question information and intermediate step reply information, wherein the intermediate step reply information is input by the user based on the intermediate step question information.
[0014] Optionally, the method further includes: obtaining intermediate process information of each intermediate step in the step-by-step processing flow; and processing at least one of the intermediate process information using the generative model to obtain the response result.
[0015] Optionally, the intermediate process information of each intermediate step in the step-by-step processing flow is obtained, including: for at least one intermediate step, using the generative model to process the intermediate process information before the intermediate step to obtain the intermediate process information corresponding to the intermediate step; and / or for at least one intermediate step, outputting the intermediate step question information corresponding to the intermediate step, and obtaining information input by the user based on the intermediate step question information to obtain the intermediate step reply information; and / or for at least one intermediate step, calling the service interface corresponding to the intermediate step to obtain the intermediate process information of the intermediate step.
[0016] Optionally, outputting the response content includes: outputting the response result and the intermediate process information in an associated manner.
[0017] Optionally, the response result and the intermediate process information are output in association, including: displaying a first view for carrying the intermediate process information in a response interface; in response to obtaining the response result based on the intermediate process information, hiding at least part of the first view, and displaying a second view for carrying the response result in the response interface.
[0018] Optionally, the method is applied to at least one of the following business scenarios: cargo assembly, reimbursement approval, construction site fault handling, component failure analysis, product design, and meeting booking.
[0019] According to a second aspect of the present disclosure, a business processing device is provided, comprising: a first acquisition module for acquiring business question information; a second acquisition module for acquiring a step-by-step processing flow for achieving the business goal targeted by the business question information; an output module for outputting a response content; the response content comprises: a response result and intermediate process information of each intermediate step in the step-by-step processing flow.
[0020] Optionally, the second acquisition module includes: an acquisition sub-module, used to acquire business process description information related to the business involved in the business question information; a first generation module, used to generate a step-by-step business processing flow based on the business process description information; and a first processing module, used to decompose and / or filter the steps in the business processing flow based on the business objectives targeted by the business question information, to obtain a step-by-step processing flow for achieving the business objectives targeted by the business question information.
[0021] Optionally, the business process description information includes one or more of the following: process introduction documents, operating instructions, rules and regulations, chat records, emails, contracts, meeting minutes, and office system flow records.
[0022] Optionally, if there is a document for guiding relevant business processes, the first generation module obtains a step-by-step business processing flow based on the document; if there is no document for guiding relevant business processes, the first generation module searches for business processing records related to the business targeted by the business question information, and uses a generative model to process the searched business processing records to obtain a step-by-step business processing flow.
[0023] Optionally, the first processing module determines the business processing part that can be executed under the authority of the user to solve the business question information based on the business question information and the identity information of the user who initiated the business question information; the first processing module decomposes and / or filters the steps in the business processing flow based on the business processing part that the user can execute, and obtains a step-by-step processing flow for achieving the business goal targeted by the business question information.
[0024] Optionally, the device further comprises: a mapping module, configured to map the intermediate steps in the step-by-step processing flow that require calling a service function to a corresponding service interface.
[0025] Optionally, if there is a mapping document for characterizing the mapping relationship between steps and service interfaces, the mapping module uses the mapping document to map the intermediate steps in the step-by-step processing flow that need to call service functions to the corresponding service interfaces; if there is no mapping document for characterizing the mapping relationship between steps and service interfaces, the mapping module uses a generative model to map the intermediate steps in the step-by-step processing flow that need to call service functions to the corresponding service interfaces.
[0026] Optionally, the device also includes: a checking module, used to check whether there is missing information in each intermediate step in the step-by-step processing flow; a second generating module, used to use a generative model to generate intermediate step question information for the intermediate steps with missing information, wherein the intermediate process information includes: intermediate step information; or intermediate step question information and intermediate step reply information, and the intermediate step reply information is input by the user based on the intermediate step question information.
[0027] Optionally, the device also includes: a third acquisition module, used to obtain intermediate process information of each intermediate step in the step-by-step processing flow; and a second processing module, used to process at least one of the intermediate process information using the generative model to obtain the response result.
[0028] Optionally, for at least one intermediate step, the third acquisition module uses the generative model to process the intermediate process information before the intermediate step to obtain the intermediate process information corresponding to the intermediate step; and / or for at least one intermediate step, the third acquisition module instructs the output module to output the intermediate step question information corresponding to the intermediate step, and obtains the information input by the user based on the intermediate step question information to obtain the intermediate step reply information; and / or for at least one intermediate step, the third acquisition module calls the service interface corresponding to the intermediate step to obtain the intermediate process information of the intermediate step.
[0029] Optionally, the output module outputs the response result and the intermediate process information in a correlated manner.
[0030] Optionally, the output module displays a first view for carrying the intermediate process information in the response interface; in response to obtaining the response result based on the intermediate process information, the output module hides at least part of the first view and displays a second view for carrying the response result in the response interface.
[0031] Optionally, the device is applied to at least one of the following business scenarios: cargo assembly, reimbursement approval, construction site fault handling, component failure analysis, product design, and meeting booking.
[0032] According to a fourth aspect of the present disclosure, a computing device is provided, comprising: a processor; and a memory on which executable codes are stored, and when the executable codes are executed by the processor, the processor executes the method described in the first aspect above.
[0033] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising an executable code, which, when executed by a processor of an electronic device, causes the processor to execute the method described in the first aspect above.
[0034] According to a sixth aspect of the present disclosure, a non-temporary machine-readable storage medium is provided, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor executes the method described in the first aspect above.
[0035] Therefore, for more complex business question information, the present disclosure first obtains a step-by-step processing flow for achieving the business goal targeted by the business question information, and then outputs the response result and the intermediate process information of each intermediate step in the step-by-step processing flow. Therefore, by splitting the business goal into steps, this solution can be applied to complex business question-answering scenarios. Moreover, while achieving responses to more complex business question information, users can not only obtain the response results of the question information, but also learn the reasoning process behind the response results based on the output intermediate process information, thereby improving the interpretability of the response results and the user's credibility of the response results. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components in the exemplary embodiments of the present disclosure.
[0037] Figure 1 A schematic flowchart of a service processing method according to an embodiment of the present disclosure is shown.
[0038] Figure 2 A schematic diagram of the implementation flow of step S120 according to an embodiment of the present disclosure is shown.
[0039] Figure 3 A schematic structural diagram of a service processing device according to an embodiment of the present disclosure is shown.
[0040] Figure 4 A schematic diagram of the structure of a computing device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0041] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0042] Figure 1 A schematic flowchart of a service processing method according to an embodiment of the present disclosure is shown.
[0043] Figure 1 The method shown can be applied to business question-and-answer scenarios for enterprises.
[0044] Figure 1The method shown can provide business question and answer services to enterprise users in the form of intelligent customer service, enterprise-wide answering assistant services (or applications, mini-programs, etc.).
[0045] Figure 1 The method shown can also be combined with the business system of the enterprise to provide business question and answer services.
[0046] Figure 1 The method shown can be applied to a variety of business scenarios, such as but not limited to cargo assembly, reimbursement approval, construction site fault handling, component failure analysis, product design, meeting reservation, enterprise operation decision-making, and other business scenarios.
[0047] Figure 1 The method shown can be performed by any electronic device. For example, the method can be performed by a computing device with computing and analysis functions; the computing device can be a terminal device, which can be a tablet computer, a laptop computer, a mobile phone, a computer, a digital assistant, a wearable device, etc.; or, the computing device can be an overall system constructed by a terminal and a server, in which the terminal is responsible for the human-computer interaction part, and the server can be used for the computing part such as content generation; the server can be an independent server, a server cluster, a cloud computing platform or a virtualization center.
[0048] See also Figure 1 , in step S110, business question information is obtained.
[0049] The present disclosure has no particular restrictions on the form and acquisition method of business question information. Based on different application scenarios of the technical solution provided by the present disclosure, business question information can be acquired in different ways. Exemplarily, the form of business question information can include but is not limited to: text form, audio form, image form, video form, etc., without exhaustive enumeration.
[0050] Exemplarily, a question control can be displayed on the display interface of the terminal, so that business question information can be obtained based on the data input by the user triggering the question control. Exemplarily, the question control can be displayed on any display interface of the electronic device, that is, the technical solution provided by the present disclosure can be applied to any human-computer interaction scenario; or, the question control can be displayed only on a specified interface, such as a preset question-and-answer interface. The present disclosure has no special restrictions on the type of display interface and the way in which the question control is displayed. The display interface may include but is not limited to at least one of the following: an application interface, a desktop display interface, a web browsing interface, a document display interface, etc., and the question control display method can be custom designed, for example, it can be displayed in the sidebar of the application interface, or it can be displayed in the taskbar of the desktop, etc., without exhausting them.
[0051] In a possible embodiment, text data input by a user triggering a text question control may be obtained to obtain business question information. Alternatively, in another possible embodiment, voice data input by a user triggering a voice question control may be obtained to obtain business question information. Alternatively, in another possible embodiment, image data input by a user triggering an image question control may be obtained, and the image data may be parsed to obtain business question information. Alternatively, in another possible embodiment, video data input by a user triggering a video question control may be obtained, and questions contained in or specified in the video data may be parsed to obtain business question information.
[0052] In the various possible embodiments described above, the question control may have different forms of expression. Exemplarily, it may be expressed as a "question button" or "question input box" displayed in the display interface of the electronic device. For example, the user may click or trigger the question button by other preset methods, and then enter the question interface or question input interface for user input. The question input box may be in the form of a text input box, a voice input button, a picture or video upload (or screenshot method) area, etc.
[0053] It should be understood that when the business question information is in audio form, the terminal or the terminal's external device needs to have audio collection capabilities. In this way, the aforementioned business question information can be collected by the terminal itself, or it can be collected through an external input device. For example, when the terminal is connected to smart wearable devices such as headphones and smart watches with audio collection capabilities, the business question information raised by the user can be collected through the smart wearable device. Similarly, when the business question information is in the form of video or picture, the terminal (or back-end server) needs to have video (or picture) parsing capabilities to parse and obtain the user's business question information, and the parsing method is not limited here.
[0054] In addition, in an optional embodiment, in order to facilitate subsequent processing, when non-text type business question information is obtained, the collected business question information can also be processed into text to obtain the business question information in text form.
[0055] For example, in the reimbursement approval scenario of Case A, users can directly ask business questions in text, such as "I have a travel expense that needs to be reimbursed"; in the on-site fault handling scenario of Case B, users can ask business questions in voice, such as "What should I do if the cement solidifies too slowly and the construction period is delayed"; in the parts failure analysis scenario of Case C, users can take photos and videos of the faulty parts and upload them, and ask business questions such as "What might be the cause of the failure of this part?"
[0056] In step S120, a step-by-step processing flow for achieving the business goal targeted by the business question information is obtained.
[0057] The business goal targeted by the business inquiry information is the business goal that the user expects to achieve. The business goal targeted by the business inquiry information is usually a more specific goal, such as invoice reimbursement, on-site fault handling, and component failure analysis.
[0058] If there is a step-by-step processing flow for the business target targeted by the business question information (such as in the business system), the step-by-step processing flow can be directly obtained. For example, if there are step-by-step processing flows for different business targets in the business system, the step-by-step processing flow for the business target targeted by the business question information can be directly searched. Conversely, if there is no step-by-step processing flow for the business target targeted by the business question information, it is necessary to generate the step-by-step processing flow for the business target targeted by the business question information in real time.
[0059] Figure 2 A schematic diagram of the implementation flow of step S120 according to an embodiment of the present disclosure is shown.
[0060] See also Figure 2 In step S1210, business process description information related to the business involved in the business question information is obtained.
[0061] Business process description information may be any information that describes at least part of the business process of the business involved in the business question information. The present disclosure may obtain business description information through various channels (such as business systems, network resources, and industry knowledge bases). The acquired business process description information may include, but is not limited to, one or more of the following: process introduction documents, operating instructions, rules and regulations, chat records, emails, contracts, meeting minutes, and office system flow records. In the present disclosure, the business process description information may be pre-stored or input in real time by the user, or it may be pre-stored in an internal enterprise database, or the business process description information may be automatically generated by the system during the historical response process, and the present disclosure has no special restrictions on this.
[0062] In step S1220, a business process flow with different steps is generated based on the business process description information.
[0063] The best case scenario is that the business process description information obtained is a well-formatted (specifically step-by-step) business process introduction document, such as a document specifically used to guide related business processes (such as operating instructions, process introductions, and other step-by-step documents).
[0064] Normally, the business process description information obtained is not a well-formatted (specific steps) business process introduction document, but rather record information of the relevant business process, such as but not limited to chat records, emails, contracts, meeting records, office system flow records, and other record information.
[0065] If the acquired business process description information is a well-formatted (specifically in steps) business process introduction document, the document can be directly used as the structural basis for constructing a step-by-step business process flow, that is, the step-by-step business process flow can be directly obtained based on the document.
[0066] If the acquired business process description information is not a well-formatted (specifically in steps) business process introduction document, but a record of the relevant business process, then the relevant records can be analyzed using search engines, generative models and other technologies, for example: summarizing the fragments of the process involved in the chat records, filtering and extracting indicative fragments in emails, analyzing the time relationship between the clauses in the contract, etc., to obtain a step-by-step business process. As an example, the business process description information can be searched using search technologies such as keyword matching and / or semantic matching to obtain business processing records related to the business targeted by the business question information, and then the searched business processing records can be processed using a generative model to obtain a step-by-step business process.
[0067] The generative model mentioned in the present disclosure refers to a model with text generation capability. A generative model, which may also be referred to as a language generative model, mainly includes a text generative model. The input of a generative model may be unimodal data (such as one of text, image, audio, and video), or multimodal data (such as at least two of text, image, audio, and video); the output of a generative model may be unimodal data such as "text" or multimodal data including "text".
[0068] In other words, the generative model can support the processing of data of one or more modalities and generate one or more modal data including text. For example, the generative model can be a large model with multimodal data processing capabilities and multimodal data generation capabilities. For another example, the generative model can also be a small model with only text processing capabilities and text generation capabilities.
[0069] Exemplarily, the generative model may include a text generation model and a multimodal plug-in. The text generation model is used to generate a response text, and the multimodal plug-in is used to generate a multimodal response content, and the multimodal response content includes at least one of the following: vector graphics, video, image, table, and voice. The present disclosure has no special restrictions on the type of text generation model. A text generation model commonly used in the industry, such as the ChatGPT model, can be used. Of course, a new text generation model can also be trained. In addition, it should be noted that considering the high overhead (time overhead and cost overhead) of training a new model, when actually implementing this step, a general model fine-tuning method can be used to implement it, that is, on the basis of an existing general model, the general model can be adjusted according to the feature processing scale and computing power requirements, thereby obtaining the text generation model used in the present disclosure. This can effectively reduce the model training overhead.
[0070] Taking the reimbursement approval process of Case A mentioned above as an example, the best case scenario for this case is that the company has complete records of reimbursement procedures, including application, approval, payment, etc. At this time, a step-by-step business processing flow can be directly generated based on the records.
[0071] Take the on-site troubleshooting of Case B mentioned above as an example. In this case, there is no complete set of troubleshooting with well-divided steps, but there are previous troubleshooting records. At this time, you can use search engines to filter the troubleshooting records most relevant to this fault through keyword matching and semantic matching technologies, and use generative models to summarize these records, and finally generate a step-by-step troubleshooting process with high reference value.
[0072] Taking the parts analysis of Case C mentioned above as an example, in this case, there is no processing flow record mapping from a picture and video taken by a mobile phone to the cause of the fault. At this time, the generative model can be used to comprehensively learn the historical records related to parts failures, including but not limited to chat records, emails, contracts, meeting minutes, office system circulation records, etc., to summarize a set of fault cause analysis steps.
[0073] The step-by-step business process flow obtained in step S1220 may be regarded as a complete business process flow summarized based on past records, while the business goal targeted by the business question information may only involve part of the business process.
[0074] That is, the business goal to be achieved by this user request does not necessarily require the complete steps summarized based on past records, but may only require a few specific steps. Therefore, it is necessary to execute step S1230 to decompose and / or filter the steps in the business processing flow based on the business goal targeted by the business question information, and obtain a step-by-step processing flow for achieving the business goal targeted by the business question information. As an example, based on the business question information and the identity information of the user who initiated the business question information, the business processing part that can be executed under the authority of the user to solve the business question information can be determined; based on the business processing part that the user can execute, the steps in the business processing flow are decomposed and / or filtered to obtain a step-by-step processing flow for achieving the business goal targeted by the business question information.
[0075] The step-by-step processing flow includes one or more intermediate steps. The step-by-step processing flow can be regarded as a reasoning process for obtaining the final response result for the business question information. Considering that the intermediate steps in the step-by-step processing flow may involve the call of specific functions of some internal systems, the present disclosure proposes that the intermediate steps in the step-by-step processing flow that need to call the service function can also be mapped to the corresponding service interface for subsequent calls.
[0076] When performing mapping, the best case is that there is a mapping document for characterizing the mapping relationship between steps and service interfaces, such as a mapping document for an internal execution interface; the common case is that there is no mapping document for characterizing the mapping relationship between steps and service interfaces.
[0077] If there is a mapping document for characterizing the mapping relationship between steps and service interfaces (i.e. the best case), the mapping document can be used to map the intermediate steps in the step-by-step processing flow that require calling service functions to the corresponding service interfaces; if there is no mapping document for characterizing the mapping relationship between steps and service interfaces (i.e. the normal case), the generative model can be used to map the intermediate steps in the step-by-step processing flow that require calling service functions to the corresponding service interfaces.
[0078] In summary, after obtaining the business process flow in steps, it is necessary to decompose, screen and map the business process flow in steps based on the business goals that the user expects to achieve this time. The best case scenario is that there is a step screening guide for a specific scenario and / or a mapping document to the internal business execution interface (corresponding to the service interface mentioned above), and the document can be used directly; the common case is that there is no such clear guide. At this time, search engines, semantic analysis, generative models and other technologies can be called to combine user demands and the business process flow in steps to perform necessary decomposition and screening of the corresponding steps, and then match the steps that need to be mapped to the business execution interface.
[0079] Taking the reimbursement approval process of Case A mentioned above as an example, this case is the best case, that is, the steps of the reimbursement process have been mapped with the financial system. At this time, the identity background of the current user can be analyzed to confirm the process and materials that the user's reimbursement approval needs to go through, and finally the candidate steps are screened out: confirm the time reason, submit the invoice (mapped to the invoice registration and verification function of the financial system), remind the approver to approve (mapped to the office system), and wait for financial approval and payment (mapped to the financial system).
[0080] Taking the on-site troubleshooting of Case B mentioned above as an example, a complete set of troubleshooting procedures has been obtained in this case. For the current user, the system will analyze the user's identity background and the specific construction site involved, confirm the part that can be handled under the user's authority to solve the relevant problems, and finally screen out the candidate steps: confirm the on-site temperature and humidity conditions (mapped to the relevant weather query service), confirm the addition of additives (mapped to the project management system), confirm several common causes of failure (summarized from past records), confirm the expected completion period of the treatment (mapped to the project management system), provide candidate treatment plans (summarized from past records), contact relevant business personnel for support (mapped to the project management system and related address book), and if the situation involves problems that cannot be solved within the user's authority, contact the superior (mapped to the project management system).
[0081] Taking the parts analysis of Case C mentioned above as an example, a set of fault cause analysis steps has been obtained in this case. For the current user, its identity background and the specific equipment involved can be analyzed to confirm the fault analysis documents that can be accessed under the user's authority. Finally, the following steps are screened out: matching the image to the standard part data in the system (mapped to the image recognition interface and the internal database), listing potential fault causes (summarized from past fault records), confirming the specific working status of the part, and identifying the specific fault cause that matches the part.
[0082] After obtaining the step-by-step processing flow, it is also possible to check whether there is missing information in each intermediate step in the step-by-step processing flow. For the intermediate steps with missing information, the generative model can also be used to generate intermediate step question information for the intermediate steps with missing information.
[0083] Therefore, after obtaining the step-by-step processing flow, more confirmations can be made with the user to supplement the steps with missing information. For example, after the above steps, after obtaining the disassembled executable steps and completing the mapping with the executable functions in the business system, tools such as semantic analysis and generative models can be used again to cross-check the user's final request with the relevant steps to check whether key information is missing (such as whether the user needs to enter specific data, whether the user needs to confirm the details of the steps, etc.); then, by asking the user (the inquiry method can be text, voice, picture, etc.), it can be made clear that each step has obtained the required information.
[0084] Taking the reimbursement approval process of Case A mentioned above as an example, after comparison, it is found that key information such as time, reason, and invoice scans are missing in the processing steps for this user request. In this case, the user can be requested to provide clear time, reason, and invoice scans accordingly.
[0085] Taking the on-site troubleshooting of Case B mentioned above as an example, the on-site weather conditions were automatically obtained through comparison, the specific project information was obtained from the project management system, the candidate disposal plans were screened out, and the plans were provided to users for screening. Based on the user's choice, the process of helping the user contact business personnel, superiors, etc. was started.
[0086] Taking the parts analysis of Case C mentioned above as an example, after comparison, image recognition was performed on the pictures and videos to confirm the part model, and the potential failure cause of the part model was proposed. The key conditions for specific causes of failure were identified by comparing different failure causes, and the user was asked whether the corresponding key conditions were met to distinguish and confirm the final cause of the failure.
[0087] In step S130, the response content is output; the response content includes: the response result and the intermediate process information of each intermediate step in the step-by-step processing flow.
[0088] The intermediate process information may include: intermediate step information; or intermediate step question information and intermediate step reply information, wherein the intermediate step reply information is input by the user based on the intermediate step question information. The intermediate step information may refer to the information of the intermediate step obtained by custom step splitting without user input.
[0089] Optionally, the intermediate process information may also include the reasoning result of the current stage. The reasoning result of the current stage may be regarded as the response result or thinking result of the current stage. The reasoning result of the current stage may be obtained by processing the intermediate process information of the current intermediate step and / or the intermediate process information of the intermediate step before the current step using the generative model.
[0090] The present disclosure can also obtain the intermediate process information of each intermediate step in the step-by-step processing flow, and use the generative model to process at least one (such as each) intermediate process information to obtain a response result. By first obtaining the step-by-step processing flow, and then obtaining the response result based on the intermediate process information of at least one intermediate step in the step-by-step processing flow, the effectiveness and professionalism of the result obtained can be ensured.
[0091] The multiple intermediate steps obtained can be roughly divided into three categories: the first category is the steps that need to be executed based on the execution results of the previous steps; the second category is the steps that lack user input; and the third category is the steps that need to call specific service interfaces.
[0092] To this end, the present disclosure proposes that, for at least one intermediate step, the intermediate process information before the intermediate step can be processed using a generative model to obtain the intermediate process information corresponding to the intermediate step; and / or for at least one intermediate step, the intermediate step question information corresponding to the intermediate step is output, and the information input by the user based on the intermediate step question information is obtained to obtain the intermediate step reply information; and / or for at least one intermediate step, the service interface corresponding to the intermediate step is called to obtain the intermediate process information of the intermediate step.
[0093] Therefore, the present invention can demonstrate a complete reasoning process (i.e., a step-by-step processing flow) based on the relevant steps summarized by itself and / or confirmed with the user, and call the internal and external functions of the system (i.e., the service interface) in sequence, execute each step, and finally achieve the business demands originally proposed by the user (i.e., the business goals targeted by the business question information).
[0094] Taking the reimbursement approval process of Case A mentioned above as an example, the complete steps seen by the user may include: a) the user says "I have a travel expense that needs to be reimbursed"; b) the system asks "when and why is the reimbursement"; c) the system requires "upload a scanned copy of the invoice"; d) the system feedback "the reimbursement application has been completed, please wait for the person in charge to approve it."
[0095] Taking the on-site troubleshooting of Case B mentioned above as an example, the complete steps seen by the user may include: a) the user asks a voice question "What should I do if the cement solidifies too slowly and delays the construction period?"; b) the system asks "Has XXX additive been added?"; c) the system asks "Are there XXX professionals on site?"; d) the system gives candidate disposal plans one to three; e) the user selects a disposal plan; f) the system responds "The relevant business personnel have been notified, please wait for a response."
[0096] Taking the parts analysis of Case C mentioned above as an example, the complete steps seen by the user may include: a) The user takes photos and videos of the faulty parts and asks the system "What may be the cause of the failure of this part?"; b) The system asks "Has the usage time of the part exceeded the standard?"; c) The system asks "Is the assembly method of the parts incorrect?" and so on; d) The system feedback "The cause of the failure of this part is speculated to be XXX."
[0097] The intermediate process information of each intermediate step in the step-by-step processing flow can reflect the generation logic behind the response result.
[0098] The present disclosure outputs the response results and the intermediate process information of each intermediate step in the step-by-step processing flow, so that the user can not only obtain the response results of the question information, but also learn the reasoning process behind the response results based on the output intermediate process information, thereby improving the interpretability of the response results and the user's credibility in the response results.
[0099] The present disclosure does not impose strict restrictions on the output method of the response result and the intermediate process information. For example, the response result and the intermediate process information can be output in the form of, but not limited to, text, voice, image, or video.
[0100] As an example, the response result and the intermediate process information may be output in association so that the user can associate the response result with the intermediate process information.
[0101] In one embodiment of the present application, in the response interface, one of the first view or the second view may be displayed first, and in response to a predetermined operation being triggered, the currently displayed view is hidden and another view is displayed in the response interface.
[0102] Among them, the predetermined operation can be a user's touch operation, or it can also be reaching a preset time length, or, when the first view corresponding to the intermediate process is first displayed, the predetermined operation can also be the completion of the display of the intermediate process information, and the list is not exhaustive.
[0103] For example, the first view used to carry the intermediate process information can be displayed in the response interface first according to the order in which the intermediate process information and the response result are generated. The first view can display the intermediate process information of each intermediate step in order. In response to obtaining a response result based on the intermediate process information, at least part of the first view can be hidden (such as the first view can be folded), and the second view used to carry the response result can be displayed in the response interface. After the second view is displayed, at least part of the second view can be hidden in response to a predetermined operation being triggered, and the first view can be displayed in the response interface.
[0104] In the opposite embodiment, the interface of the second view may be displayed first, that is, the response result may be displayed first, and the second view may be hidden in response to a reservation operation (which may be the same as or different from the reservation operation in the previous embodiment, without limitation), and the first view may be displayed. Afterwards, the first view may be hidden and the second view may be displayed in response to the same or another reservation operation being triggered. No further description is given.
[0105] Considering that the intermediate process information represents the reasoning logic behind the answer result, in order to make the display of the answer result and the intermediate process information reflect the reasoning logic behind it, the present disclosure proposes that the first view and the second view can be switched in the form of a flip animation. That is, the first view and the second view can be regarded as the front and back sides of a card, or the first view and the second view can also be regarded as two pages of a book.
[0106] Specifically, in response to obtaining a response result based on the intermediate process information, the first view can be flipped along a first direction (such as counterclockwise in a vertical plane); in response to the first view being flipped to a first predetermined angle (such as 90°), the first view can be hidden and the second view can be displayed; the second view can be flipped along the first direction to a second predetermined angle (such as 90°).
[0107] In response to a predetermined operation being triggered, the second view can be flipped along a second direction (such as a clockwise direction in a vertical plane); in response to the second view being flipped to a third predetermined angle (such as 90°, 180° or other preset angles), the second view can be hidden and the first view can be displayed; the first view can be flipped along the second direction to a fourth predetermined angle (such as 90°, 180° or other preset angles).
[0108] In this way, by implementing the switching display between the first view and the second view in the form of a flip animation, the user can perceive the reasoning logic behind the answer result from a visual perspective, thereby enhancing the user's credibility of the answer result. In the present disclosure, the first view and the second view are in a replacement relationship, not an overlay relationship.
[0109] In another embodiment of the present disclosure, the first view and the second view may also be displayed in association with each other in the same response interface.
[0110] In another embodiment of the present disclosure, the first view and the second view may also be displayed in association in the form of a gradual transparency change. For example, in response to a reservation operation, one of the views (such as the first view) is displayed in a semi-transparent or fully transparent form, while the other view (such as the second view) is displayed in a completely opaque form. This is not exhaustive.
[0111] The present disclosure may also display at least one of a stop generation control, a regeneration control, and a change question control in the answer interface. The stop generation control may be configured to stop generating the answer content of the question information in response to the user performing a first predetermined operation on the stop generation control. The regeneration control may be configured to regenerate the answer content of the question information in response to the user performing a second predetermined operation on the stop generation control. The change question control may be configured to obtain new question information in response to the user performing a third predetermined operation on the change question control.
[0112] The present disclosure may also provide a quick reply function; in response to the quick reply function being triggered, the intermediate step question information that has not yet been replied to may be automatically located.
[0113] In summary, the present invention can utilize search engines, semantic analysis, generative models and other tools to learn and analyze documents related to business processes within the enterprise (such as operating instructions, rules and regulations, process introductions, meeting minutes, contracts, emails, etc.), summarize the various intermediate steps in executing specific business processes, and form a step-by-step processing flow and execute it.
[0114] More specifically, by introducing technologies such as search engines and generative models, the method can automatically decompose business steps based on various types of stock documents (such as operating instructions, regulations, process introductions, meeting minutes, contracts, emails, etc.). In addition, the disclosure can also rely on the interpretation and translation capabilities of generative models to allow each step to directly correspond to the interface of the relevant business and be automatically executed.
[0115] The service processing method disclosed in the present invention may also be implemented as a service processing device. Figure 3 The structure diagram of the service processing device according to an embodiment of the present disclosure is shown. The functional units of the service processing device can be implemented by hardware, software, or a combination of hardware and software that implements the principles of the present disclosure. It can be understood by those skilled in the art that Figure 3 The functional units described can be combined or divided into sub-units to implement the principles of the above invention. Therefore, the description herein can support any possible combination, division, or further limitation of the functional units described herein. The following is a brief description of the functional units that the business processing device can have and the operations that each functional unit can perform. For the details involved, please refer to the relevant description above, which will not be repeated here.
[0116] See also Figure 3The business processing device 300 may include a first acquisition module 310, a second acquisition module 320, and an output module 330. The first acquisition module 310 is used to acquire business question information. The second acquisition module 320 is used to acquire a step-by-step processing flow for achieving the business goal targeted by the business question information. The output module 330 is used to output a response content; the response content includes: a response result and intermediate process information of each intermediate step in the step-by-step processing flow.
[0117] The second acquisition module 32 may include an acquisition submodule, a first generation module, and a first processing module. The acquisition submodule is used to acquire business process description information related to the business involved in the business question information; the first generation module is used to generate a business process flow in steps based on the business process description information; the first processing module is used to decompose and / or filter the steps in the business process flow based on the business goal targeted by the business question information, and obtain a step-by-step process flow for achieving the business goal targeted by the business question information.
[0118] If there is a document for guiding the relevant business process, the first generation module obtains a step-by-step business processing flow based on the document; if there is no document for guiding the relevant business process, the first generation module searches for business processing records related to the business targeted by the business question information, and uses the generative model to process the searched business processing records to obtain a step-by-step business processing flow.
[0119] The first processing module can determine the business processing part that can be executed under the authority of the user to solve the business question information based on the business question information and the identity information of the user who initiated the business question information; the first processing module can decompose and / or filter the steps in the business processing flow based on the business processing part that the user can execute, and obtain a step-by-step processing flow for achieving the business goal targeted by the business question information.
[0120] The business processing device 300 may also include a mapping module. The mapping module is used to map the intermediate steps that need to call the service function in the step-by-step processing flow to the corresponding service interface. If there is a mapping document for characterizing the mapping relationship between the steps and the service interface, the mapping module can use the mapping document to map the intermediate steps that need to call the service function in the step-by-step processing flow to the corresponding service interface; if there is no mapping document for characterizing the mapping relationship between the steps and the service interface, the mapping module can use the generative model to map the intermediate steps that need to call the service function in the step-by-step processing flow to the corresponding service interface.
[0121] The business processing device 300 may further include a checking module and a second generating module. The checking module is used to check whether there is missing information in each intermediate step in the step-by-step processing flow; the second generating module is used to generate intermediate step question information for the intermediate step with missing information using a generative model, wherein the intermediate process information may include: intermediate step information; or intermediate step question information and intermediate step reply information, wherein the intermediate step reply information is input by the user based on the intermediate step question information.
[0122] The business processing device 300 may further include a third acquisition module and a second processing module. The third acquisition module is used to acquire the intermediate process information of each intermediate step in the step-by-step processing flow; the second processing module is used to process at least one intermediate process information using a generative model to obtain a response result.
[0123] For at least one intermediate step, the third acquisition module can use the generative model to process the intermediate process information before the intermediate step to obtain the intermediate process information corresponding to the intermediate step; and / or for at least one intermediate step, the third acquisition module can instruct the output module to output the intermediate step question information corresponding to the intermediate step, and obtain the information input by the user based on the intermediate step question information to obtain the intermediate step reply information; and / or for at least one intermediate step, the third acquisition module calls the service interface corresponding to the intermediate step to obtain the intermediate process information of the intermediate step.
[0124] The output module can output the response results and intermediate process information in a related manner.
[0125] For example, the output module may display a first view for carrying intermediate process information in the response interface; in response to obtaining a response result based on the intermediate process information, the output module may hide at least part of the first view and display a second view for carrying the response result in the response interface.
[0126] For the output method of the first view and the second view, please refer to the above related description.
[0127] Figure 4 A schematic diagram of the structure of a computing device that can be used to implement the above-mentioned business processing method according to an embodiment of the present invention is shown.
[0128] See also Figure 4 , the computing device 400 includes a memory 410 and a processor 420 .
[0129] Processor 420 may be a multi-core processor or may include multiple processors. In some embodiments, processor 420 may include a general-purpose main processor and one or more special coprocessors, such as a graphics processing unit (GPU), a digital signal processor (DSP), etc. In some embodiments, processor 420 may be implemented using a customized circuit, such as an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0130] The memory 410 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 420 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 410 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 410 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0131] The memory 410 stores executable codes, and when the executable codes are processed by the processor 420 , the processor 420 can execute the service processing method mentioned above.
[0132] The service processing method, service processing apparatus, and computing device according to the present invention have been described in detail above with reference to the accompanying drawings.
[0133] In addition, the method according to the present invention may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing the above steps defined in the above method of the present invention.
[0134] Alternatively, the present invention may also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or computing device, server, etc.), the processor executes the various steps of the above-mentioned method according to the present invention.
[0135] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or a combination of both.
[0136] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system and method according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0137] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A business processing method, characterized in that: include: Obtain business inquiry information; Obtaining a step-by-step process flow for achieving the business goal targeted by the business question information; Output the response content; The response content includes: a response result and intermediate process information of each intermediate step in the step-by-step processing flow.
2. The method according to claim 1, characterized in that Obtaining a step-by-step process for achieving the business goal targeted by the business question information, including: Obtaining business process description information related to the business involved in the business question information; Based on the business process description information, generate a business process flow in steps; Based on the business goal targeted by the business question information, the steps in the business processing flow are decomposed and / or screened to obtain a step-by-step processing flow for achieving the business goal targeted by the business question information.
3. The method according to claim 2, characterized in that The business process description information includes one or more of the following: process introduction documents, operating instructions, rules and regulations, chat records, emails, contracts, meeting minutes, and office system flow records.
4. The method according to claim 2, characterized in that: Based on the business process description information, a business process flow in steps is generated, including: If there is a document for guiding the relevant business process, a step-by-step business process flow is obtained based on the document; If there is no document for guiding the relevant business process, then the business processing records related to the business targeted by the business question information are searched, and the searched business processing records are processed using a generative model to obtain a step-by-step business processing flow.
5. The method according to claim 2, characterized in that: Based on the business goal targeted by the business question information, the steps in the business process flow are decomposed and / or screened to obtain a step-by-step process flow for achieving the business goal targeted by the business question information, including: Based on the business question information and the identity information of the user who initiated the business question information, determining the business processing part that can be executed under the authority of the user to solve the business question information; Based on the business processing part that can be executed by the user, the steps in the business processing flow are decomposed and / or screened to obtain a step-by-step processing flow for achieving the business goal targeted by the business question information.
6. The method according to any one of claims 1 to 5, characterized in that The method is applied to at least one of the following business scenarios: cargo assembly, reimbursement approval, construction site fault handling, component failure analysis, product design, and meeting booking.
7. A service processing device, characterized in that: include: The first acquisition module is used to acquire business question information; A second acquisition module is used to acquire a step-by-step processing flow for achieving the business goal targeted by the business question information; Output module, used for outputting the response content; The response content includes: a response result and intermediate process information of each intermediate step in the step-by-step processing flow.
8. A computing device comprising: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 6.
9. A computer program product, comprising executable codes, which, when executed by a processor of an electronic device, causes the processor to perform the method according to any one of claims 1 to 6.
10. A non-transitory machine-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
An intelligent question answering data processing method and device
CN108984658A
Content display method and device based on media information flow, equipment and storage medium
CN111586464A
Text processing method and device, storage medium and equipment
CN116401354A
process-based documentation method and system
US20060064334A1
Cited By
Business process management method and device, equipment, storage medium and program product
CN119067415A
Intelligent office interaction method and device based on AI technology
CN119107048A
Content display method, electronic equipment and storage medium
CN121764570A
