Teaching resource generation method and device for low-voltage distribution network, medium and equipment

By constructing a constraint structure diagram of the operation specifications for live-line work in low-voltage distribution networks, digital teaching resources are dynamically generated, solving the problem of inaccurate and efficient generation in existing technologies, and realizing dynamic adaptation of teaching resources to scenarios and consistency of content.

CN123181184APending Publication Date: 2026-11-27GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611194352.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing digital teaching resources for live-line work in low-voltage distribution networks cannot be generated dynamically and efficiently, resulting in a disconnect between training content and actual operations, an inability to adapt to complex scenarios, and the risk of hidden violations.

Method used

By acquiring the text of the work procedure and scene parameter data, semantic analysis is performed to identify the work actions, objects and constraints, construct a work procedure constraint structure diagram, dynamically filter the constraint relationships that match the scene, and generate digital teaching resources.

Benefits of technology

It enables dynamic adaptation of teaching resources to different assignment scenarios, avoids hidden risks of violations, ensures content consistency and maintainability, and improves the accuracy and efficiency of training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181184A_ABST
    Figure CN123181184A_ABST
Patent Text Reader

Abstract

The application discloses a teaching resource generation method and device for low-voltage distribution network, a medium and equipment, and belongs to the field of teaching resource generation. The application obtains a work regulation text and scene parameters, performs semantic analysis on the regulation text to identify work actions, work objects and constraint relationships, maps the work actions and the work objects to structure nodes, maps constraint relationships to edges of connection nodes to construct a work specification constraint structure graph, then filters matching constraint relationships and associated nodes from the structure graph according to the scene parameters to reorganize into a work constraint substructure graph, determines a work action execution sequence according to the sequence and dependency relationship in the substructure graph, generates teaching instruction content for each action according to the associated constraint in the substructure graph, and finally dynamically generates digital teaching resources adapted to the current work scene. The application effectively solves the problem that the prior art cannot accurately and efficiently dynamically generate teaching resources for live work of a low-voltage distribution network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of teaching resource generation, and in particular to a method, apparatus, medium and equipment for generating teaching resources for low-voltage distribution networks. Background Technology

[0002] Live-line work on low-voltage distribution networks is a crucial link in ensuring the continuous and stable operation of the power system and improving power supply reliability. The safety and standardization of this work directly affect the safety of power grid equipment and the personal safety of workers. With the deepening of digital transformation in the power industry, digital teaching resources have become an important support for training, skills assessment, and work guidance in live-line work on low-voltage distribution networks. However, the domestic live-line work field currently lacks a systematic and standardized training model. Existing training systems struggle to fully cover typical work scenarios and their standardized construction processes, resulting in a disconnect between training content and actual operations.

[0003] Currently, digital teaching resources are mostly presented in the form of flowcharts, text descriptions, or static courseware, and are primarily compiled manually. These resources have significant shortcomings in practical application: In the Southern Power Grid's low-voltage distribution network live-line work regulations, numerous safety constraints are described in a scattered manner using natural language, including prohibited operations, prerequisites, and specific operating condition restrictions. These constraints lack a structured expression that can be recognized and processed by the system; they are merely textual descriptions appended to the process steps, easily leading to teaching deviations due to misunderstandings. Furthermore, low-voltage distribution network live-line work involves multiple consecutive steps with clear sequential dependencies and conditional constraints. Manually compiled teaching resources struggle to maintain the integrity and consistency of these constraints after process adjustments, scenario changes, or regulation revisions. In complex combined operating conditions such as parallel user power supply, temporary bridging, and legacy wiring, while some individual steps may comply with regulations, hidden violations may exist in the combined scenario. Existing fixed-process teaching resources cannot dynamically adapt to specific scenarios and cannot explicitly present these implicit constraints. These shortcomings prevent existing technologies from accurately and efficiently generating teaching resources dynamically for live-line work on low-voltage distribution networks. Summary of the Invention

[0004] This invention provides a method, apparatus, medium, and equipment for generating teaching resources for low-voltage distribution networks, in order to solve the problem in the prior art that it is impossible to accurately and efficiently generate teaching resources dynamically for live-line work in low-voltage distribution networks.

[0005] Firstly, this application provides a method for generating teaching resources for low-voltage distribution networks, including: Obtain the preset work procedure text and work scenario parameter data; the work scenario parameter data includes work type, number of users, wiring method, parallel power supply status and temporary bridging status; Semantic parsing is performed on the work procedure text to identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text. The identified work actions and work objects are mapped to structural nodes, and the constraint relationships are mapped to edges connecting the structural nodes to construct a work specification constraint structure graph. Based on the work scenario parameter data, select the constraint relationships that match the current work scenario from the work specification constraint structure diagram, and reorganize the selected constraint relationships and associated structural nodes into a work constraint substructure diagram; Based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram, the job action execution sequence is determined. Based on the constraint relationships associated with each task action in the task constraint substructure diagram, teaching instructions corresponding to each task action are generated, and digital teaching resources are dynamically generated based on the task action execution sequence and the teaching instructions.

[0006] This application acquires work procedure text and work scenario parameter data, performs semantic parsing on the work procedure text to identify work actions, work objects, and the constraints between them, and then maps the identified work actions and work objects as structural nodes and the constraints as edges connecting the structural nodes, thereby constructing a work specification constraint structure graph representing the safety constraint logic in the procedure. This transforms the prohibition relationships, prerequisite relationships, and condition triggering relationships scattered in natural language procedures into a graph structure model that the system can recognize and process, solving the technical problem in existing technologies where safety constraints cannot be automatically recognized and processed by the system. Based on this, according to the work scenario parameter data, it dynamically filters the constraint relationships matching the current work scenario from the complete work specification constraint structure graph and reorganizes them into a work constraint substructure graph, ensuring that only the constraint logic relevant to the current scenario is extracted for subsequent processing, avoiding... The application of fixed-process teaching resources avoids the implicit violation risks caused by applying the same set of work steps to all scenarios, and achieves dynamic adaptation of teaching resources to different work scenarios. Furthermore, it determines the execution sequence of work actions based on the sequential dependencies between work actions defined by the constraints in the work constraint substructure diagram, and generates corresponding teaching instructions based on the constraints associated with each work action in the substructure diagram. Finally, it dynamically outputs structured digital teaching resources. Since the execution sequence and teaching instructions both originate from different substructures of the same constraint structure diagram, when the procedures are revised or the scenario changes, only updating or re-filtering the constraint structure diagram is needed to automatically generate updated teaching resources, eliminating the need for manual modification of each process step. This improves the adaptability of teaching resources to different scenarios while ensuring the consistency of teaching resource content. This application effectively solves the problem that existing technologies cannot accurately and efficiently generate teaching resources dynamically for live-line work in low-voltage distribution networks.

