Teaching situation parameter extraction and dynamic modeling method and system based on large language model

By constructing a hierarchical parameter system and dynamic interaction of a large language model, the problem of missing information for teachers' oral teaching needs in intelligent teaching systems has been solved, and standardized and personalized support for teaching context parameters has been achieved, improving the efficiency of teaching resource generation and personalized services.

CN123140797APending Publication Date: 2026-11-20HUAZHONG NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611404371.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing intelligent teaching systems struggle to effectively address teachers' conversational and unstructured teaching needs, resulting in low efficiency in parameter acquisition, insufficient ability to express teaching scenarios, a lack of personalized support, and difficulty in forming standardized and scalable teaching scenario models, thus affecting the generation of teaching resources and the effectiveness of personalized teaching services.

Method used

A hierarchical parameter system is constructed, comprising teacher parameters, student parameters, and scenario parameters. This system is combined with a large language model for dynamic multi-turn interactions. Through semantic calibration and standardized modeling, machine-readable teaching scenario parameters are output, including parameter state detection, dynamic follow-up questions, and semantic mapping.

Benefits of technology

It improves the completeness and standardization of information collected on teaching needs, supports the expansion of different teaching scenarios, enhances the data reuse and collaborative processing capabilities of the intelligent teaching system, and improves the effectiveness of teaching resource generation and personalized recommendation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140797A_ABST
    Figure CN123140797A_ABST
Patent Text Reader

Abstract

The present application belongs to the field of artificial intelligence and educational information technology, and discloses a teaching situation parameter extraction and dynamic modeling method and system based on a large language model. A hierarchical standard system containing teachers, students and scene parameters is constructed, and the quality of multi-round dialogue samples in the teaching field is screened, consistency is checked and a field model is adapted. The natural language requirements of teachers are received, the obtained parameter set P is extracted, the missing set M=S-P is calculated according to the standard set S, the follow-up questions are dynamically generated according to the parameter importance, the context correlation, the dependency relationship and the historical answer, and the cycle is completed. The multi-round text is subjected to semantic mapping, conflict calibration, type conversion, default filling and format normalization, and the JSON or XML structured parameters are output. The method improves the completeness, consistency of teaching situation information and data reuse capability of downstream applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to, but is not limited to, the fields of artificial intelligence and educational informatization, and particularly relates to a method and system for extracting and dynamically modeling teaching context parameters based on a large language model. Background Technology

[0002] With the development of generative artificial intelligence and large language model technology, intelligent teaching systems have gradually shifted from traditional resource management to intelligent content generation. However, most intelligent teaching platforms still rely on teachers manually entering teaching parameters or using fixed templates to configure teaching scenarios, resulting in problems such as low parameter acquisition efficiency, insufficient ability to express teaching scenarios, and limited personalized support capabilities.

[0003] Existing technologies typically collect teacher information, student characteristics, and classroom environment information through form filling, questionnaires, or rule matching. When teaching context parameters rely on manual input, teachers need to enter parameters such as course content, teaching objectives, student characteristics, and classroom environment item by item. This not only increases the teacher's workload but also easily leads to parameter omissions and incomplete information, making it difficult to meet the need for rapid collection of teaching context information in complex teaching scenarios. When describing teaching needs, teachers often use colloquial, unstructured natural language containing implicit intentions, which often fails to fully express key information such as teaching objectives, student cognitive levels, classroom organization, and teaching resource needs in one go. Traditional single-round parameter extraction methods lack the ability to understand implicit semantics and contextual information, making it difficult to proactively identify and complete missing parameters, affecting the completeness and accuracy of teaching context modeling.

[0004] Existing teaching systems typically manage teacher, student, and teaching scenario information in a decentralized manner, lacking unified parameter classification standards and hierarchical organizational structures. Different types of parameters lack interrelationships, making it difficult to form standardized, scalable teaching scenario models and hindering data sharing and reuse across different teaching scenarios. Furthermore, teachers' expressions may be highly colloquial, incomplete in intent, and contain implicit assumptions. Traditional single-round extraction mechanisms cannot proactively identify missing key parameters such as lesson stage, cognitive level objectives, and hardware environment, easily leading to mismatched or infeasible teaching steps in the generated results.

[0005] Teachers' input of teaching needs is usually in the form of natural language. Different teachers express the same teaching concepts in significantly different ways, which can easily lead to semantic ambiguity and parameter inconsistencies. Existing systems lack parameter standardization, semantic calibration, and unified encoding mechanisms, making it difficult to directly use the extracted results as high-quality input to large language models, thus affecting the effectiveness of subsequent teaching resource generation, intelligent instructional design, and personalized teaching services.

[0006] Publicly available task-oriented dialogue technologies typically form dialogue states through slots and their values, using belief states to track information already given in user utterances, and then a policy processing module organizes subsequent system actions. This type of technology provides a state representation foundation for multi-turn information acquisition, but its slot system, state updates, and probing strategies are usually configured around specific tasks and cannot directly express the hierarchical parameter relationships between teachers, students, and the context. Publicly available instruction fine-tuning techniques can adapt pre-trained language models using task data described in natural language instructions, and low-rank adaptation techniques can perform domain adaptation for downstream tasks while freezing the basic model parameters. However, neither of these can solve the problems of missing parameters in teaching contexts, cross-dimensional logical conflict calibration, and strongly typed structured output for downstream applications.

[0007] Therefore, the core technical problem that existing technologies need to solve is:

[0008] How can we, under the condition that teachers' teaching needs are inputted in colloquial, unstructured natural language and may lack key parameters, continuously supplement missing information through a unified teacher-student-scenario hierarchical parameter system, eliminate semantic ambiguity and cross-dimensional logical conflicts of parameters, and form standardized structured teaching scenario parameters that can be directly reused for intelligent teaching applications, based on a large language model and dynamic multi-turn interaction? Summary of the Invention

[0009] This invention addresses the problems of information dispersion, parameter missingness, inconsistent expression, and difficulty in directly using downstream models in teachers' natural language teaching needs. It constructs a hierarchical parameter system composed of teacher parameters, student parameters, and scenario parameters, and combines it with dialogue data from the teaching domain to train or adapt large language models. It uses parameter state detection to drive dynamic probing, and outputs machine-readable teaching scenario parameters through semantic calibration and standardized modeling, thus forming two corresponding technical solutions: method and system.

[0010] This invention provides a method for extracting and dynamically modeling teaching context parameters based on a large language model, comprising:

[0011] Step 1: Construct a hierarchical teaching scenario parameter system that includes teacher parameters, student parameters, and scenario parameters, and configure parameter codes, data types, required states, default values, and value ranges for each parameter to form a standard teaching scenario parameter set S;

[0012] Step 2: Generate multi-round teaching dialogue samples based on the hierarchical teaching context parameter system. After format conversion, quality screening and consistency verification of the multi-round teaching dialogue samples, perform domain adaptation on the basic large language model to obtain the teaching domain large language model.

[0013] Step 3: Receive the natural language teaching requirements input by the teacher, use the large language model of the teaching domain to parse the multi-turn context and extract the acquired parameter set P, calculate the missing parameter set M=SP based on the standard teaching context parameter set S and the acquired parameter set P, and determine whether the required parameters are complete.

[0014] Step 4: When there are missing required parameters, calculate the collection priority of missing parameters based on parameter importance, context relevance, parameter dependency and historical response, generate a dynamic follow-up question queue, update the context multiple times after obtaining the teacher's response to the follow-up questions, re-extract the acquired parameter set P and recalculate the missing parameter set M until the required parameters are complete.

[0015] Step 5: Perform semantic parsing, semantic mapping, ambiguity elimination, legality and rationality verification, and cross-dimensional logical conflict calibration on the complete multi-round context and acquired parameters;

