Multi-scene adaptive task arrangement method and system
By analyzing dialogue scene types and market demand, splitting and optimizing subtasks, the problem of low adaptive accuracy in multi-scenario task orchestration systems is solved, and more efficient task orchestration results are achieved.
Patent Information
- Application Number
- CN202410896705.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing multi-scenario adaptive task orchestration systems fail to effectively consider the market demand of different task scenarios, resulting in low adaptive accuracy when arranging multi-scenario tasks.
By obtaining the sample source user database, analyze the dialogue scene type and market demand level, split complex tasks into subtasks, analyze subtask dependencies and complexity, combine the scene type influence coefficient and abstraction level, optimize the subtask priority and sorting, Generate system answer results.
It improves the adaptive accuracy of multi-scene task arrangement, provides data support and accurate task arrangement results, and enhances the system's adaptive capability.
Smart Images

Figure CN118689652A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a multi-scenario adaptive task scheduling method and system. Background Art
[0002] At present, with the rapid development of the Internet and the Internet of Things, the data scale has increased dramatically, the data sources have become diversified, and the demand for data analysis and the complexity of business processes have continued to increase, making the traditional manual data processing method unable to meet the existing needs. Therefore, an automated process is needed to ensure the order and correctness of various needs such as data processing, analysis, and backup. Task scheduling has emerged. Task scheduling needs to adapt to multiple scenarios, so it is crucial to make multi-scenario task scheduling adaptive.
[0003] The existing multi-scenario adaptive task scheduling system decomposes complex tasks into sub-tasks, identifies and classifies different task scenarios, understands the characteristics and requirements of each scenario, adjusts and adapts tasks according to the characteristics of different scenarios, and processes sub-tasks according to task priorities. However, the existing multi-scenario adaptive task scheduling system does not take into account the market demand of different task scenarios, thereby optimizing the priority analysis of sub-tasks according to the market demand of different task scenarios. The accuracy of adaptation during multi-scenario task scheduling is low, and there is room for improvement. Summary of the invention
[0004] In order to improve the accuracy of adaptation during multi-scenario task scheduling, the present application provides a multi-scenario adaptive task scheduling method and system.
[0005] In the first aspect, the present application provides a multi-scenario adaptive task scheduling method, which adopts the following technical solution:
[0006] A multi-scenario adaptive task scheduling method comprises the following steps:
[0007] Obtain a sample source user database, and screen the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users;
[0008] Acquire conversation sample data information of the source user of the feature sample, analyze the conversation scene types in the conversation sample data information based on the conversation sample data information, count the occurrence frequency of each conversation scene type, and then analyze the market demand degree of each conversation scene type information to obtain conversation scene demand degree information;
[0009] A complex task is obtained based on the user instruction information of the user to be tested, the complex task is split into multiple subtasks, the dependency relationship between the subtasks is analyzed to obtain the subtask dependency information, the subtask dependency information is displayed based on a directed acyclic graph, and the subtask priority analysis result is output based on the subtask dependency information and the dialogue scenario demand information;
[0010] Analyze the complexity of each subtask, determine the task processing time AER of each subtask based on the complexity of each subtask, sort multiple subtasks based on the subtask priority analysis results and the task processing time AER of each subtask to obtain the subtask sorting processing results, store and process the subtasks based on the task queue and the subtask sorting processing results to obtain the subtask answer results;
[0011] Analyze the scene type impact of complex tasks based on complex tasks to obtain the complex scene type impact coefficient BRK, analyze the relevant dialogue scene types of each subtask to obtain relevant dialogue scene type information, analyze the degree of correlation between each subtask and the relevant dialogue scene type information to obtain the subdivided scene type impact coefficient CEH between each subtask and the relevant dialogue scene type information, and analyze the proportion of answer scene information based on the complex scene type impact coefficient BRK and the subdivided scene type impact coefficient CEH;
[0012] Detect the abstract degree of each subtask to obtain the subtask abstract degree coefficient, and judge whether it is necessary to give an example of the subtask answer based on the complexity of each subtask and the subtask abstract degree coefficient to obtain an example judgment result;
[0013] The system answer result is obtained based on the sub-task answer results, the proportion of answer scenario information and the example judgment results.
[0014] Preferably, a sample source user database is obtained, wherein the sample source user database includes a plurality of sample source users, wherein the sample source users in the sample source user database are updated in real time;
[0015] Obtaining user information of the sample source user, and labeling the sample source user based on the user information of the sample source user to obtain label information of the sample source user;
[0016] Acquire the user type of the user to be tested to obtain target user type information, acquire the user age of the user to be tested to obtain target user age information, and combine the target user type information and the target user age information to form target user information;
[0017] The sample source user label information is matched with the target user information to obtain the sample source user matching result, and the sample source users are screened based on the sample source user matching result to obtain the characteristic sample source users.
[0018] Preferably, a conversation sample of a source user of a feature sample is obtained to obtain a plurality of conversation sample data information, and the conversation sample data information is cached;
[0019] Acquire a dialogue scene type database, wherein the dialogue scene type database includes a plurality of dialogue scene types;
[0020] Comparing each dialogue sample data information with the dialogue scene type database to obtain a plurality of dialogue sample scene types;
[0021] Based on multiple dialogue sample scene types, the occurrence frequency of each dialogue scene type is counted to obtain the dialogue scene frequency of each dialogue scene type;
[0022] Based on the conversation scene frequency of each conversation scene type, the market demand degree of each conversation scene type is analyzed to obtain conversation scene demand degree information of each conversation scene type.
[0023] Preferably, user instruction information of the user to be tested is obtained, invalid information in the user instruction information is identified, screened and deleted to obtain a complex task;
[0024] Decomposing a complex task to obtain a subtask data set, wherein the subtask data set includes a plurality of subtasks;
[0025] Analyzing the dependency relationship between multiple subtasks in the subtask data set to obtain subtask dependency information, wherein the subtask dependency information includes subtask forward and backward dependency information and subtask parallel dependency information;
[0026] Draw a feature directed acyclic graph of the user to be tested based on the subtask data set and subtask dependency information;
[0027] Based on the subtask forward and backward dependency information, the priority of the subtask with the dependency relationship in the forward and backward order is preliminarily determined to obtain the first subtask priority analysis result, wherein the priority of the subtask with the forward and backward dependency information of the subtask is higher than the priority of the first subtask with the backward forward and backward dependency information of the subtask;
[0028] Marking the subtasks in the subtask parallel dependency information as parallel subtasks, determining the type of the dialogue scene of each parallel subtask to obtain multiple parallel dialogue scene type information;
[0029] Matching the parallel dialogue scene type information of each parallel subtask with the dialogue scene requirement information, searching for the dialogue scene requirement of each parallel subtask dialogue scene type to obtain the parallel scene requirement information of each parallel subtask;
[0030] Comparing the parallel scenario requirement information between the parallel subtasks to obtain a parallel scenario requirement comparison result, and determining the priority of the subtasks with a dependency relationship of parallelism based on the parallel scenario requirement comparison result to obtain a second subtask priority analysis result;
[0031] The first subtask priority analysis result and the second subtask priority analysis result are combined to form a subtask priority analysis result.
[0032] Preferably, the type of each subtask is determined to obtain subtask type information, the subtask type information includes obtaining subtask type, searching subtask type and calculating subtask type;
[0033] Based on the subtask type information, the subtask complexity coefficient AC of each subtask is obtained, wherein the subtask complexity coefficient AC of the subtask of the subtask type is the smallest;
[0034] Based on the big data technology, the subtasks of the search subtask type are searched to obtain the number of search result entries, and the subtask complexity coefficient AC of the subtask of the search subtask type is obtained based on the number of search result entries;
[0035] Determine the number of simple calculations in the subtask calculation of the calculation subtask type to obtain simple calculation quantity information, and the number of complex calculations in the subtask calculation of the calculation subtask type to obtain complex calculation quantity information, and obtain the subtask complexity coefficient AC of the subtask of the calculation subtask type based on the simple calculation quantity information and the complex calculation quantity information;
[0036] According to the subtask complexity coefficient AC of each subtask, the task processing time AER of each subtask is calculated based on the complexity function AER=a×AC, where a is a proportional factor and is greater than 0;
[0037] Based on the subtask priority information, each subtask is preliminarily sorted to obtain a subtask sorting preprocessing result;
[0038] The subtask sorting preprocessing result is adjusted based on the task processing time AER of each subtask to obtain the subtask sorting processing result;
[0039] A task queue is obtained, and the subtask sorting processing results are stored in the task queue and processed using a first-in-first-out structure to obtain subtask answer results.
[0040] Preferably, a complex task scene type comparison result is obtained based on a comparison between the complex task and the dialogue scene type in the dialogue scene type database;
[0041] Based on the comparison result of complex scene types, the overlap between complex tasks and dialogue scene types in the dialogue scene type database is determined to obtain the complex scene type overlap BH. According to the complex scene type overlap BH, the complex scene type influence coefficient BRK is calculated based on the complex overlap function BRK=b×BH, where b is a proportional factor and is greater than 0;
[0042] Obtain the dialogue scene type that occurs in each subtask to obtain relevant dialogue scene type information;
[0043] Compare each subtask with the dialogue scene type in the dialogue scene type database corresponding to the relevant dialogue scene type information to obtain a subtask scene type comparison result for each subtask;
[0044] Based on the comparison results of the subtask scene types of each subtask, the overlap of the dialogue scene types in the dialogue scene type database corresponding to the subtask and the relevant dialogue scene type information is determined to obtain the subdivided scene type overlap CR, and the subdivided scene type influence coefficient CEH of the subtask and each relevant dialogue scene type information is calculated based on the subdivided scene type overlap CR and the subdivided scene type influence coefficient CEH, where c is a proportional factor and is greater than 0;
[0045] The proportion of answer scenario information is analyzed based on the complex scenario type influence coefficient BRK and the segmented scenario type influence coefficient CEH for each subtask and each dialogue scenario type.
[0046] Preferably, the proportion of abstract words in each subtask is analyzed based on the text content of each subtask to obtain a subtask abstraction degree coefficient of each subtask;
[0047] Compare the subtask abstraction degree coefficient with a preset subtask abstraction degree threshold coefficient, and output a first example determination result if the subtask abstraction degree coefficient is greater than or equal to the preset subtask abstraction degree threshold coefficient; and output a first example negative result if the subtask abstraction degree coefficient is less than the preset subtask abstraction degree threshold coefficient;
[0048] Compare the subtask complexity coefficient AC of each subtask with the preset subtask complexity threshold coefficient, and output a second example determination result if the subtask complexity coefficient AC is greater than or equal to the preset subtask complexity threshold coefficient; and output a second example negative result if the subtask complexity coefficient AC is less than the preset subtask complexity threshold coefficient;
[0049] Obtain an example logic OR gate, output an example determination result based on the example logic OR gate when receiving the first example determination result or receiving the second example determination result, and output an example negative result based on the example logic OR gate when receiving the first example negative result and receiving the second example negative result;
[0050] The example determination results and the example negative results combine to form an example judgment result.
[0051] Preferably, the subtask answer results of each subtask are sorted based on the subtask dependency information to obtain a first subtask answer result;
[0052] The proportion of the answer scenario type in the answer result of the first subtask is adjusted based on the proportion of the answer scenario information to obtain the answer result of the second subtask;
[0053] Based on the example determination result, it is determined whether it is necessary to give an example for the answer result of the second subtask. If an example determination result is received, the answer result of the second subtask is given an example to obtain a system answer result.
[0054] In the second aspect, the present application provides a multi-scenario adaptive task scheduling system, which adopts the following technical solutions:
[0055] A multi-scenario adaptive task scheduling system, comprising:
[0056] A sample source user screening module is configured to obtain a sample source user database, and screen the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users;
[0057] A scenario demand analysis module is configured to obtain conversation sample data information of a feature sample source user, analyze the conversation scenario types in the conversation sample data information based on the conversation sample data information, count the occurrence frequency of each conversation scenario type, and then analyze the market demand degree of each conversation scenario type information to obtain conversation scenario demand degree information;
[0058] A subtask priority analysis module is configured to obtain a complex task based on user instruction information of a user to be tested, split the complex task into multiple subtasks, analyze dependencies between subtasks to obtain subtask dependency information, display the subtask dependency information based on a directed acyclic graph, and output a subtask priority analysis result based on the subtask dependency information and dialogue scenario demand information;
[0059] A subtask sorting processing module is configured to analyze the complexity of each subtask, determine the task processing time AER of each subtask based on the complexity of each subtask, sort multiple subtasks based on the subtask priority analysis result and the task processing time AER of each subtask to obtain a subtask sorting processing result, and store and process the subtasks based on the task queue and the subtask sorting processing result to obtain a subtask answer result;
[0060] The answer scenario analysis module is configured to analyze the scenario type impact of the complex task based on the complex task to obtain the complex scenario type impact coefficient BRK, analyze the relevant dialogue scenario type of each subtask to obtain the relevant dialogue scenario type information, analyze the degree of association between each subtask and each relevant dialogue scenario type information to obtain the subdivided scenario type impact coefficient CEH between each subtask and the relevant dialogue scenario type information, and analyze the proportion of answer scenario information based on the complex scenario type impact coefficient BRK and the subdivided scenario type impact coefficient CEH;
[0061] An example judgment module is configured to detect the abstraction degree of each subtask to obtain a subtask abstraction degree coefficient, and judge whether it is necessary to give an example of the subtask answer to obtain an example judgment result based on the complexity of each subtask and the subtask abstraction degree coefficient;
[0062] The comprehensive answer module is configured to obtain the system answer result based on the sub-task answer results, the proportion of answer scenario information and the example judgment results.
[0063] In summary, the present application includes at least one of the following beneficial technical effects:
[0064] 1. Filter the feature sample source users through the user instruction information of the user to be tested, obtain the conversation sample data information of the feature sample source users, analyze the conversation scene types and count the occurrence frequency of each conversation scene type to obtain the conversation scene demand information, obtain the complex task according to the user instruction information of the user to be tested, decompose the complex task into multiple subtasks, analyze the dependency relationship between the subtasks, output the subtask priority analysis results based on the dependency relationship information and the conversation scene demand information, analyze the complexity of each subtask and determine the task processing time AER of each subtask, and obtain the subtask ranking based on the subtask priority analysis results and the task processing time AER of each subtask. The processing results are stored and processed based on the task queue to obtain the subtask answer results. The scene type impact of the complex task is analyzed according to the complex task to obtain the complex scene type impact coefficient BRK. According to the degree of association between each subtask and each related dialogue scene type information, the subdivision scene type impact coefficient CEH between each subtask and the related dialogue scene type information is obtained. Based on the complex scene type impact coefficient BRK and the subdivision scene type impact coefficient CEH, the proportion of answer scene information is analyzed. According to the subtask answer results, the proportion of answer scene information and the example judgment results, the system answer results are obtained, which improves the accuracy of self-adaptation of multi-scenario task scheduling;
[0065] 2. Label the sample source users in the sample source user database with the user information of the sample source users to obtain the sample source user label information, obtain the target user type information and the target user age information, match the sample source user label information with the target user information to obtain the sample source user matching result, screen the sample source users according to the sample source user matching result to obtain the characteristic sample source users, obtain the conversation samples of the characteristic sample source users to obtain multiple conversation sample data information, obtain the conversation scene type database, compare the conversation sample data information with the conversation sample data in the conversation scene type database to obtain multiple conversation sample scene types, count the occurrence frequency of each conversation type, and thus analyze the market demand degree of each conversation scene type to obtain the conversation scene demand degree information of each conversation scene type, which provides data support for the subsequent multi-scene adaptive task scheduling;
[0066] 3. With the help of subtask type information, the subtask complexity coefficient AC of each subtask is obtained, and the subtask complexity coefficient AC of the subtask of the subtask type is obtained to be the smallest. According to the big data, the subtask of the search subtask type is searched to obtain the number of search result entries, thereby obtaining the subtask complexity coefficient AC of the subtask of the search subtask type, and the subtask complexity coefficient AC of the subtask of the calculation subtask type is obtained based on the simple calculation quantity information and complex calculation quantity information of the subtask of the calculation subtask type. According to the subtask complexity coefficient AC of each subtask, the task processing time AER of each subtask is obtained, and according to the subtask priority information, the processing of each subtask is preliminarily sorted to obtain the subtask sorting preprocessing result, and the subtask sorting preprocessing result is adjusted according to the task processing time AER of each subtask to obtain the subtask sorting processing result, which further improves the accuracy of adaptive multi-scenario task scheduling. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 This is a flowchart of a multi-scenario adaptive task scheduling method mainly embodied in this embodiment;
[0068] Figure 2 This is a module diagram of a multi-scenario adaptive task scheduling system mainly embodied in this embodiment.
[0069] Figure numerals: 1. Sample source user screening module; 2. Scenario requirement analysis module; 3. Subtask priority analysis module; 4. Subtask sorting processing module; 5. Answer scenario analysis module; 6. Example judgment module; 7. Comprehensive answer module. DETAILED DESCRIPTION
[0070] The present application is further described in detail below in conjunction with the accompanying drawings.
[0071] The embodiment of the present application discloses a multi-scenario adaptive task scheduling method.
[0072] A multi-scenario adaptive task scheduling method comprises the following steps:
[0073] Reference Figure 1 , step S1, obtain a sample source user database, and screen the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users. Step S1 specifically includes the following sub-steps:
[0074] Step S11, obtaining a sample source user database, the sample source user database includes multiple sample source users, wherein the sample source users in the sample source user database are updated in real time, thereby improving the accuracy of data provided by the sample source users for multi-scenario task orchestration.
[0075] Step S12, obtaining user information of the sample source user, labeling the sample source user based on the user information of the sample source user to obtain sample source user label information, wherein the user information includes user type information and user age information, wherein the user type information includes personal user information and corporate user information, and the user age information includes growth type user information, adult type user information and stable type user information.
[0076] Among them, growth user information refers to the corporate user information of small and micro enterprises and personal user information under the age of 18; adult user information refers to the corporate user information of small and medium-sized enterprises and personal user information between the ages of 18 and 60; stable users refer to the corporate user information of large enterprises and personal user information over the age of 60.
[0077] When the user type information is personal user information, a personal user label is attached to the sample source user; when the user type information is enterprise user information, a enterprise user label is attached to the sample source user.
[0078] Step S13, obtaining the user type of the user to be tested to obtain target user type information, the target user type information includes target user personal information and target user enterprise information, obtaining the user age of the user to be tested to obtain target user age information, the target user age information includes target growth type user information, target adult type user information and target stable type user information. The target user type information and the target user age information are combined to form the target user information.
[0079] Step S14, matching the sample source user tag information with the target user information to obtain a sample source user matching result, and screening the sample source users based on the sample source user matching result to obtain a characteristic sample source user.
[0080] In specific applications, the sample source users in the sample source user database are labeled according to the user information of the sample source users to obtain the sample source user label information, the target user type information and the target user age information are obtained, the sample source user label information is matched with the target user information to obtain the sample source user matching result, and the sample source users are screened according to the sample source user matching result to obtain the characteristic sample source users, which improves the accuracy of the data provided by the sample source users for the task orchestration of the users to be tested, thereby improving the accuracy of the adaptive task orchestration in multiple scenarios.
[0081] Reference Figure 1 Step S2, obtaining the conversation sample data information of the source user of the feature sample, analyzing the conversation scene types in the conversation sample data information based on the conversation sample data information, counting the occurrence frequency of each conversation scene type, and then analyzing the market demand degree of each conversation scene type information to obtain the conversation scene demand degree information. Step S2 specifically includes the following sub-steps:
[0082] Step S21, acquiring a conversation sample of a source user of a feature sample to obtain a plurality of conversation sample data information, and caching the conversation sample data information.
[0083] Step S22, obtaining a dialogue scenario type database, which includes multiple dialogue scenario types, such as customer service robot, virtual assistant, education and training, medical health, financial services, entertainment and social networking, travel, hardware control, human resources, and legal consultation.
[0084] Step S23, comparing each dialogue sample data information with the dialogue scene type database to obtain a plurality of dialogue sample scene types.
[0085] Step S24, based on the multiple dialogue sample scene types, the occurrence frequency of each dialogue scene type is counted to obtain the dialogue scene frequency of each dialogue scene type.
[0086] Step S25: Analyze the market demand of each dialogue scene type based on the dialogue scene frequency of each dialogue scene type to obtain dialogue scene demand information of each dialogue scene type, wherein the dialogue scene demand information of each dialogue scene type is positively correlated with the dialogue scene frequency of each dialogue scene type.
[0087] In specific applications, multiple conversation sample data information is obtained by acquiring conversation samples of feature sample source users, and a conversation scene type database is obtained. The conversation sample data information is compared with the conversation sample data in the conversation scene type database to obtain multiple conversation sample scene types, and the frequency of occurrence of each conversation type is counted, so as to analyze the market demand degree of each conversation scene type and obtain conversation scene demand information of each conversation scene type, which provides data support for subsequent multi-scene adaptive task scheduling.
[0088] Reference Figure 1 , step S3, based on the user instruction information of the user to be tested, a complex task is obtained, the complex task is split into multiple subtasks, the dependency relationship between the subtasks is analyzed to obtain subtask dependency information, the subtask dependency information is displayed based on a directed acyclic graph, and the subtask priority analysis result is output based on the subtask dependency information and the dialogue scenario demand information. Step S3 specifically includes the following sub-steps:
[0089] Step S31, obtaining user instruction information of the user to be tested, identifying and filtering invalid information in the user instruction information and deleting it to obtain a complex task.
[0090] Step S32, decomposing the complex task into a subtask data set, where the subtask data set includes a plurality of subtasks.
[0091] Step S33, analyzing the dependency relationship between multiple subtasks in the subtask data set to obtain subtask dependency information, the subtask dependency information includes subtask before and after dependency information and subtask parallel dependency information. Subtask before and after dependency information refers to the order of steps of two subtasks being before and after, and subtask parallel dependency information refers to the order of parallel processing between two subtasks.
[0092] Step S34: Draw a feature directed acyclic graph of the user to be tested based on the subtask data set and the subtask dependency information.
[0093] Step S35, based on the subtask before and after dependency information, preliminarily determine the priority of the subtasks with dependency relationship in a front-to-back order to obtain the first subtask priority analysis result, wherein the priority of the subtask with the front-to-back dependency information at the front is higher than the priority of the first subtask with the back-to-back dependency information at the back.
[0094] Step S36, marking the subtasks in the subtask parallel dependency information as parallel subtasks, determining the type of the dialogue scene of each parallel subtask to obtain multiple parallel dialogue scene type information.
[0095] Step S37, matching the parallel dialogue scenario type information of each parallel subtask with the dialogue scenario requirement information, searching the dialogue scenario requirement of each parallel subtask dialogue scenario type to obtain the parallel scenario requirement information of each parallel subtask.
[0096] Step S38, comparing the parallel scenario requirement information between the parallel subtasks to obtain a parallel scenario requirement comparison result, and determining the priority of the subtasks with a dependency relationship of parallelism based on the parallel scenario requirement comparison result to obtain a second subtask priority analysis result.
[0097] Step S39: The first subtask priority analysis result and the second subtask priority analysis result are combined to form a subtask priority analysis result.
[0098] In specific applications, a complex task is obtained by identifying, screening and deleting invalid information in the user instruction information of the user to be tested, decomposing the complex task into multiple subtasks, analyzing the dependency relationship between the subtasks to obtain subtask dependency information, drawing a directed acyclic graph based on the subtask dependency information, obtaining a first subtask priority analysis result according to the subtask before and after dependency information in the subtask dependency information, determining the type of dialogue scene of the parallel subtask to which multiple parallel dialogue scene type information belongs, analyzing the dialogue scene requirement of the parallel dialogue scene type information of each parallel subtask based on the dialogue scene requirement information to obtain the parallel scene requirement information of each parallel subtask, comparing the parallel scene requirement information between the parallel subtasks, and thus obtaining a second subtask priority analysis result, thereby improving the detection accuracy of the subtask priority of the subtask before and after dependency information and improving the detection accuracy of the subtask priority of the subtask parallel dependency information.
[0099] Reference Figure 1 , step S4, analyze the complexity of each subtask, determine the task processing time AER of each subtask based on the complexity of each subtask, sort multiple subtasks based on the subtask priority analysis results and the task processing time AER of each subtask to obtain subtask sorting processing results, store and process the subtasks based on the task queue and the subtask sorting processing results to obtain subtask answer results. Step S4 specifically includes the following sub-steps:
[0100] Step S41, determining the type of each subtask to obtain subtask type information, where the subtask type information includes obtaining subtask type, searching subtask type, and calculating subtask type.
[0101] Step S42, obtaining the subtask complexity coefficient AC of each subtask based on the subtask type information, wherein the subtask complexity coefficient AC of the subtask of the subtask type is the smallest.
[0102] Step S43, searching the subtask of the search subtask type based on big data technology to obtain the number of search result entries, and obtaining the subtask complexity coefficient AC of the subtask of the search subtask type based on the number of search result entries. The more the number of search result entries, the smaller the subtask complexity coefficient AC of the subtask of the search subtask type.
[0103] Step S44, determine the number of simple calculations in the subtask calculation of the calculation subtask type to obtain simple calculation quantity information, and determine the number of complex calculations in the calculation of the subtask of the calculation subtask type to obtain complex calculation quantity information, and obtain the subtask complexity coefficient AC of the subtask of the calculation subtask type based on the simple calculation quantity information and the complex calculation quantity information. Among them, simple calculations include basic arithmetic operations, simple logical judgments, common numerical operations and simple data conversions, basic arithmetic operations include addition, subtraction, multiplication and division, simple logical judgments include comparing the size of numbers, common numerical operations include square root calculations and percentage calculations, simple data conversions include unit conversions and currency conversions, and complex calculations refer to calculations other than simple calculations.
[0104] Among them, the complexity coefficient AC of the subtask whose complex calculation quantity information is 0 in the subtask of the calculation subtask type is the smallest, followed by the complexity coefficient AC of the subtask whose complex calculation quantity information and simple calculation quantity information are not 0, and the complexity coefficient AC of the subtask whose simple calculation quantity information is 0 is the largest.
[0105] Step S45, according to the subtask complexity coefficient AC of each subtask, based on the complexity function AER=a×AC, the task processing time AER of each subtask is calculated, where a is a proportional factor and is greater than 0. The higher the subtask complexity coefficient AC of each subtask, the longer the task processing time AER of each subtask.
[0106] Step S46: preliminarily sort the subtasks based on the subtask priority information to obtain a subtask sorting preprocessing result.
[0107] Step S47, based on the task processing time AER of each subtask, the subtask sorting preprocessing result is adjusted to obtain the subtask sorting processing result. In specific applications, if the subtask is processed according to the subtask priority analysis result, the next subtask is processed after the previous subtask is completed. If the next subtask is more complex, it will waste a lot of time and cause a slow running speed. In the embodiment of the present application, the task processing time AER of each subtask is taken into consideration. If the task processing time AER of the next subtask is longer, the task processing of the next subtask is performed in advance according to the task processing time AER of the subtask, which saves time and improves the running speed of the subtask processing.
[0108] Step S48, obtaining a task queue, storing the subtask sorting processing results in the task queue and processing them in a first-in-first-out structure to obtain subtask answer results.
[0109] In specific applications, the subtask complexity coefficient AC of each subtask is obtained through the subtask type information, the subtask complexity coefficient AC of the subtask of the obtained subtask type is the smallest, the subtask of the search subtask type is searched according to big data to obtain the number of search result entries, thereby obtaining the subtask complexity coefficient AC of the subtask of the search subtask type, and the subtask complexity coefficient AC of the subtask of the calculation subtask type is obtained based on the simple calculation quantity information and complex calculation quantity information of the subtask of the calculation subtask type, and the task processing time AER of each subtask is obtained according to the subtask complexity coefficient AC of each subtask, and the processing of each subtask is preliminarily sorted according to the subtask priority information to obtain the subtask sorting preprocessing result, and the subtask sorting preprocessing result is adjusted according to the task processing time AER of each subtask to obtain the subtask sorting processing result, thereby improving the accuracy of adaptive multi-scenario task scheduling.
[0110] Reference Figure 1 , step S5, based on the complex task, the scene type influence of the complex task is analyzed to obtain the complex scene type influence coefficient BRK, the relevant dialogue scene type of each subtask is analyzed to obtain the relevant dialogue scene type information, the correlation between each subtask and the relevant dialogue scene type information is analyzed to obtain the subdivided scene type influence coefficient CEH between each subtask and the relevant dialogue scene type information, and the proportion of the answer scene information is analyzed based on the complex scene type influence coefficient BRK and the subdivided scene type influence coefficient CEH. Step S5 specifically includes the following sub-steps:
[0111] Step S51, comparing the complex task with the dialogue scene types in the dialogue scene type database to obtain a complex task scene type comparison result.
[0112] Step S52, based on the complex scene type comparison result, determine the overlap between the complex task and the dialogue scene type in the dialogue scene type database to obtain the complex scene type overlap BH, and according to the complex scene type overlap BH, calculate based on the complex overlap function BRK=b×BH to obtain the complex scene type influence coefficient BRK, where b is a proportional factor and is greater than 0.
[0113] Step S53, obtaining the dialog scene type in which each subtask occurs to obtain relevant dialog scene type information.
[0114] Step S54, comparing each subtask with the dialogue scene type in the dialogue scene type database corresponding to the relevant dialogue scene type information, to obtain a subtask scene type comparison result for each subtask.
[0115] Step S55, based on the comparison result of the subtask scene types of each subtask, determine the overlap of the dialogue scene types in the dialogue scene type database corresponding to the subtask and the relevant dialogue scene type information to obtain the segmented scene type overlap CR, and according to the segmented scene type overlap CR, calculate based on the segmented overlap function CEH=c×CT to obtain the segmented scene type influence coefficient CEH of the subtask and each relevant dialogue scene type information, where c is a proportional factor and is greater than 0.
[0116] Step S56: Analyze the proportion of answer scenario information based on the complex scenario type impact coefficient BRK and the sub-scenario type impact coefficient CEH of each subtask and each dialogue scenario type. For example, if the complex scenario type is legal consultation, the complex scenario type impact coefficient BRK is 5, and the related dialogue scenario type information is legal consultation, financial services, and human resources, the sub-scenario type impact coefficients CEH of legal consultation, financial services, and human resources of the subtasks are 4, 3, and 3 respectively. When the subtask is answering, the proportion of relevant answers in the answer information scenario type of legal consultation, financial services, and human resources is respectively That is 4.5, 1.5, 1.5.
[0117] In specific application, the complex task is compared with the dialogue scene types in the dialogue scene type database to determine the overlap between the complex task and the dialogue scene types in the dialogue scene type database, and then the complex scene type influence coefficient BRK is calculated. Then, the subtask scene type comparison result of each subtask is obtained based on the relevant dialogue scene type information of the subtask, and the overlap between the subtask and the dialogue scene type in the dialogue scene type database corresponding to the relevant dialogue scene type information is determined to obtain the subdivided scene type overlap CR, and then the subdivided scene type influence coefficient CEH is calculated. The complex scene type influence coefficient BRK and the subdivided scene type influence coefficient CEH are combined to analyze the proportion of answer scene information, thereby improving the accuracy of adaptation during multi-scene task scheduling.
[0118] Reference Figure 1 , step S6, detecting the abstraction level of each subtask to obtain the subtask abstraction level coefficient, and judging whether it is necessary to give an example of the subtask answer based on the complexity of each subtask and the subtask abstraction level coefficient to obtain an example judgment result. Step S6 specifically includes the following sub-steps:
[0119] Step S61 : analyzing the proportion of abstract words in each subtask based on the text content of each subtask to obtain a subtask abstraction degree coefficient of each subtask.
[0120] Step S62, compare the subtask abstraction degree coefficient with the preset subtask abstraction degree threshold coefficient, if the subtask abstraction degree coefficient is greater than or equal to the preset subtask abstraction degree threshold coefficient, output the first example confirmation result, if the subtask abstraction degree coefficient is less than the preset subtask abstraction degree threshold coefficient, output the first example negative result.
[0121] Step S63, compare the subtask complexity coefficient AC of each subtask with the preset subtask complexity threshold coefficient. If the subtask complexity coefficient AC is greater than or equal to the preset subtask complexity threshold coefficient, output the second example confirmation result; if the subtask complexity coefficient AC is less than the preset subtask complexity threshold coefficient, output the second example negative result.
[0122] Step S64, obtaining an example logic OR gate, outputting an example determination result based on the example logic OR gate when receiving the first example determination result or receiving the second example determination result, and outputting an example negative result based on the example logic OR gate when receiving the first example negative result and receiving the second example negative result.
[0123] Step S65, the example determination result and the example negative result are combined to form an example judgment result.
[0124] In specific application, the subtask abstraction degree coefficient of each subtask is analyzed according to the text content of the subtask, the subtask abstraction degree coefficient is compared with the preset subtask abstraction degree threshold coefficient to determine and output the first example confirmation result or the first example negation result, the subtask complexity coefficient AC of the subtask is compared with the preset subtask complexity threshold coefficient to determine and output the second example confirmation result or the second example negation result, and the example confirmation result or the example negation result is output based on the example logical OR gate, which makes it easier for users to understand when receiving answers, thereby improving the accuracy of adaptation during multi-scenario task scheduling.
[0125] Reference Figure 1 , step S7, based on the subtask answer results, the answer scenario information ratio and the example judgment results, the system answer result is obtained. Step S7 specifically includes the following sub-steps:
[0126] Step S71 , sorting the subtask answer results of each subtask based on the subtask dependency information to obtain a first subtask answer result.
[0127] Step S72: adjusting the proportion of the answer scenario type in the first subtask answer result based on the proportion of the answer scenario information to obtain the second subtask answer result.
[0128] Step S73, based on the example determination result, determine whether it is necessary to give an example for the answer result of the second subtask. If an example determination result is received, give an example for the answer result of the second subtask to obtain a system answer result.
[0129] In specific application, the answer result of the first subtask is obtained according to the subtask dependency information, and the proportion of the answer scenario type in the answer result of the first subtask is adjusted according to the proportion of the answer scenario information to obtain the answer result of the second subtask. According to the example judgment result, it is determined whether it is necessary to give an example for the answer result of the second subtask to obtain the system answer result, thereby improving the accuracy of multi-scenario task scheduling adaptation.
[0130] The embodiment of the present application also discloses a multi-scenario adaptive task scheduling system.
[0131] Reference Figure 2 , a multi-scenario adaptive task scheduling system includes:
[0132] The sample source user screening module is configured to obtain a sample source user database, and screen the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users.
[0133] The scenario demand analysis module is configured to obtain conversation sample data information of feature sample source users, analyze conversation scenario types in the conversation sample data information based on the conversation sample data information, count the occurrence frequency of each conversation scenario type, and then analyze the market demand degree of each conversation scenario type information to obtain conversation scenario demand information.
[0134] The subtask priority analysis module is configured to obtain a complex task based on the user instruction information of the user to be tested, split the complex task into multiple subtasks, analyze the dependencies between the subtasks to obtain subtask dependency information, display the subtask dependency information based on a directed acyclic graph, and output the subtask priority analysis results based on the subtask dependency information and dialogue scenario demand information.
[0135] The subtask sorting processing module is configured to analyze the complexity of each subtask, determine the task processing time AER of each subtask based on the complexity of each subtask, sort multiple subtasks based on subtask priority information and the task processing time AER of each subtask to obtain subtask sorting processing results, and store and process the subtasks based on the task queue and the subtask sorting processing results to obtain subtask answer results.
[0136] The answer scenario analysis module is configured to analyze the scenario type impact of complex tasks based on the complex tasks to obtain the complex scenario type impact coefficient BRK, analyze the relevant dialogue scenario types of each subtask to obtain the relevant dialogue scenario type information, analyze the degree of correlation between each subtask and the relevant dialogue scenario type information to obtain the segmented scenario type impact coefficient CEH between each subtask and the relevant dialogue scenario type information, and analyze the proportion of answer scenario information based on the complex scenario type impact coefficient BRK and the segmented scenario type impact coefficient CEH.
[0137] The example judgment module is configured to detect the abstraction level of each subtask to obtain a subtask abstraction level coefficient, and judge whether it is necessary to give an example for the subtask answer based on the complexity of each subtask and the subtask abstraction level coefficient to obtain an example judgment result.
[0138] The comprehensive answer module is configured to obtain the system answer result based on the sub-task answer results, the proportion of answer scenario information and the example judgment results.
[0139] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A multi-scenario adaptive task scheduling method, characterized in that: The following steps are involved: Obtain a sample source user database, and screen the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users; Acquire conversation sample data information of the source user of the feature sample, analyze the conversation scene types in the conversation sample data information based on the conversation sample data information, count the occurrence frequency of each conversation scene type, and then analyze the market demand degree of each conversation scene type information to obtain conversation scene demand degree information; A complex task is obtained based on the user instruction information of the user to be tested, the complex task is split into multiple subtasks, the dependency relationship between the subtasks is analyzed to obtain the subtask dependency information, the subtask dependency information is displayed based on a directed acyclic graph, and the subtask priority analysis result is output based on the subtask dependency information and the dialogue scenario demand information; Analyze the complexity of each subtask, determine the task processing time AER of each subtask based on the complexity of each subtask, sort multiple subtasks based on the subtask priority analysis results and the task processing time AER of each subtask to obtain the subtask sorting processing results, store and process the subtasks based on the task queue and the subtask sorting processing results to obtain the subtask answer results; Analyze the scene type impact of complex tasks based on complex tasks to obtain the complex scene type impact coefficient BRK, analyze the relevant dialogue scene types of each subtask to obtain relevant dialogue scene type information, analyze the degree of correlation between each subtask and the relevant dialogue scene type information to obtain the subdivided scene type impact coefficient CEH between each subtask and the relevant dialogue scene type information, and analyze the proportion of answer scene information based on the complex scene type impact coefficient BRK and the subdivided scene type impact coefficient CEH; Detect the abstract degree of each subtask to obtain the subtask abstract degree coefficient, and judge whether it is necessary to give an example of the subtask answer based on the complexity of each subtask and the subtask abstract degree coefficient to obtain an example judgment result; The system answer result is obtained based on the sub-task answer results, the proportion of answer scenario information and the example judgment results.
2. According to the multi-scenario adaptive task scheduling method of claim 1, it is characterized in that: The steps of obtaining a sample source user database and screening the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users specifically include: Acquire a sample source user database, wherein the sample source user database includes a plurality of sample source users, wherein the sample source users in the sample source user database are updated in real time; Obtaining user information of the sample source user, and labeling the sample source user based on the user information of the sample source user to obtain label information of the sample source user; Acquire the user type of the user to be tested to obtain target user type information, acquire the user age of the user to be tested to obtain target user age information, and combine the target user type information and the target user age information to form target user information; The sample source user label information is matched with the target user information to obtain the sample source user matching result, and the sample source users are screened based on the sample source user matching result to obtain the characteristic sample source users.
3. The multi-scenario adaptive task scheduling method according to claim 2 is characterized in that: The steps of obtaining conversation sample data information of the source user of the feature sample, analyzing the conversation scene types in the conversation sample data information based on the conversation sample data information, counting the occurrence frequency of each conversation scene type, and then analyzing the market demand degree of each conversation scene type information to obtain the conversation scene demand degree information specifically include: Acquire a conversation sample of a source user of a feature sample to obtain multiple conversation sample data information, and cache the conversation sample data information; Acquire a dialogue scene type database, wherein the dialogue scene type database includes a plurality of dialogue scene types; Comparing each dialogue sample data information with the dialogue scene type database to obtain a plurality of dialogue sample scene types; Based on multiple dialogue sample scene types, the occurrence frequency of each dialogue scene type is counted to obtain the dialogue scene frequency of each dialogue scene type; Based on the conversation scene frequency of each conversation scene type, the market demand degree of each conversation scene type is analyzed to obtain conversation scene demand degree information of each conversation scene type.
4. The multi-scenario adaptive task scheduling method according to claim 3 is characterized in that: The steps of obtaining a complex task based on user instruction information of a user to be tested, splitting the complex task into multiple subtasks, analyzing dependencies between subtasks to obtain subtask dependency information, displaying the subtask dependency information based on a directed acyclic graph, and outputting subtask priority analysis results based on the subtask dependency information and dialogue scenario demand information specifically include: Obtain user command information of the user to be tested, identify and filter invalid information in the user command information and delete it to obtain a complex task; Decomposing a complex task to obtain a subtask data set, wherein the subtask data set includes a plurality of subtasks; Analyzing the dependency relationship between multiple subtasks in the subtask data set to obtain subtask dependency information, wherein the subtask dependency information includes subtask forward and backward dependency information and subtask parallel dependency information; Draw a feature directed acyclic graph of the user to be tested based on the subtask data set and subtask dependency information; Based on the subtask forward and backward dependency information, the priority of the subtask with the dependency relationship in the forward and backward order is preliminarily determined to obtain the first subtask priority analysis result, wherein the priority of the subtask with the forward and backward dependency information of the subtask is higher than the priority of the first subtask with the backward forward and backward dependency information of the subtask; Marking the subtasks in the subtask parallel dependency information as parallel subtasks, determining the type of the dialogue scene of each parallel subtask to obtain multiple parallel dialogue scene type information; Matching the parallel dialogue scenario type information of each parallel subtask with the dialogue scenario requirement information, searching for the dialogue scenario requirement of each parallel subtask dialogue scenario type to obtain the parallel scenario requirement information of each parallel subtask; Comparing the parallel scenario requirement information between the parallel subtasks to obtain a parallel scenario requirement comparison result, and determining the priority of the subtasks with a dependency relationship of parallelism based on the parallel scenario requirement comparison result to obtain a second subtask priority analysis result; The first subtask priority analysis result and the second subtask priority analysis result are combined to form a subtask priority analysis result.
5. The multi-scenario adaptive task scheduling method according to claim 4 is characterized in that: The steps of analyzing the complexity of each subtask, determining the task processing time AER of each subtask based on the complexity of each subtask, sorting multiple subtasks based on subtask priority information and the task processing time of each subtask to obtain subtask sorting processing results, and storing and processing the subtasks based on the task queue and the subtask sorting processing results to obtain subtask answer results specifically include: Determine the type of each subtask to obtain subtask type information, the subtask type information includes obtaining subtask type, searching subtask type and calculating subtask type; Based on the subtask type information, the subtask complexity coefficient AC of each subtask is obtained, wherein the subtask complexity coefficient AC of the subtask of the subtask type is the smallest; Based on the big data technology, the subtasks of the search subtask type are searched to obtain the number of search result entries, and the subtask complexity coefficient AC of the subtask of the search subtask type is obtained based on the number of search result entries; Determine the number of simple calculations in the subtask calculation of the calculation subtask type to obtain simple calculation quantity information, and the number of complex calculations in the subtask calculation of the calculation subtask type to obtain complex calculation quantity information, and obtain the subtask complexity coefficient AC of the subtask of the calculation subtask type based on the simple calculation quantity information and the complex calculation quantity information; According to the subtask complexity coefficient AC of each subtask, the task processing time AER of each subtask is calculated based on the complexity function AER=a×AC, where a is a proportional factor and is greater than 0; Based on the subtask priority information, each subtask is preliminarily sorted to obtain a subtask sorting preprocessing result; The subtask sorting preprocessing result is adjusted based on the task processing time AER of each subtask to obtain the subtask sorting processing result; A task queue is obtained, and the subtask sorting processing results are stored in the task queue and processed using a first-in-first-out structure to obtain subtask answer results.
6. The multi-scenario adaptive task scheduling method according to claim 5 is characterized in that: Based on the complex task, the scene type influence of the complex task is analyzed to obtain the complex scene type influence coefficient BRK, the relevant dialogue scene type of each subtask is analyzed to obtain the relevant dialogue scene type information, and the correlation between each subtask and the relevant dialogue scene type information is analyzed to obtain the subdivided scene type influence coefficient CEH between each subtask and the relevant dialogue scene type information. The steps of analyzing the proportion of answer scene information based on the complex scene type influence coefficient BRK and the subdivided scene type influence coefficient CEH specifically include: Comparing the complex task with the dialogue scene types in the dialogue scene type database to obtain a complex task scene type comparison result; Based on the comparison result of complex scene types, the overlap between complex tasks and dialogue scene types in the dialogue scene type database is determined to obtain the complex scene type overlap BH. According to the complex scene type overlap BH, the complex scene type influence coefficient BRK is calculated based on the complex overlap function BRK=b×BH, where b is a proportional factor and is greater than 0; Obtain the dialogue scene type that occurs in each subtask to obtain relevant dialogue scene type information; Compare each subtask with the dialogue scene type in the dialogue scene type database corresponding to the relevant dialogue scene type information to obtain a subtask scene type comparison result for each subtask; Based on the comparison results of the subtask scene types of each subtask, the overlap of the dialogue scene types in the dialogue scene type database corresponding to the subtask and the relevant dialogue scene type information is determined to obtain the subdivided scene type overlap CR, and the subdivided scene type influence coefficient CEH of the subtask and each relevant dialogue scene type information is calculated based on the subdivided scene type overlap CR and the subdivided scene type influence coefficient CEH, where c is a proportional factor and is greater than 0; The proportion of answer scenario information is analyzed based on the complex scenario type influence coefficient BRK and the segmented scenario type influence coefficient CEH for each subtask and each dialogue scenario type.
7. The multi-scenario adaptive task scheduling method according to claim 6 is characterized in that: The steps of detecting the abstraction degree of each subtask to obtain a subtask abstraction degree coefficient, and judging whether it is necessary to give an example of the subtask answer to obtain an example judgment result based on the complexity of each subtask and the subtask abstraction degree coefficient, specifically include: Based on the text content of each subtask, the proportion of abstract words in each subtask is analyzed to obtain the subtask abstraction degree coefficient of each subtask; Compare the subtask abstraction degree coefficient with a preset subtask abstraction degree threshold coefficient, and output a first example determination result if the subtask abstraction degree coefficient is greater than or equal to the preset subtask abstraction degree threshold coefficient; and output a first example negative result if the subtask abstraction degree coefficient is less than the preset subtask abstraction degree threshold coefficient; Compare the subtask complexity coefficient AC of each subtask with the preset subtask complexity threshold coefficient, and output a second example determination result if the subtask complexity coefficient AC is greater than or equal to the preset subtask complexity threshold coefficient; and output a second example negative result if the subtask complexity coefficient AC is less than the preset subtask complexity threshold coefficient; Obtain an example logic OR gate, output an example determination result based on the example logic OR gate when receiving the first example determination result or receiving the second example determination result, and output an example negative result based on the example logic OR gate when receiving the first example negative result and receiving the second example negative result; The example determination result and the example negative result combine to form an example judgment result.
8. The multi-scenario adaptive task scheduling method according to claim 7 is characterized in that: The steps of obtaining the system answer result based on the subtask answer result, the answer scenario information ratio and the example judgment result specifically include: Arrange the subtask answer results of each subtask based on the subtask dependency information to obtain the first subtask answer result; The proportion of the answer scenario type in the answer result of the first subtask is adjusted based on the proportion of the answer scenario information to obtain the answer result of the second subtask; Based on the example determination result, it is determined whether it is necessary to give an example for the answer result of the second subtask. If an example determination result is received, the answer result of the second subtask is given an example to obtain a system answer result.
9. A multi-scenario adaptive task scheduling system, characterized in that: The multi-scenario adaptive task scheduling system is used to implement the multi-scenario adaptive task scheduling method described in any one of claims 1 to 8, including: A sample source user screening module is configured to obtain a sample source user database, and screen the sample source users in the sample source user database based on the user instruction information of the user to be tested to obtain characteristic sample source users; A scenario demand analysis module is configured to obtain conversation sample data information of a feature sample source user, analyze the conversation scenario types in the conversation sample data information based on the conversation sample data information, count the occurrence frequency of each conversation scenario type, and then analyze the market demand degree of each conversation scenario type information to obtain conversation scenario demand degree information; A subtask priority analysis module is configured to obtain a complex task based on user instruction information of a user to be tested, split the complex task into multiple subtasks, analyze dependencies between subtasks to obtain subtask dependency information, display the subtask dependency information based on a directed acyclic graph, and output a subtask priority analysis result based on the subtask dependency information and dialogue scenario demand information; A subtask sorting processing module is configured to analyze the complexity of each subtask, determine the task processing time AER of each subtask based on the complexity of each subtask, sort multiple subtasks based on the subtask priority analysis result and the task processing time AER of each subtask to obtain a subtask sorting processing result, and store and process the subtasks based on the task queue and the subtask sorting processing result to obtain a subtask answer result; The answer scenario analysis module is configured to analyze the scenario type impact of the complex task based on the complex task to obtain the complex scenario type impact coefficient BRK, analyze the relevant dialogue scenario type of each subtask to obtain the relevant dialogue scenario type information, analyze the degree of association between each subtask and each relevant dialogue scenario type information to obtain the subdivided scenario type impact coefficient CEH between each subtask and the relevant dialogue scenario type information, and analyze the proportion of answer scenario information based on the complex scenario type impact coefficient BRK and the subdivided scenario type impact coefficient CEH; An example judgment module is configured to detect the abstraction level of each subtask to obtain a subtask abstraction level coefficient, and judge whether it is necessary to give an example of the subtask answer to obtain an example judgment result based on the complexity of each subtask and the subtask abstraction level coefficient; The comprehensive answer module is configured to obtain the system answer result based on the sub-task answer results, the proportion of answer scenario information and the example judgment results.