[0007] Furthermore, the semantic parsing of the work procedure text to identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text specifically includes: The work procedure text is read in a preset order of terms, and statements containing operation instructions are identified. The identified operation instructions are mapped to standard operating procedures; For each standard operating procedure, extract the target of action from the corresponding procedure statement; Identify statements in the work procedure text that contain constraints, and classify the identified constraints into prohibition relationships, prerequisite relationships, and condition triggering relationships; The prohibited relationships, the prerequisite relationships, and the condition trigger relationships obtained from the classification are associated with the corresponding standard operating procedures and the objects to be applied.

[0008] This application reads the work procedure text according to a preset clause sequence and identifies statements containing operation instructions. The identified operation instructions are then mapped to standard operation actions. Simultaneously, for each standard operation action, the object it acts upon is extracted from the corresponding procedure statement. This transforms the operation instructions described in natural language into standardized action and object elements that the system can recognize, providing a standardized node data foundation for subsequent graph structure modeling. Furthermore, it identifies statements in the procedure text containing constraint meanings, classifying the identified constraints into prohibition relationships, prerequisite relationships, and condition trigger relationships. Each type of constraint relationship is then associated with its corresponding standard operation action and object. This transforms various safety constraints scattered throughout the natural language procedure into structured constraint data that the system can recognize. This effectively solves the problem in existing technologies where safety constraints are merely textual descriptions attached to process steps and cannot be automatically recognized and processed by the system. It provides complete node and edge data for the subsequent construction of the work procedure constraint structure graph.

[0009] Furthermore, the process of mapping the identified work actions and work objects to structural nodes, and mapping the constraint relationships to edges connecting the structural nodes, to construct a work specification constraint structure graph, specifically involves: Each of the aforementioned standard operating actions is used as an operating action node, and each of the aforementioned objects of action is used as an operating object node; The prohibition relationship is used as the prohibited connection edge between the operation action node and the operation object node, the prerequisite relationship is used as the sequential connection edge between different operation action nodes, and the condition triggering relationship is used as the condition triggering connection edge between the operation action node and the operation object node. All the operation action nodes, operation object nodes, prohibited connection edges, sequential connection edges, and conditional trigger connection edges are organized into a directed graph data structure to obtain the operation specification constraint structure graph.

[0010] This application constructs a work specification constraint structure diagram by using each work action element as work action node, each work object element as work object node, prohibition relations as prohibited connection edges between action nodes and object nodes, prerequisite relations as sequential connection edges between different action nodes, and conditional trigger relations as conditional trigger connection edges between action nodes and object nodes. All nodes and connection edges are then organized into a directed graph data structure. The resulting work specification constraint structure diagram fully reflects the logical direction and dependency order of various constraint relationships in the procedure. Prohibited connection edges and conditional trigger connection edges unify the constraint expression method between actions and objects, and sequential connection edges clarify the execution dependency between actions, thus realizing the structured and visual modeling of complex constraint logic in the procedure.

[0011] Furthermore, based on the work scenario parameter data, the step of selecting constraint relationships matching the current work scenario from the work specification constraint structure diagram, and reorganizing the selected constraint relationships and associated structural nodes into a work constraint substructure diagram, specifically involves: The operation scenario parameter data is parsed to obtain the operation scenario parameters; Traverse each constraint relationship in the work specification constraint structure diagram and determine whether the applicable conditions recorded in each constraint relationship match the work scenario parameters; If a match is found, the current constraint relationship is marked as active; if no match is found, the current constraint relationship is marked as inactive. Extract all constraints marked as active, and extract the structural nodes connected to the constraints marked as active. Reorganize the extracted constraints and structural nodes into the job constraint substructure diagram.

[0012] This application obtains the task scenario parameters by parsing the task scenario parameter data, then traverses each constraint relationship in the task specification constraint structure diagram and determines whether the applicable conditions recorded in each constraint relationship match the task scenario parameters. When a match is found, the current constraint relationship is marked as active; when a match is not found, it is marked as inactive. Finally, all constraint relationships marked as active and the structural nodes connected to the active constraints are extracted and reorganized into a task constraint substructure diagram. This ensures that only the constraint relationships and their associated nodes that are valid in the current task scenario are extracted and used in subsequent processing. This effectively solves the problem that existing fixed-process teaching resources cannot dynamically adapt to specific scenarios, realizes the dynamic matching of teaching resources with different task scenarios, and significantly reduces the computational complexity of subsequent topology sorting and teaching instruction generation.

[0013] Furthermore, determining the execution sequence of job actions based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram specifically involves: Extract all prerequisite relationships from the job constraint substructure graph, and construct a topology graph with each standard job action as a node and each prerequisite relationship as a sequence constraint between nodes. Perform topological sorting on the topology graph to generate a preliminary sequence of job action executions; Verify whether each action in the preliminary job action execution sequence violates the prohibition relationship in the job constraint substructure diagram; If the prohibition relationship is violated, the preliminary job action execution sequence is discarded as an invalid sequence, and topological sorting is performed again to generate a new preliminary sequence until a job action execution sequence that does not violate the prohibition relationship is obtained.

[0014] This application extracts all prerequisite relationships from the job constraint substructure diagram, constructs a topology diagram with each standard job action as a node and each prerequisite relationship as a sequential constraint between nodes, and performs topological sorting on the topology diagram to generate a preliminary job action execution sequence. Then, it verifies whether each action in the preliminary sequence violates the prohibition relationship in the substructure diagram and removes sequences that violate the prohibition relationship. In this way, the complex constraint logic is automatically transformed into an execution sequence that meets the requirements of the procedure, realizing the automatic generation of execution sequences.

[0015] Furthermore, the step of generating instructional content corresponding to each task action based on the constraint relationships associated with each task action in the task constraint substructure diagram specifically involves: Extract the action description of each action in the action execution sequence and generate standard operation instructions for the action. Extract the prerequisite relationships associated with the operation action from the operation constraint substructure diagram, and generate a description of the prerequisite conditions that must be met before the operation action is implemented based on the extracted prerequisite relationships; Extract prohibition relationships associated with the job action from the job constraint substructure diagram, and generate operation instructions that are prohibited from being executed during the implementation of the job action based on the extracted prohibition relationships; Extract the conditional triggering relationships associated with the operation action from the operation constraint substructure diagram, and generate supplementary safety prompts for the operation action by combining the operation scenario parameter data; All work actions and their corresponding sequence numbers, standard operating instructions, prerequisite descriptions, prohibited operation instructions, and supplementary safety tips are organized into structured teaching step data, and the digital teaching resources are generated based on the structured teaching step data.