[0016] Step 6: Convert the type of the calibrated parameters, fill in the default values ​​and normalize the format to form a standardized teaching context parameter object, and serialize the standardized teaching context parameter object into machine-readable structured data.

[0017] Furthermore, the hierarchical teaching context parameter system includes a teacher parameter system, a student parameter system, and a scenario parameter system. The teacher parameter system includes at least basic information, teaching ability, digital literacy, teaching content, teaching mode, and social responsibility. The student parameter system includes at least basic information, learning behavior, learning ability, digital ability, emotional motivation, learning style, and personality traits. The scenario parameter system includes at least spatiotemporal information, location information, physical space, technological environment, classroom environment, class culture, and collaboration mode. Each parameter is associated with its superior category through a hierarchical relationship and is jointly limited by parameter encoding, data type, required status, default value, and value range.

[0018] Furthermore, the multi-round teaching dialogue samples are generated by a teaching context parameter system. The system-side role is set as a teaching context acquisition assistant, and the user-side role is set as teachers with different professional backgrounds, so that the samples include differences in natural language expression, colloquial expressions, and missing information. After the format conversion, quality screening, and consistency verification are completed, the basic large language model is subjected to supervised fine-tuning, and the trainable parameters for the teaching domain are trained through low-rank adaptation to obtain the ability to understand teaching terminology and map natural language to standardized parameters.

[0019] Furthermore, the parameter collection priority is determined based on the importance of the parameters, the relevance of the current context, the dependencies between parameters, and the historical responses. A follow-up question queue is generated according to the collection priority. The collection priority of course subject, teaching objectives, and student grade level is higher than that of classroom environment and teaching equipment. After each round of interaction, the order of subsequent follow-up questions is recalculated based on the updated parameter status.

[0020] Furthermore, the semantic parsing includes mapping non-standard descriptions to standard value ranges using word vector similarity or enumeration lookup tables, and performing cross-dimensional logical collaborative checks through a parameter validation rule base; when the classroom type is a regular classroom and the teaching type is a group experimental inquiry class, a calibration prompt is triggered for the teacher to confirm, or the corresponding hardware equipment configuration items are corrected according to the preset calibration rules.

[0021] Another objective of this invention is to provide a teaching context parameter extraction and dynamic modeling system, comprising:

[0022] The teaching context parameter system construction module is used to construct a hierarchical parameter matrix composed of teacher parameters, student parameters, and scenario parameters, and form a standard teaching context parameter set S;

[0023] The teaching domain dataset construction and model fine-tuning module is connected to the teaching context parameter system construction module, and is used to generate multi-round teaching dialogue samples based on the hierarchical parameter matrix and perform domain adaptation on the basic large language model.

[0024] The natural language receiving and parameter extraction module is connected to the teaching domain dataset construction and model fine-tuning module, and is used to receive teachers' natural language teaching needs and extract the acquired parameter set P.

[0025] The parameter integrity detection module is connected to the teaching context parameter system construction module and the natural language receiving and parameter extraction module. It is used to determine the missing parameter set M=SP based on the standard teaching context parameter set S and the acquired parameter set P, and to judge the integrity of the required parameters.

[0026] A guided multi-turn dialogue module, connected to the parameter integrity detection module, is used to generate a dynamic follow-up question queue based on parameter priority when there are missing parameters, and to feed the teacher's answer back to the natural language receiving and parameter extraction module.

[0027] The parameter semantic parsing and parameter calibration module is connected to the natural language receiving and parameter extraction module and the parameter integrity detection module, and is used to perform semantic mapping, ambiguity elimination, legality and rationality verification and cross-dimensional logical conflict calibration.

[0028] The teaching scenario parameter standardization modeling module, connected to the parameter semantic parsing and parameter calibration module, is used to perform type conversion, default value filling, and format normalization; and

[0029] The structured parameter output module is connected to the teaching scenario parameter standardization modeling module and is used to serialize the standardized modeling results into JSON or XML structured data and output them to the downstream intelligent teaching application system.

[0030] Furthermore, the teaching scenario parameter system construction module establishes a three-tiered hierarchical relationship among teacher parameters, student parameters, and scenario parameters, and configures a unique parameter code, data type, required status, default value, and value range for each parameter, so that the parameter integrity detection module can judge the parameter status based on a unified standard teaching scenario parameter set S.

[0031] Furthermore, the teaching domain dataset construction and model fine-tuning module includes a dialogue sample generation unit, a format conversion unit, a quality screening unit, a consistency verification unit, and a manual sampling review unit. Based on the reviewed multi-round dialogue samples, it performs supervised fine-tuning or low-rank adaptation on the basic large language model and outputs the teaching domain large language model to the natural language receiving and parameter extraction module.

[0032] Furthermore, the parameter integrity detection module maintains the acquired parameter set P and calculates the missing parameter set M=SP. The guided multi-turn dialogue module generates a dynamic follow-up question queue based on parameter importance, context relevance, parameter dependency, and historical response. The new answers and updated multi-turn context generated by the teacher's response interaction are fed back to the natural language receiving and parameter extraction module until the required parameters are complete, at which point the complete parameters are passed to the parameter semantic parsing and parameter calibration module.

[0033] Furthermore, the parameter semantic parsing and parameter calibration module maps non-standard descriptions to standard value ranges through word vector similarity or enumeration lookup tables, performs cross-dimensional logical collaborative checks using a parameter validation rule base, and outputs calibration parameters; the teaching scenario parameter standardization modeling module converts calibration parameters into a strongly typed data model and performs default value filling and format normalization; the structured parameter output module serializes the standardized data model into JSON or XML format, providing it to intelligent lesson plan generators, personalized homework recommendation engines, or other downstream intelligent teaching applications.

[0034] In combination with the above technical solutions and the technical problems solved, the positive effects, significant advancements, and unexpected technical effects of the technical solution to be protected by this invention are as follows:

[0035] This invention transforms the teacher's natural language input into detectable parameter states by establishing the state relationship between the standard teaching scenario parameter set S, the acquired parameter set P, and the missing parameter set M. This provides a unified basis for locating missing information and subsequent interactions, reducing omissions caused by item-by-item entry in fixed forms.

[0036] This invention dynamically adjusts the follow-up question queue based on parameter importance, context relevance, dependency, and historical responses, allowing the questioning order to change with the current context. This enables the gradual completion of content not explicitly expressed in natural language around high-priority teaching information, improving information loss and ambiguity in single-round interactions.

[0037] This invention organizes teacher parameters, student parameters, and scenario parameters in a hierarchical and unified manner, and sets codes, types, required states, default values, and value ranges for the parameters, so that parameters of different dimensions can be associated, shared, and reused in the same data structure, supporting the expansion of different learning stages, subjects, and teaching scenarios.

[0038] This invention addresses inconsistencies in colloquial expressions and parameters through semantic mapping, enumeration normalization, and cross-dimensional logical conflict calibration. This enables the calibrated parameters to enter structured modeling in a strongly typed and unified format, reducing the impact of semantic ambiguity on subsequent teaching resource generation and instructional design.

[0039] This invention serializes standardized teaching scenario parameters into machine-readable data such as JSON or XML, enabling the parameter results to be directly transmitted to intelligent lesson plan generation, personalized homework recommendation, multi-agent collaborative teaching, and other downstream applications, thereby improving the data reuse and collaborative processing capabilities among different educational intelligent modules.

[0040] As supporting evidence of the inventive step of the claims of this invention, the following important aspects are also reflected:

