Task analysis method, device, equipment, medium and product based on task unit
By automating enterprise task management through a task-unit-based approach, the problems of low efficiency in manual interpretation and long processing time for large language models are solved, enabling efficient and accurate task list generation and management.
Patent Information
- Application Number
- CN202611190145.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-06
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies in enterprise task management rely on manual interpretation and task decomposition, which suffers from low efficiency, poor accuracy, and high cost. Furthermore, large language model methods are time-consuming and costly, and hybrid retrieval methods still have shortcomings.
A task-based approach is adopted, which reads documents and a standard task library, segments the documents and converts them into structured task units, selects candidate tasks based on vector similarity, calculates confidence levels, generates processing decisions, optimizes the task list using task constraint graphs, and optimizes task analysis through a prior update mechanism of feedback revision.
It automates file interpretation and task list generation, reduces the number of large model calls, lowers the error rate, improves management efficiency and accuracy, and provides reliable output.
Smart Images

Figure CN123138408A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of natural language processing technology, and in particular to a task analysis method, apparatus, device, medium and product based on task units. Background Technology
[0002] In the field of enterprise task management, traditional methods mainly rely on manual interpretation of various corporate documents and task breakdown. A typical workflow involves: first, collecting various policies, notices, and other documents issued by the group; then, business personnel manually read and understand the document content, breaking it down into specific tasks; finally, assigning the tasks to various departments; and finally, managing the task list using tools such as Excel. However, this process is highly dependent on manual operation, significantly limiting both efficiency and accuracy.
[0003] Specifically, manual task breakdown has significant efficiency bottlenecks. Because it requires interpreting documents and breaking down tasks one by one, the entire process is time-consuming and fails to meet the needs of enterprises for rapid response. Furthermore, manual interpretation is prone to misunderstandings and omissions, limiting the accuracy of task breakdown. More importantly, this method requires a large investment of human resources, resulting in high time and labor costs, making it difficult to scale up.
[0004] In recent years, some companies have begun to experiment with using large models to assist in task decomposition. Currently, the mainstream methods mainly include the following three: (1) Pure vector retrieval method. This method represents files and standard tasks in vector form and matches tasks by calculating vector similarity. Its drawback is that the accuracy is low and it is difficult to accurately match the correct task item, especially for complex tasks that require semantic reasoning, the matching effect is not good.
[0005] (2) Pure large language model retrieval method. This method inputs the entire file into a large language model, which then extracts the task directly. Its drawbacks are: the model inference is time-consuming and consumes a large number of lexical units, resulting in high call costs and making it difficult to meet real-time requirements; at the same time, the context window of the large language model is limited and cannot directly process extremely long documents.
[0006] (3) Hybrid retrieval method. This method attempts to combine the advantages of vector retrieval and large language model retrieval in order to improve accuracy. However, existing hybrid retrieval methods still have many shortcomings: In summary, there is a need in the art to provide a task analysis method, apparatus, device, medium, and product based on task units that can overcome the deficiencies of the prior art. Summary of the Invention
[0007] The purpose of this invention is to provide a task analysis method, apparatus, device, medium, and product based on task units. This objective is achieved through the following technical solutions.
[0008] In a first aspect, one embodiment of the present invention provides a task analysis method based on task units, which includes multiple steps: It reads task templates from the document and the standard task library, and divides the document into blocks according to chapters, heading levels, and paragraph boundaries; the standard task library is a pre-built, structured collection of standard tasks. The format of the segmented documents and task templates is converted into structured task units; where a structured task unit is a standardized data structure containing multiple fields. Candidate tasks are selected from task templates based on the vector similarity between documents and task templates; The confidence level of a candidate task is calculated based on whether there is corresponding evidence in the document for the fields of the candidate task; the confidence level includes three levels: high, medium and low. Processing decisions are generated based on the responsible party, time constraints, conditional constraints, and evidence coverage of candidate tasks with high confidence. Generate a list of tasks processed according to the processing decision.
[0009] According to the above-described embodiment of the present invention, the task analysis method based on task units includes fields of a standardized data structure such as task action, task object, responsible entity, collaborating entity, time constraint, condition constraint, task type, source chapter, evidence fragment, evidence location, standard task identifier, and task primary key.
[0010] The task analysis method based on task units provided by the above embodiment of the present invention includes the following steps for calculating the confidence level of a candidate task based on whether there is corresponding evidence in the document for a field of the candidate task: For candidate tasks, a multi-granularity evidence alignment matrix is constructed, which includes two dimensions: evidence granularity and fields to be tested. The evidence granularity is used as the retrieval granularity to search the documents for whether there is corresponding evidence for each field to be tested. The types of evidence include direct support, indirect support, conflict, and missing evidence. Based on the type of evidence, the confidence level of the candidate task is calculated according to the preset score and weight.
[0011] According to the above-described embodiment of the present invention, a task analysis method based on task units is provided, wherein generating a processing decision based on the responsible party, time constraints, conditional constraints, and evidence coverage of a candidate task with high confidence includes the following steps: Candidate tasks with high confidence are used as nodes. Edges connecting nodes are constructed based on their task actions, objects, and types. These edges are then categorized according to the responsible party, time constraints, conditional constraints, and evidence coverage, thus creating a task constraint graph. The types of edges include repetition, inclusion, dependency, collaboration, conflicting responsible parties, and conflicting time constraints. Processing decisions for nodes are generated based on the task constraint graph; these decisions include task retention, task merging, task splitting, conflict retention, and pending confirmation.
[0012] According to the above-described embodiment of the present invention, a task analysis method based on task units is provided, wherein selecting candidate tasks from a task template based on vector similarity includes the following steps: Calculate the complexity score of the document; the complexity score is calculated based on the number of segments in the document, average word size, chapter density, professional terminology density, imperative verb density, cross-departmental expression frequency, and historical hit distribution, according to preset scores and weights; The vector similarity retrieval parameters are adjusted based on the complexity score; these parameters include the vector similarity threshold, the number of candidate tasks, and the retrieval granularity. Complexity is negatively correlated with the vector similarity threshold, positively correlated with the number of candidate tasks, and positively correlated with the retrieval granularity. Candidate tasks are selected from the task templates based on vector similarity retrieval parameters.
[0013] According to one embodiment of the present invention, the task analysis method based on task units includes evidence granularity at the chapter, paragraph, sentence, and phrase levels; and field dimensions including task action, task object, responsible party, time constraint, and condition constraint.
[0014] According to the above-described embodiment of the present invention, the task analysis method based on task units includes the following steps in retrieving evidence from a document for each field to be examined: Search the document to find whether there is positive direct and indirect supporting evidence corresponding to the field to be tested; Search the document for conflicting evidence that contradicts the field to be tested.
[0015] The task analysis method based on task units provided by the above embodiment of the present invention includes the following steps for calculating the confidence level of a candidate task: Calculate the confidence score C for the candidate task: C = α*S_sem + β*S_support + γ*S_completion + δ*S_consistency – λ*S_conflict Where S_sem represents the semantic matching score between the candidate task and the document, S_support represents the strength score of direct and indirect supporting evidence, S_completion represents the field completeness score of the candidate task, S_consistency represents the logical consistency score between fields of the candidate task, S_conflict represents the penalty score for conflicting evidence, and α, β, γ, δ, and λ are preset weight parameters; and The confidence level of the candidate task is calculated based on the preset confidence threshold and confidence score.
[0016] According to one embodiment of the present invention, the task analysis method based on task units further includes: Add candidate tasks with medium confidence levels to the pending confirmation task list, awaiting manual review by the user; and Intercept candidate tasks with low confidence and generate an interception report; the interception report includes an explanation of the missing or conflicting evidence for the candidate task.
[0017] According to one embodiment of the present invention, a task analysis method based on task units is provided, wherein the task analysis method based on task units uses a priori update mechanism based on feedback revision, and the priori update mechanism based on feedback revision includes the following steps: Collect human intervention data and extract feedback samples; the human intervention data includes changes in field values of structured task units before and after human revision, as well as human confirmation and modification of candidate tasks, confidence levels, and processing decisions; the feedback samples have the same data format. Feedback samples are evaluated according to preset evaluation criteria, and the prior knowledge base is updated using feedback samples that meet the evaluation criteria. These evaluation criteria include the frequency of similar corrections, the consistency level of the modified content, and the consistency between the modification time and the type of modified object. The prior knowledge base is applied to subsequent tasks; in this context, the prior knowledge base can be used to filter candidate tasks, correct the confidence level of structured task units, and provide recommended processing suggestions for the list of tasks to be confirmed.
[0018] According to one embodiment of the present invention, a task analysis method based on task units is provided, wherein a state machine orchestration mechanism is used to control and manage the execution flow of the task analysis method based on task units, and the state machine includes: Initialize the node to load the standard task library, industry terminology dictionary, historical feedback, and documents to be processed; The document preprocessing node is used to check the vectorization status and read pre-stored vectors; Structured task unit building nodes are used to extract task-related fields and generate structured task units; The evidence alignment and field validation node is used to generate candidate tasks, generate multi-granularity evidence alignment matrices, determine the types of evidence, and obtain confidence scores. The global optimization and task fusion decision node is used to construct task constraint graphs and generate processing decisions; The task save node is used to save the task list and the list of tasks to be confirmed; Feedback summarization and prior update nodes are used to extract manually revised samples and update the prior knowledge base.
[0019] Secondly, one embodiment of the present invention provides a task analysis apparatus based on task units, comprising: The reading module is used to read documents and task templates from a standard task library, and to divide the document into blocks according to chapters, heading levels, and paragraph boundaries; wherein, the standard task library is a pre-built, structured collection of standard tasks; The conversion module is used to convert the format of the segmented document and the task template into a structured task unit; wherein the structured task unit is a standardized data structure containing multiple fields. A candidate task generation module is used to filter candidate tasks from the task template based on the vector similarity between the document and the task template; The evidence retrieval module is used to calculate the confidence level of the candidate task based on whether there is corresponding evidence in the document for the fields of the candidate task; wherein the confidence level includes three levels: high, medium and low. The decision-making module is used to generate processing decisions based on the responsible party, time constraints, conditional constraints, and evidence coverage of the candidate tasks with high confidence. The task list generation module is used to generate a task list after processing according to the processing decision.
[0020] According to one embodiment of the present invention, the task analysis device based on task units includes fields of a standardized data structure such as task action, task object, responsible entity, collaborating entity, time constraint, condition constraint, task type, source chapter, evidence fragment, evidence location, standard task identifier, and task primary key.
[0021] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the evidence retrieval module includes: The evidence matrix submodule is used to construct a multi-granularity evidence alignment matrix with two dimensions: evidence granularity and field to be tested, for candidate tasks. The evidence granularity is used as the retrieval granularity to search the document for whether there is corresponding evidence for each field to be tested. The types of evidence include direct support, indirect support, conflict, and missing evidence. The confidence submodule is used to calculate the confidence level of the candidate task according to the type of evidence and a preset score and weight.
[0022] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the decision module includes the following steps: The task constraint graph submodule is used to treat the candidate tasks with high confidence as nodes, construct the association edges between the nodes based on the task actions, task objects, and task types of the nodes, and classify the association edges according to the responsible party, time constraints, conditional constraints, and evidence coverage of the nodes, thereby establishing a task constraint graph; wherein the types of association edges include repetition relationships, inclusion relationships, dependency relationships, cooperative relationships, responsible party conflict relationships, and time constraint conflict relationships; and The processing decision for the node is generated based on the task constraint graph; wherein the processing decision includes task retention, task merging, task splitting, conflict retention, and pending confirmation.
[0023] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the candidate task generation module includes: The complexity calculation submodule is used to calculate the complexity score of a document. The complexity score is calculated based on the number of segments in the document, the average word size, the chapter density, the density of technical terms, the density of imperative verbs, the frequency of cross-departmental expressions, and the historical hit distribution, according to preset scores and weights. The retrieval parameter adjustment submodule is used to adjust the vector similarity retrieval parameters based on the complexity score. These parameters include a vector similarity threshold, the number of candidate tasks, and the retrieval granularity. Complexity is negatively correlated with the vector similarity threshold, positively correlated with the number of candidate tasks, and positively correlated with the retrieval granularity. The filtering submodule is used to filter candidate tasks from the task template based on vector similarity search parameters.
[0024] According to one embodiment of the present invention, the task analysis device based on task units includes evidence granularity at the chapter, paragraph, sentence, and phrase levels; and field dimensions including task action, task object, responsible party, time constraint, and condition constraint.
[0025] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the evidence matrix submodule includes: The forward extraction submodule is used to search the document for direct and indirect supporting evidence corresponding to the field to be tested. The reverse validation submodule is used to search the document for conflicting evidence that contradicts the field to be validated.
[0026] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the confidence submodule includes: The confidence scoring submodule is used to calculate the confidence score C for the candidate task. C = α*S_sem + β*S_support + γ*S_completion + δ*S_consistency – λ*S_conflict Where S_sem represents the semantic matching score between the candidate task and the document, S_support represents the strength score of direct and indirect supporting evidence, S_completion represents the field completeness score of the candidate task, S_consistency represents the logical consistency score between fields of the candidate task, S_conflict represents the penalty score for conflicting evidence, and α, β, γ, δ, and λ are preset weight parameters; and The confidence level submodule is used to calculate the confidence level of candidate tasks based on preset confidence thresholds and confidence scores.
[0027] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the task analysis apparatus based on task units further includes: The medium confidence level task module is used to add candidate tasks with medium confidence level to the task list for manual review by the user; and The low-confidence task module is used to intercept candidate tasks with low confidence and generate an interception report. The interception report includes an explanation of whether the candidate task has missing or conflicting evidence.
[0028] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the task analysis apparatus based on task units further includes a priori update module based on feedback revision, the priori update module including: The feedback sample collection submodule is used to collect human intervention data and extract feedback samples. The human intervention data includes changes in field values of structured task units before and after human revision, as well as human confirmation and modification of candidate tasks, confidence levels, and processing decisions. The feedback samples have the same data format. The feedback sample evaluation submodule is used to evaluate feedback samples according to preset evaluation criteria, and to update the prior knowledge base using feedback samples that meet the evaluation criteria. These evaluation criteria include the frequency of similar corrections, the consistency level of the modified content, and the consistency between the modification time and the type of the modified object. The prior knowledge base application submodule is used to apply the prior knowledge base to subsequent tasks; the prior knowledge base can be used to filter candidate tasks, correct the confidence level of structured task units, and provide recommended processing suggestions for the list of tasks to be confirmed.
[0029] According to one embodiment of the present invention, a task analysis device based on task units is provided, wherein the task analysis device based on task units further includes a state machine module, the state machine module using a state machine orchestration mechanism to control and manage the operation of the task analysis device based on task units, the state machine including: Initialize the node to load the standard task library, industry terminology dictionary, historical feedback, and documents to be processed; The document preprocessing node is used to check the vectorization status and read pre-stored vectors; Structured task unit building nodes are used to extract task-related fields and generate structured task units; The evidence alignment and field validation node is used to generate candidate tasks, generate multi-granularity evidence alignment matrices, determine the types of evidence, and obtain confidence scores. The global optimization and task fusion decision node is used to construct task constraint graphs and generate processing decisions; The task save node is used to save the task list and the list of tasks to be confirmed; Feedback summarization and prior update nodes are used to extract manually revised samples and update the prior knowledge base.
[0030] Thirdly, one embodiment of the present invention provides an electronic device comprising: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that are executed by the at least one processor to enable the at least one processor to perform the method as described in any implementation of the first aspect.
[0031] Fourthly, one embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by one or more processors, implements the method as described in any implementation of the first aspect.
[0032] Fifthly, one embodiment of the present invention provides a computer program product comprising a computer program / instructions that, when executed by a processor, implement the method as described in any of the implementations in the first aspect.
[0033] The task analysis method, apparatus, device, medium, and product based on task units according to embodiments of the present invention achieve: reduced number of large model calls; reduced large model illusion rate, error merging rate, and responsibility attribution error rate; automated completion of document interpretation, task list generation, and reliable output, thereby improving enterprise management level and execution efficiency. The present invention will be further described below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0034] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0035] Figure 1 An exemplary system architecture diagram is shown in which an embodiment of the present invention can be applied; Figure 2 A flowchart of a task analysis method based on task units according to an embodiment of the present invention is shown; Figure 3 A flowchart illustrating the calculation of the confidence level of a candidate task based on whether there is corresponding evidence in a document for a field of the candidate task, according to an embodiment of the present invention, is provided. Figure 4 A flowchart illustrating a process for generating processing decisions based on the responsible party, time constraints, conditional constraints, and evidence coverage of a candidate task with high confidence, according to an embodiment of the present invention, is shown. Figure 5 A flowchart illustrating a method for selecting candidate tasks from a task template based on vector similarity according to an embodiment of the present invention is shown. Figure 6 A flowchart is shown, illustrating a method according to an embodiment of the present invention for retrieving evidence from a document to examine each field to be examined to determine whether corresponding evidence exists. Figure 7 A flowchart illustrating the calculation of confidence levels for candidate tasks according to an embodiment of the present invention is shown; Figure 8 A flowchart of a priori update mechanism based on feedback revision according to an embodiment of the present invention is shown; Figure 9 A schematic diagram of a state machine according to an embodiment of the present invention is shown; Figure 10A schematic diagram of the structure of a task analysis device based on a task unit according to an embodiment of the present invention is shown; Figure 11 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention is shown.
[0036] Figure 12 , Figure 13 , Figure 14 , Figure 15 An example diagram of a task decomposition process based on structured task units according to an embodiment of the present invention is shown. Detailed Implementation
[0037] To enable those skilled in the art to better understand the technical solutions of the present invention, and to fully understand and implement the process of how the present invention applies technical means to solve technical problems and achieve corresponding technical effects, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. The embodiments of the present invention and the various features within them can be combined with each other without conflict, and the resulting technical solutions are all within the protection scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0039] Figure 1 An exemplary system architecture is shown, illustrating embodiments of the task analysis method, apparatus, device, medium, and product based on task units to which the present invention can be applied. For example... Figure 1As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0040] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104, uploading documents to be processed or managing tasks. Terminal devices 101, 102, and 103 can be hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with displays, including but not limited to smartphones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 players (Moving Picture Experts Group Audio Layer IV), laptops, and desktop computers, etc. When terminal devices 101, 102, and 103 are software, they can be installed on the aforementioned terminal devices. They can be implemented as multiple software programs or software modules (e.g., used to run task analysis software) or as a single software program or software module. No specific limitations are made here.
[0041] In some cases, the task analysis method provided by this invention can be executed by terminal devices 101, 102, and 103, and correspondingly, the task analysis device can be set in terminal devices 101, 102, and 103. In this case, the system architecture 100 may not include server 105.
[0042] In some cases, the task analysis method provided by this invention can be jointly executed by terminal devices 101, 102, and 103 and server 105. For example, the step of "converting documents into structured task units" can be executed by terminal devices 101, 102, and 103, and the step of "generating candidate tasks based on document complexity" can also be executed by server 105. This invention does not limit this. Correspondingly, the task analysis device can also be respectively set in terminal devices 101, 102, and 103 and server 105.
[0043] In some cases, the task analysis method provided by the present invention can be executed by the server 105. Correspondingly, the task analysis device can also be set in the server 105. In this case, the system architecture 100 may not include terminal devices 101, 102, and 103.
[0044] It should be noted that server 105 can be either hardware or software. When server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When server 105 is software, it can be implemented as multiple software programs or software modules (for example, used to provide distributed services), or as a single software program or software module. No specific limitations are made here.
[0045] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0046] Figure 2 A flowchart of a task analysis method based on task units according to an embodiment of the present invention is shown, such as... Figure 2 As shown, it includes several steps: Step 1: Read the document and task templates from the standard task library, and divide the document into blocks according to chapters, heading levels, and paragraph boundaries; the standard task library is a pre-built, structured collection of standard tasks. Step 2: Convert the format of the segmented document and task template into structured task units; where a structured task unit is a standardized data structure containing multiple fields. Step 3: Select candidate tasks from the task templates based on the vector similarity between the documents and the task templates; Step 4: Calculate the confidence level of the candidate task based on whether there is corresponding evidence in the document for the fields of the candidate task; the confidence level includes three levels: high, medium and low. Step 5: Generate processing decisions based on the responsible party, time constraints, conditional constraints, and evidence coverage of the candidate tasks with high confidence; where evidence coverage refers to the completeness and sufficiency of finding original supporting evidence for each field (such as action, object, responsible party, time, etc.) of a structured task unit from the original document; Step 6: Generate a list of tasks processed according to the processing decision.
[0047] According to the above-described embodiment of the present invention, the task analysis method based on task units includes fields of a standardized data structure such as task action, task object, responsible entity, collaborating entity, time constraint, condition constraint, task type, source chapter, evidence fragment, evidence location, standard task identifier, and task primary key.
[0048] The document-side structured task units are generated by combining document chunking results with information extraction from a large model, while the standard task-side structured task units are generated through parsing standard task templates and standardizing fields. Task actions represent behavior types such as "construction, formulation, rectification, promotion, and inspection"; task objects represent business objects or governance objects; responsible entities and collaborating entities represent the departments undertaking the task and the departments cooperating; time constraints and condition constraints represent deadlines, milestones, triggering conditions, and prerequisites; and evidence fragments and evidence locations record the supporting content of the original text and its location information.
[0049] Specifically, in one embodiment, the task analysis method first performs semantic segmentation based on the document's chapters, heading levels, and paragraph boundaries, and then performs preliminary rule recognition on action words, responsibility words, time words, and condition words in the document fragments; subsequently, it calls a large model to complete fields and perform semantic classification; finally, it uses an industry terminology dictionary, a department dictionary, and time expression specifications to perform correction, normalization, and standard encoding on the field results.
[0050] By using a unified structured task unit representation, the problems of scattered task fields, difficulty in consistently extracting responsible parties, and difficulty in aligning time constraints are solved, upgrading task analysis from text-level fuzzy matching to field-level precise alignment. By binding original text evidence with structured fields, the results of each subsequent task can be traced back to specific chapters and original text locations, improving the interpretability and traceability of the results.
[0051] Figure 3 A flowchart illustrating the calculation of a candidate task's confidence level based on whether corresponding evidence exists in a document for a field of the candidate task, according to an embodiment of the present invention, is provided. Figure 3 As shown, calculating the confidence level of a candidate task based on whether there is corresponding evidence in the document for a field of the candidate task includes the following steps: Step 41: Construct a multi-granularity evidence alignment matrix for the candidate task, including two dimensions: evidence granularity and field to be tested. Using evidence granularity as the retrieval granularity, search the documents to see if there is corresponding evidence for each field to be tested. The types of evidence include direct support, indirect support, conflict, and missing. Indirect support evidence refers to information in the document that can enhance the credibility of the judgment on the field from the side or logically, or supplement the reasonableness of the field.
[0052] Step 42: Calculate the confidence level of the candidate task according to the type of evidence and the preset score and weight.
[0053] Figure 4 A flowchart illustrating a process for generating processing decisions based on the responsible party, time constraints, conditional constraints, and evidence coverage of candidate tasks with high confidence levels, according to one embodiment of the present invention, is shown. Figure 4As shown, the process of generating a processing decision based on the responsible party, time constraints, conditional constraints, and evidence coverage of high-confidence candidate tasks includes the following steps: Step 51: Using high-confidence candidate tasks as nodes, construct association edges between nodes based on their task actions, task objects, and task types. Classify these association edges according to the responsible party, time constraints, conditional constraints, and evidence coverage to establish a task constraint graph. The types of association edges include repetition, inclusion, dependency, collaboration, conflicting responsible parties, and conflicting time constraints. Step 52: Generate processing decisions for nodes based on the task constraint graph; where processing decisions include task retention, task merging, task splitting, conflict retention, and pending confirmation.
[0054] Specifically, in one embodiment, for tasks that appear to be mergeable locally but have conflicts in responsibility, time sequence, or preconditions in the global relationship, the present invention does not directly merge them. Instead, it combines the adjacency relationship and conflict weight in the task constraint graph to perform conflict resolution and output multiple versions of retained results or results to be confirmed. For tasks that appear repeatedly across chapters or documents, the system combines the global evidence distribution to complete fields and unify and merge them, thereby generating a globally consistent, semantically complete, and constraint-interpretable task list.
[0055] This invention upgrades the traditional pairwise fusion and deduplication mechanism to a global consistency optimization mechanism based on task constraint graphs. It not only determines whether tasks are similar, but also further determines whether tasks can be safely merged, whether they should be split, and whether multiple versions should be retained within the global context. By introducing global solution and conflict resolution mechanisms, it reduces the risk of erroneous merging caused by mismatched responsible parties, time requirements, and constraints, and improves the stability of cross-chapter and cross-document task fusion.
[0056] Figure 5 A flowchart illustrating a method for selecting candidate tasks from a task template based on vector similarity according to an embodiment of the present invention is shown. Figure 5 As shown, the process of selecting candidate tasks from task templates based on vector similarity includes the following steps: Step 31: Calculate the complexity score of the document; The complexity score is calculated based on the number of segments in the document, average word size, chapter density, professional terminology density, imperative verb density, cross-departmental expression frequency, and historical hit distribution, according to preset scores and weights; Step 32: Adjust the vector similarity retrieval parameters based on the complexity score; whereby the vector similarity retrieval parameters include the vector similarity threshold, the number of candidate tasks, and the retrieval granularity. Complexity is negatively correlated with the vector similarity threshold, positively correlated with the number of candidate tasks, and positively correlated with the retrieval granularity; and Step 33: Select candidate tasks from the task template based on the vector similarity retrieval parameters.
[0057] Specifically, in one embodiment, for small documents or documents with simple structures, the task analysis method uses all standard tasks or a larger candidate range for recall to avoid missed detections; for medium-to-large documents or documents with complex structures, the task analysis method first uses vector retrieval to filter highly relevant candidate tasks, and then combines topic tags, department tags, time tags, and task type tags to reorder the rules; for terminology-intensive documents, the task analysis method increases the terminology matching weight and narrows the candidate range to reduce semantic drift and invalid calls.
[0058] During the candidate generation process, this invention introduces a dual scoring mechanism of "semantic similarity + field constraint compatibility". Semantic similarity is used to evaluate the overall semantic closeness between the document fragment and the standard task, while field constraint compatibility is used to evaluate the compatibility between the candidate task and the current document fragment in terms of responsible subject, time window, topic tags and action type. The task analysis method forms a set of candidate tasks based on the comprehensive score and performs batch concurrent processing.
[0059] By adopting an adaptive candidate task generation mechanism, the traditional coarse pre-screening with fixed thresholds is upgraded to a dynamic retrieval method based on document features. This allows documents of different sizes, topics, and complexities to be automatically matched with more suitable candidate generation strategies, which reduces the cost of calling large language models and improves task recall and candidate quality.
[0060] According to one embodiment of the present invention, the task analysis method based on task units includes evidence granularity at the chapter, paragraph, sentence, and phrase levels; and field dimensions including task action, task object, responsible party, time constraint, and condition constraint.
[0061] Figure 6 A flowchart illustrating the process of retrieving evidence from a document for each field to be examined, according to an embodiment of the present invention, is shown. For example... Figure 6 As shown, the process of searching the document for evidence to exist for each field to be tested includes the following steps: Step 411: Forward extraction stage, search the document to see if there is direct and indirect supporting evidence corresponding to the field to be tested; Step 412: Reverse verification phase, search the document for conflicting evidence that contradicts the field to be verified.
[0062] According to the above-described embodiment of the present invention, in a task analysis method based on task units, if a certain field has clear supporting evidence and no conflicting evidence is detected, the confidence of the field is increased; if a certain field has both supporting evidence and conflicting evidence, the field is marked as a conflicting field; if no valid evidence is found for a certain field, the field is marked as a missing field.
[0063] Figure 7 A flowchart illustrating the calculation of confidence levels for candidate tasks according to one embodiment of the present invention is shown. Figure 7 As shown, calculating the confidence level of a candidate task includes the following steps: Step 421: Calculate the confidence score C for the candidate task: C = α*S_sem + β*S_support + γ*S_completion + δ*S_consistency – λ*S_conflict Wherein, S_sem represents the semantic matching score between the candidate task and the document, S_support represents the strength score of direct and indirect supporting evidence, S_completion represents the field completeness score of the candidate task, S_consistency represents the logical consistency score between fields of the candidate task, S_conflict represents the penalty score for conflicting evidence, and α, β, γ, δ, and λ are preset weight parameters, for example: α=0.3, β=0.25, γ=0.2, δ=0.15, λ=0.1; and Step 422: Calculate the confidence level of the candidate task based on the preset confidence threshold and confidence score; for example: the confidence threshold includes a first confidence threshold and a second confidence threshold, the first confidence threshold is greater than the second confidence threshold. If the confidence score of the candidate task is greater than or equal to the first confidence threshold, the confidence level of the candidate task is high; if the confidence score of the candidate task is less than the second confidence threshold, the confidence level of the candidate task is low; if the confidence score of the candidate task is greater than or equal to the second confidence threshold and less than the first confidence threshold, the confidence level of the candidate task is medium.
[0064] According to one embodiment of the present invention, the task analysis method based on task units further includes: Add candidate tasks with medium confidence levels to the pending confirmation task list, awaiting manual review by the user; and Intercept candidate tasks with low confidence and generate an interception report; the interception report includes an explanation of the missing or conflicting evidence for the candidate task.
[0065] By constructing a task verification closed loop through multi-granularity evidence alignment, positive field extraction, and negative evidence exclusion, this invention can complete field-level verification, evidence-level verification, and counter-evidence-level verification before task output, compared to a single large language model matching method. The comprehensive confidence scoring model further integrates semantic correctness, evidence support strength, field completeness, and logical consistency into the decision-making process, improving the credibility and interpretability of the results.
[0066] The task analysis method based on task units provided by the above-described embodiment of the present invention uses a priori update mechanism based on feedback revision. Figure 8 A flowchart illustrating a priori update mechanism based on feedback revision according to an embodiment of the present invention is shown. Figure 8 As shown, the prior update mechanism based on feedback revision includes the following steps: Step 301: Collect human intervention data and extract feedback samples; wherein, the human intervention data includes the changes in field values of structured task units before and after human revision, as well as human confirmation and modification of candidate tasks, confidence levels, and processing decisions; the feedback samples have the same data format; Step 302: Evaluate the feedback samples according to preset evaluation criteria, and update the prior knowledge base using feedback samples that meet the evaluation criteria; wherein, the evaluation criteria include the frequency of similar corrections, the consistency level of the modified content, the consistency of the modification time and the type of the modified object; and Step 303: Apply the prior knowledge base to subsequent tasks; wherein, the prior knowledge base can be used to filter candidate tasks, correct the confidence level of structured task units, and provide recommended processing suggestions for the list of tasks to be confirmed.
[0067] In one embodiment, the task analysis method can also leverage a long-accumulated prior knowledge base and rule priors in conjunction with the task analysis and fusion process. By combining rule priors, human experience, and large language model reasoning, this invention forms a closed-loop mechanism of "model extraction - evidence verification - manual revision - prior update - reapplication," thereby continuously optimizing the effectiveness of responsible entity identification, time constraint identification, and conflict resolution decision-making as business usage progresses.
[0068] The feedback revision results are transformed into continuously updated prior knowledge, which is then used in candidate generation, confidence correction, and conflict resolution processes. This enables the task analysis method to not only "extract" information but also "verify, interpret, and iteratively enhance" it. Compared to schemes that rely solely on large language model training, this invention has stronger sustainable evolution capabilities and more clearly defined methodological steps.
[0069] The task analysis method based on task units provided by the above-described embodiment of the present invention uses a state machine orchestration mechanism to control and manage the execution flow of the task analysis method based on task units. The state machine orchestration mechanism is a design pattern for managing complex business processes or system interactions. It combines the deterministic state transitions of a state machine with the centralized control of task steps through orchestration.
[0070] Figure 9 A schematic diagram of a state machine according to an embodiment of the present invention is shown. Figure 9 As shown, the state machine includes: Initialize node 401 to load the standard task library, industry terminology dictionary, historical feedback, and documents to be processed; Document preprocessing node 402 is used to check the vectorization status and read pre-stored vectors; Structured task unit building node 403 is used for extracting task-related fields and generating structured task units; The evidence alignment and field validation node 404 is used to generate candidate tasks, generate a multi-granularity evidence alignment matrix, determine the type of evidence, and obtain a confidence score. Global optimization and task fusion decision node 405 is used to construct task constraint graphs and generate processing decisions; Task save node 406 is used to save the task list and the list of tasks to be confirmed. Feedback summarization and prior update node 407 is used to extract manually revised samples and update the prior knowledge base.
[0071] Specifically, in one embodiment, the state machine also has a state snapshot mechanism, which saves intermediate states at key nodes to support fault recovery and audit tracing; an error handling mechanism independently captures exceptions at the node level and automatically rolls back in scenarios such as vectorization failure, model call failure, and data storage anomalies. For example, if the 'evidence alignment and field verification node' fails to call the large model, the system automatically rolls back to the 'structured task unit construction node' and reuses the cached results of the last successful call; if more than 3 consecutive failures occur, the current task analysis process is terminated and an error report is output; a concurrency control mechanism controls the number of large language model calls through concurrency quotas and prevents repeated task execution through a coordination control mechanism; and a real-time feedback mechanism outputs task decomposition progress, evidence verification status, conflict detection results, and pending confirmation prompts through server-side push.
[0072] This invention upgrades the state machine from a simple engineering orchestration tool into an execution framework for a trusted task processing flow, creating a closed loop between structured extraction, evidence verification, fusion decision-making, and manual confirmation. Through snapshot, rollback, real-time feedback, and field-level editing mechanisms, it balances system stability, interactivity, and auditing capabilities.
[0073] Secondly, Figure 10 A schematic diagram of a task analysis apparatus based on task units according to an embodiment of the present invention is shown. Figure 10 As shown, the task analysis device based on task units includes: The reading module 201 is used to read the document and task templates in the standard task library, and divide the document into blocks according to chapters, heading levels and paragraph boundaries; wherein, the standard task library is a pre-built, structured collection of standard tasks; The conversion module 202 is used to convert the format of the segmented document and task template into a structured task unit; wherein, the structured task unit is a standardized data structure containing multiple fields. The candidate task generation module 203 is used to filter candidate tasks from the task template based on the vector similarity between the document and the task template. The evidence retrieval module 204 is used to calculate the confidence level of a candidate task based on whether there is corresponding evidence in the document for the fields of the candidate task; the confidence level includes three levels: high, medium and low. Decision module 205 is used to generate processing decisions based on the responsible party, time constraints, conditional constraints, and evidence coverage of candidate tasks with high confidence. The task list generation module 206 is used to generate a task list after processing according to the processing decision.
[0074] It should be noted that the following submodules are not included. Figure 10 Chinese identifier.
[0075] According to one embodiment of the present invention, the task analysis device based on task units includes fields of a standardized data structure such as task action, task object, responsible entity, collaborating entity, time constraint, condition constraint, task type, source chapter, evidence fragment, evidence location, standard task identifier, and task primary key.
[0076] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the evidence retrieval module includes: The evidence matrix submodule is used to construct a multi-granularity evidence alignment matrix with two dimensions: evidence granularity and field to be tested, for candidate tasks. The evidence granularity is used as the retrieval granularity to search the document for whether there is corresponding evidence for each field to be tested. The types of evidence include direct support, indirect support, conflict, and missing evidence. The confidence submodule is used to calculate the confidence level of the candidate task according to the type of evidence and a preset score and weight.
[0077] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the decision module includes the following steps: The task constraint graph submodule is used to treat the candidate tasks with high confidence as nodes, construct the association edges between the nodes based on the task actions, task objects, and task types of the nodes, and classify the association edges according to the responsible party, time constraints, conditional constraints, and evidence coverage of the nodes, thereby establishing a task constraint graph; wherein the types of association edges include repetition relationships, inclusion relationships, dependency relationships, cooperative relationships, responsible party conflict relationships, and time constraint conflict relationships; and The processing decision for the node is generated based on the task constraint graph; wherein the processing decision includes task retention, task merging, task splitting, conflict retention, and pending confirmation.
[0078] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the candidate task generation module includes: The complexity calculation submodule is used to calculate the complexity score of a document. The complexity score is calculated based on the number of segments in the document, the average word size, the chapter density, the density of technical terms, the density of imperative verbs, the frequency of cross-departmental expressions, and the historical hit distribution, according to preset scores and weights. The retrieval parameter adjustment submodule is used to adjust the vector similarity retrieval parameters based on the complexity score. These parameters include a vector similarity threshold, the number of candidate tasks, and the retrieval granularity. Complexity is negatively correlated with the vector similarity threshold, positively correlated with the number of candidate tasks, and positively correlated with the retrieval granularity. The filtering submodule is used to filter candidate tasks from the task template based on vector similarity search parameters.
[0079] According to one embodiment of the present invention, the task analysis device based on task units includes evidence granularity at the chapter, paragraph, sentence, and phrase levels; and field dimensions including task action, task object, responsible party, time constraint, and condition constraint.
[0080] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the evidence matrix submodule includes: The forward extraction submodule is used to search the document for direct and indirect supporting evidence corresponding to the field to be tested. The reverse validation submodule is used to search the document for conflicting evidence that contradicts the field to be validated.
[0081] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the confidence submodule includes: The confidence scoring submodule is used to calculate the confidence score C for the candidate task. C = α*S_sem + β*S_support + γ*S_completion + δ*S_consistency – λ*S_conflict Where S_sem represents the semantic matching score between the candidate task and the document, S_support represents the strength score of direct and indirect supporting evidence, S_completion represents the field completeness score of the candidate task, S_consistency represents the logical consistency score between fields of the candidate task, S_conflict represents the penalty score for conflicting evidence, and α, β, γ, δ, and λ are preset weight parameters; and The confidence level submodule is used to calculate the confidence level of candidate tasks based on preset confidence thresholds and confidence scores.
[0082] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the task analysis apparatus based on task units further includes: The medium confidence level task module 207 is used to add candidate tasks with medium confidence level to the task list to be confirmed, awaiting manual review by the user; and The low-confidence task module 208 is used to intercept candidate tasks with low confidence and generate an interception report; the interception report includes an explanation of the missing or conflicting evidence corresponding to the candidate task.
[0083] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the task analysis apparatus based on task units further includes a priori update module based on feedback revision. Figure 10 (Not marked in the text) The prior update module includes: The feedback sample collection submodule is used to collect human intervention data and extract feedback samples. The human intervention data includes changes in field values of structured task units before and after human revision, as well as human confirmation and modification of candidate tasks, confidence levels, and processing decisions. The feedback samples have the same data format. The feedback sample evaluation submodule is used to evaluate feedback samples according to preset evaluation criteria, and to update the prior knowledge base using feedback samples that meet the evaluation criteria. These evaluation criteria include the frequency of similar corrections, the consistency level of the modified content, and the consistency between the modification time and the type of the modified object. The prior knowledge base application submodule is used to apply the prior knowledge base to subsequent tasks; the prior knowledge base can be used to filter candidate tasks, correct the confidence level of structured task units, and provide recommended processing suggestions for the list of tasks to be confirmed.
[0084] According to one embodiment of the present invention, a task analysis apparatus based on task units is provided, wherein the task analysis apparatus based on task units further includes a state machine module ( Figure 10 (Not shown in the text) The state machine module uses a state machine orchestration mechanism to control and manage the operation of the task analysis device based on task units. The state machine includes: Initialize the node to load the standard task library, industry terminology dictionary, historical feedback, and documents to be processed; The document preprocessing node is used to check the vectorization status and read pre-stored vectors; Structured task unit building nodes are used to extract task-related fields and generate structured task units; The evidence alignment and field validation node is used to generate candidate tasks, generate multi-granularity evidence alignment matrices, determine the types of evidence, and obtain confidence scores. The global optimization and task fusion decision node is used to construct task constraint graphs and generate processing decisions; The task save node is used to save the task list and the list of tasks to be confirmed; Feedback summarization and prior update nodes are used to extract manually revised samples and update the prior knowledge base.
[0085] Thirdly, Figure 11 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention is shown. Figure 11 As shown, it includes: At least one processor 902; and, A memory 901 is communicatively connected to the at least one processor 902; wherein, The memory 901 stores instructions that are executed by the at least one processor 902 to enable the at least one processor 902 to perform the method as described in any implementation of the first aspect.
[0086] Fourthly, one embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by one or more processors, implements the method as described in any implementation of the first aspect.
[0087] Fifthly, one embodiment of the present invention provides a computer program product comprising a computer program / instructions that, when executed by a processor, implement the method as described in any of the implementations in the first aspect.
[0088] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0089] Technical effect This invention achieves several advantages. First, by using a unified structured task unit representation, the system can stably extract key fields such as actions, objects, responsible parties, time constraints, and conditional constraints, achieving a field-level consistency accuracy of 91-93%. This solves the problem that traditional solutions can only obtain "semantically similar text" but struggle to output stable structured results. Second, through a multi-granularity evidence alignment matrix and a reverse evidence verification mechanism, the system can simultaneously identify supporting evidence, reinforcing evidence, and conflicting evidence, achieving an evidence coverage rate of 90-94%, a rebuttal evidence identification accuracy of 86-89%, and a low-confidence task interception rate of 82-88%. This reduces the risks of large-model illusion output, misattribution of responsible parties, and direct inclusion of tasks with insufficient evidence into the database.
[0090] In terms of processing efficiency and cost control, the adaptive candidate task generation mechanism dynamically compresses 200 standard tasks into 40-70 high-quality candidate tasks, reducing the amount of data that needs to be processed by the large language model, lowering lexical consumption and model call costs, and reducing the number of large language model calls by more than 70%. Batch concurrent processing combined with pre-stored vector reuse shortens the task decomposition time from 300 seconds to 60-100 seconds, improving the overall processing speed by 3-5 times. Compared with fixed threshold retrieval, adaptive candidate generation reduces invalid candidates while maintaining a high recall rate, further improving system throughput.
[0091] In terms of task fusion, this invention further introduces a task constraint graph and a global consistency optimization mechanism. It moves beyond local text similarity judgments and solves problems uniformly from multiple dimensions, including repetition relationships, inclusion relationships, dependency relationships, conflicting responsible parties, and time constraint conflicts. As a result, the global consistency score reaches 89-92%, the task fusion accuracy reaches 88-91%, the conflict identification accuracy reaches 87-90%, the conflict resolution success rate reaches 84-88%, and the field completion rate reaches 87-90%. For tasks with conflicting responsible parties, time constraints, or inconsistent conditional constraints, the system automatically retains multiple versions and transfers them to the pending confirmation result, making the final task list more credible and interpretable. The feedback revision-driven prior update mechanism further enhances the structured extraction, evidence location, and conflict resolution capabilities, improving the task decomposition accuracy by 20-30%, reducing the proportion of manual intervention by more than 60%, while ensuring the system has continuous evolution capabilities and result traceability.
[0092] At the business level, automated and intelligent task decomposition improves task decomposition efficiency, reduces human resource investment, and lowers time costs, thereby improving the company's overall work efficiency. The large-scale model possesses powerful text understanding and analysis capabilities, accurately identifying key information in policy documents, avoiding misunderstandings and omissions caused by human factors, improving the accuracy of task decomposition, and thus enhancing the accuracy of task execution.
[0093] Real-time progress feedback displays the process and results of task breakdown, allowing users to intuitively understand the details of the task breakdown, improving system usability and user satisfaction, and achieving visualization of the task breakdown process. Automated task breakdown ensures that every requirement of policy documents is implemented promptly and effectively. Intelligent task breakdown and integration enhance the company's management level and market competitiveness.
[0094] Example 1: Task decomposition based on structured task units Implementation environment: ● Hardware environment: General server environment with multi-core processing power and sufficient memory ● Software environment: Document parsing service, task orchestration service, and model invocation service ● Large Model: A general-purpose large language model with strong Chinese capabilities ● Vector Model: General Text Vectorization Model Implementation steps: Step 1: User uploads document Users upload policy documents through the business interface, and the system returns the acceptance result immediately without blocking subsequent operations.
[0095] Step 2: Asynchronous Document Parsing The background performs asynchronous document parsing, using a document parsing engine to convert the original document into structured text. The parsing result is as follows: Figure 12 As shown.
[0096] Step 3: Intelligent Document Chunking The system uses an intelligent document segmentation strategy to identify documents by chapter level, and the results are as follows: Figure 13 As shown.
[0097] Step 4: Constructing Structured Task Units The system extracts fields from document fragments to generate structured task units. The results are as follows: Figure 14 As shown.
[0098] Step 5: Adaptive Candidate Task Generation The system calculates complexity features, including the number of segments, chapter density, term density, and imperative verb density, and dynamically sets the candidate generation strategy accordingly. Assuming the standard task library has 200 tasks, the system adjusts the similarity threshold to 0.42, sets the upper limit of the number of candidates to 60, and finally selects 52 candidate tasks.
[0099] Step Six: Forward Field Extraction, Multi-Granularity Evidence Alignment, and Reverse Evidence Verification The system performs positive field extraction on document fragments and their candidate tasks. It then constructs a field-evidence alignment matrix based on actions, objects, responsible parties, time constraints, and conditional constraints. The extracted results are used to review supporting and conflicting evidence in the original text, and the overall confidence score is output. The results are as follows: Figure 15 As shown.
[0100] Example 2: Capability Building Based on Feedback Sample Accumulation and Industry-Specific Enhancements Implementation environment: ● Hardware environment: Server environment with model training acceleration capabilities ● Software environment: Model training framework and parameter optimization components ● Basic Model: A general-purpose large language model with strong Chinese proficiency Implementation steps: Step 1: Collection of Historical Data and Feedback Samples The system collects historical policy documents, task lists, and records of manual confirmation and revision, covering different time periods, policy themes, and task types. Let's assume it collects 100 historical policy documents, 1000 task lists, and 300 records of manual revisions.
[0101] Data preprocessing includes: 1. Text cleaning (removing irrelevant information, formatting text) 2. Structured partitioning and field alignment 3. Classify according to dimensions such as chronological order, policy type, policy theme, and conflict type. Step Two: High-precision data annotation and feedback classification The system tags key information in policy documents, including: 1. Tag key information in policy documents: policy objectives, implementation measures, timelines, action words, target terms, conditions and constraints, etc. 2. Tag the task information in the task list: task type, priority, related policies, responsible department, evidence fragment boundaries, conflict tags, and counter-evidence tags, etc. 3. Categorize the results of manual revisions to form samples of revisions by responsible parties, revisions subject to time constraints, splitting and merging, and conflict resolution. 4. Manual high-precision annotation and verification to ensure annotation quality and create high-quality training and feedback sample sets. Step 3: Constructing a reusable data foundation and a priori sample foundation The system collects and organizes historical task list data and manual revision records to construct a structured training set, an evidence-aligned sample set, and a priori sample set, providing a unified data foundation for subsequent industry-specific enhancements.
[0102] Step 4: Industry-Specific Capability Optimization and Prior Knowledge Extraction The system selects a general-purpose language model with strong Chinese capabilities as the training foundation, and conducts industry-adapted training with structured field extraction, evidence localization, counter-evidence identification, and conflict resolution as optimization objectives. Simultaneously, the system extracts prior knowledge of responsible parties, time constraints, conditional constraints, task splitting, task merging, and conflict resolution from feedback samples and writes them into a prior knowledge base. Through parallel execution of model capability optimization and prior knowledge extraction, it forms customized enhancement capabilities adapted to industry scenarios to meet the needs of automatically splitting task lists, verifying evidence, optimizing global consistency, and routing pending confirmations.
[0103] Step 5: Model Evaluation and Optimization The system uses a test set to evaluate the model's performance. The test set contains 200 labeled data points. The evaluation metrics are as follows: ● Accuracy: 92% ● Recall rate: 88% ● F1 score: 90% ● Field-level consistency accuracy: 91% ● Evidence coverage: 90% ● Accuracy rate of identifying counter-evidence: 86% ● Global consistency score: 90% ● Conflict detection accuracy: 87% Based on the evaluation results, the model's capabilities and prior knowledge base are optimized simultaneously, including supplementing training data, correcting low-frequency priors, adjusting conflict weights, and updating the scope of applicable scenarios.
[0104] Step Six: Capability Deployment and Integration The system deploys optimized dedicated capability modules and prior knowledge bases on the server side to provide real-time services to the business interface. Structured extraction capabilities, evidence verification capabilities, task constraint graph optimization capabilities, and prior update capabilities are uniformly integrated into the task analysis and fusion platform, enabling efficient and flexible platform-level invocation.
[0105] Step 7: Validation of Results The system uses optimized, dedicated capabilities to break down tasks, and the effects before and after optimization are compared. Task breakdown accuracy improved from 70% to 92%, a 22% increase. Field-level consistency accuracy improved from 72% to 91%, a 19% increase. Counter-evidence identification accuracy improved from 52% to 86%, a 34% increase. Conflict identification accuracy improved from 58% to 87%, a 29% increase. Manual intervention decreased from 40% to 15%, a 25% reduction.
[0106] Example 3: Performance Testing Implementation Environment The hardware environment is a general-purpose high-performance server environment, including multi-core processors, large-capacity memory, and model inference acceleration devices. The software environment includes document processing services, task orchestration services, and model invocation services. Testing tools include stress testing tools and unit testing tools.
[0107] Test Scenario 1: Processing performance of documents of different sizes Test objective: To verify the system's processing performance and accuracy under different document sizes.
[0108] Test data includes small documents (less than 1,000 words, 1-2 document fragments), medium documents (3,000-5,000 words, 3-5 document fragments), large documents (8,000-10,000 words, 8-12 document fragments), and very large documents (15,000-20,000 words, 15-25 document fragments).
[0109] The test results are shown in Table 1 below:
[0110] Table 1 Results Analysis Processing time exhibits a linear relationship with document size, demonstrating good scalability. Lexical consumption increases with document size, but at a slower rate than linear, primarily due to adaptive candidate generation. Task extraction accuracy, field consistency accuracy, evidence coverage, counter-evidence identification accuracy, and global consistency score remain stable across different document sizes, proving that the system can not only handle documents of varying lengths but also stably output structured fields, identify conflicting evidence, and perform global optimization. Processing time for extremely large documents (20,000 characters) remains within 2.5 minutes, with a field completion rate exceeding 87%, meeting real-time and reliability requirements.
[0111] Test Scenario 2: High Concurrency Stress Test Test objective: To verify the system's performance and stability under high concurrency scenarios.
[0112] Test parameters include concurrent users (10, 50, 100, 200), test duration (10 minutes), and document size (medium-sized document, 5000 words).
[0113] The test results are shown in Table 2 below:
[0114] Table 2 Results Analysis The system performed stably with an error rate below 2% for up to 100 concurrent users. At 200 concurrent users, the error rate increased to 5.8%, primarily due to rate limiting of the model service and data connection resource saturation. Processor and memory usage increased with increasing concurrency, but resource exhaustion did not occur. It is recommended that the production environment be configured with a maximum concurrency of 100, and horizontal scaling be achieved by increasing the number of application instances.
[0115] Performance test results Test instructions: ● Test sample: 100 corporate policy documents, with an average length of 5,000 words, and a standard task library of 200.
[0116] ● Test environment: General high-performance server environment, including multi-core processors, large-capacity memory and model inference acceleration devices.
[0117] ● Evaluation method: Accuracy and recall are evaluated using manually annotated standard answers.
[0118] ● Cost Calculation: Estimated based on the word-based billing method of mainstream large model services.
[0119] Table 3 below shows the performance of the present invention in practical applications:
[0120] Table 3 As can be seen from Table 3, this invention reduces costs and processing time while maintaining high accuracy. Furthermore, it improves the credibility of results through methods such as proof by contradiction, global optimization of constraint graphs, conflict resolution, and routing of pending confirmations. It is an efficient, accurate, low-cost, and interpretable solution for task decomposition and fusion.
[0121] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0123] While the embodiments disclosed in this invention are as described above, the above content is merely for the purpose of facilitating understanding of this invention and is not intended to limit the invention. Any person skilled in the art to which this invention pertains may make any modifications and changes in form and detail of the implementation without departing from the spirit and scope disclosed in this invention; however, the scope of patent protection of this invention shall still be determined by the scope defined in the appended claims.
Claims
1. A task analysis method based on task units, characterized in that, It includes several steps: Read the document and task templates from the standard task library, and divide the document into blocks according to chapters, heading levels, and paragraph boundaries; wherein, the standard task library is a pre-built, structured collection of standard tasks; The format of the segmented document and the task template is converted into a structured task unit; wherein the structured task unit is a standardized data structure containing multiple fields; Candidate tasks are selected from the task template based on the vector similarity between the document and the task template; The confidence level of the candidate task is calculated based on whether there is corresponding evidence in the document for the fields of the candidate task; wherein the confidence level includes three levels: high, medium and low. A processing decision is generated based on the responsible party, time constraints, conditional constraints, and evidence coverage of the candidate tasks with high confidence. Generate a list of tasks processed according to the aforementioned processing decision.
2. The method according to claim 1, characterized in that, The step of calculating the confidence level of the candidate task based on whether there is corresponding evidence in the document for the fields of the candidate task includes the following steps: For candidate tasks, a multi-granularity evidence alignment matrix is constructed, comprising two dimensions: evidence granularity and field to be tested. Using the evidence granularity as the retrieval granularity, the document is searched to determine whether there is corresponding evidence for each of the fields to be tested. The types of evidence include direct support, indirect support, conflict, and missing evidence. Based on the type of evidence, the confidence level of the candidate task is calculated according to a preset score and weight. The calculation of the confidence level of the candidate task includes the following steps: Calculate the confidence score C for the candidate task: C = α*S_sem + β*S_support + γ*S_completion + δ*S_consistency – λ*S_conflict Wherein, S_sem represents the semantic matching score between the candidate task and the document, S_support represents the strength scores of the direct and indirect supporting evidence, S_completion represents the field completeness score of the candidate task, S_consistency represents the logical consistency score between the fields of the candidate task, S_conflict represents the penalty score for conflicting evidence, and α, β, γ, δ, and λ are preset weight parameters; and The confidence level of the candidate task is calculated based on the preset confidence threshold and the confidence score.
3. The method according to claim 2, characterized in that, The standardized data structure includes fields for task action, task object, responsible entity, collaborating entity, time constraint, condition constraint, task type, source chapter, evidence fragment, evidence location, standard task identifier, and task primary key. The process of generating a processing decision based on the responsible entity, time constraint, condition constraint, and evidence coverage of the candidate tasks with high confidence includes the following steps: The candidate tasks with high confidence are used as nodes. Relationships between these nodes are constructed based on their task actions, task objects, and task types. These relationships are then categorized according to the responsible party, time constraints, conditional constraints, and evidence coverage, thus establishing a task constraint graph. The types of relationships include repetition, inclusion, dependency, collaboration, conflicting responsible parties, and conflicting time constraints. The processing decision for the node is generated based on the task constraint graph; wherein the processing decision includes task retention, task merging, task splitting, conflict retention, and pending confirmation.
4. The method according to claim 3, characterized in that, The process of selecting candidate tasks from the task template based on the vector similarity includes the following steps: Calculate the complexity score of the document; wherein the complexity score is calculated based on the number of segments, average word size, chapter density, professional term density, imperative verb density, cross-departmental expression frequency, and historical hit distribution in the document, according to preset scores and weights; The vector similarity retrieval parameters are adjusted based on the complexity score; wherein the vector similarity retrieval parameters include a vector similarity threshold, the number of candidate tasks, and the retrieval granularity; the complexity is negatively correlated with the vector similarity threshold, positively correlated with the number of candidate tasks, and positively correlated with the retrieval granularity; and Candidate tasks are selected from the task template based on the vector similarity retrieval parameters.
5. The method according to claim 4, characterized in that, The task analysis method based on task units uses a prior update mechanism based on feedback revision, which includes the following steps: Collect human intervention data and extract feedback samples; wherein, the human intervention data includes changes in field values of the structured task unit before and after human revision, as well as human confirmation and modification of candidate tasks, confidence levels, and processing decisions; the feedback samples have the same data format; The feedback samples are evaluated according to preset evaluation criteria, and the prior knowledge base is updated using the feedback samples that meet the evaluation criteria; wherein, the evaluation criteria include the frequency of occurrence of similar corrections, the consistency level of the modified content, and the consistency of modification time and modified object type; and The prior knowledge base is applied to subsequent tasks; wherein, the prior knowledge base can be used to filter candidate tasks, correct the confidence level of structured task units, and provide recommended processing suggestions for the list of tasks to be confirmed.
6. The method according to claim 5, characterized in that, The execution flow of the task unit-based task analysis method is controlled and managed using a state machine orchestration mechanism, wherein the state machine includes: Initialize the node to load the standard task library, industry terminology dictionary, historical feedback, and documents to be processed; The document preprocessing node is used to check the vectorization status and read pre-stored vectors; A structured task unit building node is used to extract task-related fields and generate the structured task unit; The evidence alignment and field verification node is used to generate the candidate task, generate the multi-granularity evidence alignment matrix, determine the type of evidence, and obtain a confidence score. The global optimization and task fusion decision node is used to construct task constraint graphs and generate processing decisions; The task save node is used to save the task list and the list of tasks to be confirmed; Feedback summarization and prior update nodes are used to extract manually revised samples and update the prior knowledge base.
7. A task analysis device based on task units, characterized in that, include: The reading module is used to read documents and task templates from a standard task library, and to divide the document into blocks according to chapters, heading levels, and paragraph boundaries; wherein, the standard task library is a pre-built, structured collection of standard tasks; The conversion module is used to convert the format of the segmented document and the task template into a structured task unit; wherein the structured task unit is a standardized data structure containing multiple fields. A candidate task generation module is used to filter candidate tasks from the task template based on the vector similarity between the document and the task template; The evidence retrieval module is used to calculate the confidence level of the candidate task based on whether there is corresponding evidence in the document for the fields of the candidate task; wherein the confidence level includes three levels: high, medium and low. The decision-making module is used to generate processing decisions based on the responsible party, time constraints, conditional constraints, and evidence coverage of the candidate tasks with high confidence. The task list generation module is used to generate a task list after processing according to the processing decision.
8. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that are executed by the at least one processor to enable the at least one processor to perform the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.
10. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the method as described in any one of claims 1 to 6.
