A method and related device for generating a natural language description of a time series numerical sequence
By employing a natural language description generation method that combines multidimensional feature extraction and knowledge enhancement, this approach addresses the issues of insufficient multi-granularity feature extraction and weak professional interpretation in converting time-series data from the power generation industry into natural language descriptions. It enables logically coherent, professional, and personalized description generation, supporting interactive queries and causal analysis.
Patent Information
- Application Number
- CN202611325272.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies for converting time-series data in the power generation industry into natural language descriptions suffer from several problems, including insufficient multi-granularity feature extraction and semantic mapping, weak professional interpretation capabilities, a single generation mode, difficulty in meeting users' personalized output needs, low text reliability, and insufficient interactive question-and-answer capabilities.
Through multi-dimensional feature extraction, structured feature vector construction, knowledge node retrieval and merging, template slot filling, expression style adjustment, and large language model optimization, multi-granular, professional, and reliable natural language descriptions are generated.
It enables in-depth mining of time-series numerical sequences and logically coherent natural language descriptions, improving the richness of the descriptions and their ability to fit actual business scenarios. It also enhances professional interpretability and personalized user output, and supports interactive queries and causal analysis.
Smart Images

Figure CN123159276A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of natural language processing and time series data analysis technology, specifically relating to a method and related apparatus for generating natural language descriptions of time series numerical sequences. Background Technology
[0002] Time-series data in the power generation industry needs to be converted into natural language to support intelligent operation and maintenance analysis. Existing text conversion technologies based on traditional time-series models and general large models have many shortcomings, specifically as follows: Traditional implicit temporal representation methods are black-box models, which cannot achieve multi-granularity feature extraction and semantic mapping, resulting in poor interpretability.
[0003] General NLG (Natural Language Generation) technology lacks knowledge support in the field of power generation, can only repeat numerical values, and has weak professional interpretation and causal analysis capabilities.
[0004] Moreover, existing technologies have a fixed and singular generation mode, which cannot adapt to the personalized output needs of different users and multiple scenarios. General-purpose large models lack dedicated constraints and verification mechanisms, making the text prone to factual biases and non-standard terminology, resulting in low industrial reliability. Furthermore, they only support one-way text generation, lacking interactive question-and-answer and deep causal reasoning capabilities, and their overall intelligence is insufficient, making it difficult to meet the high-precision, professional, and high-reliability application requirements of the power generation industry. Summary of the Invention
[0005] The purpose of this invention is to provide a method and related apparatus for generating natural language descriptions of time-series numerical sequences, in order to solve the problem of poor performance when converting time-series numerical sequences into natural language descriptions in the prior art.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: In a first aspect, the present invention provides a method for generating natural language descriptions of time-series numerical sequences, comprising the following steps: Obtain the running parameters and the time-series numerical sequence data of the running parameters; Multidimensional features are extracted from the time-series numerical data of the operating parameters to obtain multidimensional time-series features, and a structured feature vector is constructed based on the multidimensional time-series features. The structured feature vectors are mapped to comprehensive descriptive terms. Based on the comprehensive descriptive terms, knowledge nodes of the running parameters are retrieved to obtain knowledge node retrieval results. The knowledge node retrieval results are combined with comprehensive descriptive terms to obtain knowledge-enhanced semantic information; The knowledge-enhanced semantic information is filled into the template slots to obtain the intermediate text of the filled slots; Adjust the style of the intermediate text that has been filled in the slots to obtain the initial natural language description text; The initial natural language description text is optimized to obtain the optimized natural language description text, and the optimized natural language description text is then formatted and adapted to obtain the final natural language description text.
[0007] A further improvement of the present invention is that the multidimensional time series features include statistical features, trend features, and pattern features.
[0008] A further improvement of this invention lies in that the multi-dimensional feature extraction of the time-series numerical sequence data of the operating parameters specifically involves: Multidimensional feature extraction is performed on the time-series numerical sequence data of the running parameters using a sliding window.
[0009] A further improvement of the present invention is that, before performing multidimensional feature extraction on the time-series numerical sequence data of the operating parameters, the time-series numerical sequence data of the operating parameters is preprocessed to obtain a unified time-series data object. The preprocessing includes format verification, missing value linear interpolation imputation, outlier marking, and duplicate timestamp deduplication.
[0010] A further improvement of the present invention is that the comprehensive descriptive terminology includes professional Chinese terms, state terms, and trend intensity terms.
[0011] A further improvement of this invention is that, after obtaining the optimized natural language description text, the optimized natural language description text is checked, and if the check result meets the requirements, the optimized natural language description text that meets the requirements is formatted and adapted.
[0012] A further improvement of this invention is that the optimization of the initial natural language description text to obtain the optimized natural language description text specifically involves: The initial natural language description text is input into the fine-tuned large language model, and language fluency constraints, factual accuracy constraints, and professional normative constraints are applied to optimize the initial natural language description text, resulting in the optimized natural language description text.
[0013] Secondly, the present invention provides a natural language description generation system for time-series numerical sequences, comprising: The data acquisition module is used to acquire the operating parameters and the time-series numerical sequence data of the operating parameters; The feature vector construction module is used to extract multidimensional features from the time-series numerical sequence data of the running parameters, obtain multidimensional time-series features, and construct structured feature vectors based on the multidimensional time-series features. The retrieval module is used to map structured feature vectors into comprehensive descriptive terms, and based on the comprehensive descriptive terms, to retrieve knowledge nodes of the running parameters and obtain knowledge node retrieval results. The merging module is used to merge the knowledge node retrieval results with the comprehensive descriptive terms to obtain knowledge-enhanced semantic information; The filling module is used to fill knowledge-enhanced semantic information into template slots to obtain the intermediate text of the filled slots; The style adjustment module is used to adjust the expression style of the intermediate text in the filled slots to obtain the initial natural language description text. The text optimization module is used to optimize the initial natural language description text to obtain the optimized natural language description text, and to perform format adaptation on the optimized natural language description text to obtain the final natural language description text.
[0014] Thirdly, the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the natural language description generation method for time-series numerical sequences described above.
[0015] Fourthly, the present invention provides a storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of the natural language description generation method for time-series numerical sequences described above.
[0016] Compared with the prior art, the present invention has the following beneficial effects: The natural language description generation method for time-series numerical sequences proposed in this invention has two main aspects. First, it constructs structured feature vectors based on multi-dimensional time-series features. This operation can deeply mine the inherent patterns of time-series numerical sequence data of operating parameters, avoiding superficial natural language descriptions that fail to capture the core changes in the time-series numerical sequence data of operating parameters. Second, it fills template slots with knowledge-enhanced semantic information to obtain intermediate text with filled slots. This operation ensures that the generated text has a regular structure and logical coherence. Furthermore, this invention merges knowledge node retrieval results with comprehensive descriptive terms to obtain knowledge-enhanced semantic information. This operation makes the natural language description content more comprehensive and relevant to actual business scenarios. These series of technical measures effectively solve the problem of poor performance when converting time-series numerical sequences into natural language descriptions. Attached Figure Description
[0017] Figure 1 This is a flowchart of the natural language description generation method for time-series numerical sequences according to the present invention; Figure 2 This is a schematic diagram of the natural language description generation system for time-series numerical sequences according to the present invention; Figure 3This is a flowchart of the natural language description generation method for time-series numerical sequences in Embodiment 5 of the present invention; Figure 4 This is a schematic diagram of the structure of the electronic device of the present invention. Detailed Implementation
[0018] To further understand the content of this invention, the invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments are merely illustrative and not limiting of the invention.
[0019] Example 1: The flowchart of the natural language description generation method for time-series numerical sequences of this invention is as follows: Figure 1 As shown, the natural language description generation method for time-series numerical sequences of the present invention includes the following steps: S1. Obtain the running parameters and the time-series numerical sequence data of the running parameters; S2. Perform multidimensional feature extraction on the time-series numerical sequence data of the running parameters to obtain multidimensional time-series features, and construct a structured feature vector based on the multidimensional time-series features; S3. Map the structured feature vectors to comprehensive descriptive terms, and retrieve the knowledge nodes of the running parameters based on the comprehensive descriptive terms to obtain the knowledge node retrieval results; S4. Merge the knowledge node retrieval results with the comprehensive descriptive terms to obtain knowledge-enhanced semantic information; S5. Fill the template slots with knowledge-enhanced semantic information to obtain the intermediate text of the filled slots; S6. Adjust the expression style of the intermediate text that has been filled in the slots to obtain the initial natural language description text; S7. Optimize the initial natural language description text to obtain the optimized natural language description text, and perform format adaptation on the optimized natural language description text to obtain the final natural language description text.
[0020] Example 2: A schematic diagram of the natural language description generation system for time-series numerical sequences of this invention is shown below. Figure 2 As shown, the natural language description generation system for time-series numerical sequences of the present invention includes: The data acquisition module is used to acquire the operating parameters and the time-series numerical sequence data of the operating parameters; The feature vector construction module is used to extract multidimensional features from the time-series numerical sequence data of the running parameters, obtain multidimensional time-series features, and construct structured feature vectors based on the multidimensional time-series features. The retrieval module is used to map structured feature vectors into comprehensive descriptive terms, and based on the comprehensive descriptive terms, to retrieve knowledge nodes of the running parameters and obtain knowledge node retrieval results. The merging module is used to merge the knowledge node retrieval results with the comprehensive descriptive terms to obtain knowledge-enhanced semantic information; The filling module is used to fill knowledge-enhanced semantic information into template slots to obtain the intermediate text of the filled slots; The style adjustment module is used to adjust the expression style of the intermediate text in the filled slots to obtain the initial natural language description text. The text optimization module is used to optimize the initial natural language description text to obtain the optimized natural language description text, and to perform format adaptation on the optimized natural language description text to obtain the final natural language description text.
[0021] Example 3: The method for generating natural language descriptions of time-series numerical sequences according to the present invention includes the following steps: S1. Obtain the running parameters and the time-series numerical sequence data of the running parameters.
[0022] S2. Perform multidimensional feature extraction on the time-series numerical sequence data of the running parameters to obtain multidimensional time-series features, and construct a structured feature vector based on the multidimensional time-series features.
[0023] The multidimensional time-series features in this step include statistical features, trend features, and pattern features.
[0024] This step involves multidimensional feature extraction from the time-series numerical data of the operating parameters, specifically: Multidimensional feature extraction is performed on the time-series numerical sequence data of the running parameters using a sliding window.
[0025] Before performing multidimensional feature extraction on the time-series numerical sequence data of the running parameters in this step, the time-series numerical sequence data of the running parameters is preprocessed to obtain a unified time-series data object. The preprocessing includes format verification, missing value linear interpolation imputation, outlier marking, and duplicate timestamp deduplication.
[0026] S3. Map the structured feature vectors to comprehensive descriptive terms, and based on the comprehensive descriptive terms, retrieve the knowledge nodes of the running parameters to obtain the knowledge node retrieval results.
[0027] This step involves a comprehensive description of terms, including professional Chinese terms, status terms, and trend intensity terms.
[0028] S4. Merge the knowledge node retrieval results with the comprehensive descriptive terms to obtain knowledge-enhanced semantic information.
[0029] S5. Fill the template slots with knowledge-enhanced semantic information to obtain the intermediate text of the filled slots.
[0030] S6. Adjust the style of the intermediate text that has been filled in the slots to obtain the initial natural language description text.
[0031] S7. Optimize the initial natural language description text to obtain the optimized natural language description text, and perform format adaptation on the optimized natural language description text to obtain the final natural language description text.
[0032] After obtaining the optimized natural language description text in this step, the optimized natural language description text is checked. If the check result meets the requirements, the optimized natural language description text that meets the check result is formatted and adapted.
[0033] This step optimizes the initial natural language description text to obtain the optimized natural language description text, specifically: The initial natural language description text is input into the fine-tuned large language model, and language fluency constraints, factual accuracy constraints, and professional normative constraints are applied to optimize the initial natural language description text, resulting in the optimized natural language description text.
[0034] Example 4: The natural language description generation method for time-series numerical sequences of this invention is implemented through a natural language description generation system for time-series numerical sequences (hereinafter referred to as the natural language description generation system). The natural language description generation system is described below: The natural language description generation system includes a time-series data input and parsing module, a multi-granularity time-series feature extraction module, a domain terminology mapping module, a power generation domain knowledge enhancement module, a description template library module, a context-aware description generation module, a large language model text optimization module, a multi-language support module, a description quality assessment module, a description output and adaptation module, an interactive query module, and a causal analysis module. The following describes each module: A. Timing data input and parsing module The time series data input and parsing module is used to receive and parse the time series numerical sequence data submitted by users. It supports three mainstream industrial data formats: CSV, JSON, and database query. It performs format validation, missing value handling (linear interpolation), outlier marking (isolated forest algorithm, pollution rate threshold of 0.1%), and duplicate timestamp deduplication (keeping the latest value) on the input data, and outputs a unified time series data object.
[0035] The input data for the time series data input and parsing module includes: CSV files (timestamps, parameter names, and parameter values), JSON objects (time_series arrays and metadata objects), and SQL query results (specifying the data source and query conditions).
[0036] Output data of the time series data input and parsing module: a unified time series data object (including time series arrays, parameter list metadata, and data quality tags).
[0037] The output of the time series data input and parsing module is connected to the multi-granularity time series feature extraction module, and the abnormal alarm terminal of the time series data input and parsing module is connected to the interactive query module.
[0038] B. Multi-granularity temporal feature extraction module The multi-granularity time series feature extraction module is used to extract statistical features (mean μ, standard deviation σ, extreme values, quantiles P5, P25, P50, P75 and P95, and variation amplitude Δ=max-min), trend features (linear regression trend coefficient β, coefficient of determination R², trend direction, first-order difference Δ¹, second-order difference Δ²), and pattern features (FFT periodic components, wavelet multi-scale fluctuations, change point PELT algorithm, and outlier isolated forest) from a unified time series data object, and performs parallel computation within four sliding windows of seconds, minutes, hours, and days.
[0039] Input data for the multi-granularity temporal feature extraction module: a unified temporal data object.
[0040] The output data of the multi-granularity temporal feature extraction module is a structured feature vector (including feature name, feature value, confidence score and semantic label), which is stored in the form of a list.
[0041] The input end of the multi-granularity temporal feature extraction module is connected to the temporal data input and parsing module, and the output end of the multi-granularity temporal feature extraction module is connected to the domain terminology mapping module.
[0042] C. Domain Terminology Mapping Module The domain terminology mapping module is used to map parameter codes in structured feature vectors to Chinese terms (with a terminology library of over 2000 terms), to map numerical ranges to state terms (e.g., main steam temperature 525-535°C is mapped to low, 535-555°C to normal, 555-560°C to high, >560°C to over the limit), and to map rate of change to trend terms (|β|>1°C / min is mapped to rapid rise, 0.5-1°C / min to medium speed, <0.5°C / min to slow speed), and supports context-sensitive term selection.
[0043] Input data for the domain terminology mapping module: structured feature vectors.
[0044] Output data of the domain terminology mapping module: terminology mapping result object (original feature values, mapped terms, and context labels).
[0045] The input of the domain terminology mapping module is connected to the multi-granularity time-series feature extraction module, and the output of the domain terminology mapping module is connected to the power generation domain knowledge enhancement module.
[0046] D. Knowledge Enhancement Module in the Power Generation Field The power generation knowledge enhancement module is used to retrieve relevant knowledge nodes from the power generation knowledge graph (more than 500 equipment entities, more than 2,000 parameter entities, and more than 10,000 relationship edges), supplementing the normal range of parameters (e.g., main steam temperature 535-555°C), upstream and downstream relationships of equipment, and causal chains (feed water temperature decreases, thermal efficiency decreases, main steam temperature increases), expanding simple terms into semantic units with physical meaning.
[0047] Input data for the knowledge enhancement module in the power generation field: terminology mapping result object.
[0048] Output data of the knowledge enhancement module in the power generation field: a list of knowledge enhancement semantic information (including original features, terms, related knowledge and causal explanations).
[0049] The input end of the power generation knowledge enhancement module is connected to the domain terminology mapping module, and the output end of the power generation knowledge enhancement module is connected to the description template library module.
[0050] E. Description Template Library Module The description template library module manages a set of description templates covering all scenarios of power generation equipment description. It includes four main template categories: Overview Template (overall trend description of the device's parameters over a past time range, including average value and range), Trend Template (parameters show a trend, amount of change, and cause), Anomaly Template (note: parameters have exceeded limits, degree of anomaly, and suggested measures), and Comparison Template (compared to the baseline, parameters have changed by a certain amount, and the main cause). Templates use a slot design, with each slot having type constraints and default values, and support for user-defined template extensions.
[0051] The input data for the template library module includes: a list of knowledge-enhanced semantic information and user context information (user identity, usage scenario, and query history).
[0052] The output data of the template library module describes the matched template ID and the middle text of the filled slot.
[0053] The input of the description template library module is connected to the power generation domain knowledge enhancement module, and the output of the description template library module is connected to the context-aware description generation module.
[0054] F. Context-Aware Description Generation Module The context-aware description generation module selects the optimal mode from four types of generation modes (concise mode, standard mode, detailed mode, and abnormal mode) based on user context information, calls the description template library to match similar templates and fill the slots, and adjusts the output style according to user profile (detailed version with technical terms for operators, simplified version with key indicators for managers, and popular explanation version for non-professionals).
[0055] The input data for the context-aware description generation module includes: matching templates and intermediate text of filled slots, and user context information.
[0056] Output data of the context-aware description generation module: preliminary generated natural language description text.
[0057] The input of the context-aware description generation module is connected to the description template library module, and the output of the context-aware description generation module is connected to the large language model text optimization module.
[0058] G. Large Language Model Text Optimization Module The large language model text optimization module is used to fine-tune a large language model using power generation data (base model parameter size ≥ 7B, fine-tuning corpus ≥ 500,000 time-series descriptions in the power generation field). It applies three-dimensional constraints to the initially generated descriptions for optimization: language fluency (grammatical correctness, natural expression), factual accuracy (numerical values consistent with the original data), and professional standardization (correct power generation industry terminology). A built-in fact-checking mechanism verifies the consistency of each numerical value in the description with the original data item by item.
[0059] Input data for the large language model text optimization module: initially generated natural language description text, original time series data, and constraints (length limits and terminology requirements).
[0060] Output data of the large language model text optimization module: optimized natural language description text.
[0061] The input of the large language model text optimization module is connected to the context-aware description generation module, and the output of the large language model text optimization module is connected to the description quality evaluation module.
[0062] H. Multilingual Support Module The multilingual support module is used to translate description texts that have passed quality assessment into multilingual versions (Chinese, English, and others), maintain independent terminology libraries (multilingual equivalent expressions of the same term) and template libraries for each language, and adopt a translation-localization strategy (first generate content, then professionally translate the generated content, and then localize the professionally translated content: number format, date format, and cultural habits) to ensure professional consistency in cross-language descriptions.
[0063] Input data for the multilingual support module: optimized natural language description text (Chinese) and target language identifier.
[0064] Output data of the multilingual support module: multilingual descriptive text.
[0065] The input end of the multilingual support module is connected to the description quality assessment module, and the output end of the multilingual support module is connected to the description output and adaptation module.
[0066] I. Quality Assessment Module The quality assessment module performs a four-dimensional quality assessment on the generated descriptions: factual accuracy (consistency rate between numerical values in the description and the original data, threshold ≥98%), completeness (coverage of key features such as mean, trend, and extreme values, threshold ≥90%), readability (fluent and easy-to-understand language, with BLEU and ROUGE indicators used for supplementary judgment), and professionalism (correct use of power generation terminology, threshold ≥95%). The assessment employs a fusion of multiple methods, including rule checking, NLG indicators, and classifier scoring; failure to meet quality standards triggers regeneration.
[0067] Input data for the quality assessment module: optimized natural language description text and raw time series data.
[0068] Output data of the quality assessment module: quality assessment report (scores for each dimension and overall judgment: pass or fail and the reason for failure).
[0069] The input end of the quality assessment module is connected to the large language model text optimization module, the alarm end of the quality assessment module is connected to the interactive query module (abnormal feedback), and the output end of the quality assessment module is connected to the description output and adaptation module.
[0070] J. Output and Adaptor Module The output and adaptation module adapts the descriptive text to four output formats based on the usage scenario: report format (adding titles, paragraphs, and summaries; long texts are automatically segmented), instant messaging format (concise to core information, ≤200 characters), voice broadcast format (adding pause markers; inserting / / / (separator) every 50 characters; simplifying numerical expressions), and large-screen display format (highlighting key numbers in bold; adding concise indicator bars). It also performs sensitive information desensitization (specific values of key parameters can be hidden), number formatting (retaining two decimal places), and time formatting (converting YYYY-MM-DD HH:MM:SS to a specific month, day, and hour).
[0071] Input data for the output and adaptation module: descriptive text indicating that the quality assessment has passed, and the target output channel identifier.
[0072] Output data from the output and adaptation module: formatted final description text.
[0073] The input end of the output and adaptation module is connected to the quality assessment module and the multilingual support module, and the output end of the output and adaptation module is connected to the user interface.
[0074] K. Interactive query module The interactive query module parses user natural language queries (supporting question types: cause query, trend query, anomaly query, and comparison query), extracts query intent and key parameters, calls the causal analysis module to perform multi-parameter correlation inference (covariance analysis and expert rules, inference depth ≤ 3 layers), and generates targeted answers. Dialogue history management supports multi-turn follow-up questions (context window ≥ 10 turns), and analytical queries trigger knowledge graph retrieval and causal chain inference.
[0075] Input data for the interactive query module: user's natural language query text and dialogue history context.
[0076] Output data of the interactive query module: targeted natural language response text.
[0077] The input end of the interactive query module is connected to the user interface, the data end of the interactive query module is connected to the time series data input and parsing module, the inference end of the interactive query module is connected to the power generation knowledge enhancement module, and the output end of the interactive query module is connected to the description output and adaptation module.
[0078] L. Causal Analysis Module The causal analysis module is used when the interactive query module receives an analytical query (such as "Why is the temperature rising?"). It performs covariance calculation and expert rule matching on time-series data of the target parameter and related parameters (feedwater temperature, fuel flow rate, load, and primary air volume, etc.) to infer causal chains (cause parameters influence mediating effects, and mediating effects influence changes in the target parameter), outputting causal explanations and quantitative evidence with confidence levels. The knowledge base maintains over 500 causal chains for typical operating conditions, supporting both knowledge graph reasoning and case matching paths.
[0079] Input data for the causal analysis module: time series data of target parameters, time series data of candidate relevant parameters, and causal inference depth (default 2 layers).
[0080] The output data of the causal analysis module includes: a list of causal chains (cause, effect, confidence level, and quantitative evidence) and a natural language explanation of the causal relationship.
[0081] The input end of the causal analysis module is connected to the interactive query module, the knowledge end of the causal analysis module is connected to the power generation knowledge enhancement module, and the output end of the causal analysis module is connected to the interactive query module (first causal explanation, then description generation).
[0082] Compared with the prior art, the present invention has the following advantages: 1. Multi-granularity temporal feature semantic mapping This invention pioneers a multi-granularity temporal feature to semantic label mapping framework, simultaneously extracting four layers of features: second-level (60s window, capturing instantaneous fluctuations), minute-level (15min window, analyzing short-term trends), hour-level (1h window, analyzing medium-term changes), and day-level (24h window, analyzing long-term trends). It also designs a feature value to semantic label mapping rule library, automatically mapping numerical features to semantic labels such as upward trend (high confidence) and over-limit alarm (emergency).
[0083] The method of this invention has a measured feature extraction completeness rate of ≥98%, a semantic mapping accuracy of ≥97%, and an end-to-end semantic mapping latency of ≤200ms. Compared with traditional implicit feature representation methods (such as TS2Vec and BERT temporal representation), the semantic interpretability is improved by more than 85%.
[0084] Multi-granular temporal feature semantic mapping is the foundation of the entire technical solution. It transforms the original numerical sequence into semantic units that can be understood by machines and read by humans. It serves as a bridge connecting temporal data and natural language description, supporting subsequent knowledge enhancement, template matching, and large language model optimization.
[0085] 2. Enhanced Description Generation of Knowledge Graphs in the Power Generation Field This invention constructs a knowledge graph for the power generation field (containing over 500 equipment entities, over 2000 parameter entities, and over 10,000 relation edges) and a terminology database of over 2000. It designs a two-stage knowledge enhancement process (first retrieving relevant knowledge nodes, then merging the retrieved relevant knowledge nodes into semantic units), upgrading descriptions from simple numerical descriptions to professional texts with physical causal explanations. For example, an increase in main steam temperature leads to explanations such as an increase in boiler heat load, rather than simply stating numerical changes.
[0086] The knowledge enhancement method of this invention increases the coverage of professional explanatory descriptions from 42% to 91% (based on expert evaluation), improves the accuracy of user understanding from 52% to 89% (for non-professional testers), and achieves an accuracy of ≥90% in describing causal relationships.
[0087] The knowledge graph-enhanced description generation for the power generation field addresses the core pain point of general NLG methods in generating fluent but unprofessional descriptions in industrial applications, providing the power generation industry with reliable and professional description outputs.
[0088] 3. Context-aware adaptive multi-granularity description generation This invention employs a three-dimensional context-aware framework: user identity (operators, managers, and non-professionals) × usage scenario (reporting, alarms, and queries) × generation granularity (concise, standard, detailed, and abnormal). Based on the user context, it intelligently matches the optimal template from a template library and dynamically adjusts the expression style. The operator version retains all technical terms and statistical data, while the non-professional version replaces technical terms with colloquial expressions and adds necessary explanations.
[0089] The method of this invention has a context-aware adjustment coverage of 100%, user satisfaction of 4.5 and 5.0 (18% improvement over fixed-style descriptions), and the comprehension rate of non-professionals has increased from 52% to 89%. The technical version requirement for operators is: ≥8 technical terms per 100 words.
[0090] Context-aware adaptive multi-granularity description generation enables the generation of optimal descriptions for different audiences from the same time-series data, significantly expanding the applicability of the technology and providing a basis for personalized answers to interactive queries.
[0091] 4. Constraint-Driven Text Optimization and Fact Checking Mechanism for Large Language Models The method of this invention designs a three-dimensional constraint framework based on language fluency (BLEU≥0.85), factual accuracy (100% consistency between numerical values and original data), and professional standardization (coverage of power generation terminology≥95%), and applies these constraints synchronously during the optimization of the large language model. A numerical-description consistency check algorithm is designed to compare each numerical value in the description with the original data item by item, allowing for rounding errors but not allowing for orders of magnitude differences; descriptions that fail to meet the standards are regenerated.
[0092] The method of this invention achieves a factual accuracy of 98.5% (compared to 89.5% for the traditional Seq2Seq method and 82.3% for general LLM), a professional standardization of 96.8% (compared to an average of 79.4% for traditional methods), a mean BLEU score of 0.87 after constraint optimization (exceeding the threshold of 0.85), and ≤3 iterations of regeneration per description.
[0093] The constraint-driven large language model text optimization and fact-checking mechanism solves the core problem of large language models "generating fluent but potentially factually incorrect data", ensuring the reliability of descriptions in industrial application scenarios. This is also the key barrier that distinguishes this invention from general LLM methods.
[0094] 5. Interactive Natural Language Time Series Data Query and Causal Analysis This invention supports users in querying time-series data in free natural language (e.g., "What changes have occurred in the main steam temperature in the last 24 hours?", "Why did the temperature suddenly rise?"). It employs a parsing process that includes question intent classification (cause, trend, anomaly, and comparison), key parameter extraction, and related parameter association retrieval. For analytical queries (cause-based), a causal analysis module (covariance calculation and expert rules, inference depth ≤ 3 layers) is designed to infer causal chains from knowledge graphs and case bases and generate causal explanations with quantified evidence.
[0095] The method of this invention has an accuracy rate of ≥95% in query intent recognition, a context preservation rate of ≥90% in multi-turn dialogues, a confidence level of ≥0.85 in causal inference, an accuracy rate of ≥88% in answering analytical queries, and a response time of ≤5 seconds / time (for non-causal analysis queries) or ≤15 seconds / time (including causal analysis queries).
[0096] Interactive natural language time-series data query and causal analysis upgrades passive description generation to active question-and-answer interaction, significantly improving the usability and intelligence of time-series data. At the same time, it enables the natural description generation system to have a certain reasoning and analysis capabilities, going beyond simple data-to-text conversion.
[0097] Example 5: The method of the present invention will be described in detail below. The flowchart of the natural language description generation method for time series numerical sequences of the present invention is as follows: Figure 3 As shown, the natural language description generation method for time-series numerical sequences of the present invention includes the following steps: Step 1: Timing Data Input and Format Parsing Step 1 specifically includes: The system receives user-submitted time-series data (CSV files, JSON objects, or database query results), calls a parser to identify the data format, and verifies the existence of required fields (timestamp column, at least one parameter column), whether the timestamp is monotonically increasing, and whether the value is a finite floating-point number. Rows with missing timestamps are filled with linear interpolation. Abnormal values (exceeding the physical possible range of the parameter, such as temperature >1000°C or <-50°C) are marked as abnormal but not deleted. For duplicate timestamps, the latest record value is retained. After parsing, a unified internal time-series data object is constructed, containing a time series array (each element contains a mapping between timestamp and parameter value), a parameter list (metadata such as parameter name, unit, and normal range), and data quality markers (missing, abnormal, and normal).
[0098] Key parameters: linear interpolation window ≤ 5 consecutive missing points; anomaly detection threshold: exceeding the normal range of parameters by ±50%; duplicate timestamp retention strategy: retain the latest value.
[0099] The criteria for determining whether time-series data input and format parsing are successful are: parsing success rate ≥ 99% (valid data points and total data points), timestamp continuity check passed (no reverse timestamps), and parameter column non-empty rate ≥ 95%. If the parsing failure rate > 1%, error code E001 is returned and processing is refused.
[0100] Step 2: Multi-granularity temporal feature extraction Step 2 specifically includes: Three types of features are computed in parallel within four sliding windows (60s for seconds, 15min for minutes, 1h for hours, and 24h for days) on the parsed time-series data. Statistical features include: mean μ, standard deviation σ, extreme values (max and min), quantiles (P5, P25, P50, P75, and P95), and magnitude of change Δ = max - min. Trend features are obtained by fitting the time series using linear regression, extracting the trend coefficient β and coefficient of determination R² (a threshold ≥ 0.3 indicates a significant trend), calculating the first-order difference Δ¹ to determine the trend direction, and calculating the second-order difference Δ² to determine trend acceleration or deceleration. Pattern features are extracted using FFT (power spectrum peak threshold ≥ 0.1), wavelet transform to extract multi-scale fluctuation features, the PELT algorithm to detect change points (penalty coefficient β = 0.5log(n)), and the isolated forest algorithm to identify outliers (outlier score threshold ≥ 0.6). Each feature comes with a confidence score (calculated based on data quality and statistical significance) and a semantic label ("upward trend" and "over-limit warning", etc.).
[0101] Key parameters: Linear regression R² ≥ 0.3 indicates significant trend; isolated forest outlier score ≥ 0.6 indicates outlier; PELT penalty coefficient β = 0.5log(n); FFT principal period power spectrum peak value ≥ 0.1; wavelet decomposition scale number = 6.
[0102] The criteria for determining the success of multi-granularity temporal feature extraction are: feature extraction completeness rate ≥ 98% (number of successfully extracted features and total number of features to be extracted). If the number of data points for a certain parameter is less than 20 (insufficient for statistical analysis), mark the parameter as "insufficient data" and skip the statistical feature calculation for that parameter, retaining only the original data point sequence for subsequent processing.
[0103] Step 3: Domain Terminology Mapping Step 3 specifically includes: The system maps parameters to Chinese terms based on their numerical values (e.g., T_ms maps to main steam temperature, P_ms to main steam pressure, T_fw to feedwater temperature, and L_db to drum water level). It also maps parameters to state terms based on their numerical values (e.g., main steam temperature <535°C maps to low, 535-555°C to normal, 555-560°C to high, and >560°C to above the limit). Finally, it maps parameters to trend intensity based on the trend coefficient β (|β|>1°C / min maps to rapid rise and fall, 0.5-1°C / min to medium rise and fall, and <0.5°C / min to slow rise and fall). When multiple terms are available for the same feature, a context-sensitive selection algorithm chooses the most appropriate term based on the parameter type and numerical range. The mapping results are output as a structured object, containing the original feature values, mapped terms, and context labels.
[0104] Key parameters: Main steam temperature thresholds: 535°C (low), 555°C (normal), and 560°C (high); Main steam pressure thresholds: 16.5MPa (low), 17.2MPa (normal), and 18.0MPa (high); Trend coefficient thresholds: 0.5°C / min (medium speed) and 1°C / min (fast); Terminology database size ≥ 2000 entries.
[0105] The criteria for determining whether domain terminology mapping is successful are: terminology mapping coverage ≥ 99% (number of successfully mapped terms and total number of features to be mapped). If a parameter code does not exist in the terminology database, a warning W001 (warning message number 001) is returned and the parameter code is used as the default term.
[0106] Step 4: Knowledge Graph Augmentation Step 4 specifically includes: Retrieve relevant knowledge nodes for the current parameter from a power generation knowledge graph (over 500 equipment entities, over 2000 parameter entities, and over 10000 relationship edges). The search scope includes: the parameter's normal range and alarm threshold, the equipment to which the parameter belongs and its upstream and downstream related parameters, common causes and possible consequences of parameter changes, and historical case descriptions of similar operating conditions. For scenarios with abnormally high main steam temperature, the search revealed that both a decrease in feedwater temperature (decreased boiler thermal efficiency) and an increase in fuel flow (increased heat input) can lead to an increase in main steam temperature. Merge the retrieved knowledge nodes with the terminology mapping results to construct a knowledge-enhanced semantic unit, outputting a complete semantic package containing the original features, mapped terms, related knowledge, and causal explanations.
[0107] Key parameters: Knowledge graph retrieval returns relevant nodes (sorted by relevance score); maximum causal chain depth = 3 layers; case library similarity threshold ≥ 0.7.
[0108] The criteria for determining whether knowledge graph enhancement is successful are: knowledge enhancement coverage ≥ 95% (number of features with knowledge supplementation and total number of features). If the knowledge graph retrieval returns < 3 relevant nodes, the retrieval scope is expanded (from direct parameter association to device-level association) and a retrieval log is recorded.
[0109] Step 5: Template Matching and Slot Filling Step 5 specifically includes: Based on user context information (user identity, usage scenario, and query intent), determine the optimal template type (overview template, trend template, anomaly template, and comparison template). Retrieve similar templates from the description template library (≥500 templates) (based on three dimensions of matching: parameter type, analysis granularity, and description purpose). The top-1 matching template is selected as a candidate. Fill the knowledge-enhanced semantic units output from step 4 into the template slots according to slot type: fill the time range slot with a time span description (e.g., "past 6 hours"), fill the equipment slot with the equipment name (e.g., "No. 1 boiler"), fill the parameter slot with parameter terms (e.g., "main steam temperature"), fill the statistical description slot with the mean and standard deviation (e.g., "average 546.2°C, standard deviation 1.8°C"), and fill the trend description slot with trend terms and changes (e.g., "showing a slight upward trend, increasing by about 0.5°C per hour").
[0110] Key parameters: Template matching similarity threshold ≥ 0.75; Time range description precision: Second-level data adjusted to the past N minutes, minute-level data adjusted to the past N hours, hour-level data adjusted to the past N hours, and day-level data adjusted to the past N days; Number of decimal places: Temperature is retained to 1 place (546.2°C), and pressure is retained to 2 places (17.23MPa).
[0111] The criteria for determining whether template matching and slot filling are successful are: template matching success rate ≥ 98% (number of successfully matched templates and number of descriptions to be generated). If the top-1 matching score is < 0.75, an alternative strategy is enabled (relaxing parameter type constraints and re-matching or using a general template) and logged.
[0112] Step 6: Context-aware style adjustment (also known as expression style adjustment) Step 6 specifically includes: The style of the template text after filling in the data is adjusted according to user profiles. For operators, all technical terms and statistical data are retained, resulting in a complete technical report. For managers, key indicators (mean, extreme values, and trend direction) are extracted and summarized in one sentence, resulting in a concise summary. For non-professionals, technical terms are replaced with common expressions (e.g., "main steam temperature" is replaced with "boiler outlet steam temperature," "steam drum water level" is replaced with "steam drum water level"), and necessary explanations are added. Generation mode options include: concise mode (containing only the most critical information, mean, trend, and extreme values), standard mode (containing complete statistical and trend information), detailed mode (containing rich context and analysis), and anomaly mode (only describing abnormal situations and handling suggestions).
[0113] Key parameters: Concise mode ≤ 100 characters, standard mode 200-400 characters, detailed mode ≥ 500 characters; User version requirements: ≥ 8 technical terms per 100 characters; Non-professional version: ≥ 80% replacement rate of popular terms.
[0114] The criteria for determining whether context-aware style adjustment is successful are: style adjustment coverage of 100% (all generated descriptions have undergone context-aware adjustment). If the user does not specify a scene mode, the standard mode is used by default.
[0115] Step 7: Constraint Optimization of Large Language Model Step 7 specifically includes: The context-adjusted description text, along with the original time-series data (key numerical values) and constraints (length limits and terminology requirements), is used to construct a prompt. This prompt is then input into a fine-tuned large language model (power generation sector fine-tuning, ≥7B parameters) for optimization. The optimization objectives include three dimensions: language fluency (correcting grammatical errors, unnatural expressions, and ambiguous polysemous words, outputting BLEU ≥ 0.85), factual accuracy (ensuring that every numerical value in the description matches the original data, allowing rounding differences but not orders-of-magnitude differences), and professional standardization (using correct power generation industry terminology, terminology coverage ≥ 95%). A built-in fact-checking module compares each numerical value in the description with the original data, marking inconsistencies and triggering corrections. The optimization result is output after passing fact-checking.
[0116] Key parameters: Large language model temperature parameter = 0.3 (low randomness ensures stability); BLEU threshold ≥ 0.85; term coverage threshold ≥ 95%; maximum generation length = 2048 tokens; maximum number of iterations = 3.
[0117] The criteria for determining whether large language model constraint optimization is successful are: large language model optimization success rate ≥ 99%. If BLEU is still < 0.85 or term coverage is < 95% after 3 iterations, a degradation process is triggered (using a rule engine to replace large language model optimization, outputting a degradation warning W002).
[0118] Step 8: Quality Check and Correction Step 8 specifically includes: Perform quality checks on the optimized description. **Factual Consistency Check:** Verify each numerical value in the description against the original data, allowing for rounding errors (e.g., 546.23°C rounded to 546.2°C is acceptable), but not allowing for orders of magnitude differences (e.g., describing 546°C as 5460°C is inconsistent). Record any inconsistencies. **Completeness Check:** Check if the description covers the main features (mean, trend, and extreme values). If any main feature is missing, mark it as incomplete. **Readability Check:** Check if the sentences are fluent (no grammatical errors, logical coherence). If not, mark it as needing correction. **Professionalism Check:** Check if the power generation terminology is used correctly (call the terminology validation library; incorrect terms are marked). Descriptions that fail to meet quality standards trigger a regeneration process (returning to step 5 to rematch the template or returning to step 7 to re-optimize). The maximum number of regenerations is 3; exceeding this limit will output a "Generation Restricted" warning.
[0119] Key parameters: Factual consistency threshold: numerical error ≤0.1°C or ≤0.01MPa (compared with the original data); Integrity requirements: must include three core features: mean, trend, and extreme values; Readability score threshold ≥4.0 and 5.0 (with BLEU and ROUGE indicators as supplementary references); Terminology accuracy threshold ≥95%.
[0120] The criteria for determining the success of quality verification and correction are: a quality verification pass rate of ≥97% (number of verified descriptions and total number of generated descriptions). If the description still fails after 3 regeneration attempts, it will be output with a quality alarm flag attached, and its use will be decided by manual review.
[0121] Step 9: Formatted Output and Multilingual Adaptation Step 9 specifically includes: Format the descriptions that have passed quality verification according to the target output channels. Report format: Add a title (e.g., "Unit 1 Operation Daily Report (2024-01-01)"), automatic segmentation (every 200 words per segment), and add a summary at the end ("Overall operation is stable, all parameters are within normal range"). Instant messaging format: Extract core information and compress it to ≤200 words, delete detailed statistical data. Voice broadcast format: Insert a pause mark " / / / " every 50 words, and simplify numerical expressions to integers (e.g., "546.2°C" is converted to "approximately 546 degrees"). Large screen display format: Bold key numbers (Markdown bold or HTML bold). Add concise indicator bars (e.g., "▲Temperature 546.2°C"). Multilingual processing: When translating from Chinese to English, translate main steam temperature as "main steam temperature" and drum water level as "drum water level," and adjust the number format to English conventions (e.g., translate January 1, 2024 as "Jan 1, 2024").
[0122] Key parameters: Report format paragraph length ≤ 200 characters / paragraph; Instant messaging format word count ≤ 200 characters; Voice broadcast pause mark interval 50 characters; Large screen format highlights key indicators; Multilingual translation accuracy ≥ 98% (terminology equivalence verification).
[0123] The criteria for determining whether formatted output and multilingual adaptation are successful are: a formatted output success rate of ≥99.5%. If the specified output format is not supported, error code E002 is returned and the default format (report format) is recommended.
[0124] Step 10: User Feedback Collection and Model Optimization Step 10 specifically includes: Feedback data is collected after users consume descriptions. Explicit feedback: Users click the "Helpful" or "Not Helpful" button at the end of the description, and the evaluation result is stored in the feedback log. Implicit feedback: Records whether users read the entire description (reading completion rate), whether they copied and used it (copy rate), and whether they made further inquiries (query follow-up rate). Feedback data is summarized daily, and statistics are compiled on the positive review rate and common problem types (such as "inaccurate values," "unprofessional terminology," and "unfluent language"). Description types with a positive review rate <80% trigger a generation strategy review; error type statistics are used to guide model fine-tuning and dataset expansion (adding negative samples); incremental fine-tuning of the large language model is performed regularly (recommended weekly) using summarized feedback data (incremental corpus ≥1000 entries).
[0125] Key parameters: Explicit review collection rate statistics (number of reviewing users and total number of users); Positive review rate threshold ≥ 80% (number of positive reviews and total number of reviews); Implicit feedback: Reading completion rate threshold ≥ 70%, Copy rate benchmark (relative value, used for trend comparison), Query follow-up rate threshold ≥ 30%; Incremental fine-tuning trigger condition: Cumulative feedback data ≥ 1000; Incremental fine-tuning learning rate = 1 / 10 of the pre-training learning rate.
[0126] The criteria for determining the success of user feedback collection and model optimization are: feedback collection coverage reaches 80% (at least 80% of generated descriptions obtain feedback data). If the feedback data is insufficient to support model optimization (<1000 valid feedback items), rule-based feature weight adjustment is used as a transitional solution.
[0127] Example 6: Please see Figure 4 As shown, the present invention also provides an electronic device 100 for generating a natural language description of a time-series numerical sequence; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104.
[0128] The memory 101 can be used to store the computer program 103. The processor 102 implements the steps of the natural language description generation method for time-series numerical sequences described in Embodiment 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device 100 (such as audio data), etc. In addition, the memory 101 may include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0129] The at least one processor 102 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor. The processor 102 is the control center of the electronic device 100, connecting various parts of the electronic device 100 via various interfaces and lines.
[0130] The memory 101 in the electronic device 100 stores multiple instructions to implement a natural language description generation method for time-series numerical sequences, and the processor 102 can execute the multiple instructions to achieve: Obtain the running parameters and the time-series numerical sequence data of the running parameters; Multidimensional features are extracted from the time-series numerical data of the operating parameters to obtain multidimensional time-series features, and a structured feature vector is constructed based on the multidimensional time-series features. The structured feature vectors are mapped to comprehensive descriptive terms. Based on the comprehensive descriptive terms, knowledge nodes of the running parameters are retrieved to obtain knowledge node retrieval results. The knowledge node retrieval results are combined with comprehensive descriptive terms to obtain knowledge-enhanced semantic information; The knowledge-enhanced semantic information is filled into the template slots to obtain the intermediate text of the filled slots; Adjust the style of the intermediate text that has been filled in the slots to obtain the initial natural language description text; The initial natural language description text is optimized to obtain the optimized natural language description text, and the optimized natural language description text is then formatted and adapted to obtain the final natural language description text.
[0131] Example 7: If the modules / units integrated in the electronic device 100 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of 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, and a read-only memory (ROM).
[0132] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0134] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0135] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for generating natural language descriptions of time-series numerical sequences, characterized in that, Includes the following steps: Obtain the running parameters and the time-series numerical sequence data of the running parameters; Multidimensional features are extracted from the time-series numerical data of the operating parameters to obtain multidimensional time-series features, and a structured feature vector is constructed based on the multidimensional time-series features. The structured feature vectors are mapped to comprehensive descriptive terms. Based on the comprehensive descriptive terms, knowledge nodes of the running parameters are retrieved to obtain knowledge node retrieval results. The knowledge node retrieval results are combined with comprehensive descriptive terms to obtain knowledge-enhanced semantic information; The knowledge-enhanced semantic information is filled into the template slots to obtain the intermediate text of the filled slots; Adjust the style of the intermediate text that has been filled in the slots to obtain the initial natural language description text; The initial natural language description text is optimized to obtain the optimized natural language description text, and the optimized natural language description text is then formatted and adapted to obtain the final natural language description text.
2. The method for generating natural language descriptions of time-series numerical sequences according to claim 1, characterized in that, The multidimensional time series features include statistical features, trend features, and pattern features.
3. The method for generating natural language descriptions of time-series numerical sequences according to claim 1, characterized in that, The multi-dimensional feature extraction of the time-series numerical data of the operating parameters specifically involves: Multidimensional feature extraction is performed on the time-series numerical sequence data of the running parameters using a sliding window.
4. The method for generating natural language descriptions of time-series numerical sequences according to claim 1, characterized in that, Before performing multidimensional feature extraction on the time-series numerical sequence data of the running parameters, the time-series numerical sequence data of the running parameters is preprocessed to obtain a unified time-series data object. The preprocessing includes format verification, missing value linear interpolation imputation, outlier marking, and duplicate timestamp deduplication.
5. The method for generating natural language descriptions of time-series numerical sequences according to claim 1, characterized in that, The comprehensive descriptive terminology includes professional Chinese terms, status terms, and trend intensity terms.
6. The method for generating natural language descriptions of time-series numerical sequences according to claim 1, characterized in that, After obtaining the optimized natural language description text, the optimized natural language description text is checked. If the check results meet the requirements, the optimized natural language description text that meets the requirements is formatted and adapted.
7. The method for generating natural language descriptions of time-series numerical sequences according to claim 1, characterized in that, The optimization of the initial natural language description text to obtain the optimized natural language description text specifically involves: The initial natural language description text is input into the fine-tuned large language model, and language fluency constraints, factual accuracy constraints, and professional normative constraints are applied to optimize the initial natural language description text, resulting in the optimized natural language description text.
8. A natural language description generation system for time-series numerical sequences, characterized in that, include: The data acquisition module is used to acquire the operating parameters and the time-series numerical sequence data of the operating parameters; The feature vector construction module is used to extract multidimensional features from the time-series numerical sequence data of the running parameters, obtain multidimensional time-series features, and construct structured feature vectors based on the multidimensional time-series features. The retrieval module is used to map structured feature vectors into comprehensive descriptive terms, and based on the comprehensive descriptive terms, to retrieve knowledge nodes of the running parameters and obtain knowledge node retrieval results. The merging module is used to merge the knowledge node retrieval results with the comprehensive descriptive terms to obtain knowledge-enhanced semantic information; The filling module is used to fill knowledge-enhanced semantic information into template slots to obtain the intermediate text of the filled slots; The style adjustment module is used to adjust the expression style of the intermediate text in the filled slots to obtain the initial natural language description text. The text optimization module is used to optimize the initial natural language description text to obtain the optimized natural language description text, and to perform format adaptation on the optimized natural language description text to obtain the final natural language description text.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the natural language description generation method for time-series numerical sequences as described in any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the natural language description generation method for time-series numerical sequences as described in any one of claims 1 to 7.