[0041] (1) The expected benefits and commercial value of the technical solution of this invention after transformation are as follows: This invention can be applied to scenarios such as intelligent lesson preparation, personalized teaching, teaching resource recommendation, automatic lesson plan generation, and teaching management. By converting the teaching needs described by teachers in natural language into structured teaching context parameters, and dynamically asking follow-up questions and completing missing parameters, the operational cost of teachers repeatedly filling in a large number of structured forms can be reduced, and the information integrity and standardization in the process of collecting teaching needs and generating lesson plans can be improved. At the same time, through unified parameter coding, parameter constraints, and structured output methods, standardized data input can be provided for subsequent teaching content generation, teaching resource matching, and personalized recommendations, thereby improving the integrability and automation level of related intelligent teaching systems. The above benefits are based on the application expectations of the technical solution of this invention, and the specific commercial benefits still need to be further verified in conjunction with actual product deployment and operation data.

[0042] (2) The technical solution of this invention fills a technical gap in the industry both domestically and internationally:

[0043] (3) The technical solution of this invention solves a technical problem that people have long desired to solve but have never been able to: This invention solves the problem that when teaching needs are expressed in natural language, the implicit teaching intentions, contextual information, and parameter constraints contained therein are difficult to directly convert into structured parameters that can be processed by machines. For example, when a teacher says "teaching students with poor foundations," this description does not directly give clear structured parameters such as cognitive level, knowledge base, or teaching difficulty. Through the teaching context parameter system and the semantic parsing mechanism of the large language model of this invention, the above natural language description can be mapped to predefined student parameters, and targeted follow-up questions can be generated when necessary parameters are missing, thereby gradually forming a relatively complete set of teaching context parameters.

[0044] (4) The technical solution of the present invention overcomes technical bias: When processing teachers' teaching needs, existing intelligent teaching systems usually use fixed forms or one-time information extraction to obtain preset parameters. The present invention does not require teachers to fill in all teaching parameters completely as a necessary prerequisite for obtaining a structured teaching context. Instead, it adopts an interactive modeling method of "large language model natural language understanding + parameter status detection + dynamic follow-up questions + context completion", which enables teachers to first describe their teaching needs in a natural and conversational way, and then the system determines the still missing necessary information and subsequent follow-up questions based on the parameter status that has been obtained. Attached Figure Description

[0045] Figure 1 The flowchart illustrates a teaching context parameter extraction and dynamic modeling method based on a large language model, as provided in this embodiment of the invention.

[0046] Figure 2 A detailed flowchart of the teaching scenario parameter extraction and dynamic modeling method provided in the embodiments of the present invention.

[0047] Figure 3 The structural diagram of the teaching scenario parameter extraction and dynamic modeling system provided in the embodiments of the present invention is shown.

[0048] Figure 4 This is a general technical roadmap for extracting teaching scenario parameters and dynamically modeling, provided for embodiments of the present invention.

[0049] Figure 5 A diagram showing the composition of teaching scenario parameters provided in an embodiment of the present invention.

[0050] Figure 6 The flowchart for automatic extraction and dynamic modeling of teaching scenario parameters provided in the embodiments of the present invention is shown.

[0051] Figure 7 The diagram below illustrates the framework for automatically generating parameters for lesson plans, as provided in this embodiment of the invention.

[0052] Figure 8 A framework diagram of teacher digital literacy provided for embodiments of the present invention.

[0053] Figure 9 The provided examples are Prompt templates and illustrations for generating synthetic dialogues in embodiments of the present invention. Detailed Implementation

[0054] like Figure 1 As shown in the figure, an embodiment of the present invention provides a method for extracting and dynamically modeling teaching context parameters based on a large language model, comprising:

[0055] S1, construct a hierarchical teaching situation parameter system that includes teacher parameters, student parameters and scenario parameters, and configure parameter codes, data types, required states, default values ​​and value ranges for the parameters to form a standard teaching situation parameter set S;

[0056] S2, generate multi-round teaching dialogue samples based on the hierarchical teaching context parameter system, perform format conversion, quality screening and consistency verification on the multi-round teaching dialogue samples, and then perform domain adaptation on the basic large language model to obtain the teaching domain large language model.

[0057] S3, receive the natural language teaching requirements input by the teacher, use the large language model of the teaching domain to parse the multi-turn context and extract the acquired parameter set P, calculate the missing parameter set M=SP according to the standard teaching context parameter set S and the acquired parameter set P, and determine whether the required parameters are complete;

[0058] S4. When there are missing required parameters, calculate the collection priority of missing parameters based on parameter importance, context relevance, parameter dependency and historical response, generate a dynamic follow-up question queue, update the context multiple times after obtaining the teacher's response to the follow-up question, re-extract the obtained parameter set P and recalculate the missing parameter set M until the required parameters are complete.

[0059] S5 performs semantic parsing, semantic mapping, ambiguity elimination, legality and rationality verification, and cross-dimensional logical conflict calibration on the complete multi-round context and acquired parameters.

[0060] S6. The calibrated parameters are converted in type, filled with default values ​​and normalized in format to form a standardized teaching context parameter object, and the standardized teaching context parameter object is serialized into machine-readable structured data.

[0061] The hierarchical teaching scenario parameter system provided in this invention includes a teacher parameter system, a student parameter system, and a scenario parameter system. The teacher parameter system includes at least basic information, teaching ability, digital literacy, teaching content, teaching mode, and social responsibility. The student parameter system includes at least basic information, learning behavior, learning ability, digital ability, emotional motivation, learning style, and personality traits. The scenario parameter system includes at least spatiotemporal information, location information, physical space, technological environment, classroom environment, class culture, and collaboration mode. Each parameter is associated with its superior category through a hierarchical relationship and is jointly defined by parameter encoding, data type, required status, default value, and value range.

[0062] The multi-turn teaching dialogue samples provided in this embodiment of the invention are generated by a teaching context parameter system. The system-side role is set as a teaching context acquisition assistant, and the user-side role is a teacher with different professional backgrounds, so that the samples include differences in natural language expression, colloquial expressions, and missing information. After the format conversion, quality screening, and consistency verification are completed, the basic large language model is subjected to supervised fine-tuning, and the trainable parameters for the teaching field are trained through low-rank adaptation to obtain the ability to understand teaching terminology and map natural language to standardized parameters.

[0063] The parameter collection priority provided in this embodiment of the invention is determined jointly based on the importance of the parameters, the relevance of the current context, the dependencies between parameters, and the historical responses. A follow-up question queue is generated according to the collection priority. The collection priority of course subject, teaching objectives, and student grade level is higher than that of classroom environment and teaching equipment. After each round of interaction, the order of subsequent follow-up questions is recalculated based on the updated parameter status.

[0064] The semantic parsing provided in this embodiment of the invention includes mapping non-standard descriptions to standard value ranges using word vector similarity or enumeration lookup tables, and performing cross-dimensional logical collaborative checks through a parameter verification rule base; when the classroom type is a regular classroom and the teaching type is a group experimental inquiry class, a calibration prompt is triggered for the teacher to confirm, or the corresponding hardware device configuration items are corrected according to the preset calibration rules.

[0065] This invention provides a teaching context parameter extraction and dynamic modeling system, comprising:

[0066] The teaching context parameter system construction module is used to construct a hierarchical parameter matrix composed of teacher parameters, student parameters, and scenario parameters, and form a standard teaching context parameter set S;

[0067] The teaching domain dataset construction and model fine-tuning module is connected to the teaching context parameter system construction module, and is used to generate multi-round teaching dialogue samples based on the hierarchical parameter matrix and perform domain adaptation on the basic large language model.

[0068] The natural language receiving and parameter extraction module is connected to the teaching domain dataset construction and model fine-tuning module, and is used to receive teachers' natural language teaching needs and extract the acquired parameter set P.

[0069] The parameter integrity detection module is connected to the teaching context parameter system construction module and the natural language receiving and parameter extraction module. It is used to determine the missing parameter set M=SP based on the standard teaching context parameter set S and the acquired parameter set P, and to judge the integrity of the required parameters.

