Power transmission and distribution production task cooperation system and method based on intelligent agent
Through the intelligent collaborative system, the analytical error and resource conflict problems of the traditional power transmission and distribution production task scheduling system are solved, efficient and accurate task scheduling and resource allocation are achieved, and the efficiency and reliability of power production are improved.
Patent Information
- Application Number
- CN202510829563.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-06-20
AI Technical Summary
When traditional power transmission and distribution production task scheduling systems face complex power systems and multi-sense power terms, they have analytical errors, static priority scheduling conflicts, lack of real-time resource state perception and closed-loop feedback mechanisms, resulting in inefficient resource allocation and decision-making deviations.
The power transmission and distribution production task collaboration system is adopted based on the agent, including the natural language input interaction module, the power field knowledge enhancement analysis module, the dynamic interactive context memory module, the intelligent task scheduling and conflict resolution module, the agent task execution and collaboration module and the system closed-loop feedback optimization module. Through the power field knowledge graph, LSTM and attention mechanism, multi-agent collaboration and closed-loop feedback mechanism, task dismantling, dynamic priority adjustment and resource conflict resolution are achieved.
The accuracy of power production task analysis has been improved to 85%, task priority has been adjusted dynamically, resource conflicts have been reduced, scheduling strategies have been optimized, and task execution time has been shortened by 20-40%.
Smart Images