[0016] This application generates standard operating instructions by extracting the corresponding action description for each action in the sequence of work actions, extracting the prerequisite relationships associated with the action from the work constraint substructure diagram to generate preconditions, extracting the associated prohibitions to generate prohibitive operation instructions, and extracting the associated conditional trigger relationships and combining them with work scenario parameter data to generate supplementary safety tips. This generates a complete instruction manual for each action, containing four types of information: standard operating instructions, preconditions, prohibitive operation instructions, and supplementary safety tips. This ensures that the instruction manual content accurately corresponds to the constraint logic in the constraint structure diagram. Finally, all work actions, their corresponding sequence numbers, and the four types of instruction manuals are organized into structured teaching step data, thereby generating digital teaching resources. Since the preconditions, prohibitive operations, and safety tips in the instruction manual are directly derived from the effective constraint substructure diagram of the current work scenario, a high degree of consistency between the instruction content and the scenario and procedures is ensured, avoiding teaching deviations caused by differences in understanding when manually compiling teaching resources. Furthermore, structured storage facilitates subsequent resource updates and maintenance.

[0017] Secondly, this application provides a teaching resource generation device for low-voltage distribution networks. The teaching resource generation device for low-voltage distribution networks includes: The acquisition module is used to acquire preset work procedure text and work scenario parameter data; the work scenario parameter data includes work type, number of users, wiring method, parallel power supply status and temporary bridging status; The identification module is used to perform semantic parsing on the work procedure text and identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text. The construction module is used to map the identified work actions and work objects as structure nodes, and to map the constraint relationships as edges connecting the structure nodes, thereby constructing a work specification constraint structure graph. The filtering module is used to filter out the constraint relationships that match the current work scenario from the work specification constraint structure diagram based on the work scenario parameter data, and to reorganize the filtered constraint relationships and associated structural nodes into a work constraint substructure diagram. The determination module is used to determine the sequence of execution of job actions based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram. The generation module is used to generate teaching instructions for each task action based on the constraint relationships associated with each task action in the task constraint substructure diagram, and to dynamically generate digital teaching resources based on the task action execution sequence and the teaching instructions.

[0018] This application acquires work procedure text and work scenario parameter data through an acquisition module, and performs semantic parsing on the work procedure text to identify work actions, work objects, and the constraints between them, transforming unstructured natural language procedures into system-recognizable structured elements. This solves the problem in existing technologies where safety constraints cannot be automatically identified and processed by the system. The construction module maps the identified work actions and work objects to structure nodes and the constraint relationships to edges connecting these structure nodes, constructing a work specification constraint structure graph representing the safety constraint logic of the procedure. This forms a graph structure model that can be traversed and queried by the system. The filtering module dynamically filters constraints matching the current work scenario from the complete constraint structure graph based on the work scenario parameter data, and reorganizes the filtered constraints and associated structure nodes into a work constraint sub-structure graph, ensuring that only constraints matching the current work scenario are processed. The constraint logic related to the previous scenario is extracted and used in subsequent processing, realizing the dynamic adaptation of teaching resources to different assignment scenarios. This avoids the hidden risk of violations caused by applying the same set of steps to all scenarios with fixed-process teaching resources. The determination module automatically determines the execution sequence of assignment actions based on the sequential dependencies in the assignment constraint substructure diagram. The generation module generates corresponding teaching instructions based on the constraint relationships associated with each assignment action in the substructure diagram and dynamically outputs structured digital teaching resources. Since the execution sequence and teaching instructions both come from different substructures of the same constraint structure diagram, when the procedure is revised or the scenario changes, only the constraint structure diagram needs to be updated or re-filtered to automatically generate updated teaching resources. There is no need to manually modify the process steps one by one. This improves the scenario adaptability of teaching resources while ensuring the consistency of teaching resource content and effectively improves the maintainability of teaching resources.

[0019] Thirdly, this application provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the described method for generating teaching resources for low-voltage distribution networks. Its beneficial effects are the same as those of the method for generating teaching resources for low-voltage distribution networks provided in the first aspect of this application.

[0020] Fourthly, this application provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement any of the teaching resource generation methods for low-voltage distribution networks as described in the first aspect. Attached Figure Description

[0021] Figure 1 : A schematic flowchart of an embodiment of the teaching resource generation method for low-voltage distribution networks provided in this application; Figure 2: A schematic diagram of an embodiment of the teaching resource generation device for low-voltage distribution networks provided in this application. Detailed Implementation

[0022] The technical solutions of 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, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0023] Example 1 Please refer to Figure 1 In order to solve the problem that existing technologies cannot accurately and efficiently generate teaching resources for live-line work in low-voltage distribution networks, this invention provides a method for generating teaching resources for low-voltage distribution networks, including steps S01-S06.

[0024] It should be noted that the data involved in the embodiments of this application, including but not limited to work procedure texts, work scenario parameter data, intermediate data generated during the generation of teaching resources, and the final output digital teaching resources, are all data authorized by the data rights holder or fully authorized by all parties. This method is applicable to application scenarios such as live-line work training, skills assessment, and work guidance in low-voltage distribution networks, and is particularly suitable for the digital construction of teaching resources based on the live-line work procedures for low-voltage distribution networks issued by specific power supply companies.

[0025] S01: Obtain the preset work procedure text and work scenario parameter data; the work scenario parameter data includes work type, number of users, wiring method, parallel power supply status and temporary bridging status; In a preferred embodiment of this invention, the acquisition of the preset work procedure text and work scenario parameter data specifically includes: In this embodiment, two types of basic data are first required: pre-set work procedure texts and work scenario parameter data. The work procedure texts originate from low-voltage distribution network live-line work procedures, operating guidelines, or related management system documents issued by the power industry. These documents are typically organized into structured or semi-structured text formats according to clause numbers, and internally record the operating steps, safety requirements, tools used, and precautions for various types of live-line work. This serves as the rule basis for constructing teaching resources in this application. The work scenario parameter data is a set of parameters pre-input or selected from the training system by the teaching resource designers based on actual training needs or on-site working conditions. This set of parameters specifically includes the work type, number of users, wiring method, parallel power supply status, and temporary bridging status. Among them, the operation type indicates the specific category of the live-line operation to be taught or performed, such as splicing, dismantling or replacement operations; the number of users indicates the scale of power supply users involved in the operation; the wiring method indicates the wiring structure of the distribution network line; the parallel power supply status indicates whether there is a parallel power supply situation in the current operation scenario, and this parameter directly affects whether the parallel power supply switch needs to be opened or closed during the operation; the temporary bridging status indicates whether the current operation scenario involves the erection or dismantling of temporary bridging wires, and this parameter affects whether temporary bridging-related operations and safety prompts need to be added in the operation steps.