[0070] A guided multi-turn dialogue module, connected to the parameter integrity detection module, is used to generate a dynamic follow-up question queue based on parameter priority when there are missing parameters, and to feed the teacher's answer back to the natural language receiving and parameter extraction module.

[0071] The parameter semantic parsing and parameter calibration module is connected to the natural language receiving and parameter extraction module and the parameter integrity detection module, and is used to perform semantic mapping, ambiguity elimination, legality and rationality verification and cross-dimensional logical conflict calibration.

[0072] The teaching scenario parameter standardization modeling module, connected to the parameter semantic parsing and parameter calibration module, is used to perform type conversion, default value filling, and format normalization; and

[0073] The structured parameter output module is connected to the teaching scenario parameter standardization modeling module and is used to serialize the standardized modeling results into JSON or XML structured data and output them to the downstream intelligent teaching application system.

[0074] The teaching scenario parameter system construction module provided in this embodiment of the invention establishes a three-level hierarchical relationship of teacher parameters, student parameters, and scenario parameters, and configures a unique parameter code, data type, required status, default value, and value range for each parameter, so that the parameter integrity detection module can judge the parameter status based on a unified standard teaching scenario parameter set S.

[0075] The teaching domain dataset construction and model fine-tuning module provided in this embodiment of the invention includes a dialogue sample generation unit, a format conversion unit, a quality screening unit, a consistency verification unit, and a manual sampling review unit. Based on the reviewed multi-round dialogue samples, it performs supervised fine-tuning or low-rank adaptation on the basic large language model and outputs the teaching domain large language model to the natural language receiving and parameter extraction module.

[0076] The parameter integrity detection module provided in this embodiment of the invention maintains the acquired parameter set P and calculates the missing parameter set M=SP. The guided multi-turn dialogue module generates a dynamic follow-up question queue based on parameter importance, context relevance, parameter dependency and historical response. The new answers and updated multi-turn context formed by the teacher's response interaction are fed back to the natural language receiving and parameter extraction module until the required parameters are complete, and then the complete parameters are passed to the parameter semantic parsing and parameter calibration module.

[0077] The parameter semantic parsing and parameter calibration module provided in this embodiment of the invention maps non-standard descriptions to standard value ranges through word vector similarity or enumeration lookup tables, performs cross-dimensional logical collaborative checks using a parameter verification rule base, and outputs calibration parameters; the teaching scenario parameter standardization modeling module converts the calibration parameters into a strongly typed data model and performs default value filling and format normalization; the structured parameter output module serializes the standardized data model into JSON or XML format and provides it to intelligent lesson plan generators, personalized homework recommendation engines, or other downstream intelligent teaching applications.

[0078] like Figure 2 As shown, the teaching context parameter extraction and dynamic modeling method of this embodiment includes two parts: offline preparation and online modeling. Step S101 constructs a three-dimensional hierarchical parameter system containing teacher parameters, student parameters, and scenario parameters to form a standard teaching context parameter set S; Step S102 generates multi-round teaching dialogue samples based on the parameter system; Step S103 performs format conversion, quality screening, and consistency verification on the multi-round teaching dialogue samples; Step S104 performs supervised fine-tuning or low-rank adaptation on the basic large language model based on the processed samples to form a large language model for the teaching domain. During online modeling, step S105 receives the teacher's natural language teaching requirements; step S106 parses the multi-turn context and extracts the acquired parameter set P using the large language model of the teaching domain; step S107 calculates the missing parameter set according to M=SP; step S108 determines whether the required parameters are complete; if there are missing parameters, step S109 calculates the priority and generates a dynamic follow-up question queue; step S110 obtains the teacher's answer and updates the multi-turn context before returning to step S106; if the required parameters are complete, it proceeds to step S111 for semantic mapping, conflict calibration, and consistency checking; then step S112 performs type conversion, default filling, and format normalization; finally, step S113 serializes and outputs the structured teaching context parameters.

[0079] like Figure 3As shown, the system's teaching context parameter system construction module 201 forms a standard set S, the teaching domain dataset construction module 202 generates training samples based on the parameter system, and the large language model fine-tuning module 203 outputs the teaching domain model. The natural language receiving and parameter extraction module 204 receives teacher requests and outputs the acquired parameter set P. The parameter integrity detection module 205 combines the standard set S and the acquired parameter set P to obtain the missing parameter set M. When missing parameters exist, the guided multi-turn dialogue module 206 generates follow-up questions, the teacher response interaction module 207 obtains the answers, and the multi-turn context is fed back to the natural language receiving and parameter extraction module 204. After the parameters are complete, the parameter semantic parsing module 208, the parameter calibration and consistency check module 209, the teaching context parameter standardization modeling module 210, and the structured parameter output module 211 process the mapping results, calibration parameters, and standardization objects in sequence, and transmit the JSON or XML structured data to the downstream intelligent teaching application 212. The parameter system construction module 201 also provides a standard set S to the integrity detection module 205, and the fine-tuning module 203 provides a teaching domain model to the parameter extraction module 204, thus forming a system structure that combines offline configuration and online processing.

[0080] like Figure 4 As shown in the diagram, the left side represents the design of teaching scenario parameters and data collection, the middle section represents the extraction of teaching scenario features and parameter representation, and the right side represents the dynamic modeling and optimization of scenario parameters. The left side organizes teacher characteristics, student characteristics, time type, course characteristics, basic learning conditions, and physical space into multi-dimensional parameters, obtaining data from an information platform. The middle section extracts parameters for teacher, student, and scenario features respectively, forming multi-dimensional teaching scenario features. The right side performs dynamic optimization based on multiple rounds of scenario parameters, adjusting parameters through iterative optimization and real-time feedback, and inputting the adjusted scenario parameters into the contextualized content generation model. The relationships shown in the diagram illustrate the overall collaborative relationship between parameter collection, feature representation, and dynamic adjustment.

[0081] like Figure 5 As shown, teaching scenario parameters serve as the central object, linked to three dimensions: teacher parameters, student parameters, and scenario parameters. Data sources for the teaching domain include elementary science education question banks, Socratic heuristic dialogues, science textbook resources, science curriculum standards, lesson plans and exercise resources, online Q&A communities, and homework and test data. Teacher parameters include basic information, teaching ability, teaching content, teaching model, and social responsibility. Student parameters include basic information, learning behavior, learning ability, emotional motivation, and personality traits. Scenario parameters include spatiotemporal information, technological elements, and the classroom environment. Through this hierarchical relationship, teachers, students, scenario information, and teaching data sources collectively form the compositional relationship of teaching scenario parameters.

[0082] like Figure 6As shown, after the teacher inputs the teaching requirements, the system sequentially performs semantic parsing of the large language model and parameter integrity detection. When a missing parameter is detected, a guided follow-up question is dynamically generated and the teacher's answer is obtained. Then, the parameter integrity detection is returned through the cross-round context semantic completion module until no missing parameter exists. When the parameter is complete, parameter calibration and standardization processing, teaching situation parameter modeling, and structured teaching situation parameter output are sequentially performed. Figure 6 The decision branches and return paths in the code represent multi-round interactive closed loops under the condition of missing parameters.

[0083] like Figure 7 As shown, the parameter collection framework for automatic lesson plan generation centers on the teaching scenario, teacher basic information, teaching content, and teaching mode as parameter partitions. The teaching scenario partition includes classroom attributes and hardware / software equipment; the teacher basic information partition includes demographic characteristics and professional background; the teaching content partition includes the target audience, textbook information, course information, and resource design; and the teaching mode partition includes teaching mode, teaching strategies, teaching methods, teaching steps, and teaching style. Each partition provides collection dimensions for the teaching scenario parameter system.