Figure CN120338452A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of distribution production task scheduling, and specifically to an agent-based collaborative system and method for transmission and distribution production tasks. Background Art
[0002] Currently, the scheduling of transmission and distribution production tasks mainly relies on rule engines and simple natural language processing (NLP) technologies to achieve instruction parsing and task allocation. For example, power terms are matched through regular expressions and mapped to work order fields, or resource scheduling is performed based on static priority rules. However, with the rapid development of distributed new energy, intelligent devices, and complex business scenarios in the new power system, traditional systems have shown significant limitations; Firstly, there are a large number of professional terms (such as "creepage distance", "power factor") and polysemous expressions (such as "isolation" may refer to equipment isolation or network isolation) in the power field. Due to the lack of in-depth integration of domain knowledge, traditional NLP models are difficult to accurately identify the semantics of terms and their context associations. For example, when a power grid work order system uses the TF-IDF algorithm to extract terms, without combining equipment ledgers and historical fault data, "circuit breaker anomaly" is misparsed as "switchgear failure", resulting in misallocation of scheduling resources; Secondly, existing scheduling systems mostly adopt static priority rules (such as dividing task priorities according to fault levels), without making full use of historical interaction data and real-time resource status. For example, in a certain regional power grid during extreme weather, due to the failure to dynamically adjust the equipment importance coefficient, high-priority power protection tasks compete with regular maintenance tasks for limited resources, resulting in scheduling conflicts. In addition, traditional methods do not establish the temporal dependency relationship between tasks. For example, it is not recognized that the maintenance of "equipment A" needs to be carried out after the power outage of "equipment B", resulting in incorrect generation of operation tickets; In addition, traditional systems lack a closed-loop feedback mechanism and cannot iteratively optimize the model according to task execution results. For example, a certain scheduling platform fails to analyze the execution time data of historical work orders, resulting in the preset task time threshold deviating from the actual value for a long time, affecting resource allocation efficiency. At the same time, manual intervention mostly relies on empirical judgment. For example, the adjustment of the urgency weighting coefficient in special scenarios lacks a quantitative basis, easily leading to decision-making biases. Summary of the Invention
[0003] The purpose of the present invention is to provide an agent-based collaborative system and method for transmission and distribution production tasks to solve the problems raised in the prior art.
[0004] To achieve the above purpose, the present invention provides the following technical solutions: An agent-based collaborative system for power transmission and distribution production tasks, comprising a natural language input interaction module, a power domain knowledge enhanced parsing module, a dynamic interaction context memory module, an intelligent task scheduling and conflict resolution module, an agent task execution and collaboration module, and a system closed-loop feedback optimization module; the natural language input interaction module is used to receive natural language instructions and multimodal information from users, convert them into structured data, and transmit them to the power domain knowledge enhanced parsing module for processing; the power domain knowledge enhanced parsing module uses a corpus and a knowledge graph to parse power professional instructions and establish a mapping relationship with business data; the dynamic interaction context memory module is responsible for recording keyword information in multi-round conversations and providing support for the generation of scheduling strategies based on historical interactions; the intelligent task scheduling and conflict resolution module is responsible for disassembling complex instructions into executable subtasks, dynamically adjusting task priorities, and resolving resource conflicts; the agent task execution and collaboration module is used to drive professional agents to execute specific tasks and support collaboration between agents; the system closed-loop feedback optimization module records task execution results, optimizes the system model and scheduling strategies, and forms an iterative closed loop.
[0005] The natural language input interaction module includes a power term recognition and instruction standardization unit and a multimodal information parsing and association unit; The power term recognition and instruction standardization unit collects text data in CSV format from the power grid work order system, equipment management system, and historical fault database, eliminates noise data through regular expressions, directly eliminates data with missing key information, fills non-keyword fields with "none", and performs word segmentation using a Chinese word segmentation tool; processes the preprocessed text data using the TF-IDF algorithm, extracts power professional terms with a scale of millions that appear more than 10 times, and constructs a term weight matrix; then, through remote supervision annotation technology, establishes a mapping relationship between the terms and the equipment IDs in the equipment ledger and the maintenance type fields in the work orders; finally, based on the BERT pre-trained model, fine-tunes it in combination with the screened and updated corpus, sets the learning rate to 2e-5, sets the batch size to 16, and constructs a power domain intent recognition model, which converts natural language instructions into standardized operation codes; The multi-modal information parsing and association unit uses the CTPN algorithm to locate the text area in the work order picture, and then uses a bidirectional LSTM network to recognize the characters in the text area. The hidden layer dimension of the bidirectional LSTM network is set to 128. Then, it uses a U-Net model enhanced by the attention mechanism to segment the work order table area. The convolution kernel size of the U-Net model is set to 3x3, and then a rule engine is used to extract the table fields. Through the cosine similarity algorithm, it matches the current instruction with the historical conversation and automatically fills in the missing information in the context. When the input natural language instruction does not meet the specification, it prompts the user to re-enter. When the text area location fails due to poor quality of the work order picture, it tries to perform image enhancement processing and prompts the user to upload a clear picture.
[0006] The power domain knowledge enhanced parsing module includes a corpus construction and update unit, a knowledge graph modeling and extension unit, and a large model domain adaptation and fine-tuning unit; The corpus construction and update unit pulls CSV format text data from the power grid work order system, equipment management system, and historical fault database through API interfaces, cleans the data through regular expressions, and remotely supervises and manually verifies to label entities and relationships. The labeled entities and relationships are directly used as seed data for knowledge graph triple extraction. Then, it filters out professional terms that appear ≥10 times / 10,000 in the power domain and ≤5 times / 10,000 in the general domain through TF-IDF, and stores them in JSON format according to the entity-attribute-relationship structure. At the same time, it establishes a dynamic update mechanism to automatically identify and supplement domain terms according to new business data; The knowledge graph modeling and extension unit forms an unstructured text triple model based on the entity relationship rules predefined by the rule engine, extracts entity relationships by parsing business system data and stores them in the graph database to build a knowledge graph covering power transmission and distribution production elements. When a new task type is added to the work order system, the system automatically retrieves corpus terms and creates associated nodes, and at the same time updates the extraction rules. Finally, it regularly cleans the graph, deletes isolated nodes, merges synonymous nodes, and establishes an index semantic retrieval for high-frequency fields; The large model domain adaptation and fine-tuning unit converts the preprocessed natural language instruction into a structured input, combines the training samples generated from the domain knowledge in the corpus, optimizes the model parameters for tasks such as equipment maintenance and material scheduling in power transmission and distribution production, and establishes a mapping relationship from natural language instructions to business data such as work order fields, equipment identifiers, and material requirements. After training, it deploys the model to the production environment and continuously optimizes according to the actual parsing results to ensure that the model can accurately identify complex instruction intentions and output executable business parameters.
[0007] The dynamic interaction context memory module includes an interaction log storage and retrieval unit and a context reasoning and feature unit; The interactive log storage and retrieval unit is responsible for storing the key information of multi-round conversations in a structured manner, supporting retrieval based on devices, regions, and time, and providing historical interaction data support for context reasoning; Specifically: it collects in real-time the instruction parsing results output by the natural language input interaction module, the scheduling decisions of the intelligent task scheduling and conflict resolution module, and the feedback results of the agent execution module; then it structures the interaction data according to fixed fields, including basic information, instruction features, associated parameters, and scheduling records; the basic information includes the conversation ID, timestamp, and user identification; the instruction features include the task type, the original natural language instruction, and the parsed standardized operation code; the associated parameters include the device ID, substation area code, material type / quantity, and work order number; the scheduling records include the resource allocation plan, execution results, and scheduling decision parameters; then it stores the structured fields containing the above basic information, instruction features, associated parameters, and scheduling records as interaction logs in JSON format, and uses a time series database to establish a partition index in the form of device ID + area code + timestamp; The context reasoning and feature generation unit generates context feature vectors containing historical associated information based on historical interaction logs, through simulating the human long-term memory processing and key information focusing mechanism, providing decision support for the intelligent task scheduling and conflict resolution module; specifically: first, it converts the discrete features in the interaction log into embedding vectors, normalizes the continuous features, and forms an input sequence of 128 dimensions; it uses a two-layer bidirectional LSTM network, with 256 neurons in each layer, through a memory mechanism composed of a forget gate, an input gate, a cell state, and an output gate to capture the forward and backward dependencies of historical interactions, the forget gate filters out irrelevant historical information, the input gate screens and retains the current key information, the cell state integrates new and old information to form a memory carrier, and the output gate generates a hidden state; on this basis, it calculates the dot product similarity between the current instruction and the historical hidden states through an attention mechanism, generates attention weights to focus on highly relevant historical information, sums up the weighted historical hidden states, and generates a 256-dimensional context feature vector, encoding information such as historical frequently fault-occurring areas and associated equipment maintenance records, where the historical frequently fault-occurring areas are generated by associating the device historical fault records through a knowledge graph to generate area fault frequency features; finally, this vector is input into the three-dimensional priority evaluation model of the intelligent task scheduling and conflict resolution module as the basis for dynamically adjusting the task priority, realizing the association between historical experience and current scheduling decisions.
[0008] The intelligent task scheduling and conflict resolution module includes a task decomposition and parameter mapping unit, a three-dimensional priority evaluation and adjustment unit, and an agent orchestration and conflict resolution algorithm unit; The task decomposition and parameter mapping unit disassembles complex natural language instructions into an executable subtask sequence and establishes a mapping relationship between instruction parameters and business system data; Specifically: Based on the instruction parsing results output by the knowledge enhancement parsing module in the power field, the instructions are disassembled into a standardized subtask sequence through predefined task decomposition rules to form a task template library covering the core business of power transmission and distribution production; the parsed business parameters are formatted according to the input requirements of subtasks to ensure that the parameters are consistent with the interface specifications of business systems such as equipment management and material inventory; when a new task type is added, the task template is automatically extended by parsing corpus terms and knowledge graph entity relationships to achieve full-scenario coverage disassembly of complex instructions and establish a mapping relationship from natural language instructions to executable tasks. The three-dimensional priority evaluation and adjustment unit is responsible for constructing a quantitative evaluation model including urgency, impact scope, and resource occupancy, and dynamically adjusting the task priority in combination with historical interaction data. Specifically: First, define multi-dimensional evaluation indicators, namely urgency U, impact scope I, and resource occupancy R; the calculation formula for urgency U is as follows: ; where U base represents the basic urgency of the fault type, and the preset value range is [20, 100], which is determined by the fault severity defined in the power field knowledge graph; W u represents the emergency label coefficient, with the preset value for ordinary tasks being 1.0, the marked emergency tasks being 1.5, and the extremely urgent tasks being 2.0. The calculation formula for impact scope I is as follows: ; I dev represents the basic value of equipment importance, C i represents the equipment importance level coefficient, and the equipment importance level comes from the importance attribute annotation of the equipment entity in the knowledge graph. A u represents the number of users affected by the power outage, and the data is collected in real time from the feedback of the agent execution module. The calculation formula for resource occupancy R is as follows: ; Sc represents the current inventory of the target material, which is read in real time from the material inventory system; Ss represents the safety inventory of the target material, and the safety inventory comes from the minimum reserve standard in the material management specification. Nc represents the number of resource scheduling conflicts, including but not limited to conflicts such as personnel, vehicles, and equipment operation permissions. Then, according to the above three-dimensional indicators including urgency, impact scope, and resource occupancy, calculate the comprehensive priority of the three-dimensional indicators through a linear weighted model, and the calculation formula is as follows: ; Among them, the preset weight coefficients α, β, and γ respectively correspond to the urgency, the influence range, and the importance of resource occupation. Then, the historical interaction features output by the dynamic interaction context memory are introduced to correct the comprehensive priority calculation result, realizing the dynamic adjustment of the task priority. The intelligent agent orchestration and conflict resolution algorithm unit orchestrates the multi-agent collaboration process based on the priority evaluation result, and detects and resolves resource conflicts in real time. Specifically: The multi-agent collaboration logic is defined using a standardized process language to clarify the input and output interfaces and execution order of each intelligent agent, forming a configurable process template library. When an intelligent agent calls a shared resource, conflicts are detected in real time through a resource status marking mechanism, and the priority of the conflicting task and the type of resource occupation are recorded. Then, a hierarchical resolution strategy is implemented according to the priority difference of the conflicting tasks: resources are preferentially allocated to high-priority tasks, and for tasks with similar priorities, the remaining resources are evenly allocated based on the resource inventory and task duration, that is, the remaining resources are allocated according to the priority ratio. And the task execution status of each intelligent agent is synchronized to the scheduling engine in real time to dynamically adjust the sub-task timing. Among them, high-priority tasks are preset as P≥80, and tasks with similar priorities are preset as 60≤P<80.
[0009] The intelligent agent task execution and collaboration module includes an intelligent agent tool library encapsulation and extension unit and a multi-agent collaboration communication and synchronization unit. The intelligent agent tool library encapsulation and extension unit is responsible for encapsulating the standardized tool interfaces required for power transmission and distribution production, supporting the access and function extension of third-party business systems, and providing operation capabilities for intelligent agents to execute tasks. Specifically: For the power transmission and distribution production business system, API interfaces with a unified format are designed, and the parameters follow the coding and data specifications of the power industry and are aligned with the entities defined by the power domain knowledge enhancement parsing module. An extensible interface is designed using a plug-in architecture, and new tools are registered through a configuration file, and parameter format compatibility verification is performed during access. Then, an interface call log recording mechanism is established to monitor the response time and error rate in real time, perform permission verification on the device control interface, and verify the operation permission in combination with the unified digital authentication module. The multi-agent collaboration communication and synchronization unit is responsible for establishing a communication mechanism and status synchronization rules among intelligent agents to ensure that multiple intelligent agents cooperate with each other during task execution and share progress and resource information in real time. Specifically: First, design a lightweight communication message format that includes basic information and business content to ensure the standardization of instruction transfer and status feedback among agents; store the resource status of the material library in real time through distributed caching. When a task starts / ends, the agent sends a status update message to the intelligent task scheduling and conflict resolution module to achieve real-time synchronization of task progress and resource status; then establish an exception cooperation handling mechanism. When an agent fails to execute, it sends an exception notification and triggers a backup agent to take over, supporting resource preemption and execution interruption of high-priority tasks over low-priority tasks to ensure that urgent tasks are completed first.
[0010] The system closed-loop feedback optimization module includes an execution log analysis and exception detection unit and a model update and manual intervention unit; The execution log analysis and exception detection unit is used to analyze task execution data in real time, identify abnormal scenarios and generate optimization suggestions, providing a basis for the iteration of the system model and scheduling strategy; Specifically: First, collect the task execution results of the agent task execution and cooperation module, the scheduling decision records of the intelligent task scheduling and conflict resolution module, and the historical interaction logs of the dynamic interaction context memory module in real time to form structured log data including task ID, device ID, execution time, and exception type; then define preset detection rules, including that the actual task execution time exceeds the preset time-consuming threshold, the number of conflicts of the same resource within a unit time exceeds the set value, and natural language instructions are continuously not correctly mapped to work order fields. Among them, the preset time-consuming threshold is 1.5 times the historical execution time of similar tasks; by comparing the actual execution data with the preset rules, locate the abnormal link and generate an optimization suggestion report including the exception type, occurrence time, and influence range; associate the abnormal data with the corpus terms and knowledge graph entity relationships of the power domain knowledge enhancement analysis module; The model update and manual intervention unit automatically updates the system model parameters according to the execution log analysis results and provides a manual adjustment interface to achieve dynamic optimization of the scheduling strategy; Specifically: when instruction parsing errors and new task types are detected, extract the uncovered terms and missing entity relationships from the exception log, and then trigger the corpus dynamic expansion process of the power domain knowledge enhancement parsing module, which is incorporated into the core data system after manual verification; when resource conflicts occur frequently and task scheduling is unbalanced, adjust the weights of the three-dimensional evaluation model of the intelligent task scheduling and conflict resolution module according to the exception detection results, and the adjusted parameters are automatically synchronized to the scheduling engine; provide a visual operation interface that allows administrators to manually correct the wrongly labeled entity relationships in the corpus, temporarily increase the emergency weighting coefficient of task types for special scenarios, and synchronize the manual adjustment operation records to the log system as correction data for subsequent automated model training, where special scenarios include but are not limited to major power protection tasks and natural disaster emergency dispatching tasks, which are identified by system-preset scenario tags; after each model update, automatically select historical abnormal tasks for simulation verification, and officially release the update after passing the verification.
[0011] An agent-based collaborative method for transmission and distribution production tasks, comprising the following steps: S1. The natural language input interaction module receives the user's natural language instructions and multi-modal information, cleans the text data through the power term recognition unit, extracts high-frequency terms, and constructs an intention recognition model through fine-tuning of the BERT model to convert the natural language instructions into standardized operation codes; at the same time, the multi-modal information parsing unit processes the work order pictures through the CTPN algorithm, bidirectional LSTM, and U-Net model, combines the cosine similarity to match the historical conversation, and automatically fills in the missing information; S2. The power domain knowledge enhancement parsing module receives the standardized operation codes output by S1, pulls and cleans data from the business system, remotely supervises and labels entities and relationships such as equipment and materials, screens high-frequency terms to build a dynamically updated JSON-format corpus; the knowledge graph modeling unit analyzes business data to extract triples and stores them in the graph database, and automatically associates corpus terms when new task types are added; the large model fine-tuning unit optimizes parameters by combining corpus training samples to establish a mapping relationship from natural language instructions to work order fields, equipment identifiers, and material requirements; S3. The dynamic interaction context memory module continuously collects the instruction parsing results output by S1, the scheduling decisions of the intelligent task scheduling module in subsequent steps, and the agent execution feedback, and structurally stores them as interaction logs in fixed fields; the context reasoning unit processes the log features into input sequences, and generates context feature vectors containing historical failure frequencies and equipment maintenance records through bidirectional LSTM and attention mechanisms; S4. The intelligent task scheduling and conflict resolution module, based on the instruction parsing results output by S2 and the context feature vectors generated by S3, disassembles complex instructions into standardized subtasks through predefined rules, and converts parameter matching for the business system interface; defines the urgency, scope of influence, and resource occupancy metrics, calculates the comprehensive priority in combination with the context features; arranges the multi-agent collaboration process according to the priority, detects and resolves resource conflicts, and generates a scheduling instruction containing the subtask sequence and resource allocation plan; S5. The intelligent agent task execution and collaboration module receives the scheduling instruction output by S4, calls business systems such as device management and material inventory through the standardized API interface, and the parameters follow the power industry specifications; designs a lightweight communication format to synchronize the intelligent agent status, and triggers the standby takeover mechanism when the execution fails to ensure resource preemption for high-priority tasks; S6. The system closed-loop feedback optimization module collects the task execution results output by S5, the scheduling decision records of S4, and the historical interaction logs of S3 to form structured data; detects anomalies through preset rules, associates the terms in the corpus of S2 and the knowledge graph entities to locate problems; automatically updates the model parameters or provides an interface for manual intervention to adjust the strategy, and publishes the update after simulation verification.
[0012] Compared with the prior art, the beneficial effects of the present invention are: Domain knowledge enhanced parsing: Construct a knowledge graph containing device entities, maintenance rules, and business processes, associate terms with device ledgers and work order fields through remote supervision annotation technology to ensure that the parsing accuracy rate is ≥85%. Adopt the domain adaptation fine-tuning technology of large models to optimize parameters for scenarios such as power equipment maintenance and material scheduling, and realize the accurate mapping from natural language instructions to work order fields.
[0013] 2. Dynamic context-aware scheduling: Establish an interactive log storage and retrieval mechanism to record historical data such as task priorities and resource allocation plans, and generate context feature vectors containing regional fault frequencies and resource inventory status through the LSTM and attention mechanisms. Design a three-dimensional priority evaluation model (urgency × scope of influence × resource occupancy), dynamically adjust the task weights in combination with the importance level of devices in the knowledge graph, and realize multi-objective conflict resolution.
[0014] 3. Closed-loop feedback self-optimization: The execution log analysis module identifies abnormal tasks through a preset time-consuming threshold (1.5 times the historical execution time of similar tasks), and locates the faulty devices and associated scope of influence in combination with the knowledge graph. The model update module automatically iterates the scheduling strategy parameters, and the manual intervention module dynamically adjusts the urgency weighting coefficient through preset scenario tags (such as power protection tasks, disaster emergencies), and verifies the optimization effect through AB testing. Description of the Drawings
[0015] Figure 1This is the system working flowchart of an agent - based power transmission and distribution production task collaboration system of the present invention; Figure 2 This is the system organizational structure diagram of an agent - based power transmission and distribution production task collaboration system of the present invention. Specific implementation manners
[0016] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0017] Embodiment: As Figure 1 - Figure 2 shown, the present invention provides a technical solution, An agent - based power transmission and distribution production task collaboration system includes a natural language input interaction module, a power domain knowledge enhanced parsing module, a dynamic interaction context memory module, an intelligent task scheduling and conflict resolution module, an agent task execution and collaboration module, and a system closed - loop feedback optimization module; the natural language input interaction module is used to receive natural language instructions and multi - modal information from users, convert them into structured data, and transmit them to the power domain knowledge enhanced parsing module for processing; the power domain knowledge enhanced parsing module uses a corpus and a knowledge graph to parse power professional instructions and establish a mapping relationship with business data; the dynamic interaction context memory module is responsible for recording keyword information in multi - round conversations and providing support for the generation of scheduling strategies based on historical interactions; the intelligent task scheduling and conflict resolution module is responsible for decomposing complex instructions into executable subtasks, dynamically adjusting task priorities, and resolving resource conflicts; the agent task execution and collaboration module is used to drive professional agents to execute specific tasks and support collaboration between agents; the system closed - loop feedback optimization module records task execution results, optimizes the system model and scheduling strategies, and forms an iterative closed - loop.
[0018] The natural language input interaction module includes a power term recognition and instruction standardization unit and a multi - modal information parsing and association unit; The power term recognition and instruction standardization unit collects text data in CSV format from the power grid work order system, equipment management system, and historical fault database, eliminates noise data through regular expressions, directly eliminates data with missing key information, fills non-keyword fields with "none", and performs word segmentation using a Chinese word segmentation tool; applies the TF-IDF algorithm to process the preprocessed text data, extracts power professional terms with a scale of millions with a frequency of occurrence greater than 10 times, and constructs a term weight matrix; then, through remote supervision annotation technology, establishes a mapping relationship between the terms and the equipment IDs in the equipment ledger and the maintenance type fields in the work orders; finally, based on the BERT pre-trained model, fine-tunes it in combination with a screened and updated corpus, sets the learning rate to 2e - 5, sets the batch size to 16, and constructs a power domain intent recognition model, which converts natural language instructions into standardized operation codes; The multimodal information parsing and association unit uses the CTPN algorithm to locate the text area in the work order picture, and then uses a bidirectional LSTM network to perform character recognition on the text area. The hidden layer dimension of the bidirectional LSTM network is set to 128; then, uses a U-Net model enhanced by an attention mechanism to segment the work order table area. The convolution kernel size of the U-Net model is set to 3x3, and then uses a rule engine to extract table fields; through the cosine similarity algorithm, matches the current instruction with the historical conversation, automatically fills in the missing information in the context, and when the input natural language instruction does not conform to the specification, prompts the user to re-enter; when the text area positioning fails due to poor quality of the work order picture, attempts to perform image enhancement processing and prompts the user to upload a clear picture.
[0019] The power domain knowledge enhancement parsing module includes a corpus construction and update unit, a knowledge graph modeling and extension unit, and a large model domain adaptation and fine-tuning unit; The corpus construction and update unit pulls text data in CSV format from the power grid work order system, equipment management system, and historical fault database through an API interface, cleans the data through regular expressions, and remotely supervises and combines manual verification to annotate entities and relationships. The annotated entities and relationships are directly used as seed data for knowledge graph triple extraction; then, through TF-IDF, filters out professional terms in the power domain with a frequency of occurrence ≥ 10 times / 10,000 and in the general domain ≤ 5 times / 10,000, and stores them in JSON format according to the entity-attribute-relationship structure; at the same time, establishes a dynamic update mechanism to automatically identify and supplement domain terms according to new business data; the dynamic update mechanism is based on the TF-IDF algorithm to monitor new business data in real time. When it detects that the frequency of occurrence of uncovered terms ≥ 5 times / 1,000 entries, it automatically triggers the term supplementation process to ensure that the corpus coverage rate continues to increase with business expansion; The knowledge graph modeling and expansion unit forms an unstructured text triple model based on the entity relationship rules predefined by the rule engine, extracts entity relationships from the parsed business system data and stores them in the graph database, and constructs a knowledge graph covering the production elements of power transmission and distribution. When a new task type is added to the work order system, the system automatically retrieves the corpus terms and creates associated nodes, and at the same time updates the extraction rules. Finally, the graph is regularly cleaned, isolated nodes are deleted, synonymous nodes are merged, and an index semantic retrieval is established for high-frequency fields. The large model domain adaptation and fine-tuning unit converts the preprocessed natural language instructions into structured inputs, combines the training samples generated from the domain knowledge in the corpus, optimizes the model parameters for tasks such as equipment maintenance and material scheduling in power transmission and distribution production, and establishes a mapping relationship from natural language instructions to business data such as work order fields, equipment identifiers, and material requirements. After training, the model is deployed to the production environment and continuously optimized according to the actual parsing results to ensure that the model can accurately identify the intent of complex instructions and output executable business parameters.
[0020] The dynamic interaction context memory module includes an interaction log storage and retrieval unit and a context reasoning and feature unit. The interaction log storage and retrieval unit is responsible for structuring and storing the key information of multi-round conversations, supports retrieval based on equipment, region, and time, and provides historical interaction data support for context reasoning. Specifically: it real-time collects the instruction parsing results output by the natural language input interaction module, the scheduling decisions of the intelligent task scheduling and conflict resolution module, and the feedback results of the intelligent agent execution module; then structures the interaction data according to fixed fields, including basic information, instruction features, associated parameters, and scheduling records; the basic information includes the conversation ID, timestamp, and user identifier; the instruction features include the task type, the original natural language instruction, and the parsed standardized operation code; the associated parameters include the equipment ID, substation area code, material type / quantity, and work order number; the scheduling record includes the resource allocation plan, execution result, and scheduling decision parameters; then stores the structured fields including the above basic information, instruction features, associated parameters, and scheduling records in JSON format as interaction logs, and uses a time series database to establish a partition index in the form of equipment ID + area code + timestamp. The context reasoning and feature generation unit generates context feature vectors containing historical association information based on historical interaction logs, through simulating the human long-term memory processing and key information focusing mechanism, providing decision support for the intelligent task scheduling and conflict resolution module; specifically: First, convert the discrete features in the interaction logs into embedding vectors, and normalize the continuous features to form a 128-dimensional input sequence; adopt a two-layer bidirectional LSTM network, with 256 neurons in each layer, through the memory mechanism composed of a forget gate, an input gate, a cell state, and an output gate to capture the forward and backward dependencies of historical interactions. The forget gate filters out irrelevant historical information, the input gate screens and retains the current key information, the cell state integrates new and old information to form a memory carrier, and the output gate generates a hidden state; on this basis, calculate the dot product similarity between the current instruction and the historical hidden states through the attention mechanism to generate attention weights to focus on highly relevant historical information, sum the weighted historical hidden states to generate a 256-dimensional context feature vector, encoding information such as frequently failed areas in history and maintenance records of associated devices. Among them, the frequently failed areas in history are associated with device historical failure records through a knowledge graph to generate regional failure frequency features; this vector is input into the three-dimensional priority evaluation model of the intelligent task scheduling and conflict resolution module, automatically increasing the priority of the same type of tasks in the frequently failed areas in history by 10%-20%, realizing the quantitative support of historical experience for the current scheduling decision; finally, this vector is input into the three-dimensional priority evaluation model of the intelligent task scheduling and conflict resolution module as the basis for dynamically adjusting task priorities, realizing the association between historical experience and the current scheduling decision.
[0021] The intelligent task scheduling and conflict resolution module includes a task decomposition and parameter mapping unit, a three-dimensional priority evaluation and adjustment unit, and an agent orchestration and conflict resolution algorithm unit; The task decomposition and parameter mapping unit disassembles complex natural language instructions into an executable subtask sequence and establishes a mapping relationship between instruction parameters and business system data; Specifically: Based on the instruction parsing results output by the power domain knowledge enhancement parsing module, disassemble the instructions into a standardized subtask sequence through predefined task decomposition rules to form a task template library covering the core business of power transmission and distribution production; convert the parsed business parameters according to the input requirements of the subtasks to ensure that the interface specifications of the parameters are consistent with those of business systems such as equipment management and material inventory; when a new task type is added, automatically expand the task template by parsing corpus terms and knowledge graph entity relationships to achieve the full-scenario coverage disassembly of complex instructions and establish a mapping relationship from natural language instructions to executable tasks; The three-dimensional priority evaluation and adjustment unit is responsible for constructing a quantitative evaluation model including urgency, impact scope, and resource occupancy, and dynamically adjusting task priorities in combination with historical interaction data; Specifically: First, define multi-dimensional evaluation metrics, namely urgency U, impact scope I, and resource occupancy R. The calculation formula for urgency U is as follows: ; Among them, U base represents the basic urgency of the fault type, with a preset value range of [20, 100], which is determined by the fault severity defined in the power domain knowledge graph; W u represents the emergency label loop coefficient. The preset value for ordinary tasks is 1.0, for marked emergency tasks is 1.5, and for extremely urgent tasks is 2.0; The calculation formula for the impact scope I is as follows: ; I dev represents the basic value of equipment importance, C i represents the equipment importance level coefficient. The equipment importance level comes from the importance attribute annotation of equipment entities in the knowledge graph. A u represents the number of users affected by the power outage, and the data is collected in real time from the feedback of the agent execution module; The calculation formula for the resource occupancy R is as follows: ; Sc represents the current inventory of the target material, which is read in real time from the material inventory system; Ss represents the safety inventory of the target material, and the safety inventory comes from the minimum reserve standard in the material management specification. Nc represents the number of resource scheduling conflicts, including but not limited to conflicts such as personnel, vehicles, and equipment operation permissions; Then, according to the above three-dimensional indicators including urgency, impact scope, and resource occupancy, calculate the comprehensive priority of the three-dimensional indicators through a linear weighted model. The calculation formula is as follows: ; Among them, the preset weight coefficients α, β, and γ correspond to the importance degrees of urgency, impact scope, and resource occupancy respectively; they can be dynamically adjusted by the system closed-loop feedback optimization module according to historical scheduling data to ensure the flexibility of priority evaluation in different business scenarios; then introduce the historical interaction features output by the dynamic interactive context memory to correct the calculation result of the comprehensive priority and achieve the dynamic adjustment of task priority; The agent orchestration and conflict resolution algorithm unit orchestrates the multi-agent collaboration process based on the priority evaluation result, and detects and resolves resource conflicts in real time; Specifically: Define the multi-agent collaboration logic using standardized process language, clarify the input and output interfaces and execution order of each agent, and form a configurable process template library; when an agent calls shared resources, detect conflicts in real time through the resource status marking mechanism, and record the priorities of conflicting tasks and the types of resource occupancy; then implement a hierarchical resolution strategy based on the priority differences of conflicting tasks: preferentially allocate resources to high-priority tasks, and evenly allocate resources for tasks with similar priorities based on resource inventory and task duration, that is, allocate the remaining resources according to the priority ratio; and synchronize the task execution status of each agent to the scheduling engine in real time to dynamically adjust the timing of subtasks; where high-priority tasks are preset as P≥80, and tasks with similar priorities are preset as 60≤P<80.
[0022] The agent task execution and collaboration module includes an agent tool library encapsulation and extension unit and a multi-agent collaboration communication and synchronization unit; The agent tool library encapsulation and extension unit is responsible for encapsulating the standardized tool interfaces required for power transmission and distribution production, supporting the access and function extension of third-party business systems, and providing operation capabilities for agents to execute tasks; Specifically: For the power transmission and distribution production business system, design API interfaces in a unified format, with parameters following the coding and data specifications of the power industry, and aligning with the entities defined by the power domain knowledge enhancement parsing module; design extension interfaces using a plug-in architecture, register new tools through configuration files, and perform parameter format compatibility verification during access; then establish an interface call log recording mechanism, monitor the response time and error rate in real time, perform permission verification on device control interfaces, and verify the operation permissions in combination with the unified digital authentication module; The multi-agent collaboration communication and synchronization unit is responsible for establishing a communication mechanism and status synchronization rules among agents to ensure that multiple agents cooperate with each other during task execution and share progress and resource information in real time; Specifically: First, design a lightweight communication message format including basic information and business content to ensure the standardization of instruction transmission and status feedback among agents; store the resource status of the material library in real time through distributed caching, and agents send status update messages to the intelligent task scheduling and conflict resolution module at the start / end of the task to achieve real-time synchronization of task progress and resource status; then establish an exception collaboration handling mechanism, send an exception notification when an agent fails to execute and trigger a backup agent to take over, support resource preemption and execution interruption of high-priority tasks over low-priority tasks, and ensure that emergency tasks are completed first; the operation form of resource preemption is as follows: when a high-priority task (P≥80) competes with a low-priority task (P<60) for the same resource, the resource preemption mechanism is automatically triggered, and the low-priority task immediately releases the resource and pauses execution, ensuring that the response time of emergency tasks is shortened by more than 30%.
[0023] The system closed-loop feedback optimization module includes an execution log analysis and anomaly detection unit and a model update and manual intervention unit; The execution log analysis and anomaly detection unit is used to analyze task execution data in real time, identify abnormal scenarios and generate optimization suggestions, providing a basis for the iteration of the system model and scheduling strategy; Specifically: First, collect the task execution results of the agent task execution and collaboration module, the scheduling decision records of the intelligent task scheduling and conflict resolution module, and the historical interaction logs of the dynamic interaction context memory module in real time to form structured log data including task ID, device ID, execution time, and anomaly type; then define preset detection rules, including that the actual task execution time exceeds the preset time-consuming threshold, the number of conflicts of the same resource within a unit time exceeds the set value, and natural language instructions are continuously not correctly mapped to the work order fields. Among them, the preset time-consuming threshold is 1.5 times the historical execution time of similar tasks, and the anomaly detection accuracy rate ≥ 90%; by comparing the actual execution data with the preset rules, locate the abnormal link and generate an optimization suggestion report including anomaly type, occurrence time, and influence range; associate the abnormal data with the corpus terms and knowledge graph entity relationships of the power domain knowledge enhancement parsing module; The model update and manual intervention unit automatically updates the system model parameters according to the execution log analysis results and provides a manual adjustment interface to achieve the dynamic optimization of the scheduling strategy; Specifically: When detecting instruction parsing errors and new task types, extract the uncovered terms or missing entity relationships from the abnormal log, and then trigger the dynamic expansion process of the corpus of the power domain knowledge enhancement parsing module, which is included in the core data system after manual verification; when resource conflicts occur frequently and task scheduling is unbalanced, adjust the weights of the three-dimensional evaluation model of the intelligent task scheduling and conflict resolution module according to the anomaly detection results, and the adjusted parameters are automatically synchronized to the scheduling engine; provide a visual operation interface, allowing the administrator to manually correct the wrongly labeled entity relationships in the corpus, temporarily increase the emergency weighting coefficient of the task type for special scenarios, and the manual adjustment operation records are synchronized to the log system as the correction data for subsequent automated model training. Among them, special scenarios include but are not limited to major power protection tasks, natural disaster emergency scheduling and other tasks, which are identified by the system preset scenario tags; after each model update, automatically select historical abnormal tasks for simulation verification, and officially release the update after passing the verification.
[0024] An agent-based collaborative method for transmission and distribution production tasks includes the following steps: S1. The natural language input interaction module receives the user's natural language instructions and multimodal information. The power terminology recognition unit cleans the text data, extracts high-frequency terms, and fine-tunes the BERT model to build an intent recognition model, converting the natural language instructions into standardized operation codes. Meanwhile, the multimodal information parsing unit processes the work order pictures through the CTPN algorithm, bidirectional LSTM, and U-Net model, combines the cosine similarity to match the historical conversation, and automatically fills in the missing information. S2. The power domain knowledge enhancement parsing module receives the standardized operation codes output by S1, pulls and cleans data from the business system, remotely supervises and annotates entities and relationships such as equipment and materials, screens high-frequency terms to build a dynamically updated JSON format corpus. The knowledge graph modeling unit analyzes the business data to extract triples and stores them in the graph database, automatically associating the corpus terms when a new task type is added. The large model fine-tuning unit optimizes the parameters by combining the corpus training samples, establishing the mapping relationship from natural language instructions to work order fields, equipment identifiers, and material requirements. S3. The dynamic interaction context memory module real-time collects the instruction parsing results output by S1, the scheduling decisions of the intelligent task scheduling module in subsequent steps, and the agent execution feedback, and structurally stores them as interaction logs in fixed fields. The context reasoning unit processes the log features into input sequences, and generates context feature vectors containing historical failure frequencies and equipment maintenance records through bidirectional LSTM and attention mechanisms. S4. The intelligent task scheduling and conflict resolution module, based on the instruction parsing results output by S2 and the context feature vectors generated by S3, disassembles complex instructions into standardized subtasks through predefined rules, converts parameters to match the business system interfaces. Defines emergency levels, impact ranges, and resource occupancy metrics, calculates the comprehensive priority in combination with the context features. Orchestrates the multi-agent collaboration process according to the priority, detects and resolves resource conflicts, and generates scheduling instructions containing subtask sequences and resource allocation plans. S5. The agent task execution and collaboration module receives the scheduling instructions output by S4, calls business systems such as equipment management and material inventory through standardized API interfaces, and the parameters follow the power industry specifications. Designs a lightweight communication format to synchronize the agent status, triggers the standby takeover mechanism when the execution fails, and ensures the preemption of high-priority task resources. S6. The system closed-loop feedback optimization module collects the task execution results output by S5, the scheduling decision records of S4, and the historical interaction logs of S3 to form structured data. Detects anomalies through preset rules, associates the corpus terms of S2 and the knowledge graph entities to locate problems. Automatically updates the model parameters or provides an interface for manual intervention to adjust the strategy, and publishes the update after simulation verification.
[0025] Suppose there is a collaboration task for the main transformer tripping of a 220kV A substation: The user inputs "The No. 1 main transformer of the 220kV A substation trips, and it is necessary to immediately deploy maintenance personnel and insulating oil to the site" through natural language, and the system starts the full-process scheduling. The natural language input interaction module parses the instruction, identifies "main transformer trip" as an emergency fault type, extracts the equipment ID "A substation No. 1 main transformer" and the material requirement "insulating oil", supplements the regional code "440101" based on the historical dialogue, and generates a standardized operation code. The power domain knowledge enhanced parsing module obtains from the knowledge graph that this main transformer belongs to a hub-level device (importance level "hub-level"), the safety inventory of the associated material "insulating oil" for the maintenance task is 500 liters, and the preset value of the equipment basic urgency U_base is 100 (the highest level of trip fault).
[0026] The intelligent task scheduling and conflict resolution module starts a three-dimensional priority assessment: Urgency calculation: Since the user marks "immediately", it triggers the ultra-urgent label, and the emergency label weighting coefficient W u = 2.0, so the urgency U = 100×2.0 = 200; Impact range calculation: The basic value of equipment importance I dev = 80 (hub equipment), the importance level coefficient C i = 0.3 (hub-level), the number of users affected by the power outage A u = 5000 is collected in real time, so the impact range I = 80×(1 + 0.3)+5000 / 1000 = 104 + 5 = 109; Resource occupancy calculation: The current inventory of insulating oil S c = 300 liters, the safety inventory S s = 500 liters, the number of resource scheduling conflict times Nc = 1 (only temporary conflict between maintenance personnel and another task), so the resource occupancy R=(1 - 300 / 500)×100+1×5 = 40 + 5 = 45. The comprehensive priority is calculated by P = 0.4U + 0.3I + 0.3R, and P = 0.4×200+0.3×109 + 0.3×45 = 80 + 32.7 + 13.5 = 126.2, triggering the highest-level scheduling strategy.
[0027] After the agent task execution and collaboration module receives the scheduling instruction, the material agent queries through the standardized interface that the inventory of 300 liters of insulating oil is located in Warehouse B, 15 kilometers away from the substation. The transportation agent synchronously plans the optimal route (expected to arrive in 40 minutes), and the equipment control agent applies for a power outage permit in advance. During the execution process, the system closed-loop feedback optimization module monitors that the insulating oil inventory is lower than the safety threshold and the number of conflicts increases, automatically records the abnormality and suggests increasing the resource occupancy weight from 0.3 to 0.35. After the task is completed, the historical interaction log stores the current scheduling parameters (priority 126.2, execution time 90 minutes), and the context reasoning unit generates a vector containing the "priority characteristics of the hub equipment tripping task" for reference in subsequent scheduling of similar tasks. This scheduling takes 120 minutes from instruction parsing to resource arrival, which is 40% shorter than the traditional system, verifying the effectiveness of the three-dimensional priority model in emergency fault scenarios.
[0028] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the present invention. Any reference signs in the claims should not be regarded as limiting the claimed claim.
Claims
1. An agent-based collaborative system for power transmission and distribution production tasks, characterized in that: It includes a natural language input interaction module, an electric power domain knowledge enhancement parsing module, a dynamic interaction context memory module, an intelligent task scheduling and conflict resolution module, an intelligent agent task execution and collaboration module, and a system closed-loop feedback optimization module; the natural language input interaction module is used to receive natural language instructions and multimodal information from users, convert them into structured data, and pass them to the electric power domain knowledge enhancement parsing module for processing; The power field knowledge enhancement parsing module uses the corpus and knowledge graph to parse the power professional instructions and establish a mapping relationship with the business data; The dynamic interaction context memory module is responsible for recording keyword information in multiple rounds of dialogues and providing support for the generation of scheduling strategies based on historical interactions; The intelligent task scheduling and conflict resolution module is responsible for breaking down complex instructions into executable subtasks, dynamically adjusting task priorities, and resolving resource conflicts; the intelligent agent task execution and collaboration module is used to drive each professional intelligent agent to perform specific tasks and support collaboration between intelligent agents; the system closed-loop feedback optimization module records task execution results, optimizes system models and scheduling strategies, and forms an iterative closed loop.
2. The collaborative system for power transmission and distribution production tasks based on an agent according to claim 1, wherein: The natural language input interaction module includes an electric terminology recognition and instruction standardization unit and a multimodal information parsing and association unit; The electric power terminology recognition and instruction standardization unit collects text data in CSV format from the power grid work order system, equipment management system, and historical fault database, removes noise data through regular expressions, directly removes data that lacks key information, fills non-key fields with None, and uses Chinese word segmentation tools for word segmentation processing; uses the TF-IDF algorithm to process the pre-processed text data, extracts millions of electric power professional terms with a frequency of occurrence greater than 10 times, and constructs a term weight matrix; then uses remote supervision annotation technology to establish a mapping relationship between the terms and the equipment ID in the equipment ledger and the maintenance type field in the work order; finally, based on the BERT pre-training model, it is fine-tuned in combination with the screened and updated corpus, with the learning rate set to 2e-5 and the batch size set to 16, to construct an electric power field intent recognition model, which converts natural language instructions into standardized operation codes; The multimodal information parsing and association unit uses the CTPN algorithm to locate the text area in the work order image, and then uses a bidirectional LSTM network to perform character recognition on the text area, and the hidden layer dimension of the bidirectional LSTM network is set to 128; then the work order table area is segmented with the help of the U-Net model enhanced by the attention mechanism, and the convolution kernel size of the U-Net model is set to 3x3, and then the table fields are extracted using the rule engine; the current instruction is matched with the historical dialogue through the cosine similarity algorithm, and the missing information in the context is automatically filled in. When the input natural language instruction does not meet the specifications, the user is prompted to re-enter; when the work order image quality is poor and the text area positioning fails, image enhancement processing is attempted and the user is prompted to upload a clear picture.
3. An agent-based collaborative system for power transmission and distribution production tasks according to claim 1, wherein: The power domain knowledge enhancement and parsing module includes a corpus construction and update unit, a knowledge graph modeling and extension unit, and a large model domain adaptation and fine-tuning unit; The corpus construction and update unit pulls CSV format text data from the power grid work order system, equipment management system, and historical fault database through API interfaces, cleans the data using regular expressions, and remotely supervises and manually verifies to label entities and relationships. The labeled entities and relationships are directly used as seed data for knowledge graph triple extraction; Then, professional terms that appear in the power domain with a frequency of ≥10 times per 10,000 and in the general domain with ≤5 times per 10,000 are screened out by TF-IDF and stored in JSON format according to the entity-attribute-relationship structure; at the same time, a dynamic update mechanism is established to automatically identify and supplement domain terms based on new business data; The knowledge graph modeling and extension unit forms an unstructured text triple model based on the entity relationship rules predefined by the rule engine, extracts entity relationships by parsing business system data and stores them in a graph database to construct a knowledge graph covering power transmission and distribution production elements; when a new task type is added to the work order system, the system automatically retrieves corpus terms and creates associated nodes, and at the same time updates the extraction rules; finally, the graph is regularly cleaned, isolated nodes are deleted, synonymous nodes are merged, and index semantic retrieval is established for high-frequency fields; The large model domain adaptation and fine-tuning unit converts the preprocessed natural language instructions into structured inputs, combines the training samples generated from the domain knowledge in the corpus, optimizes the model parameters for tasks such as equipment maintenance and material scheduling in power transmission and distribution production, and establishes a mapping relationship from natural language instructions to business data such as work order fields, equipment identifiers, and material requirements; After training, the model is deployed to the production environment and continuously optimized according to the actual parsing results to ensure that the model can accurately identify complex instruction intentions and output executable business parameters.
4. An agent-based collaborative system for power transmission and distribution production tasks according to claim 1, characterized in that: The dynamic interaction context memory module includes an interaction log storage and retrieval unit and a context reasoning and feature unit; The interaction log storage and retrieval unit is responsible for structurally storing the key information of multi-round conversations, supports retrieval based on equipment, region, and time, and provides historical interaction data support for context reasoning; Specifically: Real-time collect the instruction parsing results output by the natural language input interaction module, the scheduling decisions of the intelligent task scheduling and conflict resolution module, and the feedback results of the intelligent agent execution module; then structure the interaction data according to fixed fields, including basic information, instruction features, associated parameters, and scheduling records; the basic information includes the conversation ID, timestamp, and user identifier; the instruction features include the task type, the original natural language instruction, and the parsed standardized operation code; the associated parameters include the equipment ID, substation area code, material type / quantity, and work order number; the scheduling records include the resource allocation plan, execution result, and scheduling decision parameters; then store the structured fields including the above basic information, instruction features, associated parameters, and scheduling records in JSON format as interaction logs, and use a time series database to establish a partition index in the form of equipment ID + area code + timestamp; The context reasoning and feature generation unit generates context feature vectors containing historical association information based on historical interaction logs, simulating the human long-term memory processing and key information focusing mechanism, providing decision support for the intelligent task scheduling and conflict resolution module. Specifically: First, convert the discrete features in the interaction logs into embedding vectors, and normalize the continuous features to form a 128-dimensional input sequence. Use a two-layer bidirectional LSTM network, with 256 neurons in each layer. Through the memory mechanism composed of forget gate, input gate, cell state, and output gate, capture the forward and backward dependencies of historical interactions. The forget gate filters out irrelevant historical information, the input gate screens and retains the current key information, the cell state integrates new and old information to form a memory carrier, and the output gate generates hidden states. On this basis, calculate the dot product similarity between the current instruction and the historical hidden states through the attention mechanism, generate attention weights to focus on highly relevant historical information, sum the weighted historical hidden states to generate a 256-dimensional context feature vector, encoding information such as historical frequently failed areas and associated equipment maintenance records. Among them, the historical frequently failed areas are associated with the equipment historical failure records through the knowledge graph to generate regional failure frequency features. Finally, this vector is input into the three-dimensional priority evaluation model of the intelligent task scheduling and conflict resolution module, serving as the basis for dynamically adjusting task priorities, and realizing the association between historical experience and current scheduling decisions.
5. The agent-based collaborative system for power transmission and distribution production tasks according to claim 1, wherein: The intelligent task scheduling and conflict resolution module includes a task decomposition and parameter mapping unit, a three-dimensional priority evaluation and adjustment unit, and an agent orchestration and conflict resolution algorithm unit. The task decomposition and parameter mapping unit disassembles complex natural language instructions into an executable subtask sequence and establishes a mapping relationship between instruction parameters and business system data. Specifically: Based on the instruction parsing results output by the power domain knowledge enhancement parsing module, disassemble the instructions into a standardized subtask sequence through predefined task decomposition rules to form a task template library covering the core business of power transmission and distribution production. Convert the parsed business parameters according to the input requirements of subtasks to ensure that the parameter interfaces with business systems such as equipment management and material inventory are in line with the specifications. When a new task type is added, automatically expand the task template by parsing corpus terms and knowledge graph entity relationships to achieve full-scenario coverage disassembly of complex instructions and establish a mapping relationship from natural language instructions to executable tasks. The three-dimensional priority evaluation and adjustment unit is responsible for constructing a quantitative evaluation model including urgency, impact range, and resource occupancy, and dynamically adjusting task priorities in combination with historical interaction data. Specifically: First, define multi-dimensional evaluation indicators, namely urgency U, impact range I, and resource occupancy R. The calculation formula for urgency U is as follows: ; Among them, U base represents the basic urgency of the fault type, and the preset value range is [20, 100], which is determined by the fault severity defined in the power domain knowledge graph; W u represents the coefficient of the emergency label for several circles. The preset value for ordinary tasks is 1.0, the marked emergency tasks is 1.5, and the extremely urgent tasks is 2.0; The calculation formula for impact range I is as follows: ; I dev Represents the basic value of equipment importance, C i Represents the equipment importance level coefficient. The equipment importance level comes from the importance attribute annotation of equipment entities in the knowledge graph, A u Represents the number of users affected by power outages, and real-time collects feedback data from the agent execution module; The calculation formula for resource occupancy R is as follows: ; Sc represents the current inventory of the target material, which is read in real time from the material inventory system; Ss represents the safety inventory of the target material, and the safety inventory comes from the minimum reserve standard in the material management specification. Nc represents the number of resource scheduling conflicts, including but not limited to conflicts such as personnel, vehicles, and equipment operation permissions; Then, according to the above three-dimensional indicators including urgency, impact range, and resource occupation, calculate the comprehensive priority of the three-dimensional indicators. It is calculated through a linear weighted model, and the calculation formula is as follows: ; Among them, the preset weight coefficients α, β, and γ correspond to the importance degrees of urgency, impact range, and resource occupation respectively; then introduce the historical interaction features output by the dynamic interactive context memory to correct the calculation result of the comprehensive priority, and realize the dynamic adjustment of the task priority; The intelligent agent orchestration and conflict resolution algorithm unit orchestrates the multi-agent collaboration process based on the priority evaluation result, and detects and resolves resource conflicts in real time; Specifically: Define the multi-agent collaboration logic using a standardized process language, clarify the input and output interfaces and execution order of each intelligent agent, and form a configurable process template library; when the intelligent agent calls shared resources, detect conflicts in real time through the resource status marking mechanism, and record the priority of the conflict task and the type of resource occupation; then implement a hierarchical resolution strategy according to the priority difference of the conflict tasks: allocate resources preferentially to high-priority tasks, and balance the allocation of resources based on resource inventory and task duration for tasks with similar priorities, that is, allocate the remaining resources according to the priority ratio; and synchronize the task execution status of each intelligent agent to the scheduling engine in real time to dynamically adjust the subtask timing; where high-priority tasks are preset as P≥80, and tasks with similar priorities are preset as 60≤P<80.
6. The agent-based collaborative system for power transmission and distribution production tasks according to claim 1, characterized in that: The intelligent agent task execution and collaboration module includes an intelligent agent tool library encapsulation and extension unit and a multi-agent collaboration communication and synchronization unit; The intelligent agent tool library encapsulation and extension unit is responsible for encapsulating the standardized tool interfaces required for power transmission and distribution production, supporting the access and function extension of third-party business systems, and providing operation capabilities for intelligent agents to execute tasks; Specifically: For the power transmission and distribution production business system, design API interfaces in a unified format, and the parameters follow the coding and data specifications of the power industry, and are aligned with the entities defined by the power domain knowledge enhancement parsing module; Adopt a plug-in architecture to design an extension interface, register new tools through a configuration file, and perform parameter format compatibility verification during access; Then establish an interface call log recording mechanism, monitor the response time and error rate in real time, perform permission verification on the device control interface, and verify the operation permission in combination with the unified digital authentication module; The multi-agent collaboration communication and synchronization unit is responsible for establishing a communication mechanism and status synchronization rules among intelligent agents to ensure that multi-agents cooperate with each other during task execution and share progress and resource information in real time; Specifically: First, design a lightweight communication message format that includes basic information and business content to ensure the standardization of instruction transmission and status feedback among agents. Real-time store the resource status of the material library through distributed caching. When a task starts / ends, the agent sends a status update message to the intelligent task scheduling and conflict resolution module to achieve real-time synchronization of task progress and resource status. Then, establish an exception cooperation handling mechanism. When an agent fails to execute, it sends an exception notification and triggers a backup agent to take over. Support resource preemption and execution interruption of high-priority tasks over low-priority tasks to ensure that urgent tasks are completed first.
7. An agent-based collaborative system for power transmission and distribution production tasks according to claim 1, characterized in that: The system closed-loop feedback optimization module includes an execution log analysis and exception detection unit and a model update and manual intervention unit; The execution log analysis and exception detection unit is used to analyze task execution data in real time, identify abnormal scenarios and generate optimization suggestions, providing a basis for the iteration of the system model and scheduling strategy; Specifically: First, collect in real time the task execution results of the agent task execution and cooperation module, the scheduling decision records of the intelligent task scheduling and conflict resolution module, and the historical interaction logs of the dynamic interaction context memory module to form structured log data including task ID, device ID, execution time, and exception type; Then define preset detection rules, including that the actual task execution time exceeds the preset time-consuming threshold, the number of conflicts of the same resource within a unit time exceeds the set value, and natural language instructions are continuously not correctly mapped to work order fields. Among them, the preset time-consuming threshold is 1.5 times the historical execution time of similar tasks. By comparing the actual execution data with the preset rules, locate the abnormal link and generate an optimization suggestion report including the exception type, occurrence time, and influence range; associate the abnormal data with the corpus terms and knowledge graph entity relationships of the power domain knowledge enhancement parsing module; The model update and manual intervention unit automatically updates the system model parameters according to the execution log analysis results and provides a manual adjustment interface to achieve dynamic optimization of the scheduling strategy; Specifically: When detecting instruction parsing errors and new task types, extract the uncovered terms and missing entity relationships from the exception log, and then trigger the corpus dynamic expansion process of the power domain knowledge enhancement parsing module, which is incorporated into the core data system after manual verification; when resource conflicts occur frequently and task scheduling is unbalanced, adjust the weights of the three-dimensional evaluation model of the intelligent task scheduling and conflict resolution module according to the exception detection results, and the adjusted parameters are automatically synchronized to the scheduling engine; provide a visual operation interface, allowing the administrator to manually correct the wrongly labeled entity relationships in the corpus, temporarily increase the urgency weighting coefficient of the task type for special scenarios, and synchronize the manual adjustment operation records to the log system as correction data for subsequent automated model training. Among them, special scenarios include but are not limited to major power protection tasks and natural disaster emergency scheduling tasks, which are identified by system preset scenario tags; after each model update, automatically select historical abnormal tasks for simulation verification, and officially release the update after passing the verification.
8. An agent-based collaborative method for power transmission and distribution production tasks, applied to an agent-based collaborative system for power transmission and distribution production tasks according to any one of claims 1-7, characterized in that: Including the following steps: S1. The natural language input interaction module receives the user's natural language instructions and multimodal information. The power terminology recognition unit cleans the text data, extracts high-frequency terms, and constructs an intent recognition model by fine-tuning the BERT model to convert the natural language instructions into standardized operation codes. At the same time, the multimodal information parsing unit processes the work order pictures through the CTPN algorithm, bidirectional LSTM, and U-Net model, combines the cosine similarity to match the historical conversation, and automatically fills in the missing information. S2. The power domain knowledge enhanced parsing module receives the standardized operation codes output by S1, pulls and cleans data from the business system, remotely supervises and labels entities and relationships such as equipment and materials, screens high-frequency terms to build a dynamically updated JSON format corpus. The knowledge graph modeling unit analyzes the business data to extract triples and stores them in the graph database, and automatically associates the corpus terms when a new task type is added. The large model fine-tuning unit optimizes the parameters by combining the corpus training samples and establishes the mapping relationship from natural language instructions to work order fields, equipment identifiers, and material requirements. S3. The dynamic interaction context memory module real-time collects the instruction parsing results output by S1, the scheduling decisions of the intelligent task scheduling module in the subsequent steps, and the intelligent agent execution feedback, and structurally stores them as interaction logs according to fixed fields. The context reasoning unit processes the log features into input sequences and generates context feature vectors containing historical failure frequencies and equipment maintenance records through bidirectional LSTM and attention mechanisms. S4. The intelligent task scheduling and conflict resolution module is based on the instruction parsing results output by S2 and the context feature vectors generated by S3. It disassembles complex instructions into standardized subtasks through predefined rules, converts parameters to match the business system interface, defines urgency, impact scope, and resource occupancy indicators, and calculates the comprehensive priority in combination with the context features. Arrange the multi-agent collaboration process according to the priority, detect and resolve resource conflicts, and generate a scheduling instruction containing the subtask sequence and resource allocation plan. S5. The intelligent agent task execution and collaboration module receives the scheduling instruction output by S4, calls business systems such as equipment management and material inventory through the standardized API interface, and the parameters follow the power industry specifications. Design a lightweight communication format to synchronize the intelligent agent status, trigger the standby takeover mechanism when the execution fails, and ensure the resource preemption of high-priority tasks. S6. The system closed-loop feedback optimization module collects the task execution results output by S5, the scheduling decision records of S4, and the historical interaction logs of S3 to form structured data. Detect anomalies through preset rules, associate the corpus terms of S2 and the knowledge graph entities to locate problems, automatically update the model parameters or provide an interface for manual intervention to adjust the strategy, and release the update after simulation verification.
Citation Information
Patent Citations
Multi-agent-based steelmaking workshop crane scheduling simulation method
CN101944201A
Intelligent collaborative operation method and system for epidemic prevention machine group in complex multi-environment
CN113672362A
Multi-agent collaborative analysis system based on industrial large model
CN119883559A
Multi-agent interactive efficient data analysis system
CN119988421A
Multi-agent financial analysis system and method based on large language model
CN120106986A
Cited By
Multi-agent collaborative management method and system
CN120542463A
Electric power work order intelligent processing method with RPA fused with multi-mode large model
CN120563072A
A method for intelligent processing of power work orders using RPA and multimodal large model
CN120563072B
Multi-agent collaborative operation control method and system based on wireless deterministic network
CN120603038A
Identifier intercommunication analysis method and system for heterogeneous science and technology resources
CN120631592A