[0026] In practice, after acquiring the aforementioned work procedure text and work scenario parameter data, corresponding preprocessing operations can be performed according to data quality requirements. For example, the work procedure text can be read and parsed according to its original clause numbering order to ensure that no operation-related descriptions in any clause are omitted; the work scenario parameter data can be formatted and standardized to ensure that the values ​​of each parameter are within the preset valid range. After the above acquisition and preprocessing, the system has the complete input data required for subsequent semantic parsing and constraint extraction, providing a data foundation for the entire teaching resource generation process.

[0027] S02: Perform semantic parsing on the work procedure text to identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text; In a preferred embodiment of this invention, the step of semantically parsing the work procedure text to identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text specifically involves: In this embodiment, after obtaining the work procedure text, semantic parsing is performed on the text to identify the recorded work actions, work objects, and the constraints between them. Specifically, the semantic parsing process reads each clause in the work procedure text in a pre-defined order, for example, starting from the first clause of the first chapter and proceeding to the last clause. For each clause, the system first identifies whether it contains operation instruction statements. Operation instruction statements refer to those statements that describe specific construction operations. The determination method can be based on whether the statement contains operation verbs or synonymous verbs from the low-voltage distribution network live-line work action dictionary, such as "strip," "test for voltage," "connect," "remove," and "restore," and whether these operation verbs govern, modify, or adjoin work object nouns such as low-voltage conductors, service lines, meter boxes, and user load circuits; simultaneously, the statement also contains normative auxiliary verbs or imperative expressions such as "should," "shall," "must," "required," and "perform." Statements that only contain safety principles, responsibility definitions, work order management, or personnel qualification requirements, or statements that only express prohibitive constraints but do not form executable actions, will not be output as operation instruction statements.

[0028] After identifying statements containing operational instructions, the instructions are mapped to standard operating procedures (SOPs). This mapping process relies on a pre-built SOP dictionary, which includes fields such as SOP name, action identifier, synonyms, trigger verb, applicable object type, source of procedure clause, and priority. During mapping, the identified operational instructions are first normalized using specialized terminology, unifying different expressions such as "stripping insulation," "peeling," and "stripping wires" into candidate action phrases. These candidate action phrases are then matched against synonyms in the SOP dictionary using exact matching, keyword matching, and semantic similarity matching. When a unique match exists, the operational instruction is directly mapped to the corresponding SOP. When multiple matches exist, the final mapping result is determined based on whether the object type is consistent, whether the procedure clause context is consistent, and dictionary priority. If no match is found but the semantic similarity reaches a preset threshold and the object type is consistent, the SOP is merged into the corresponding SOP. If the preset threshold is not reached or the object type is inconsistent, a manual confirmation prompt is output, and after manual confirmation, the newly added synonym is written back to the SOP dictionary.

[0029] Furthermore, for each standard operating procedure (SOP), the object affected by that SOP is extracted from the corresponding procedural statement. During extraction, the operational verb corresponding to the SOP is used as the core predicate. Deep semantic analysis is performed on the procedural statement to extract the professional noun phrases that form verb-object, prepositional phrase, attributive-head, or parallel relationships with the core predicate as the affected objects. Different extraction rules are adopted for different sentence structures: For sentences such as “to…”, “to connect… to…”, “before / after dismantling…”, the professional noun phrases introduced by the prepositions “to,” “to,” “to,” “before,” and “after” are extracted, and the main object and related objects are determined according to the direction of the action; for parallel noun phrases connected by commas, “and,” or “and,” they are split into multiple affected objects and a one-to-many relationship is established; for pronouns such as “its” and “the,” the nearest matching operation object in the same clause or the adjacent previous clause is traced back. The extracted results are verified using a dictionary of electrical work objects, retaining object types such as low-voltage conductors, service lines, meter boxes, user load circuits, parallel power supply switches, and temporary jumper wires, while removing tool names, personnel names, or abstract management items.

[0030] In addition, it is necessary to identify statements containing constraints in the work procedure text and classify the identified constraints into prohibition relationships, prerequisite relationships, and condition trigger relationships. During the identification process, the system scans the work procedure text, focusing on identifying statements containing keywords with constraint meanings such as "prohibited," "must not," "must," "should be after," "only then," and "when." After identifying constraint statements, they are classified according to constraint type: prohibition relationships explicitly prohibit a certain work action from acting on a certain work object, or prohibit the implementation of a certain work action under specific conditions; prerequisite relationships mean that the implementation of a certain work action must be a prerequisite for the completion of another work action, or that specific conditions must be met before it can be implemented; condition trigger relationships mean that when specific scenario conditions or working conditions are met, a specific constraint relationship is generated between a certain work action and the work object, or specific additional operations are required. After classification, the classified prohibition relationships, prerequisite relationships, and condition trigger relationships are associated with the corresponding standard work actions and their objects. Specifically, semantic analysis is used to locate the work actions and objects involved in the constraint statements. Then, based on the action and object identifiers, the constraint relationships are precisely bound to the extracted standard work actions and their objects. Through these steps, the system completes the comprehensive identification and structured extraction of work actions, work objects, and constraint relationships in the work procedure text, providing complete element input for the subsequent construction of the work specification constraint structure diagram.

[0031] S03: Map the identified work actions and work objects to structure nodes respectively, and map the constraint relationships to edges connecting the structure nodes to construct a work specification constraint structure graph; In a preferred embodiment of this invention, the step of mapping the identified work actions and work objects to structure nodes, and mapping the constraint relationships to edges connecting the structure nodes, to construct a work specification constraint structure graph, specifically involves: In this embodiment, after semantic parsing of the work procedure text and obtaining the work actions, work objects, and constraints, the identified work actions and work objects are mapped to structural nodes, and the constraints are mapped to edges connecting the structural nodes, thereby constructing a work procedure constraint structure graph. Specifically, node initialization is performed first: each work action element is used as a work action node, and each work object element is used as a work object node. Each work action node contains a unique identifier, action name, and corresponding procedure clause number; each work object node contains a unique identifier, object name, and object type description. After initialization, all nodes are entered into the node information database, and the system assigns a unique index number to each node to ensure node traceability.