[0084] like Figure 8 As shown, the framework for teachers' digital literacy comprises five levels: digital awareness, digital technology knowledge and skills, digital application, digital social responsibility, and professional development. Digital awareness includes digital understanding, digital willingness, and digital will; digital technology knowledge and skills include digital technology knowledge and skills; digital application includes digital instructional design, digital instructional implementation, digital academic assessment, and digital collaborative education; digital social responsibility includes legal and ethical norms and digital security protection; and professional development includes digital learning and professional development, as well as digital teaching research and innovation.

[0085] like Figure 9 As shown, the synthetic dialogue generation prompt template and examples stipulate that teachers should use natural spoken language instead of directly listing parameters. The system gradually guides teachers to provide necessary fields, including lesson plan topic, lesson type, grade level, grade level, textbook / semester, and textbook version. Optional fields are requested by the system based on the dialogue situation, and teachers can provide or omit them. The system ends the dialogue after all information is complete. This prompt template is used to generate multi-turn teaching dialogue samples and provides a data foundation for supervised fine-tuning of large language models in the teaching domain. Figures 4 to 9 The diagrams and corresponding technical solutions are used together to illustrate this embodiment.

[0086] In one implementation, the teacher parameter system includes basic information, teaching ability, digital literacy, teaching content, teaching model, and social responsibility. Basic information includes gender, teaching experience, professional title, and professional qualifications. Teaching experience can be categorized as 0-5 years, 5-10 years, and over 10 years. Professional titles can include Level 3 teacher, Level 2 teacher, Level 1 teacher, Senior teacher, and Senior Professional Teacher. Teaching ability includes subject teaching ability and interdisciplinary concepts. Subject teaching ability includes learning design, instructional implementation, and evaluation and improvement. Digital literacy includes digital awareness, digital technology knowledge and skills, digital applications, digital social responsibility, and professional development. Digital applications include instructional design, instructional implementation, instructional evaluation, and collaborative education. Digital social responsibility includes legal and ethical considerations and security protection. Professional development includes digital professional development and innovation. The teaching content includes... This includes the grade level, target audience, textbook version, unit, lesson, course stage, teaching type, and courseware and resource design; teaching models include direct instruction, inquiry-based learning, programmed instruction, contextualized instruction, and flipped classroom; teaching strategies include scaffolding, cooperative learning, differentiated learning, metacognitive training, and gamification; teaching methods include lecturing, question-and-answer, case analysis, role-playing, project practice, and technical assistance; teaching styles include rational, emotional, natural, humorous, and skillful; and social responsibility includes regulating internet use in accordance with the law, using digital products and services reasonably, maintaining a positive and healthy online environment, protecting personal information and privacy, maintaining work data security, and cybersecurity protection.

[0087] The student parameter system includes basic information, learning behaviors, learning abilities, numerical skills, affective motivation, learning styles, and personality traits. Basic information includes gender, age, grade level (primary, middle, and high school); learning behaviors include classroom participation, self-directed learning, and collaborative learning; classroom participation includes speaking frequency and concentration; self-directed learning includes learning path selection, resource access frequency, homework participation, and homework accuracy; and collaborative learning includes the quality of collaborative learning. Learning abilities include knowledge level, cognitive ability, and practical ability. Knowledge level can be represented using a knowledge graph; cognitive ability, based on Bloom's Taxonomy of Educational Objectives, includes memorization, comprehension, application, analysis, evaluation, and creation; and practical ability... Emotional motivation includes the accuracy of experimental procedures, the completeness of data analysis, the number of observations and records, the number of works produced, and the completion of tasks; numerical ability is retained as a student parameter dimension; affective motivation includes positive, negative, neutral, or confused emotional tendencies, the intensity of interest areas, self-efficacy, competition, and reward; learning styles include field-independent and field-dependent; personality traits include circadian rhythm preferences, learning interest areas, role preferences, and personality traits. Role preferences include leader, designer, recorder, practitioner, silent, and reporter. Personality traits include openness, conscientiousness, extraversion, agreeableness, and emotional stability.

[0088] The scenario parameter system includes spatiotemporal information, location information, physical space, technological environment, classroom environment, class culture, and collaboration mode. Spatiotemporal information includes course time slots, class hour allocation, and course periods. Course time slots can include 8:00 AM to 12:00 PM, 2:00 PM to 6:00 PM, and evening classes from 7:00 PM to 9:00 PM. Class hour allocation can include 1 or 2 class hours. Course periods can include the first 1-3 weeks of the semester, the 4th to 12th weeks of the semester, and the 13th to 16th weeks of the semester. Location information includes the school's location and whether it is a city or rural area. The school's location can be in the east, west, or central regions. Physical space includes science museums, museums, or other natural resources, regular classrooms, science laboratories, STEM classrooms, classroom size, and classroom layout. Classroom size can be divided into small classes (no more than 30 students), medium classes (31-50 students), and large classes (no less than 51 students). Classroom layout can be theater-style, round table-style, or group-style. The technological environment includes VR devices, sensors, smart interactive whiteboards, high-definition projectors, robots, classroom management tools, teaching software, online learning platforms, and technical services. The classroom environment includes the emotional environment, student satisfaction, classroom interaction, environmental comfort, class culture, and collaboration patterns. The emotional environment can be active or serious; student satisfaction can be satisfactory, average, or unsatisfactory; classroom interaction includes the number of times students actively ask questions, the frequency of raising their hands, and the teacher-student interaction patterns of enthusiastic speaking or orderly discussion; environmental comfort includes temperature, control mode, PM2.5 index, and carbon dioxide concentration; class culture includes a competitive or cooperative learning atmosphere and the level of interactive activity of cooperative or quiet and focused behavior; and collaboration patterns include fixed group collaboration and its group stability, clear role assignment, and rotating group collaboration.

[0089] To create a unified data structure, each teaching scenario parameter is assigned a unique code, data type, required status, default value, and value range. In the example, the teacher parameter's subject is an enumerated and required parameter, with values ​​including mathematics, Chinese, and English; teaching experience is an integer and optional parameter, ranging from 0 to 40 years; the student parameter's grade level is an enumerated and required parameter, including primary school, middle school, and high school; class size is an integer and required parameter, ranging from 1 to 100; the scenario parameter's classroom type is an enumerated and required parameter, including regular classroom, laboratory, and smart classroom; and the teaching mode is an enumerated and required parameter, including lecture-based, inquiry-based, and blended learning. Other parameters are configured according to their hierarchy, data type, required status, default value, and value range, and are located in the structured data through parameter codes.

[0090] In one implementation, the construction of the teaching domain dataset and model fine-tuning first involves automatically generating teacher teaching dialogue data based on the teaching context parameter system. The generated data undergoes format conversion, quality screening, consistency verification, and manual sampling review to form a supervised fine-tuning dataset. On the system side, the Prompt role acts as a teaching context collection assistant, while on the user side, the Prompt role represents teachers with different professional backgrounds. A high-order large language model generates multi-turn dialogue Prompt templates in batches, featuring natural language diversity, colloquial expressions, and colloquial language deficiencies. Then, LoRA is used to perform low-rank adaptation on the base large language model to construct a large language model specifically for the teaching domain. The model can use a base model such as GLM4-9B; the specific model type is determined based on training conditions and deployment requirements.

[0091] After the teacher inputs their teaching needs, the natural language reception and parameter extraction module uses a large language model for the teaching domain to perform contextual semantic parsing on the entire multi-turn dialogue, automatically identifying the currently acquired parameters and maintaining P. The parameter integrity detection module pre-stores a standard parameter set S, obtains M=SP through set difference operations, and determines whether the teaching context is complete based on whether there are any incomplete required parameters in M. For cases with missing parameters, parameter priority is jointly determined by parameter importance, relevance to the current context, parameter dependencies, and historical responses. The dynamic follow-up question module generates the next round of questions according to priority. After each round of responses, the system adds the responses to the multi-turn context and re-extracts P, recalculates M, and reorders them to avoid invalid questions caused by a preset fixed order.

[0092] During semantic parsing and parameter calibration, the system converts unstructured or semi-structured text into a strongly typed standardized data model. For example, "first year of junior high school" is mapped to the standard value range S_STAGE="junior high school" and S_GRADE="7" using word vector similarity or an enumeration lookup table. The parameter validation rule base also performs cross-dimensional logical collaborative checks; for example, if C_TYPE is "ordinary classroom" and T_TYPE is "group experimental inquiry class", the system triggers an alert and prompts the teacher to calibrate, or corrects the hardware configuration items according to the automatic calibration rules. After calibration, the system performs type conversion, default value filling, and format normalization to ensure that enumerations, integers, text, and other parameters are saved according to preset types.

[0093] After standardized modeling is completed, the serialization component exports the teaching context parameter objects in memory as machine-readable JSON or XML structured data. This structured data can include context identifiers, teacher parameter objects, student parameter objects, and scene parameter objects. For example, teacher parameter objects might include the subject "science," 8 years of teaching experience, and an inquiry-based teaching model; student parameter objects might include the junior high school level, seventh grade, class size of 40, and positive emotional tendencies; and scene parameter objects might include a science lab, sensors, an interactive whiteboard, and a grouped layout. This structured data is then output to intelligent lesson plan generators, personalized homework recommendation engines, multi-agent collaborative teaching modules, or other downstream intelligent teaching applications.

[0094] In a specific implementation, guided parameter acquisition and structured modeling are performed for the elementary school science lesson "Earth's Rotation." In the first round, the teacher inputs, "I want to prepare a lesson about Earth's rotation." The system parses the lesson plan topic, "Earth rotates around its axis," detects missing grade level and grade, and initiates a follow-up question, "Understood, is this an elementary school lesson?" In the second round, the teacher answers, "It's a lesson for elementary school students, third grade." The system extracts the grade level as "elementary school" and the grade as "elementary school third grade," then asks whether the lesson is in the first or second semester. The teacher answers, "It's in the second semester." The system continues to ask about the lesson type, such as a new knowledge lesson, an outdoor practice lesson, or a hands-on activity lesson. In the third round, the teacher answers, "It's in the second semester, a new knowledge lesson." The system then asks about the textbook version, and the teacher answers, "It's the textbook version." After the parameters are complete, the agent outputs a complete description ending response and completes all required fields within no more than 10 rounds of interaction.

[0095] In the background processing of the above specific embodiment, the parameter extraction and fine-tuning large language model performs contextual semantic parsing on the entire multi-turn dialogue and outputs structured JSON data. The data includes: the educational stage is "primary school", the grade is "grade 3", the lesson plan topic is "Earth's rotation around its axis", the volume is "second volume", the lesson type is "new knowledge lesson", and the textbook version is "textbook version". This structured data can be directly used as input for intelligent lesson plan generation, intelligent lesson preparation, or personalized teaching processing.

[0096] In the effectiveness evaluation example, 3000 synthetic dialogue sets and a test set were used to evaluate the BLEU-4, Rouge-1, Rouge-2, and Rouge-L metrics of different models in the task of extracting teaching context parameters. The four metrics for Qwen3-8B were 86.9, 91.9, 91.6, and 93.2; for GLM4-9B, they were 89.5, 93.5, 93.6, and 94.4; for Baichuan2-7B, they were 87.9, 92.5, 92.4, and 93.6; for Qwen3-4B, they were 43.8, 55.4, 50.9, and 50.1; for Chinese-llama2-7B, they were 85.9, 91.9, 90.2, and 93.5; and for the untrained GLM4-9B, they were 1.3, 7.3, 1.5, and 5.8. Under the aforementioned test conditions, the fine-tuned GLM4-9B demonstrated the highest overall accuracy in Chinese teaching contexts, with an overall extraction accuracy exceeding 70%. The untrained GLM4-9B struggled to output data in the specified JSON or structured format. These metrics and conclusions correspond to the 3000 synthesized dialogue sets and test set conditions.

[0097] Without altering the aforementioned processing relationships, the teaching scenario parameter system can expand parameter levels, enumerate values, and define validation rules according to different learning stages, subjects, course types, teaching models, and classroom environments. When a teacher provides only some fields, the system retains the confirmed fields and continues to ask follow-up questions for the incomplete required fields. When the optional fields provided by the teacher are irrelevant to the current scenario, these optional fields can be ignored during follow-up questions. In cases where there are conflicts between parameters that cannot be automatically corrected, the system outputs a calibration prompt and waits for teacher confirmation before proceeding with standardized modeling.

[0098] To support the subsequent automatic generation of lesson plans, the initial focus was on building a teaching scenario parameter system, resulting in a complete teaching scenario parameter table. Based on integrating relevant research findings in the education field, surveying the teaching needs of frontline teachers and students at iFlytek, and conducting discussions with university research groups and receiving guidance from relevant experts, the team systematically sorted out the key factors influencing teaching scenario modeling. The team organized the subjects, objects, and environmental factors involved in the teaching process into layers, ultimately forming three primary dimensions: "Teacher Parameters—Student Parameters—Scenario Parameters," used to comprehensively describe the core scenario elements in teaching activities.

[0099] First, this invention addresses the problems of scattered information sources, inconsistent expression formats, and interrelationships between different teaching conditions in teaching contexts by constructing a three-dimensional hierarchical parameter system jointly represented by teacher parameters, student parameters, and scenario parameters. This parameter system does not simply list teaching information; instead, it uses unified encoding based on parameter hierarchy, data type, required states, default values, value ranges, and dependencies between parameters, enabling the conversion of teaching information in natural language into parameter objects with a clear data structure. Existing research materials explicitly adopt observability, hierarchy, model adaptability, dynamic scalability, and computational usability as design principles for parameter systems, classifying parameters into enumeration, hierarchical, numerical, and text types.

[0100] In designing student parameters, this invention uses Bloom's Taxonomy of Cognitive Objectives (CTO) – "memory, comprehension, application, analysis, evaluation, and creation" – as the stratification basis for student cognitive ability parameters. This transforms cognitive levels, originally at the level of pedagogical theory, into structured parameters that can be recognized and processed by the model. For example, in parameter encoding, student cognitive ability can be defined as the parameter STU_COG, and the aforementioned six cognitive levels can be set as standard enumeration values ​​for this parameter. When a teacher only describes "students have poor foundational knowledge" without specifying the cognitive task level, the system cannot directly force this description to a specific cognitive level. Instead, it should perform semantic matching based on the candidate value range. When the matching degree of multiple candidate values ​​cannot meet the preset differentiation conditions, the parameter is set to a pending confirmation state and supplemented through subsequent dialogue.

[0101] In the process of designing teacher parameters, this invention further divides teachers' digital teaching capabilities into indicators such as digital awareness, digital knowledge and skills, and digital applications, and converts them into parameters with hierarchical relationships and value constraints. For example, teachers' digital capabilities can be set as the TEA_DIG parameter and encoded according to the hierarchical system or enumeration system determined during the research and development process. This method transforms natural language descriptions such as "whether teachers can use digital tools" and "what digital teaching tools they can use," which are originally difficult to calculate directly, into structured information that can be used for parameter extraction, parameter verification, and subsequent resource matching.