[0032] After the nodes are constructed, connection edges between the nodes need to be established based on the three types of constraint relationships categorized. Specifically, prohibition relationships are used as prohibition connection edges between work action nodes and work object nodes, pointing from the work action node to the work object node, indicating that the action is prohibited from acting on the object; prerequisite relationship relationships are used as sequence connection edges between different work action nodes, pointing from the preceding work action node to the following work action node, indicating that the implementation of the subsequent action must be a prerequisite for the completion of the preceding action; condition trigger relationship relationships are used as condition trigger connection edges between work action nodes and work object nodes, indicating that a specific constraint relationship is generated between the work action and the work object when a specific scenario condition is met. Each type of connection edge must be associated with the corresponding constraint description and procedure clause number during establishment to record the source and content of the constraint. During the connection edge establishment process, if multiple types of constraint relationships are found between the same pair of nodes, multiple connection edges of different types are established between the two nodes simultaneously to ensure that all constraint logic is fully mapped.

[0033] Subsequently, all task action nodes, task object nodes, and the three types of connecting edges mentioned above are organized into a directed graph data structure, resulting in the task specification constraint structure graph. In this directed graph, nodes represent task actions or task objects in the procedure, and directed edges represent the constraint relationships between nodes. For example, a sequential connecting edge points from the preceding task node to the following task node, clearly expressing the dependency order of task execution. To ensure the simplicity and logical consistency of the constraint structure, the system also optimizes the completed constraint structure graph: redundant connections are merged or deleted; for example, when two nodes have the same constraint relationship, only one connecting edge is retained. Logical conflicts are detected and alerted; for example, when a task has contradictory prohibition and conditional trigger relationships pointing to the same object, the system outputs a conflict alarm and prompts manual verification of the corresponding procedure clauses.

[0034] Finally, the completed work specification constraint structure diagram is stored in the system database using a graph database storage format to facilitate rapid traversal of nodes and connecting edges in subsequent steps. Simultaneously, an indexing system for the constraint structure diagram is established, using action node identifiers, object node identifiers, constraint types, and procedure clause numbers as index keywords to improve query efficiency during subsequent scenario parameter matching and constraint filtering. Through the above node mapping, edge establishment, graph structure organization, and storage index establishment, the work specification constraint structure diagram constructed by the system fully reflects the logical direction and dependency order of various constraint relationships in the procedure text. This achieves the engineering and structured modeling of the safety constraint logic in low-voltage distribution network live-line work procedures, providing a directly traversable and queryable data foundation for subsequent constraint filtering and reorganization based on work scenario parameters.

[0035] S04: Based on the work scenario parameter data, select the constraint relationships that match the current work scenario from the work specification constraint structure diagram, and reorganize the selected constraint relationships and associated structural nodes into a work constraint substructure diagram; In a preferred embodiment of this example, the step of selecting constraint relationships matching the current work scenario from the work specification constraint structure diagram based on the work scenario parameter data, and then reorganizing the selected constraint relationships and associated structural nodes into a work constraint substructure diagram, specifically involves: In this embodiment, after obtaining the work specification constraint structure diagram, it is necessary to filter out the constraint relationships matching the current work scenario from the constraint structure diagram based on the work scenario parameter data, and then reorganize the filtered constraint relationships and associated structural nodes into a work constraint substructure diagram to achieve dynamic adaptation of the constraint structure to the specific work scenario. First, the obtained work scenario parameter data is parsed to extract specific parameter values ​​related to constraint condition judgment, including but not limited to work type, number of users, wiring method, parallel power supply status, and temporary bridging status. These parameter values ​​constitute the basis for judging whether the constraint relationship is applicable to the current scenario. For example, when the parallel power supply status in the work scenario parameter data indicates "parallel power supply exists," then the constraint conditions related to parallel power supply should be included in the constraint considerations of the current work scenario; conversely, if the parallel power supply status indicates "parallel power supply does not exist," then the constraint conditions related to parallel power supply are not applicable in the current scenario.

[0036] After obtaining the work scenario parameters, the system traverses each constraint relationship in the work specification constraint structure graph. The work specification constraint structure graph is a directed graph data structure where each connecting edge represents a constraint relationship, and each edge records the applicable conditions corresponding to that constraint relationship. Specifically, when constructing the work specification constraint structure graph, various constraint relationships (including prohibition relationships, prerequisite relationships, and condition triggering relationships) are associated with corresponding applicable condition fields during storage. This field describes the scenario conditions that must be met for the constraint relationship to take effect. For example, a prerequisite relationship might record its applicable condition as "parallel power supply exists." Only when the parallel power supply status in the work scenario parameters indicates the existence of parallel power supply is this prerequisite relationship considered a valid constraint in the current scenario. Therefore, during the traversal process, the system extracts the applicable conditions recorded in each constraint relationship one by one and compares these applicable conditions with the parsed work scenario parameters to determine if they match.

[0037] When the applicable conditions of a constraint match the parameters of the current work scenario, the constraint is marked as active; conversely, when the applicable conditions of a constraint do not match the parameters of the current work scenario, the constraint is marked as inactive. Through traversal and marking, each constraint in the work specification constraint structure diagram is assigned a status label indicating whether it applies to the current work scenario. After this matching and marking process, the system retains all constraints applicable to the current scenario while excluding those inapplicable, thus achieving dynamic adaptation between constraint logic and the work scenario.

[0038] Subsequently, all constraints marked as active are extracted, along with the structural nodes connected to these active constraints. Since each structural node in the job specification constraint structure graph has a unique identifier, the system can quickly locate the job action nodes and job object nodes associated with the active constraints using the endpoint information of the connecting edges. After extracting the active constraints and their associated structural nodes, these extracted constraints and structural nodes are reorganized into a new graph structure, namely the job constraint substructure graph, according to their connection relationships in the original structure graph. This job constraint substructure graph is a subset of the original job specification constraint structure graph, containing only the valid constraints in the current job scenario and their associated nodes. Its graph structure is identical to the original structure. Figure 1 The data is still organized using a directed graph data structure.

[0039] After reorganizing into a task constraint substructure graph, logical verification of the substructure graph is required. Verification includes checking for isolated nodes, nodes pointing to non-existent nodes, and the clarity of connecting edges. If verification anomalies are found, the system traces the corresponding constraint relationships and scenario parameters, prompting manual review and correction to ensure the logical consistency and integrity of the task constraint substructure graph. Through this process, the system generates a task constraint substructure graph that precisely matches the current task scenario. This substructure graph excludes all constraints unsuitable for the current scenario, retaining only valid constraints relevant to the current scenario. This provides precise and compact constraint data input for subsequently determining the task action execution sequence and generating teaching instructions, effectively avoiding the hidden risks of applying fixed structure graphs to different scenarios.