[0102] For scene parameters, this invention further provides a hierarchical description of time information, location information, physical space, technological environment, and classroom environment, and sets corresponding value constraints for parameters such as classroom type, teaching equipment, teaching type, course time, and class size. For example, the SCN_ROOM parameter can be set with enumerated values ​​such as "ordinary classroom, science laboratory, STEM classroom"; the SCN_TYPE parameter can be set with enumerated values ​​such as "experimental inquiry class, scientific observation class, engineering design and production class, discussion class, demonstration class". For some parameters, dependencies and cross-dimensional constraints can also be established between parameters.

[0103] Finally, this invention converts the calibrated parameters into structured results with a clear data type and standard format, and further serializes them into JSON or XML data, enabling the parameter results to serve as input for downstream intelligent lesson preparation, teaching resource generation, or personalized teaching systems. Thus, this invention forms a complete technical chain from natural language input to a standard parameter set, then to dynamic completion of missing parameters, semantic calibration, and structured output.

[0104] To avoid presenting unverified data as the technical effects already achieved by this invention, this embodiment describes the obtained results and the verification data that still need to be supplemented, according to existing research and development records.

[0105] During the development of this invention, a hierarchical parameter system was established around three dimensions: teachers, students, and scenarios. Relevant research materials clearly state that this system was built upon educational cognitive theory and model computational needs, requiring parameters to possess observability, hierarchy, model adaptability, dynamic scalability, and computational usability. Parameters employ data types such as enumeration, hierarchical, numerical, and text, and corresponding coding standards were established.

[0106] Among them, the parameters of students' cognitive abilities are stratified according to "memory, comprehension, application, analysis, evaluation, and creation" in Bloom's Taxonomy of Cognitive Objectives; while the parameters of teachers' digital teaching abilities are set as digital awareness, digital knowledge and skills, and digital application. After being parameterized, the above theoretical indicators are no longer just educational concepts for explanation, but participate in parameter extraction as structured fields with encoding, value range, and state information.

[0107] This invention assigns a unique code, data type, required status, default value, and value range to each parameter. For parameters with standard candidate values, enumeration constraints are used; for hierarchical parameters, preset hierarchical constraints are used; for numerical parameters, numerical range constraints are used; and for open-ended descriptions, text-based parameters are used. Thus, the system can distinguish between "parameters that have been acquired and satisfy the constraints," "parameters that have not yet been acquired," and "parameters that have been acquired but have not yet passed calibration."

[0108] During online processing, the system maintains a standard parameter set S and a currently acquired parameter set P, and obtains a missing parameter set M=SP through set differences; further, it determines whether the current teaching context has reached a complete state based on the status of the required parameters in M. This mechanism transforms parameter missing detection from a model-generated text-dependent process to a computational process based on structured parameter states.

[0109] The model evaluation results based on 3000 synthesized dialogues and a test set are as follows:

[0110]

[0111] Existing records confirm that the fine-tuned GLM4-9B outperforms the untrained GLM4-9B in all four metrics: BLEU-4, ROUGE-1, ROUGE-2, and ROUGE-L. For example, BLEU-4 improved from 1.3 to 89.5, ROUGE-1 from 7.3 to 93.5, ROUGE-2 from 1.5 to 93.6, and ROUGE-L from 5.8 to 94.4. This result demonstrates a significant correlation between domain adaptation and structured parameter extraction tasks under current R&D testing conditions.

[0112] The existing R&D materials already contain a set of multi-round teaching scenario collection cases. The teacher first states, "This is a lesson for elementary school students, third grade," and the system parses it to obtain "grade level = elementary school, grade level = third grade of elementary school"; then, it asks about the textbook, and the teacher answers "second semester"; the system continues to ask about the lesson type, and the teacher answers "new knowledge lesson"; finally, it asks about the textbook version, and the teacher answers "textbook version". The system ultimately generates structured parameters including grade level, grade, lesson plan theme, textbook, lesson type, and textbook version, and records this as completing all required fields within 10 rounds of interaction.

[0113] This case directly demonstrates that the present invention has achieved the basic operational chain of "teacher natural language input - parameter extraction - missing parameter identification - continued questioning - multi-round context accumulation - structured output".

[0114] Existing R&D records already contain an instance of GLM4-9B outputting structured JSON after context parsing of multi-round teacher teaching needs. This instance includes at least:

[0115] Educational stage = primary school;

[0116] Grade = 3rd grade of primary school;

[0117] Lesson plan topic: Earth's rotation around its axis;

[0118] Volume 1 and Volume 2 = Volume 2;

[0119] Lesson type = New knowledge instruction lesson;

[0120] Textbook version = textbook version.

[0121] This example demonstrates that the present invention has achieved the conversion from teacher natural language dialogue to structured parameter JSON. The structured parameters are used in downstream applications such as intelligent teaching resource generation, intelligent lesson preparation, and personalized teaching.

[0122] In summary, the technical effects of this invention that can be directly supported by research and development data include:

[0123] (1) A three-dimensional hierarchical parameter system for teachers, students, and scenarios was established;

[0124] (2) A unified parameter representation is achieved through parameter encoding, data type, required status, default value, and value range;

[0125] (3) Parameter completion is achieved through multi-turn context, and there are already practical multi-turn interaction cases;

[0126] (4) A model evaluation record of 3,000 synthetic dialogue sets and test sets has been formed, and the BLEU and ROUGE indices of different models and before and after fine-tuning GLM4-9B have been recorded;

[0127] (5) The conversion of teachers’ natural language requirements into structured JSON parameters has been realized, and actual output cases have been formed.

[0128] Specific procedures [

[0130] {

[0131] "id": 1,

[0132] "response": "Teaching System: Hello! Welcome to the Intelligent Teaching System. What topic are you preparing a lesson plan for today?\n\nTeacher: I want to prepare a lesson about ecosystems, mainly about how biotic and abiotic environments together form an ecosystem.\n\nTeaching System: Understood, the topic is "Ecosystems are composed of biotic and abiotic environments." What type of lesson is this? Is it a new knowledge lesson, an outdoor practice lesson, or a hands-on activity lesson?\n\nTeacher: It's a new knowledge lesson, starting with explaining basic concepts to the students.\n\nTeaching System: Okay, a new knowledge lesson. Which grade level is this lesson for? Elementary, middle, or high school?\n\nTeacher: Elementary.\n\nTeaching System: Okay, elementary school. Which grade specifically?\n\nTeacher: Fifth grade.\n\nTeaching System: Fifth grade, second semester or first semester?\n\nTeacher: Second semester content.\n\nTeaching System: Is the textbook you are using the textbook version? (Currently only textbook versions are supported)" Teacher: Yes, it's the textbook version. Teaching System: We have received your complete description, thank you for providing it! Also, if you need to supplement your information with cutting-edge knowledge (such as environmental monitoring, ecological restoration, etc.) or teaching equipment information, please feel free to let me know. Teacher: Okay, thank you! (End of dialogue, required fields have been collected)

[0133] "parameters": {

[0134] Grade: 5th grade

[0135] Lesson Plan Topic: 5.6 Ecosystems are composed of both biotic and abiotic environments.

[0136] Related Subjects for Knowledge Points: Chemistry

[0137] "Cutting-edge content": "Air purification, water treatment technology, environmental monitoring",

[0138] Lesson Type: "New Knowledge Introduced"

[0139] "Educational Stage": "Primary School"

[0140] "Volume 1 & 2": "Volume 2"

[0141] Textbook Version: "Science and Technology Edition"

[0142] "Teaching Equipment (Software)": "[Fill in]"

[0143] }

[0144] },

[0145] In the description of this invention, unless otherwise stated, "multiple" means two or more; the terms "upper," "lower," "left," "right," "inner," "outer," "front end," "rear end," "head," and "tail," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0146] The method and system of this invention can run on a processor, server, or teacher interactive terminal. The teaching context parameter system, parameter verification rules, domain-wide language model, and multi-turn context are stored in memory or server storage. The teacher interactive terminal sends natural language teaching requirements and receives dynamic follow-up questions through a communication link. The processor calls the domain-wide language model to complete parameter extraction, missing state calculation, semantic parsing, conflict calibration, and standardized modeling. Then, the serialization component outputs the structured parameters through the communication link to an intelligent lesson plan generator, a personalized homework recommendation engine, or other downstream intelligent teaching applications. Specific hardware models and communication protocols do not constitute necessary limitations for implementing this invention.

[0147] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent substitutions, and improvements made by those skilled in the art within the scope of the technology disclosed in the present invention, and within the spirit and principles of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for extracting and dynamically modeling teaching context parameters based on a large language model, characterized in that, include: Step 1: Construct a hierarchical teaching scenario parameter system that includes teacher parameters, student parameters, and scenario parameters, and configure parameter codes, data types, required states, default values, and value ranges for each parameter to form a standard teaching scenario parameter set S; Step 2: Generate multi-round teaching dialogue samples based on the hierarchical teaching context parameter system. After format conversion, quality screening and consistency verification of the multi-round teaching dialogue samples, perform domain adaptation on the basic large language model to obtain the teaching domain large language model. Step 3: Receive the natural language teaching requirements input by the teacher, use the large language model of the teaching domain to parse the multi-turn context and extract the acquired parameter set P, calculate the missing parameter set M=SP based on the standard teaching context parameter set S and the acquired parameter set P, and determine whether the required parameters are complete. Step 4: When there are missing required parameters, calculate the collection priority of missing parameters based on parameter importance, context relevance, parameter dependency and historical response, generate a dynamic follow-up question queue, update the context multiple times after obtaining the teacher's response to the follow-up questions, re-extract the acquired parameter set P and recalculate the missing parameter set M until the required parameters are complete. Step 5: Perform semantic parsing, semantic mapping, ambiguity elimination, legality and rationality verification, and cross-dimensional logical conflict calibration on the complete multi-round context and acquired parameters; Step 6: Convert the type of the calibrated parameters, fill in the default values ​​and normalize the format to form a standardized teaching context parameter object, and serialize the standardized teaching context parameter object into machine-readable structured data.

2. The method according to claim 1, characterized in that, The hierarchical teaching context parameter system includes a teacher parameter system, a student parameter system, and a scenario parameter system. The teacher parameter system includes at least basic information, teaching ability, digital literacy, teaching content, teaching mode, and social responsibility. The student parameter system includes at least basic information, learning behavior, learning ability, digital ability, emotional motivation, learning style, and personality traits. The scenario parameter system includes at least spatiotemporal information, location information, physical space, technological environment, classroom environment, class culture, and collaboration mode. Each parameter is associated with its superior category through a hierarchical relationship and is jointly limited by parameter code, data type, required status, default value, and value range.

3. The method according to claim 1, characterized in that, The multi-round teaching dialogue samples are generated by a teaching context parameter system. The system-side role is set as a teaching context collection assistant, and the user-side role is a teacher with different professional backgrounds, so that the samples include differences in natural language expression, colloquial expressions, and missing information. After the format conversion, quality screening, and consistency verification are completed, the basic large language model is subjected to supervised fine-tuning, and the trainable parameters for the teaching domain are trained through low-rank adaptation to obtain the ability to understand teaching terminology and map natural language to standardized parameters.

4. The method according to claim 1, characterized in that, The parameter collection priority is determined based on the importance of the parameters, the relevance of the current context, the dependencies between parameters, and the historical responses. A follow-up question queue is generated according to the collection priority. The collection priority of course subject, teaching objectives, and student grade level is higher than that of classroom environment and teaching equipment. After each round of interaction, the order of subsequent follow-up questions is recalculated based on the updated parameter status.

5. The method according to claim 1, characterized in that, The semantic parsing includes mapping non-standard descriptions to standard value ranges using word vector similarity or enumeration lookup tables, and performing cross-dimensional logical collaborative checks through a parameter verification rule base; when the classroom type is a regular classroom and the teaching type is a group experimental inquiry class, a calibration prompt is triggered for the teacher to confirm, or the corresponding hardware equipment configuration items are corrected according to the preset calibration rules.

6. A teaching context parameter extraction and dynamic modeling system that implements the teaching context parameter extraction and dynamic modeling method based on a large language model as described in claims 1-5, characterized in that, include: The teaching context parameter system construction module is used to construct a hierarchical parameter matrix composed of teacher parameters, student parameters, and scenario parameters, and form a standard teaching context parameter set S; The teaching domain dataset construction and model fine-tuning module is connected to the teaching context parameter system construction module, and is used to generate multi-round teaching dialogue samples based on the hierarchical parameter matrix and perform domain adaptation on the basic large language model. The natural language receiving and parameter extraction module is connected to the teaching domain dataset construction and model fine-tuning module, and is used to receive teachers' natural language teaching needs and extract the acquired parameter set P; The parameter integrity detection module is connected to the teaching context parameter system construction module and the natural language receiving and parameter extraction module. It is used to determine the missing parameter set M=SP based on the standard teaching context parameter set S and the acquired parameter set P, and to judge the integrity of the required parameters. A guided multi-turn dialogue module, connected to the parameter integrity detection module, is used to generate a dynamic follow-up question queue based on parameter priority when there are missing parameters, and to feed the teacher's answer back to the natural language receiving and parameter extraction module. The parameter semantic parsing and parameter calibration module is connected to the natural language receiving and parameter extraction module and the parameter integrity detection module, and is used to perform semantic mapping, ambiguity elimination, legality and rationality verification and cross-dimensional logical conflict calibration. The teaching scenario parameter standardization modeling module is connected to the parameter semantic parsing and parameter calibration module, and is used to perform type conversion, default value filling and format normalization. as well as The structured parameter output module is connected to the teaching scenario parameter standardization modeling module and is used to serialize the standardized modeling results into JSON or XML structured data and output them to the downstream intelligent teaching application system.

7. The system according to claim 6, characterized in that, The teaching scenario parameter system construction module establishes a three-tiered hierarchical relationship among teacher parameters, student parameters, and scenario parameters, and configures a unique parameter code, data type, required status, default value, and value range for each parameter, so that the parameter integrity detection module can judge the parameter status based on a unified standard teaching scenario parameter set S.

8. The system according to claim 6, characterized in that, The teaching domain dataset construction and model fine-tuning module includes a dialogue sample generation unit, a format conversion unit, a quality screening unit, a consistency verification unit, and a manual sampling review unit. Based on the reviewed multi-round dialogue samples, it performs supervised fine-tuning or low-rank adaptation on the basic large language model and outputs the teaching domain large language model to the natural language receiving and parameter extraction module.

9. The system according to claim 6, characterized in that, The parameter integrity detection module maintains the acquired parameter set P and calculates the missing parameter set M=SP. The guided multi-turn dialogue module generates a dynamic follow-up question queue based on parameter importance, context relevance, parameter dependency and historical response. The new answers and updated multi-turn context generated by the teacher's response interaction are fed back to the natural language receiving and parameter extraction module until the required parameters are complete, and then the complete parameters are passed to the parameter semantic parsing and parameter calibration module.

10. The system according to claim 6, characterized in that, The parameter semantic parsing and parameter calibration module maps non-standard descriptions to standard value ranges through word vector similarity or enumeration lookup tables, performs cross-dimensional logical collaborative checks using a parameter validation rule base, and outputs calibration parameters. The teaching scenario parameter standardization modeling module converts the calibration parameters into a strongly typed data model and performs default value filling and format normalization. The structured parameter output module serializes the standardized data model into JSON or XML format, providing it to intelligent lesson plan generators, personalized homework recommendation engines, or other downstream intelligent teaching applications.