[0040] S05: Determine the sequence of job actions based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram; In a preferred embodiment of this invention, determining the execution sequence of job actions based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram specifically involves: In this embodiment, after obtaining the job constraint substructure graph, the execution sequence of job actions that meets the requirements of the job procedure needs to be determined based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure graph. Specifically, all prerequisite relationships in the job constraint substructure graph are first extracted. Since the job constraint substructure graph is organized using a directed graph data structure, the sequential connection edges represent prerequisite relationships. Each such connection edge points from the preceding job action node to the following job action node, indicating that the implementation of the following action must be based on the completion of the preceding action. By traversing all sequential connection edges in the job constraint substructure graph, the system obtains a mapping set consisting of several "preceding-following" action pairs, clarifying the dependency constraints between each job action.

[0041] After obtaining all prerequisite relationships, a topology graph is constructed using each standard operation action as a node and each prerequisite relationship as a sequence constraint between nodes. The construction process is as follows: each standard operation action involved in the operation constraint substructure graph is treated as a node in the topology graph; the sequential connection edges corresponding to each prerequisite relationship are used as directed edges between corresponding nodes in the topology graph, with the edge direction pointing from the preceding action node to the following action node, thus representing the execution order of actions. For operation actions in the operation constraint substructure graph that do not have prerequisite relationship constraints with other actions, these actions will be added to the topology graph as nodes with an in-degree of zero, indicating that they have no prerequisite dependencies and can be executed first.

[0042] Then, a topological sort is performed on the topology graph to generate a preliminary sequence of job actions. During the topological sort, a queue is first initialized, and all job action nodes with an in-degree of zero are added to the queue. A node is then removed from the queue and added to the sequence list. All subsequent nodes of that node are traversed, and the in-degree of each subsequent node is decremented by one. If the in-degree of a subsequent node becomes zero after decrementing, that node is added to the queue. This process is repeated until the queue is empty. At this point, the sequence list contains a linear arrangement of all job action nodes, satisfying the order constraints of all prerequisite relationships. If a cycle is found in the graph during the topological sort, i.e., several actions form a circular dependency, the system outputs an error message and stops sorting, indicating that the procedure clauses need to be checked. If multiple job action sequences satisfy all constraints, i.e., multiple nodes with an in-degree of zero exist simultaneously in the queue during the topological sort, the system determines the optimal sequence according to a preset auxiliary selection principle. The pre-defined auxiliary screening principles include: prioritizing actions with similar operating locations to reduce the movement distance of operators; prioritizing actions with lower risks to reduce safety risks in the early stages of operation; and grouping similar operations together to improve the continuity of the work process. In cases where these auxiliary screening principles conflict, reducing safety risks is the highest priority for screening.

[0043] After obtaining the initial sequence of job actions, it is necessary to verify whether the initial sequence violates the prohibitions in the job constraint substructure graph. The verification process is as follows: for each pair of adjacent or non-adjacent job actions in the sequence, check whether there are prohibitions stipulating that one action cannot be followed by another, or that one action and another action cannot occur simultaneously in the same job process, or that one action cannot act on a specific object. Since the prohibition edges in the job constraint substructure graph completely record all prohibitions and their associated job actions and objects, the system can complete the verification by traversing each action in the sequence and its associated object, querying whether there are prohibition edges pointing to the "action-object" combination. If a violation of a prohibition relationship exists, the system adjusts the sequence or re-executes a topological sort to generate a new sequence until all actions in the resulting sequence do not violate any prohibitions.

[0044] Through the aforementioned topological sorting and prohibition relation verification, the system ultimately obtains a sequence of job action executions that conforms to all prerequisite and prohibition relations in the job constraint substructure diagram. Each job action in this sequence is arranged in the correct execution order according to its dependencies, and the entire sequence does not contain any prohibited operation combinations. This achieves the automated conversion from the job constraint substructure diagram to a job action execution sequence that meets the requirements of the procedure and can be directly used for teaching demonstrations.

[0045] S06: Based on the constraint relationships associated with each task action in the task constraint substructure diagram, generate teaching instructions for each task action, and dynamically generate digital teaching resources based on the task action execution sequence and the teaching instructions.

[0046] In a preferred embodiment of this invention, the step of generating instructional content corresponding to each task action based on the constraint relationships associated with each task action in the task constraint substructure diagram, and dynamically generating digital teaching resources based on the task action execution sequence and the instructional content, specifically involves: In this embodiment, after obtaining the work action execution sequence and the work constraint substructure diagram, it is necessary to generate teaching instructions for each work action based on the constraint relationships associated with each work action in the work constraint substructure diagram. Specifically, for each work action in the work action execution sequence, the following operations are performed: First, extract the action description of the work action to generate a standard operation instruction for the work action. The standard operation instruction details the operation process, operation method, tools used, key points of operation, etc., of the action. Its content comes from the original clause description of the action in the work procedure text and is organized and expressed in standardized language. For example, for the voltage testing action, the standard operation instruction will describe the use of a qualified voltage tester, the order of voltage testing (first self-test with a voltage tester), then testing for live conductors, and finally testing for grounding conductors, and the specific operation content such as contacting the metal part of the conductor during voltage testing and observing whether the voltage tester indicator is normal.

[0047] Then, the prerequisite relationships associated with the operation are extracted from the operation constraint substructure diagram. Based on the extracted prerequisite relationships, a description of the preconditions that must be met before the operation can be performed is generated. Since all prerequisite relationships in the operation constraint substructure diagram are structured and stored in the form of sequentially connected edges, each prerequisite relationship edge records the dependency relationship between the preceding and following operation nodes. By traversing the prerequisite relationship edges with the operation as the following node, the system can obtain all the preceding actions that must be completed before the operation can be performed, and thus generate the precondition description. For example, for the overlapping operation, the precondition description will specify the prerequisites such as the need to complete the voltage testing and ensure that the voltage testing is successful, the workers must wear qualified insulating protective equipment, and safety warning signs must be set up in the work area.

[0048] Simultaneously, prohibition relationships associated with the task are extracted from the task constraint substructure diagram. Based on these extracted prohibition relationships, prohibition instructions are generated for the tasks during their execution. Prohibition relationships are stored in the task constraint substructure diagram as prohibited connection edges. Each prohibited connection edge records a constraint prohibiting a task from acting on a specific task object or from performing a task under specific conditions. By traversing the prohibited connection edges associated with the task, the system can obtain all prohibited operational behaviors, timings, and methods during the task's execution, thereby generating prohibition instructions. For example, for the task of disconnecting a service connection line, in scenarios with parallel power supply, the prohibition instructions will explicitly prohibit disconnection without disconnecting the parallel power supply switch, prohibit disconnection by forceful pulling, and prohibit disconnection without disconnecting the load.

[0049] In addition, it is necessary to extract the conditional triggering relationships associated with the work action from the work constraint substructure diagram, and generate supplementary safety prompts for the work action by combining the current work scenario parameter data. Conditional triggering relationships are stored in the work constraint substructure diagram as conditional triggering connection edges. Each conditional triggering connection edge records the specific constraint relationship or additional operations required between a work action and the work object when specific scenario conditions or working conditions are met. The system traverses the conditional triggering connection edges associated with the work action and combines the values ​​of each parameter in the current work scenario parameter data to determine which additional operations need to be performed or what special risks need to be noted in the current scenario, thereby generating supplementary safety prompts, especially highlighting implicit risks in complex combined scenarios. For example, for work scenarios with temporary bridging, the supplementary safety prompt for the action of bridging temporary bridging wires will clearly state that the cross-sectional area of ​​the bridging wire must meet the load requirements, the connection at both ends of the bridging wire must be firm and reliable, avoid contact between the bridging wire and other conductors to prevent short circuits, and that a dedicated person must supervise the operation.

[0050] After generating the above four types of teaching instructions, all job actions and their corresponding sequence numbers, standard operating instructions, prerequisite descriptions, prohibition instructions, and supplementary safety tips are organized into structured teaching step data. This structured teaching step data is stored in a table or tree structure, where each row or leaf node corresponds to a job action in the job action execution sequence and is associated with five fields: the action sequence number, standard operating instructions, prerequisite descriptions, prohibition instructions, and supplementary safety tips. Finally, digital teaching resources are generated based on this structured teaching step data. The generated digital teaching resources include at least three core parts: job flow steps, operation instructions for each step, and corresponding safety constraint tips. The job flow steps are presented in the order of the job action execution sequence in the form of flowcharts or step lists. The operation instructions for each step correspond to the standard operating instructions in the structured teaching step data, and the safety constraint tips integrate the prerequisite descriptions, prohibition instructions, and supplementary safety tips. This digital teaching resource is compatible with various display formats such as electronic teaching manuals, online courseware, and interactive operation simulation software. After output, it is stored in a designated location and supports access and display by teaching resource management systems or job training systems. At this point, the system has completed the entire process of automatically generating structured digital teaching resources adapted to the current scenario, from the operation procedure text and operation scenario parameter data.

[0051] In summary, this application acquires the work procedure text and work scenario parameter data, performs semantic parsing on the work procedure text to identify the work actions, work objects, and the constraints between them, and then maps the identified work actions and work objects to structural nodes and the constraints to edges connecting the structural nodes, thereby constructing a work specification constraint structure graph representing the safety constraint logic in the procedure. This transforms the prohibition relationships, prerequisite relationships, and condition triggering relationships scattered in the natural language procedure into a graph structure model that the system can recognize and process, solving the technical problem in existing technologies where safety constraints cannot be automatically recognized and processed by the system. Furthermore, based on the work scenario parameter data, it dynamically filters the constraint relationships matching the current work scenario from the complete work specification constraint structure graph and reorganizes them into a work constraint substructure graph, ensuring that only the constraint logic relevant to the current scenario is extracted for subsequent processing, avoiding... This invention addresses the hidden risks of applying the same set of operational steps to fixed-process teaching resources across all scenarios, enabling dynamic adaptation of teaching resources to different operational scenarios. Furthermore, it determines the execution sequence of operational actions based on the sequential dependencies between actions defined by constraints in the operational constraint substructure diagram, and generates corresponding instructional content based on the constraints associated with each operational action in the substructure diagram. Finally, it dynamically outputs structured digital teaching resources. Since the execution sequence and instructional content originate from different substructures of the same constraint structure diagram, when regulations are revised or scenarios change, only updating or re-filtering the constraint structure diagram is needed to automatically generate updated teaching resources, eliminating the need for manual modification of each process step. This improves the adaptability of teaching resources to different scenarios while ensuring the consistency of teaching resource content. This application effectively solves the problem that existing technologies cannot accurately and efficiently generate teaching resources dynamically for live-line work in low-voltage distribution networks.

[0052] Example 2 Please refer to Figure 2 This is a teaching resource generation device for low-voltage distribution networks provided in the embodiments of this application.

[0053] In this embodiment, the teaching resource generation device for low-voltage distribution networks includes an acquisition module 10, an identification module 20, a construction module 30, a filtering module 40, a determination module 50, and a generation module 60.

[0054] The acquisition module 10 is used to acquire preset work procedure text and work scenario parameter data; the work scenario parameter data includes work type, number of users, wiring method, parallel power supply status and temporary bridging status; The identification module 20 is used to perform semantic parsing on the work procedure text and identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text. The construction module 30 is used to map the identified work actions and work objects to structure nodes respectively, and to map the constraint relationships to the edges connecting the structure nodes, thereby constructing a work specification constraint structure graph; The filtering module 40 is used to filter out the constraint relationships that match the current work scenario from the work specification constraint structure diagram based on the work scenario parameter data, and reorganize the filtered constraint relationships and associated structural nodes into a work constraint substructure diagram. The determination module 50 is used to determine the sequence of execution of tasks based on the sequential dependencies between tasks defined by the constraints in the task constraint substructure diagram. The generation module 60 is used to generate teaching instructions for each task action according to the constraint relationship associated with each task action in the task constraint substructure diagram, and dynamically generate digital teaching resources according to the task action execution sequence and the teaching instructions.

[0055] For ease of description and brevity, the embodiments of the present invention include all the implementation methods described in the above embodiments of the teaching resource generation method for low-voltage distribution networks, and will not be repeated here.

[0056] Example 3: This application provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the aforementioned method for generating teaching resources for low-voltage distribution networks. The method for generating teaching resources for low-voltage distribution networks, when implemented as a software functional unit and used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0057] Example 4 This embodiment provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements any one of the teaching resource generation methods for low-voltage distribution networks as described in Embodiment 1.

[0058] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A method for generating teaching resources for low-voltage distribution networks, characterized in that, include: Obtain the preset work procedure text and work scenario parameter data; the work scenario parameter data includes work type, number of users, wiring method, parallel power supply status and temporary bridging status; Semantic parsing is performed on the work procedure text to identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text. The identified work actions and work objects are mapped to structural nodes, and the constraint relationships are mapped to edges connecting the structural nodes to construct a work specification constraint structure graph. Based on the work scenario parameter data, select the constraint relationships that match the current work scenario from the work specification constraint structure diagram, and reorganize the selected constraint relationships and associated structural nodes into a work constraint substructure diagram; Based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram, the job action execution sequence is determined. Based on the constraint relationships associated with each task action in the task constraint substructure diagram, teaching instructions corresponding to each task action are generated, and digital teaching resources are dynamically generated based on the task action execution sequence and the teaching instructions.

2. The method for generating teaching resources for low-voltage distribution networks according to claim 1, characterized in that, The semantic parsing of the work procedure text, identifying the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text, specifically includes: The work procedure text is read in a preset order of terms, and statements containing operation instructions are identified. The identified operation instructions are mapped to standard operating procedures; For each standard operating procedure, extract the target of action from the corresponding procedure statement; Identify statements in the work procedure text that contain constraints, and classify the identified constraints into prohibition relationships, prerequisite relationships, and condition triggering relationships; The prohibited relationships, the prerequisite relationships, and the condition trigger relationships obtained from the classification are associated with the corresponding standard operating procedures and the objects to be applied.

3. The method for generating teaching resources for low-voltage distribution networks according to claim 2, characterized in that, The process involves mapping the identified work actions and work objects to structural nodes, and mapping the constraint relationships to edges connecting these structural nodes, thereby constructing a work specification constraint structure graph. Specifically: Each of the aforementioned standard operating actions is used as an operating action node, and each of the aforementioned objects of action is used as an operating object node; The prohibition relationship is used as the prohibited connection edge between the operation action node and the operation object node, the prerequisite relationship is used as the sequential connection edge between different operation action nodes, and the condition triggering relationship is used as the condition triggering connection edge between the operation action node and the operation object node. All the operation action nodes, operation object nodes, prohibited connection edges, sequential connection edges, and conditional trigger connection edges are organized into a directed graph data structure to obtain the operation specification constraint structure graph.

4. The method for generating teaching resources for low-voltage distribution networks according to claim 1, characterized in that, The step involves selecting constraint relationships matching the current work scenario from the work specification constraint structure diagram based on the work scenario parameter data, and then reorganizing the selected constraint relationships and associated structural nodes into a work constraint substructure diagram. Specifically: The operation scenario parameter data is parsed to obtain the operation scenario parameters; Traverse each constraint relationship in the work specification constraint structure diagram and determine whether the applicable conditions recorded in each constraint relationship match the work scenario parameters; If a match is found, the current constraint relationship is marked as active; if no match is found, the current constraint relationship is marked as inactive. Extract all constraints marked as active, and extract the structural nodes connected to the constraints marked as active. Reorganize the extracted constraints and structural nodes into the job constraint substructure diagram.

5. The method for generating teaching resources for low-voltage distribution networks according to claim 1, characterized in that, The step of determining the execution sequence of job actions based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram is as follows: Extract all prerequisite relationships from the job constraint substructure graph, and construct a topology graph with each standard job action as a node and each prerequisite relationship as a sequence constraint between nodes. Perform topological sorting on the topology graph to generate a preliminary sequence of job action executions; Verify whether each action in the preliminary job action execution sequence violates the prohibition relationship in the job constraint substructure diagram; If the prohibition relationship is violated, the preliminary job action execution sequence is discarded as an invalid sequence, and topological sorting is performed again to generate a new preliminary sequence until a job action execution sequence that does not violate the prohibition relationship is obtained.

6. The method for generating teaching resources for low-voltage distribution networks according to claim 1, characterized in that, The step of generating instructional content corresponding to each task action based on the constraint relationships associated with each task action in the task constraint substructure diagram is as follows: Extract the action description of each action in the action execution sequence and generate standard operation instructions for the action. Extract the prerequisite relationships associated with the operation action from the operation constraint substructure diagram, and generate a description of the prerequisite conditions that must be met before the operation action is implemented based on the extracted prerequisite relationships; Extract prohibition relationships associated with the job action from the job constraint substructure diagram, and generate operation instructions that are prohibited from being executed during the implementation of the job action based on the extracted prohibition relationships; Extract the conditional triggering relationships associated with the operation action from the operation constraint substructure diagram, and generate supplementary safety prompts for the operation action by combining the operation scenario parameter data; All work actions, their corresponding sequence numbers, standard operating instructions, prerequisite descriptions, prohibited operation instructions, and supplementary safety tips are organized into structured teaching step data, and the digital teaching resources are generated based on the structured teaching step data.

7. A teaching resource generation device for low-voltage distribution networks, characterized in that, include: The acquisition module is used to acquire preset work procedure text and work scenario parameter data; the work scenario parameter data includes work type, number of users, wiring method, parallel power supply status and temporary bridging status; The identification module is used to perform semantic parsing on the work procedure text and identify the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text. The construction module is used to map the identified work actions and work objects to structure nodes, and to map the constraint relationships to edges connecting the structure nodes, thereby constructing a work specification constraint structure graph. The filtering module is used to filter out the constraint relationships that match the current work scenario from the work specification constraint structure diagram based on the work scenario parameter data, and to reorganize the filtered constraint relationships and associated structural nodes into a work constraint substructure diagram. The determination module is used to determine the sequence of execution of job actions based on the sequential dependencies between job actions defined by the constraints in the job constraint substructure diagram. The generation module is used to generate teaching instructions for each task action based on the constraint relationships associated with each task action in the task constraint substructure diagram, and to dynamically generate digital teaching resources based on the task action execution sequence and the teaching instructions.

8. The teaching resource generation device for low-voltage distribution networks according to claim 7, characterized in that, The semantic parsing of the work procedure text, identifying the work actions, work objects, and the constraint relationships between the work actions and the work objects recorded in the work procedure text, specifically includes: The work procedure text is read in a preset order of terms, and statements containing operation instructions are identified. The identified operation instructions are mapped to standard operating procedures; For each standard operating procedure, extract the target of action from the corresponding procedure statement; Identify statements in the work procedure text that contain constraints, and classify the identified constraints into prohibition relationships, prerequisite relationships, and condition triggering relationships; The prohibited relationships, the prerequisite relationships, and the condition trigger relationships obtained from the classification are associated with the corresponding standard operating procedures and the objects to be applied.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the teaching resource generation method for low-voltage distribution networks as described in any one of claims 1 to 6.

10. A terminal device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the teaching resource generation method for low-voltage distribution networks as described in any one of claims 1 to 6.