Dynamic prediction of forest fire weather and optimization method of patrol resource allocation
By constructing a fire risk scenario-driven time-series coding classification model, the problems of continuous dry accumulation and insufficient moisture content assessment in forest fire weather risk level prediction are solved. This enables dynamic prediction of forest fire risk levels and optimized allocation of patrol resources, improving prediction accuracy and the effectiveness of resource allocation.
Patent Information
- Application Number
- CN202611654296.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies for predicting forest fire weather risk levels suffer from several problems: insufficient characterization of the continuous drying and accumulation process, inaccurate risk assessment of combustible material moisture content, weak dynamic perception capabilities of the model, and neglect of the orderliness of fire risk levels and sample imbalance. These issues lead to prediction delays, underreporting, and misjudgments.
A fire hazard scenario-driven time-series coding classification model is constructed. By acquiring the daily drying capacity factor, the cumulative value of composite drying stress, and the dynamic deviation of moisture content, fire hazard scenario zones are divided. Scenario embedding vectors and dual-stream time-series coding are used for prediction. The model training is optimized by combining an ordinal sensitive predictor and a deviation-weighted loss function.
It enables dynamic prediction of forest fire risk levels and optimized allocation of patrol resources, improves the accuracy of identifying high-risk explosive fires and the effectiveness of resource allocation, and reduces high-level misjudgments and cross-level misjudgments.
Smart Images

Figure CN123158307A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of forest fire risk prediction, specifically involving a method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation. Background Technology
[0002] Forest fire weather risk forecasting is a crucial aspect of forest fire prevention, and its accuracy directly impacts the rational allocation of fire prevention resources and early response to fires. With global warming and the increasing frequency of extreme heat, drought, and strong winds, forest fire risk is exhibiting new characteristics such as explosiveness, rapid escalation of risk levels, and uneven spatial and temporal distribution. Traditional forest fire weather risk forecasting methods are gradually revealing several limitations: First, existing technologies are insufficient in depicting the continuous accumulation process of forest fire risk due to dryness. Commonly used methods rely on discrete consecutive rainless days or single-day meteorological factors, lacking a continuous variable to represent the complete process of remembering, amplifying, and asymmetrically mitigating the previous dryness pressure, leading to a lag in predicting the escalation trend of fire risk caused by sustained high temperatures and lack of rain. Second, existing technologies are not precise enough in assessing the risk implications of combustible material moisture content. When directly using the absolute value of forecasted or measured moisture content, it is impossible to distinguish between normal waves within a seasonal climate context. First, existing models have several shortcomings. First, the risk of fires is often low under similar weather conditions, leading to underreporting of high-risk, explosive fires. Second, current models have weak dynamic perception capabilities for different fire risk patterns. Conventional classification models typically use uniform feature processing and weights for all samples, making it difficult to adaptively strengthen key factors and suppress noise based on different dry and humid conditions. They also cannot simultaneously capture long-term trends and short-term abrupt changes in fire risk formation. Finally, existing classification models do not fully respect the orderliness of fire risk levels and the imbalance of samples. They often treat the five fire risk levels as independent categories for multi-classification, ignoring the sequential relationship between levels. Furthermore, they lack specific weighted learning strategies for abnormally dry samples in high fire risk levels, resulting in a greater risk of misjudgment of high-level and cross-level fires. Summary of the Invention
[0003] To address the aforementioned issues, this invention proposes a method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation. It constructs a time-series coding classification model driven by fire risk scenarios, obtains predicted fire risk levels and auxiliary alarm information based on forest fire risk characteristics, and allocates patrol resources accordingly.
[0004] To achieve the above objectives, the present invention adopts the following solution: S1. Collect meteorological observation data, meteorological forecast data, combustible moisture content data and forest fire risk level labeling data of the target forest area over a continuous time scale to form a forest fire risk meteorological sample; S2. Obtain the daily drying capacity factor, cumulative value of composite drying stress and dynamic deviation of moisture content. Divide the fire hazard scenario zones according to the final value of composite drying stress and dynamic deviation of moisture content. Calculate the normalized statistics in each fire hazard scenario zone to obtain the scenario adaptive normalized time series feature matrix. S3. Construct a fire risk scenario-driven temporal coding classification model. Input the scenario adaptive normalized temporal feature matrix, water content dynamic deviation and scenario embedding vector. Through scenario embedding-driven gated temporal feature modulation, dual-stream temporal coding of trend memory stream and fluctuation capture stream and ordinal sensitive predictor, obtain the forest fire risk level prediction result. S4. Deploy the fire risk scenario-driven time-series coding classification model to the forest fire weather level prediction system for online prediction, generate auxiliary early warning information, and determine whether to output a formal high fire risk alarm based on the prediction results. S5. Allocate patrol resources based on predicted fire risk levels and auxiliary early warning information.
[0005] Preferably, S1 includes: The meteorological characteristics of 8 consecutive days are obtained by backtracking from the forecast day, forming the original meteorological time series characteristic matrix; Based on forest fire risk business records or manual confirmation results, assign a true fire risk level to each forest fire weather sample. A training sample set was formed by combining multiple forest fire weather samples labeled with real fire risk levels, and a historical similar sample database was constructed.
[0006] Preferably, the S2 day drying capacity factor includes: Read the daily maximum temperature, daily average wind speed and daily average relative humidity from the original meteorological time series feature matrix, and set the temperature drying start threshold, reference high temperature threshold, reference wind speed threshold and humidity drying reference value; The temperature-induced dryness contribution is obtained by piecewise linear normalization. The wind speed-induced dryness contribution is obtained by dividing the daily average wind speed by the reference wind speed threshold. The humidity-induced dryness contribution is obtained by using a non-negative truncation form based on the daily average relative humidity. The daily drying capacity factor is obtained by integrating the dryness contribution of temperature, dryness contribution of wind speed and dryness contribution of humidity according to a fixed weight. The daily drying capacity factor was calculated for each of the eight time steps in chronological order to obtain the daily drying capacity factor sequence.
[0007] Preferably, the cumulative value of S2 composite drying stress includes: The cumulative value of composite drying stress before the start of the sample is initialized based on the number of consecutive rainless days on day 1. Read the daily drying capacity factor from the daily drying capacity factor sequence, and calculate the drying accumulation term based on the cumulative value of the composite drying stress of the previous day and the daily drying capacity factor of the current day; A nonlinear response method was used to calculate the precipitation replenishment offset term based on 24-hour precipitation. Subtract the precipitation replenishment offset term from the drying accumulation term to obtain the candidate drying stress value. Then, apply non-negativity constraints and upper limit constraints to the candidate drying stress value in sequence to obtain the composite drying stress accumulation value. The above recursive calculation is repeated in the order of day 1 to day 8 to obtain the composite drying stress index sequence.
[0008] Preferably, the dynamic deviation of S2 moisture content includes: Extract the 24-hour precipitation from day 1 to day 7, the number of consecutive rainless days on day 7, and the cumulative value of composite dry stress on day 7 from the current forest fire weather sample to construct a similarity retrieval query vector; In the historical similarity sample database, a historical query vector with the same structure as the similarity retrieval query vector is constructed for each historical sample, and standardized using the same training phase mean and training phase standard deviation to obtain the historical standardized query vector. At the same time, Euclidean distance is used to calculate the weather process similarity distance between the current forest fire weather sample and the historical sample. Similar historical samples were selected from the weather process similarity distance in ascending order to form a similar historical sample set; Extract the combustible moisture content of each similar historical sample on day 8 from the similar historical sample set NK, and calculate the mean and standard deviation of the similar historical sample moisture content. Take the forecasted combustible moisture content of the current forest fire weather sample for the 8th day, and compare the forecasted combustible moisture content with the average moisture content of similar historical samples in a standardized manner to obtain the dynamic deviation of the moisture content.
[0009] Preferably, the reconstruction of the original meteorological time series feature matrix in S2 includes: The original meteorological time series feature matrix, the daily dryness capacity factor sequence, and the composite dryness stress index sequence are spliced together to obtain the enhanced meteorological time series feature matrix; The low-drying-stress zone, medium-drying-stress zone, and high-drying-stress zone are determined based on the final value of the composite drying stress of each training sample in the training sample set. The negative anomaly region, normal region, and positive anomaly region are determined based on the dynamic deviation of the water content of each training sample in the training sample set. Three types of dry stress zones and three types of abnormal moisture content zones are cross-combined to form nine fire hazard scenario zones, and each fire hazard scenario zone is assigned a unique fire hazard scenario zone number. The mean and standard deviation of each enhanced meteorological feature dimension within each fire risk scenario zone are calculated separately to obtain the scenario feature mean and scenario feature standard deviation; Using the mean and standard deviation of the situation features corresponding to the fire situation zone to which the current forest fire weather sample belongs, the enhanced meteorological time series feature matrix is normalized step by step and feature by feature dimension to obtain the situation-adaptive normalized time series feature matrix.
[0010] Preferably, S3 specifically includes: The feature dimension-level gating coefficients are generated based on the context embedding vector, and the feature gating coefficients are applied to the context adaptive normalized features at each time step. The context-gated modulation time-series feature matrix is input into the trend memory stream and the fluctuation capture stream, respectively. The trend memory stream extracts the trend memory representation, and the fluctuation capture stream extracts the fluctuation capture representation. The trend memory representation, the fluctuation capture representation and the context embedding vector are fused to obtain the comprehensive meteorological sequence representation. The five-level fire risk classification is transformed into a four-level threshold discrimination task. The comprehensive meteorological sequence characterization and the dynamic deviation of water content are spliced together and input into the ordinal sensitive predictor to obtain the prediction probability of the four-level threshold.
[0011] Preferably, S3 also includes the construction of the loss function and the training of the model: Construct a deviation-weighted hierarchical loss function, which includes deviation-weighted ordinal binary cross-entropy and a consistency regularization term; The fire hazard scenario-driven temporal coding classification model is trained end-to-end using the training sample set. The training sample set is divided into a training subset and a validation subset. The predicted probability of the level threshold is obtained based on the training subset. The model parameters are updated in reverse using a deviation-weighted hierarchical loss function. After each training cycle, the macro average score of the five fire hazard levels is calculated using the validation subset, and the model parameters corresponding to the highest macro average score are saved as the final model parameters.
[0012] Preferably, S4 specifically includes: The trained fire risk scenario-driven time-series coding classification model was deployed into the forest fire weather risk level prediction system. Meteorological features from 8 consecutive days are extracted from the online meteorological data stream. After reconstructing the features, the embedding vector of the situation to be predicted, the dynamic deviation of the water content to be predicted, and the adaptive normalized time series feature matrix of the situation to be predicted are obtained. The fire risk level to be predicted is obtained based on the fire risk situation-driven time series coding classification model. Auxiliary early warning information is generated based on the predicted fire hazard level, the predicted dynamic deviation of moisture content, and the predicted final value of composite drying stress. The system verifies the consistency of execution time for results from multiple consecutive online prediction windows to determine whether to output a formal alarm.
[0013] Preferably, S5 specifically includes: Patrol resources are allocated based on predicted fire risk levels and auxiliary early warning information. The allocation of patrol resources includes: basic patrol force allocation and resource reinforcement under special conditions. The basic patrol force is configured with patrol density and patrol frequency; Under special circumstances, additional resources will be deployed when there is an abnormally dry environment combined with a high fire risk or a critically rising risk warning. In addition to the patrol arrangements, a rapid response team will be dispatched, equipped with firefighting equipment, and real-time communication will be established with the local emergency department until the forecast level is reduced or the warning is lifted.
[0014] Beneficial effects of this invention: First, this invention proposes a recursive calculation method for composite drying stress based on the physical mechanism of fire hazards. This method generates a composite drying stress index that can continuously characterize the moisture deficit state of combustibles by simulating the daily accumulation of drying force, memory amplification, and nonlinear cancellation process of precipitation, thus solving the problem that existing technologies cannot quantify the cumulative effect of multi-day drying. Second, it constructs a moisture content anomaly assessment method based on dynamic reference to historical similar weather. By retrieving historical samples most similar to the current weather process, it dynamically calculates the expected value and fluctuation range of combustible moisture content, thereby obtaining a comparable dynamic deviation of moisture content. This changes the practice of existing methods that directly use the absolute value or global mean of moisture content, and can distinguish between seasonally normal low values and abnormally dry high-risk states. Third, this invention constructs a situation-adaptive... A deep learning model employing gating and dual-stream temporal coding is proposed. This model divides fire hazard scenarios into zones based on composite drying stress and moisture content deviation. It dynamically modulates the contribution intensity of feature channels using scenario embedding vectors. Simultaneously, it uses trend memory stream and fluctuation capture stream to extract long-term cumulative and short-term mutation information, respectively, thus solving the problem of insufficient representation of different fire hazard induction modes by traditional models. Finally, a hierarchical loss function based on ordinal sensitivity and deviation weighting is constructed to transform fire hazard level prediction into an ordered threshold discrimination task, forcing the level probabilities to satisfy a decreasing relationship. The loss function is weighted according to moisture content deviation and incorporates probability consistency constraints, making the model training more focused on abnormally dry high-risk samples, thus improving the problem of conventional classification models ignoring level order and risk imbalance. Attached Figure Description
[0015] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof.
[0016] Figure 1 This is a schematic diagram of the process of the present invention; Figure 2 This is a scatter plot illustrating the fire hazard scenario zoning of this invention. Figure 3 This is a differential heatmap of adjacent time steps for the context-gated modulation features of this invention. Figure 4 This is the cumulative surface diagram of drying stress in this invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] S1. Construction and Classification of Forest Fire Weather Samples This invention first collects meteorological observation data, weather forecast data, combustible material moisture content data, and forest fire risk level labeling data of the target forest area over a continuous time scale, forming a forest fire risk meteorological sample for model training and online prediction. The specific steps are as follows: 1> Construct the original meteorological time series feature matrix by retrospectively tracing back from the forecast date. Original meteorological time series feature matrix This refers to an input matrix formed by arranging meteorological characteristics from 8 consecutive days in chronological order, with dimensions of [missing information]. , where 8 represents the number of time steps and 6 represents the number of original feature dimensions.
[0019] For the sky, This represents the time step index, with values ranging from 1 to 8. Day 8 corresponds to the current forecast day or the day to be forecasted; The six basic characteristics of the day include, in order: daily maximum temperature Daily average wind speed 24-hour precipitation Daily average relative humidity Number of consecutive rainless days and forecast the moisture content of combustibles .in, Used to characterize the The thermal evaporation intensity of the day, measured in degrees Celsius; Used to characterize the The enhancing effect of airflow on the exchange of moisture on the surface of combustible materials, measured in meters per second; Used to characterize the The intensity of rainfall replenishment to the moisture state of combustibles, expressed in millimeters; Used to characterize the The humidity level of the air is expressed as a percentage. Used to characterize up to the [number] The number of consecutive days without rain; Used to characterize the The predicted or estimated value of the moisture content of combustibles, which can be expressed as a percentage.
[0020] In practical implementation, the first The six original characteristics of the day are arranged in columns as follows ,in, Indicates the first The original meteorological feature vector of the day has a dimension of Then to Stacking them in chronological order yields the original meteorological time-series feature matrix. If a certain meteorological feature is missing for a short period of time, it can be filled by linear interpolation of adjacent dates, average time of the nearest station, or operational forecast completion value; if the number of consecutive missing days exceeds the preset missing limit, the forest fire risk meteorological sample can be removed. The preset missing limit can be 2 days.
[0021] 2> Assign a true fire risk level to each forest fire weather sample based on forest fire risk business records or manual confirmation results. Actual fire hazard level This indicates the forest fire weather risk level corresponding to the forest fire weather sample, with values ranging from 1 to 5. Level 1 represents low fire risk, level 2 represents relatively low fire risk, level 3 represents medium fire risk, level 4 represents high fire risk, and level 5 represents extremely high fire risk. In one implementation, the operational fire risk level of the corresponding area on the 8th day can be used as the actual fire risk level based on a preset standard. In another approach, the true fire risk level can be determined by comprehensively considering fire records, measured moisture content of combustibles, meteorological station observations, and expert review results. .
[0022] 3> Create a training sample set by combining multiple forest fire weather samples labeled with actual fire risk levels. Training sample set This refers to a data set consisting of multiple original meteorological time-series feature matrices and corresponding actual fire risk levels, which can be represented as: .in, Indicates the sample index; Indicates the total number of training samples; Indicates the first The original meteorological time-series feature matrix corresponding to each forest fire risk meteorological sample; Indicates the first The actual fire risk level corresponding to each forest fire weather sample.
[0023] 4> Based on the training sample set Building a historical similar sample library Historical similar sample library This refers to a dataset used to retrieve similar historical weather events and provide dynamic references for water content. Historical similarity sample database. Each historical sample in the database includes at least the 24-hour precipitation from day 1 to day 7, the number of consecutive rainless days on day 7, the cumulative composite drying stress on day 7, the combustible moisture content on day 8, and the sampling date corresponding to that historical sample. This historical similar sample database is used during the model validation, testing, and online prediction phases. Only historical samples saved during the training phase are used, and future information after the samples to be predicted is not used, in order to avoid data leakage.
[0024] S2. Feature Reconstruction Based on Fire Risk Induction Mechanism and Data Coupling Characteristics Forest fire risk levels are jointly influenced by the dryness of combustibles, precipitation intensity, temperature evaporation capacity, air humidity, and wind disturbance intensity. (Original meteorological time series characteristic matrix) When directly input into the model, it mainly expresses the daily observation or forecast status, but it is difficult to express the accumulation of moisture deficit caused by continuous lack of rain, and it is also difficult to express the asymmetric moisture change mechanism of limited relief from light rain, rapid re-drying due to high temperature and strong winds, and abnormal deviation of the current moisture content from historical similar conditions. This results in insufficient stability of the model in identifying explosive high fire risk samples and critical level samples.
[0025] This invention focuses on three key mechanisms: moisture dissipation of combustibles, abnormal deviations in historical moisture content, and fire hazard scenario zoning. It analyzes the original meteorological time-series characteristic matrix. Reconstruction is performed to obtain the context-adaptive normalized temporal feature matrix, water content dynamic deviation, and context embedding vector. The specific steps are as follows: S201, Daily Drying Capacity Factor Calculation Daily maximum temperature reflects thermal evaporation, daily average wind speed reflects air disturbance and moisture exchange on the surface of combustibles, and daily average relative humidity reflects the inhibitory effect of air on water loss from combustibles. These characteristics have different dimensions and numerical ranges; if directly input into the model, the model will struggle to stably learn the physical meaning of how high temperature, strong winds, and low humidity collectively promote water loss from combustibles.
[0026] This invention first converts the daily maximum temperature, daily average wind speed, and daily average relative humidity to a comparable scale, and then fuses them to obtain a daily drying capacity factor. This allows the combined effects of thermal evaporation, air disturbance, and humidity suppression on the water loss process of combustibles to be expressed in continuous numerical form. The specific steps are as follows: 1> From the original meteorological time series feature matrix Read the first The day's highest temperature Daily average wind speed and daily average relative humidity .
[0027] Furthermore, a temperature drying initiation threshold is set. Reference high temperature threshold Reference wind speed threshold Humidity and dryness reference values .in, Used to determine the starting temperature at which a significant contribution from thermal evaporation begins, with an example value of 15 degrees Celsius; The reference temperature used to determine the high-temperature drying contribution to be close to 1 is 35 degrees Celsius (example value). Used to convert the daily average wind speed into a dimensionless wind speed ratio, with an example value of 5 meters per second; Used to convert daily average relative humidity into a dimensionless dryness ratio, with an example value of 60%.
[0028] Furthermore, the contribution of temperature drying was obtained through piecewise linear normalization. ,Right now .in, It refers to the first The contribution of daytime temperature to dryness is used to quantify the promoting effect of daily maximum temperature on the water loss of combustibles; This indicates the upper limit of the contribution of temperature drying, used to limit the numerical amplification caused by samples at extreme high temperatures; This represents the temperature normalized stability constant, used to prevent the denominator from being zero. Examples of its values are shown below. ; Represents the maximum value function; This represents the minimum value function. When... Not higher than When temperature contributes 0 to drying; when Higher than At that time, according to relative to The contribution of temperature drying is calculated proportionally.
[0029] In one implementation, to avoid excessively high values due to extreme high temperatures, an upper limit can be set for the contribution of temperature drying. The example value is 1.5.
[0030] 2> The first Daily average wind speed Divide by the reference wind speed threshold The contribution of wind speed to drying And set an upper limit for wind speed drying contribution. To avoid strong wind outliers having an excessive impact on subsequent models, i.e. .in, It refers to the first The contribution of daily wind speed to dryness is used to quantify the enhancing effect of daily average wind speed on moisture exchange on the surface of combustibles. This indicates the upper limit of wind speed's contribution to drying; an example value is 2. This represents the normalized stability constant for wind speed, used to prevent the denominator from being zero. Examples of its values are shown below. .
[0031] Furthermore, according to the first Daily average relative humidity Calculate the contribution of humidity to drying The lower the humidity, the easier it is for combustible materials to lose water; the higher the humidity, the more inhibited the water loss of combustible materials. Therefore, adopting... The non-negative truncation form is used to obtain the humidity-drying contribution, and an upper limit is set for the humidity-drying contribution. ,Right now .in, Indicates the first The contribution of humidity to dryness is used to quantify the promoting effect of low humidity environment on the water loss of combustibles; This indicates the upper limit of the contribution of humidity to drying; an example value is 1.5. This represents the humidity normalized stability constant, with examples of values as follows: .
[0032] 3> The dryness contributions of temperature, wind speed, and humidity are combined according to fixed weights to obtain the first... Daily drying capacity factor , It refers to the first The daily drying capacity factor of the day is used to quantify the first High temperatures, strong winds, and low humidity combine to enhance the ability of combustible materials to lose water. The larger the value, the higher the value. The more flammable a substance is, the more easily it loses moisture.
[0033] In one implementation, a weighted summation method is used for fusion, represented as: ; in, This represents the contribution weight of temperature to dryness, used to control the contribution intensity of the daily maximum temperature in the daily dryness capacity factor. An example value is 0.45. This represents the contribution weight of wind speed to drying capacity, used to control the contribution intensity of daily average wind speed in the daily drying capacity factor. An example value is 0.30. This represents the contribution weight of humidity to dryness, used to control the contribution strength of daily average relative humidity in the daily dryness capacity factor. An example value is 0.25. Each weight can satisfy... ,and , and All are not less than 0.
[0034] 4> Calculate the daily drying capacity factor for each of the eight time steps in chronological order to obtain the daily drying capacity factor sequence. Daily drying capacity factor sequence This refers to a column vector obtained by arranging the daily drying capacity factors of 8 time steps in chronological order, represented as: , dimension .in, This indicates transpose.
[0035] In one embodiment, for example, the daily maximum temperature is 36 degrees Celsius, the daily average wind speed is 4 meters per second, and the daily average relative humidity is 30%. , , , , , , If temperature contributes approximately 1.05 to drying, wind speed contributes approximately 0.80, and humidity contributes approximately 0.50; , , The daily dryness factor is approximately 0.8375. The daily dryness factor incorporates information on high-temperature evaporation, wind speed disturbance, and low humidity promotion, and is a better representation of the daily water loss environment of combustibles than using the daily maximum temperature, daily average wind speed, or daily average relative humidity alone.
[0036] It should be noted that the daily aridity factor does not replace the original meteorological characteristics, but rather preserves the original meteorological time-series characteristic matrix. Based on this, a derived variable with fire hazard mechanism meaning is added so that the subsequent model can directly obtain the input content of "whether the conditions for rapid water loss are met on the day".
[0037] S202, cumulative value of composite drying stress recursion The forest fire risk triggering process has a significant time accumulation effect. Continuous drought will cause the moisture content of combustibles to decrease day by day. High temperature, strong wind and low humidity will accelerate the drying process. Precipitation will offset the previous drying pressure. If only the meteorological characteristics of a single day are used, it is difficult to express the asymmetrical impact of the previous drying memory and precipitation replenishment.
[0038] This invention recursively calculates the cumulative value of composite drying stress based on the cumulative value of composite drying stress from the previous day, the daily drying capacity factor for the current day, and the 24-hour precipitation for the current day. The invention also ensures numerical stability through non-negativity constraints and upper limit constraints. The specific steps are as follows: 1> Based on the number of consecutive rainless days on day 1 Accumulated composite drying stress before initialization of samples Cumulative value of composite drying stress This refers to the period up to the [number]th The degree of accumulated dry pressure of combustibles in a day The larger the value, the stronger the conditions that could trigger a fire.
[0039] In one implementation, due to the original meteorological time series feature matrix Covering only 8 consecutive days, and considering that there may have already been a period of continuous drought before the sampling began, therefore, it is not directly included. Instead of being fixed at 0, it is based on the number of consecutive rainless days on the first day. Set the initial dry memory, that is .in, This indicates the initial state of the composite drying stress before the start of the sample time series; This represents the upper limit of stress accumulation, used to limit the maximum value of the cumulative stress in composite drying. An example value is 10. This represents the initialization coefficient for consecutive rainless days, used to control the contribution of consecutive rainless conditions to the initial drying pressure before the start of the sample collection. An example value is 0.2.
[0040] 2> For the first Day, from the daily drying capacity factor sequence Read the first Daily drying capacity factor And from the original meteorological time series feature matrix Read the first 24-hour rainfall .
[0041] Furthermore, based on the cumulative value of the composite drying stress from the previous day... and daily drying capacity factor The drying accumulation term is calculated, which consists of two parts: one part is a memory term representing the amplification of the previous day's drying stress under the current day's drying conditions, and the other part is a newly added drying term directly formed by the daily drying capacity factor. By introducing the newly added drying term, even if the initial cumulative value of the composite drying stress is low, continuous high temperature, low humidity, and rainless processes can still accumulate drying pressure day by day.
[0042] In one implementation, the drying accumulation term can be set as follows: ,in, The memory term characterizing the amplification of the previous day's drying stress under the current day's drying conditions. This characterizes the newly added drying term directly formed by the daily drying capacity factor. Furthermore, Indicates the first The cumulative value of the composite drying stress over the day is used to transfer the drying memory from the previous time step to the current time step; This represents the drying memory amplification factor, used to control the amplification intensity of the daily drying capacity factor on the existing drying stress. An example value is 0.08. This represents the newly added drying stress coefficient, used to control the intensity of the daily drying capacity factor directly converted into the newly added drying pressure. An example value is 0.4.
[0043] 3> According to the first 24-hour rainfall The precipitation replenishment offset term is calculated. Instead of using simple linear offset, a nonlinear response method is adopted, which is "limited relief from light rain and significant replenishment from heavy rain". This ensures that short-term light rain will not excessively offset the previous dry pressure, while allowing significant precipitation to produce a substantial replenishment effect.
[0044] In practical implementation, the effective precipitation replenishment can be calculated according to... Calculate, and then, the effective precipitation recharge coefficient. Multiplying this by the effective precipitation replenishment yields the precipitation replenishment offset term. .in, This represents the effective saturation scale parameter for precipitation, used to control the rate of change of precipitation replenishment from weak to strong. An example value is 4 mm. This represents the effective precipitation replenishment coefficient, used to control the overall intensity of precipitation offsetting aridity stress; an example value is 0.7. This represents the natural exponential function. When... When smaller, The rainfall was relatively small, with the effective replenishment of precipitation significantly less than the actual rainfall, indicating that the light rain was insufficient to fully relieve the previous dryness pressure; when As the factor increases, it gradually approaches 1, and the effective precipitation replenishment gradually approaches the actual precipitation, indicating that strong precipitation can effectively reduce the cumulative value of composite drying stress.
[0045] 4> Subtract the precipitation offset from the cumulative dryness term to obtain the first term. The candidate drying stress values for each day are then used to sequentially apply nonnegativity constraints and upper limit constraints to obtain the candidate drying stress values for the [number]th day. The cumulative value of the composite drying stress over the days is expressed as: ; in, Indicates the first The cumulative value of composite drying stress over a day. By using non-negative constraints, the cumulative value of composite drying stress can be prevented from becoming a physically meaningless negative value after significant precipitation; by using upper limit constraints, the cumulative value of composite drying stress under continuous high temperature and no rain conditions can be prevented from being excessively amplified.
[0046] 5> Repeat the above recursive calculation in the order of day 1 to day 8 to obtain the composite drying stress index sequence. Composite drying stress index sequence This refers to a column vector obtained by arranging the cumulative values of composite drying stress from 8 time steps in chronological order, denoted as: , dimension It is used to describe the dry-wet evolution trajectory of forest fire weather samples over an 8-day timescale, driven by precipitation, high temperature, strong wind and low humidity.
[0047] In one embodiment, as an example, take , , millimeters , , , Then the cumulative term for drying is The effective precipitation replenishment amount is The precipitation replenishment offset term is approximately 0.155; therefore, the candidate aridity stress value is approximately 2.293. This result indicates that 1 mm of light rain can only reduce the anterior aridity stress to a limited extent. If the precipitation is in millimeters, the effective precipitation supply is close to 19.865, the precipitation supply offset term increases significantly, and the candidate dryness stress value will be truncated to near 0 by the non-negative constraint, indicating that strong precipitation can significantly alleviate dryness pressure.
[0048] It should be noted that the cumulative value of composite drying stress is not a single meteorological variable, but a mechanism-enhancing variable formed by the combined effects of previous drying memory, the effects of high temperature, strong wind, low humidity and subsequent drying on the current day, and the nonlinear replenishment effect of precipitation on the current day. Through this variable, subsequent models can directly obtain three fire hazard induction mechanisms: continuous rainless accumulation, amplification of dry weather, and nonlinear mitigation by precipitation.
[0049] S203, Calculation of Dynamic Deviation of Moisture Content The risk implications of combustible material moisture content vary with seasonal background, previous precipitation processes, and periods of continuous dry weather. Directly using the absolute value of forecasted combustible material moisture content makes it difficult to distinguish between normal low values and abnormally low values.
[0050] This invention retrieves dynamic expected moisture content based on historical similar weather events, and then compares the current forecast combustible moisture content with the dynamic expected moisture content in a standardized manner to obtain the dynamic deviation of moisture content. This allows the combustible moisture content to express the degree of abnormal dryness or wetness relative to similar weather backgrounds. The specific steps are as follows: 1> Extract the 24-hour precipitation from day 1 to day 7, the number of consecutive rainless days on day 7, and the cumulative composite drying stress value on day 7 from the current forest fire weather sample to construct a similarity retrieval query vector. Similarity retrieval query vector This refers to a query vector that describes the evolution of current forest fire weather samples in terms of predicted day-ahead precipitation, drought duration, and cumulative aridity pressure. , Dimensions .in, This indicates the number of consecutive rainless days up to the 7th day, used to characterize the duration of drought predicted before the current date; This represents the cumulative value of the composite drying stress on day 7, used to characterize the drying pressure level that has already formed before the forecast date.
[0051] Furthermore, to avoid the impact of different dimensions on the retrieval of similar samples due to variations in 24-hour precipitation, consecutive rainless days, and cumulative composite drying stress, a historical similar sample database can be used. The training phase mean and training phase standard deviation in the similarity retrieval query vector Standardize each dimension to obtain a standardized similarity retrieval query vector. Standardized similarity retrieval query vector Used only for similar sample retrieval, without altering the original meteorological time series feature matrix. In practice, the standardization method used is Z-score standardization (zero mean, unit variance standardization).
[0052] 2> In the historical similar sample database In this process, a similarity retrieval query vector is constructed for each historical sample. Historical query vectors with the same structure are standardized using the same mean and standard deviation from the same training phase to obtain standardized historical query vectors. In practice, the standardization method used is Z-score standardization (zero-mean, unit variance standardization).
[0053] Furthermore, Euclidean distance is used to calculate the similarity distance between the current forest fire weather sample and the historical sample. The smaller the Euclidean distance, the more similar the historical sample and the current forest fire weather sample are in terms of precipitation process, continuous rainless state and composite dry stress level before the forecast date.
[0054] In practical implementation, let the first... The historical standardized query vector corresponding to each historical sample is ,in, Representing the historical sample index, the similarity distance of weather processes is... .in, This refers to the current forest fire weather sample and the first The similarity distance of weather processes between historical samples; This represents the Euclidean norm, used to measure the distance between two normalized vectors.
[0055] 3> Select according to the similarity of weather processes, from smallest to largest distance. A set of similar historical samples is formed. Similar historical sample set It refers to the set of historical samples that are closest to the current forest fire weather sample in the weather process before the forecast date; This indicates the number of similar historical samples, used to control the size of the historical reference set; an example value is 50. When the historical similar sample database... The number of available historical samples is less than When the number of available historical samples is less than the preset minimum number of similar samples, all available historical samples can be used; when the number of available historical samples is less than the preset minimum number of similar samples, all available historical samples can be used. At that time, a historical similar sample database can be used. The global moisture content statistics are used as a backup reference. The example value is 10.
[0056] 4> From similar historical sample sets Extract the moisture content of combustibles on day 8 of each similar historical sample, and calculate the mean moisture content of similar historical samples. Standard deviation of moisture content of similar historical samples .in, Represents a set of similar historical samples The average moisture content of combustibles on the 8th day is used to provide a dynamic reference level for moisture content under the current weather conditions; Represents a set of similar historical samples The standard deviation of the moisture content of combustibles on day 8 is used to characterize the natural fluctuation range of moisture content under the current weather conditions.
[0057] In practical implementation, if the set of similar historical samples The Middle The moisture content of combustibles on the 8th day of a similar historical sample is recorded as follows: ,in, Indicates the first The moisture content of combustibles on the 8th day of a similar historical sample, then It can be calculated using the arithmetic mean. It can be calculated based on the sample standard deviation. If... Too small, can Set the preset minimum fluctuation value. The preset minimum fluctuation value can be 0.5 to avoid the denominator being too small due to a small number of highly similar samples.
[0058] 5> Read the forecast moisture content of combustibles for the 8th day of the current forest fire weather sample. and will Average moisture content of similar historical samples Standardized comparisons were performed to obtain the dynamic deviation of moisture content. ,Right now , This is used to quantify the degree of anomalousness of the current forecast combustible moisture content relative to historically similar weather conditions. Among them, This indicates the forecast moisture content of combustibles for day 8. This represents the moisture content deviation smoothing constant, used to prevent the denominator from being 0 and to improve numerical stability. An example value is 0.1.
[0059] It should be noted that, A positive value indicates that the current forest fire risk weather sample is relatively humid compared to similar weather backgrounds. A negative value indicates that the current forest fire weather sample is drier compared to similar weather backgrounds. The larger the absolute value of the negative value, the stronger the risk of abnormal dryness.
[0060] In one embodiment, as an example, for the current forest fire weather sample, from a historical similar sample database... The system retrieves 50 most similar historical samples based on the Euclidean distance of the standardized similarity retrieval query vector, and extracts the moisture content of combustibles from these historical samples on day 8. If the calculated... , , Current forest fire weather samples ,but This indicates that the current forest fire weather sample remains significantly drier than normal under similar precipitation events, continuous dry periods, and combined dry stress levels, classifying it as an abnormally dry sample. This result is better than using [the data] alone. It better reflects the meaning of fire risk.
[0061] It should also be noted that the dynamic deviation of moisture content is provided by using historical similar weather events as a dynamic reference, rather than simply comparing the current moisture content of combustibles with the global mean of the training set. Based on this, the model can distinguish between "seasonally normal low moisture content" and "abnormally low moisture content under similar weather conditions," thereby improving the sensitivity of identifying samples with high fire risk levels.
[0062] S204. Fire Hazard Situation Zoning and Feature Adaptive Normalization Different levels of combined drying stress and different abnormal moisture content conditions correspond to different fire hazard induction modes. This invention divides fire hazard scenarios into zones based on the final value of combined drying stress and the dynamic deviation of moisture content, and calculates normalized statistics within each fire hazard scenario zone to make the characteristics under the same fire hazard induction mode have a more stable numerical distribution. The specific steps are as follows: 1> The original meteorological time series feature matrix Daily drying capacity factor sequence and composite drying stress index sequence The matrix is then stitched together to obtain the enhanced meteorological time series feature matrix. Enhance meteorological time series feature matrix This refers to a time-series feature matrix formed by adding a daily aridity factor and a cumulative value of composite aridity stress to the original six meteorological feature dimensions, with dimensions of [missing information]. The first six feature dimensions are the original meteorological time series features, the seventh feature dimension is the daily dryness capacity factor, and the eighth feature dimension is the cumulative value of composite dryness stress.
[0063] In the actual implementation, for each time step The original meteorological time series feature matrix The Middle The six original characteristics of the day, the first Daily drying capacity factor and the Cumulative value of composite drying stress over days Concatenate along the feature dimension to obtain the first... The 8-dimensional enhanced meteorological feature vector of each day is then generated; the 8-dimensional enhanced meteorological feature vectors of the eight time steps are then arranged in chronological order to form an enhanced meteorological time-series feature matrix. .
[0064] 2> Based on the training sample set Final value of composite drying stress for each training sample The low-drying-stress zone, medium-drying-stress zone, and high-drying-stress zone were identified, with the final value of the composite drying stress being determined. It refers to the cumulative value of composite drying stress on the 8th day, used to characterize the drying pressure level that has been formed on the prediction day.
[0065] In one implementation, the training sample set All training samples Calculate the 33rd percentile respectively and 67th percentile ,in, Represents the training sample set The 33rd percentile of the final value of the composite drying stress in the middle Represents the training sample set The 67th percentile of the final value of the composite drying stress. Less than or equal to The training samples were assigned to the low-drying-stress zone; Greater than and less than or equal to The training samples were assigned to the dry stress zone; Greater than The training samples were assigned to the high-drying-stress zone. After training, and It is permanently stored and used for fire hazard scenario zoning determination during the verification, testing, and online prediction phases.
[0066] 3> Based on the training sample set Dynamic deviation of water content for each training sample Identify negative anomaly areas, normal areas, and positive anomaly areas. Negative anomaly areas indicate abnormally dry conditions compared to similar historical weather conditions; normal areas indicate conditions close to the normal fluctuation range compared to similar historical weather conditions; and positive anomaly areas indicate conditions that are relatively wet compared to similar historical weather conditions.
[0067] In one implementation, the training sample set All training samples Calculate the 33rd percentile respectively and 67th percentile ,in, Represents the training sample set The 33rd percentile of the dynamic deviation of medium moisture content. Represents the training sample set The 67th percentile of the dynamic deviation of moisture content. Less than or equal to The training samples were classified into the negative outlier region; Greater than and less than or equal to The training samples were assigned to the normal region; Greater than The training samples are classified into the positive anomaly region. After training is completed, and It is permanently stored and used for fire hazard scenario zoning determination during the verification, testing, and online prediction phases.
[0068] 4> The three types of dry stress zones and the three types of abnormal moisture content zones are cross-combined to form nine fire hazard scenario zones, and each fire hazard scenario zone is assigned a unique fire hazard scenario zone number. .in, This represents the fire hazard zone number, with values ranging from 1 to 9. The combination of a high dryness stress zone and a negative anomaly zone corresponds to a high-risk outbreak scenario, while the combination of a low dryness stress zone and a positive anomaly zone corresponds to a low-risk humid scenario. The remaining combinations are used to express different levels of conventional or transitional fire hazard scenarios.
[0069] In one embodiment, as an example, three types of drying stress zones (low, medium, and high) are cross-combined with three types of moisture content anomaly zones (negative anomaly, normal, and positive anomaly), resulting in a total of nine zones, for example: High dryness stress zone × negative anomaly zone → high-risk outbreak scenario The specific allocation is as follows: ); Low dryness stress zone × positive anomaly zone → low-risk humidity situation ( ); Medium dry stress zone × normal zone → medium transition scenario ( ).
[0070] Partition Numbers The numbers can be assigned from 1 to 9 in any agreed-upon order, but must be fixed.
[0071] Furthermore, fire hazard zones will be numbered. Convert to context embedding vector Context embedding vector This refers to a vector representing the fire risk scenario zone to which a forest fire weather sample belongs, expressed using one-heat encoding. This vector is used to transmit macroscopic fire risk induction scenario information to subsequent time-series coding classification models. The dimension is... Among them, the current fire hazard zone number The corresponding position is set to 1, and the other positions are set to 0.
[0072] In one embodiment, for example, if a sample is assigned to a fire hazard scenario partition number Then its context embedding vector Given a 9-dimensional column vector where the 9th element is 1 and all other elements are 0: .
[0073] 5> During the training phase, the mean and standard deviation of each enhanced meteorological feature dimension within each fire risk scenario zone are calculated to obtain the scenario feature mean. and situational feature standard deviation .in, This represents the enhanced meteorological feature dimension index, with a value range of 1 to 8; Indicates the first Within the fire hazard scenario zone, the first The mean of an enhanced meteorological feature is used to provide a feature center reference for this fire risk scenario zone; Indicates the first Within the fire hazard scenario zone, the first A standard deviation of enhanced meteorological features is used to provide the characteristic fluctuation scale under this fire risk scenario zone.
[0074] In practical implementation, the training sample set can be... The mean and standard deviation of the same enhanced meteorological feature dimension for all training samples and all time steps belonging to the same fire risk scenario zone are statistically combined to obtain the enhanced meteorological feature dimension for that fire risk scenario zone. When the number of training samples for a certain fire risk scenario zone is less than the preset minimum number of samples, the statistics of adjacent fire risk scenario zones or the training sample set can be used. The global statistic is used as a backup statistic, and the minimum sample size can be preset to 30 to improve the stability of the normalization process.
[0075] In one embodiment, as an example, suppose a fire hazard scenario is partitioned. (For example, if there are only 15 samples in the training set for a low-drying-stress × positive anomaly region, then the nearest adjacent partition can be selected.) or Statistical measure ( , Alternatively, the global mean and standard deviation of all samples in the training set can be used as an alternative to this partition, or the data can be normalized directly.
[0076] 6> Using the mean and standard deviation of the situational features corresponding to the fire risk scenario zone to which the current forest fire weather sample belongs, enhance the meteorological time series feature matrix. Normalization is performed step-by-step and feature-by-feature dimension to obtain the context-adaptive normalized temporal feature matrix. Context-adaptive normalized temporal feature matrix This refers to the enhancement of meteorological time series feature matrix The time-series input matrix obtained after fire hazard scenario partitioning and normalization has a dimension of [dimensional value missing]. .
[0077] In one implementation, the standard Z-score normalization method is used to obtain the context-adaptive normalized temporal feature matrix. Specifically, for enhancing the meteorological time series feature matrix The middle belongs to the first Subtract the mean of the corresponding fire risk scenario from all elements of each fire risk scenario partition. Divide by the standard deviation of that partition. .
[0078] It should be noted that this invention does not employ a uniform global normalization method for all forest fire weather samples. Instead, it first determines fire risk scenario zones based on the final value of composite drying stress and the dynamic deviation of moisture content, and then normalizes the data using the statistics corresponding to those zones. Based on this, the characteristics of high-risk outbreak scenarios are not diluted by the large number of samples from low-risk humid scenarios, and critical-level samples exhibit clearer numerical differences under similar fire risk induction patterns.
[0079] It should also be noted that the output of step S2 includes a context-adaptive normalized temporal feature matrix. Moisture content dynamic deviation and context embedding vector Context-adaptive normalized temporal feature matrix Used to provide meteorological mechanism enhancement inputs with a uniform scale to subsequent time-series coding classification models; water content dynamic deviation. Used to provide subsequent temporal coding classification models with anomalous dry information relative to historical similar conditions; context embedding vector Used to provide fire hazard induction context information to subsequent time-series coding classification models.
[0080] In one embodiment, such as Figure 2 The fire hazard scenario zoning was analyzed, with the horizontal axis representing the final value of composite drying stress (dimensionless) and the vertical axis representing the dynamic deviation of moisture content (dimensionless). Each point represents a training sample, and the colors correspond to the nine fire hazard scenario zones formed by the cross-combination of the three zones of drying stress and the three zones of moisture content anomaly. The dashed lines in the figure indicate the quantile thresholds.
[0081] S3. Construction and Training of Temporal Coding Classification Model Forest fire risk levels have a clear order relationship. High-level fire risks are usually induced by a combination of multi-day dry trends, short-term meteorological changes, and abnormally low moisture content. Conventional classification models treat each level as an independent category, making it difficult to express the sequential structure between levels and to dynamically adjust feature contributions according to fire risk scenarios, thus reducing the reliability of identifying high-level fire risks and critical level samples.
[0082] This invention constructs a fire hazard scenario-driven temporal coding classification model, which adaptively normalizes the temporal feature matrix of the scenario. Moisture content dynamic deviation and context embedding vector As input, the forest fire risk level prediction result is output through context-embedded gated temporal feature modulation, dual-stream temporal coding of trend memory stream and fluctuation capture stream, and ordinal-sensitive predictor. The specific steps are as follows: S301, Gated Timing Feature Modulation In different fire hazard zones, the contribution of various meteorological characteristics to the fire hazard level varies. For example, under high dryness stress and abnormally dry conditions, the cumulative value of composite dryness stress, the number of consecutive rainless days, and the related characteristics of combustible moisture content are more critical; under low dryness stress and relatively humid conditions, precipitation and humidity are more important for determining low fire hazard.
[0083] This invention is based on contextual embedding vectors Generate feature-dimensional gating coefficients and apply these coefficients to the context-adaptive normalized features at each time step. This enables the model to adaptively enhance key feature channels and suppress weakly correlated feature channels under different fire risk scenario partitions. The specific steps are as follows: 1> Embed the context into the vector Inputting the gating mapping network yields hidden gating vectors. The gating mapping network consists of a fully connected layer and a ReLU activation function; specifically, the input is a 9-dimensional context embedding vector. , with dimensions as The weight matrix and dimensions are After bias linear transformation, the hidden gate vector is output through the ReLU activation function. Hidden gating dimensions Set to 16, and then convert the discrete fire hazard scenario partition numbering into a continuous implicit modulation representation.
[0084] 2> For each enhanced meteorological feature dimension Hidden gate vector Mapped to the corresponding feature gating coefficients , It refers to the first The feature gating coefficient for enhancing meteorological characteristics is used to control the first... The contribution intensity of enhanced meteorological features in the current fire risk scenario zoning.
[0085] In one implementation, to ensure that the gating mechanism can both enhance key feature channels and suppress weakly correlated feature channels, the feature gating coefficients are not directly limited to the range of 0 to 1, but are mapped to a preset scaling range (e.g., 0.5 to 1.5), expressed as: ; in; This indicates the lower bound of the gating scaling; an example value is 0.5. This indicates the upper bound of the gated scaling; an example value is 1.5. This represents the Sigmoid activation function, used to convert the gated output into a stable proportional value; Indicates the first The second-layer gating weight vector corresponding to each enhanced meteorological feature has a dimension of [missing information]. , which are learnable parameters; Indicates the first The second-level gated bias scalar corresponding to each enhanced meteorological feature is a learnable parameter.
[0086] 3> The first Feature gating coefficient for enhancing meteorological characteristics Application to context-adaptive normalized temporal feature matrix The first of all time steps Enhanced meteorological features were used to obtain the context-gated modulation timing feature matrix. , dimension It is used to provide fire-hazard-enhanced input features to the timing encoder.
[0087] In one implementation, for each enhanced meteorological feature dimension , and its corresponding feature gating coefficient and All time steps ( arrive The eigenvalues of this dimension are multiplied element-wise to obtain the modulated feature matrix. The calculation method is expressed as .in Represents the context-adaptive normalized temporal feature matrix The Middle Heaven, the First Element values that enhance meteorological characteristics; Represents the context-gated modulation timing feature matrix The Middle Heaven, the First The element values that enhance meteorological characteristics.
[0088] In one embodiment, for example, if the current forest fire weather sample belongs to a high-risk outbreak scenario formed by the combination of a high-dryness stress zone and a negative anomaly zone, the gated mapping network can learn feature gating coefficients corresponding to larger consecutive rainless days, combustible material moisture content, daily drying capacity factor, and cumulative composite drying stress, for example, 1.2 to 1.5, while adjusting the feature gating coefficients of short-term mitigation features such as precipitation to around 0.8. If the current forest fire weather sample belongs to a low-risk humid scenario formed by the combination of a low-dryness stress zone and a positive anomaly zone, the gated mapping network can increase the contribution of precipitation and relative humidity-related features, enabling the model to more stably identify low fire risk levels.
[0089] It should be noted that the same feature gating coefficient Applying this method to all eight time steps of the enhanced meteorological feature dimension can preserve the internal variation pattern of the time series while altering the relative contributions of different enhanced meteorological feature dimensions under the current fire risk scenario partition. This avoids amplifying the temporal noise caused by generating gating coefficients separately for each time step, making the scenario modulation more stable.
[0090] S302, Dual-stream timing coding of trend memory stream and fluctuation capture stream Forest fire risk levels are influenced by both the slow accumulation of weather conditions over multiple days and sudden changes in short-term precipitation, strong winds, and high temperatures. This invention modulates the temporal feature matrix using situational gating. The trend memory stream and fluctuation capture stream are input separately. The former extracts continuous time dependencies, and the latter extracts the change patterns of adjacent time steps. The two are then fused with the context embedding vector to obtain a comprehensive meteorological sequence representation. The specific steps are as follows: 1> Context-gated modulation timing feature matrix Input trend memory stream.
[0091] Specifically, the trend memory stream employs a unidirectional long short-term memory network for recursive encoding along the time direction, sequentially reading the 8-dimensional context-gated modulation feature vectors from day 1 to day 8, and updating the hidden state and memory state at each time step. Let the 1st... The vector of the input trend memory stream is ,in, Represents the context-gated modulation timing feature matrix The Middle The column vector formed by transposing the 8-dimensional row vector of the day; the trend memory flow in the first... The hidden state of the sky is recorded as Trend memory flow in the first The memory state of the day is recorded as .
[0092] In one implementation, trend memory flow can employ a single-layer long short-term memory network to hide the state dimension. A value of 64 is acceptable. Long Short-Term Memory (LSTM) networks control the retention and updating of historical information through input gates, forget gates, and output gates, and belong to the standard recurrent neural network structure. In this implementation, the initial hidden state can be... and initial memory state Set it as the zero vector, and then recursively calculate it in the order of day 1 to day 8.
[0093] 2> Take the hidden state output by the trend memory stream at the 8th time step as the trend memory representation. Trend memory representation This refers to the long-term trend vector obtained by recursively encoding the 8-day context-gated modulation temporal features using trend memory streams, with dimensions of [missing information]. ,in, This represents the trend memory representation dimension, used to control the size of the hidden states in the Long Short-Term Memory network; an example value is 64. Trend Memory Representation It is used to express the impact of slow evolution processes such as continuous drought, several days of high temperature, persistent low humidity, persistent low combustible material moisture content, or continuous precipitation on fire hazard levels.
[0094] 3> Based on the context-gated modulation timing feature matrix Calculate the difference sequence of adjacent time steps , It refers to a difference sequence composed of the differences of all adjacent time steps, with a dimension of . Specifically, for the first Heavenly Supreme The first day The enhanced meteorological feature, the difference value in the difference sequence is calculated as follows: ; in, Indicates the first Heavenly Supreme Heavenly The change in the enhanced meteorological characteristics is the context-gated modulation time-series feature matrix. The Middle Line number The elements of the column are used to quantify the intensity of meteorological disturbances between adjacent dates. Since there are 7 adjacent intervals in the 8-day series, the difference series can highlight local changes such as short-term wind speed surges, sharp drops in precipitation, rapid temperature increases, and rapid decreases in combustible material moisture content.
[0095] 4> Difference sequences The input is a fluctuation capture stream, which uses a one-dimensional convolutional network to extract short-term change patterns along the time direction.
[0096] In one implementation, the fluctuation capture stream consists of a one-dimensional convolutional layer, a ReLU activation function, dual-channel temporal pooling, and a concatenation operation, arranged in a sequential structure, as follows: a> One-dimensional convolutional layer: The number of input channels is 8 (corresponding to 8 dimensions of enhanced meteorological features), the kernel size is 3, the stride is 1, the number of output channels is 32, and zero padding is applied to both ends of the time dimension to keep the output time step size 7. b>ReLU activation function; c> Dual-path temporal pooling: Global average pooling and global max pooling are performed on the convolution output along the time dimension, each resulting in a 32-dimensional vector; d> Concatenation operation: Concatenate the two 32-dimensional vectors above to obtain a 64-dimensional wave capture representation. .
[0097] In this implementation, the difference sequence can be... Using the time dimension as the convolution direction, and eight enhanced meteorological feature dimensions as input channels or input features, the one-dimensional convolution kernel length is set to 3, the stride to 1, and the number of output channels to 32. A ReLU activation function is then applied after the one-dimensional convolution. Through one-dimensional convolution, the model can identify local change patterns such as sudden increases in wind speed, sudden decreases in precipitation, rapid increases in temperature, rapid decreases in humidity, and rapid decreases in the moisture content of combustibles within two to three consecutive adjacent time intervals.
[0098] In this implementation, the first The convolutional channel at the _th convolutional channel in the _th ... The output at each convolutional position can be obtained by weighted summation of the difference features from three adjacent time steps using the convolutional kernel. The convolution channel index represents the fluctuation capture stream, with a value ranging from 1 to 32; This represents the convolution position index. To maintain a stable output time length, zero padding can be added to both ends of the time dimension of the difference sequence, ensuring that the one-dimensional convolution output length remains 7.
[0099] 5> Perform global average pooling and global max pooling on the one-dimensional convolution output along the time direction, and concatenate the two pooling results to obtain the fluctuation capture representation. Wave capture characterization It refers to the short-term perturbation vector obtained by one-dimensional convolution and time pooling of the difference sequences of adjacent time steps, which is used to characterize the impact of short-term meteorological changes on the leap in fire risk level.
[0100] In practical implementation, global average pooling is used to preserve the average intensity of short-term disturbances over the entire seven adjacent intervals, while global max pooling is used to preserve evidence of sudden strong disturbances within a certain time period. If the number of output channels of the one-dimensional convolution is 32, then global average pooling yields a 32-dimensional vector, global max pooling yields a 32-dimensional vector, and concatenating the two results in a 64-dimensional fluctuation capture representation. .
[0101] 6> Representing Trend Memory Wave capture characterization and context embedding vector By splicing along the feature dimensions, a comprehensive meteorological sequence representation is obtained. , Used to integrate long-term trends, short-term fluctuations, and fire hazard scenario zoning information; This represents the vector concatenation operator, used to join representation vectors from different sources along the feature dimension. If... Wave capture characterization 64-dimensional context embedding vector If it is 9-dimensional, then the comprehensive meteorological sequence characterization Dimensions .
[0102] In one embodiment, for example, several consecutive days of high temperatures, low humidity, and no precipitation will form a progressively stronger dryness trend representation in the trend memory stream; a sudden strong wind, a sharp drop in precipitation, or a rapid decrease in the moisture content of combustibles on a particular day will form a significant change response in the fluctuation capture stream. Through dual-stream temporal coding, the model possesses both long-term dryness memory capability and short-term disturbance perception capability, which can improve the ability to identify the process of high fire risk level jumps.
[0103] In one embodiment, such as Figure 3The differential heatmap of adjacent time steps of the context-gated modulation features is analyzed to show the changes in the temporal feature matrix after context-gated modulation between adjacent time steps. The horizontal axis represents the interval between adjacent time steps (e.g., day 1 to day 2), and the vertical axis represents the names of the eight enhanced meteorological features. The colors from red to blue indicate the positive or negative value and magnitude of the changes, and the units are dimensionless. Fluctuations capture short-term abrupt changes in the input data, providing a data foundation for extracting the causes of sudden fire hazards.
[0104] S303, Ordinal Sensitive Prediction Forest fire risk levels, from low to high, exhibit a sequential relationship. Levels 1, 2, 3, 4, and 5 are not independent categories but rather ordered levels with progressively increasing risk. This invention transforms the five-level fire risk classification into a four-level threshold discrimination task and integrates a comprehensive meteorological sequence representation. Deviation from dynamic moisture content By combining the input ordinal-sensitive predictor, four levels of threshold prediction probabilities are obtained. The specific steps are as follows: 1> Characterize the integrated meteorological sequence Deviation from dynamic moisture content By splicing the data, a joint hierarchical prediction characterization is obtained. Joint gradation prediction characterization It refers to a predictive input vector that simultaneously includes long-term trends, short-term fluctuations, fire hazard scenario zoning, and abnormal dryness levels, used to provide a complete discrimination basis for the level threshold discriminator.
[0105] In practical implementation, scalars can be used After being expanded into a 1-dimensional vector (i.e., with a dimension of 1), it is combined with the comprehensive meteorological sequence representation. By splicing, a joint hierarchical prediction characterization is obtained. .because A negative value with a large absolute value indicates an increased risk of abnormal dryness. The input ordinal-sensitive predictor enables the grade threshold discriminator to utilize anomalous dry information.
[0106] 2> Four threshold discriminators are set up for the 5-level fire risk level to determine whether the fire risk level of the forest fire weather sample is greater than level 1, level 2, level 3, and level 4, respectively. The first threshold is defined as... The threshold discriminator outputs a fire hazard level greater than the first level. Level of prediction probability ,Right now .in, This indicates that the fire hazard level is greater than the first. The predicted probability of level 1, with a value ranging from 0 to 1; This represents the level threshold index, with a value range of 1 to 4; Indicates the first The weight vectors of the level threshold discriminator are learnable parameters; Indicates the first The bias scalar of the threshold discriminator at each level is a learnable parameter. This represents the Sigmoid activation function, used to convert the rank threshold discrimination score into a probability value.
[0107] 3> Perform a decreasing consistency correction on the prediction probabilities of the four level thresholds to obtain the corrected level threshold prediction probabilities. Since the probability of crossing a lower fire hazard threshold should theoretically not be lower than the probability of crossing a higher fire hazard threshold, the following condition must be met: In practical implementation, it can be made and to Execute sequentially .in, Indicates the first A modified threshold probability is used to ensure that the threshold probabilities conform to the increasing relationship of forest fire risk levels during the prediction phase. This decreasing consistency correction only changes the arrangement of probabilities that do not conform to the ordinal relationship, and does not change the basic judgment of risk strength by each threshold discriminator.
[0108] 4> Determine the predicted fire risk level based on the predicted probability using four modified level thresholds. The calculation method is expressed as follows: .
[0109] in, This indicates the predicted fire risk level, with a value ranging from 1 to 5. This represents an indicator function, which takes a value of 1 when the condition within the parentheses is true, and 0 otherwise. When the predicted probability of a certain modified level threshold is greater than or equal to 0.5, it means the model considers the forest fire weather sample to have exceeded that level threshold; the more level thresholds exceeded, the higher the predicted fire risk level. The predicted fire risk level can be expressed as: In one embodiment, for example, if the model output , , , If the probability remains consistent before and after the decreasing consistency correction, there are three correction level thresholds with a predicted probability of not less than 0.5, resulting in a predicted fire risk level of 4. If the model output... , , , ,but , , , This is to avoid the unreasonable result that the probability of crossing the level 2 threshold is higher than the probability of crossing the level 1 threshold.
[0110] It should be noted that ordinal numbers refer to the definite increasing order among forest fire risk levels (Level 1 < Level 2 < Level 3 < Level 4 < Level 5). Ordinal classification models force the predicted probabilities to satisfy a decreasing relationship by setting progressively accumulating thresholds to express the order structure of the levels.
[0111] It should also be noted that this invention expresses the 5 fire risk levels as a process of gradually crossing thresholds, rather than a normal 5-class probabilistic competition process. This is more in line with the business meaning of fire risk levels increasing from low to high, and helps to reduce the risk of level 1 being directly misjudged as level 5 or level 5 being directly misjudged as level 1.
[0112] S304, Hierarchical Loss Function and Model Training To improve the model's sensitivity to abnormally dry high-fire-risk samples and ensure that the predicted probabilities of the fire risk levels conform to an increasing relationship, this invention constructs a deviation-weighted hierarchical loss function. This loss function consists of two parts: the first part is a deviation-weighted ordinal binary cross-entropy, used to learn the four fire risk level discrimination tasks; the second part is a consistency constraint on adjacent threshold probabilities, used to avoid the unreasonable situation where the probability of a higher-level threshold is greater than that of a lower-level threshold. The specific steps are as follows: 1> The first The true fire risk level of the training samples Convert to 4 ordinal target values .in, This represents the sample index within the training batch, indicating the first... Training samples; Indicates the first The actual fire hazard level of each training sample ranges from 1 to 5; Indicates the first The training sample in the th The ordinal target value at each level threshold. The ordinal target value can be determined according to... Calculations show that when the actual fire hazard level is higher than the [previous level], At level, The value is 1 if it is not 1, otherwise the value is 0.
[0113] In one embodiment, for example, if the true fire hazard level of a training sample is 4, then its ordinal target value is , , , This indicates that the training sample crossed the thresholds corresponding to Level 1, Level 2, and Level 3, but did not cross the threshold corresponding to Level 4.
[0114] 2> Calculate the deviation loss weight of the training samples based on the dynamic deviation of moisture content. The deviation loss weight is used to increase the influence of abnormally dry samples on model training, and can be set as follows: ; in, Indicates the first The deviation loss weights of each training sample; Indicates the first Dynamic deviation of moisture content in training samples; This represents the deviation weight adjustment coefficient, used to control the degree of influence of dynamic deviation of moisture content on the sample loss weight. An example value is 0.5. This represents the upper bound of the loss weights, used to prevent a few extreme outliers from having an excessive impact on the training process; an example value is 3. Through this weight, The more negative and the larger the absolute value, the higher the sample loss weight; when When the value is 0 or positive, the sample loss weight is close to 1.
[0115] 3> The first The training samples are input into S2 to obtain the context-adaptive normalized temporal feature matrix. Moisture content dynamic deviation and context embedding vector Then input S301 to S303 to obtain the predicted probabilities of the four levels of thresholds. , , and .in, Indicates the first The context-adaptive normalized temporal feature matrix corresponding to each training sample; Indicates the first The context embedding vector corresponding to each training sample; Indicates the first The fire hazard level of the training sample is greater than that of the first. The predicted probability at the level of .
[0116] 4> Predict probability based on level threshold and ordinal target value Calculate the deviation-weighted ordinal binary cross-entropy. The binary cross-entropy is used to constrain the four level threshold discriminators respectively, so that each level threshold discriminator learns the corresponding cross-threshold probability; the deviation loss weight is used to improve the influence of abnormally dry samples in training, making the model more sensitive to abnormally low moisture content high-risk samples.
[0117] 5> Calculate the consistency regularization term based on the predicted probabilities of adjacent fire hazard levels. Since the probability of crossing a lower fire hazard level threshold should theoretically not be lower than the probability of crossing a higher fire hazard level threshold, the following condition must be met: When the model output appears When the model output satisfies a decreasing relationship, the consistency regularization term incurs a penalty; when the model output satisfies a decreasing relationship, the consistency regularization term is 0.
[0118] 6> Add the deviation-weighted ordinal binary cross-entropy and the consistency regularization term to obtain the deviation-weighted hierarchical loss function. , can be represented as: ; in, The hierarchical loss function, weighted by deviation, is used to constrain the model to simultaneously learn the accuracy of class threshold discrimination and the consistency of ordinal probability. This indicates the number of samples in the training batch, used to calculate the batch average loss; an example value is 64. Represent the natural logarithm function; This represents the smoothing constant of the loss function, used to avoid invalid values in logarithmic calculations. Examples of its values are shown below. ; This represents the consistency regularization coefficient for adjacent threshold probabilities, used to control the strength of the ordinal probability decreasing constraint. An example value is 0.2.
[0119] It should be noted that in the above formula, Partially weighted by deviation, the ordinal binary cross-entropy drives the model to perform accurate binary classification based on four ordered level thresholds, and utilizes deviation loss weights. Amplify the training error of abnormally dry samples to enhance the model's sensitivity to such high-risk samples. Part of it is a regularization term for the consistency of adjacent threshold probabilities, which serves to address situations where the predicted probabilities do not satisfy a decreasing relationship (i.e., This approach imposes penalties on situations where the model's output threshold probability vectors for the four fire risk levels are forced to maintain an ordered structure from largest to smallest during training. The combination of these two methods ensures that the model can accurately identify the boundaries of each fire risk level while also guaranteeing that the probability progression from low to high fire risk aligns with business understanding, thus reducing the probability of serious cross-level errors such as misclassifying high-risk as low-risk.
[0120] 7> Using the training sample set An end-to-end training process was performed on a fire hazard scenario-driven temporal coding classification model. During training, the training sample set was... The dataset is divided into a training subset and a validation subset. For each training sample in the training subset, S2 is performed to obtain the context-adaptive normalized temporal feature matrix, water content dynamic deviation, and context embedding vector. Then, S301 to S303 are performed to obtain the grade threshold prediction probability. Finally, a deviation-weighted hierarchical loss function is used. The model parameters are updated in reverse. The model parameters include the gating mapping network parameters, trend memory stream parameters, fluctuation capture stream parameters, and level threshold discriminator parameters.
[0121] In one implementation, the Adam optimizer can be used to update the model parameters. The initial learning rate can be 0.001, the number of training epochs can be 100 to 200, and the number of training batch samples can be... The value can be 32 or 64. If the validation subset loss does not decrease for five consecutive training epochs, the learning rate can be multiplied by 0.5 for decay. After each training epoch, the macro-average F1 score for the five fire risk levels is calculated using the validation subset, and the model parameters corresponding to the highest macro-average F1 score are saved as the final model parameters.
[0122] In one embodiment, for example, when the dynamic deviation of the moisture content of a training sample is significantly negative and the actual fire hazard level is level 4 or 5, the deviation loss weight increases, causing the model to bear a higher loss for incorrect predictions of this type of abnormally dry high fire hazard sample. When the model outputs a higher-level threshold probability than a lower-level threshold probability, a consistency regularization term for adjacent threshold probabilities is applied, causing the predicted probabilities of the four levels to gradually conform to the increasing relationship of fire hazard levels. Through the above training constraints, the model can improve the reliability of identifying explosive high fire hazard events and critical level samples.
[0123] In one embodiment, such as Figure 4 According to the cumulative drying stress surface plot (3D surface plot), the X-axis represents the number of consecutive rainless days, the Y-axis represents the daily aridity factor (dimensionless), and the Z-axis represents the final value of the composite drying stress after 8 days of simulation (dimensionless). The surface color changes from yellow to red to indicate an increase in stress value. Under the same daily aridity factor, the longer the consecutive rainless days, the higher the cumulative stress; under the same number of rainless days, the larger the daily aridity factor, the faster the stress accumulates, reflecting the nonlinear cumulative characteristics of drying stress and the superposition effect of multi-day dry meteorological conditions.
[0124] S4, Online Forecast of Forest Fire Weather Risk Level After model training is completed, the trained fire risk scenario-driven time-series coding classification model is deployed to the forest fire weather risk level prediction system. The system continuously acquires meteorological observation data, weather forecast data, and combustible material moisture content data of the target forest area according to the same data fields and time window requirements as in the training phase, and forms a forest fire weather sample to be predicted. The specific steps are as follows: 1> Extract meteorological features from the online meteorological data stream for 8 consecutive days to obtain the original meteorological time series feature matrix to be predicted. Original meteorological time series feature matrix to be predicted This refers to the continuous 8-day meteorological input matrix used for determining the forest fire risk level at the current online forecast time, with dimensions of [missing information]. The six original feature dimensions remain consistent with those used in the training phase, including daily maximum temperature, daily average wind speed, 24-hour precipitation, daily average relative humidity, number of consecutive rainless days, and forecasted combustible material moisture content. If some features for day 8 in the online data come from weather forecasts, the same forecast features should be used to construct training samples during the training phase to ensure consistency in data sources between the training and online prediction phases.
[0125] 2> The original meteorological time series feature matrix to be predicted The same feature reconstruction process as the training phase is executed. Specifically, S201 is first performed to obtain the sequence of daily dryness capacity factors to be predicted. Then, S202 is executed to obtain the composite drying stress index sequence to be predicted. Then, execute S203 to obtain the dynamic deviation of the moisture content to be predicted. Finally, S204 is executed to obtain the adaptive normalized temporal feature matrix of the scenario to be predicted. and the embedding vector of the context to be predicted .
[0126] in, This represents the daily aridity factor sequence corresponding to the meteorological sample for the forest fire risk to be predicted. This represents the composite drying stress index sequence corresponding to the meteorological sample of forest fire risk to be predicted. This indicates the dynamic deviation of the moisture content corresponding to the meteorological sample for predicting forest fire risk. This represents the adaptively normalized temporal feature matrix corresponding to the forest fire risk meteorological sample to be predicted; This represents the context embedding vector corresponding to the meteorological sample of forest fire risk to be predicted.
[0127] It should be noted that the online prediction phase must use the statistics and thresholds saved during the training phase, including the training phase mean and standard deviation used in the standardized similarity retrieval query vector, the final value quantile threshold of composite drying stress, the quantile threshold of dynamic deviation of moisture content, and the mean and standard deviation of situational features for each fire risk scenario zone. The above statistics must not be recalculated based on a single forest fire risk meteorological sample to be predicted, otherwise the relative strength of the features will be changed, affecting the stability of the prediction.
[0128] 3> Adaptively normalize the temporal feature matrix of the scenario to be predicted. Dynamic deviation of moisture content to be predicted and the embedding vector of the context to be predicted The trained fire risk scenario-driven temporal coding classification model is input and sequentially processed through scenario embedding-driven gated temporal feature modulation, dual-stream temporal coding of trend memory stream and fluctuation capture stream, and deviation-guided ordinal-sensitive prediction to obtain the predicted probabilities of four levels of forest fire weather risk for the samples to be predicted. , , and .
[0129] in, This indicates that the fire risk level of the forest fire weather sample to be predicted is greater than the first. Level of prediction probability, Furthermore, a decreasing consistency correction is applied to the prediction probabilities of the four level thresholds to obtain the corrected level threshold prediction probabilities. , , and .
[0130] 4> Output the forest fire weather risk level prediction result based on the predicted probability of the modified level threshold. Specifically, if the predicted probability of the modified level threshold... If the value is greater than or equal to 0.5, the meteorological sample for predicting forest fire risk is considered to have crossed the threshold. A threshold level is defined; the number of threshold levels crossed is incremented by 1 to obtain the fire risk level to be predicted. Fire risk level to be predicted This indicates the forest fire weather risk level obtained from online forecasting, with a value ranging from 1 to 5.
[0131] In one embodiment, for example, if , , , There are three corrected level thresholds with a prediction probability of not less than 0.5, indicating the fire risk level to be predicted. The system outputs a high fire risk warning. If , , , If the predicted probability without adjusting the fire risk threshold is not less than 0.5, then the fire risk level to be predicted is... The system outputs a low fire risk result.
[0132] 5> Based on the predicted fire hazard level Dynamic deviation of moisture content to be predicted and the final value of the composite drying stress to be predicted Generate auxiliary early warning information to predict the final value of composite drying stress. This represents the composite drying stress index sequence to be predicted. The cumulative value of composite drying stress on the 8th day. When the predicted fire hazard level is level 4 or level 5, and When the temperature is below the preset abnormal dryness threshold, a "Abnormal dryness combined with high fire risk" message is output; when the predicted fire risk level is level 3, but... Located in a high-drying-stress zone and When the value is negative, a "critical increase risk" warning will be output. The preset abnormally dry threshold can be set to -1, which means that the current moisture content of combustibles is more than one standard deviation lower than the average level under similar historical weather conditions.
[0133] 6. Perform time consistency verification on the results of multiple consecutive online prediction windows. Specifically, set the number of consecutive verification windows. , This indicates the number of windows that need to show the same high-risk level or higher consecutively; an example value is 3. (If the fire risk level to be predicted...) In continuous If all prediction results in the online prediction windows are at or above level 4, a formal high fire hazard alarm will be output. If the prediction results in adjacent online prediction windows frequently jump between level 2 and level 4, a formal alarm will not be output directly, and subsequent online prediction windows will continue to be collected for confirmation.
[0134] S5. Resource Allocation for Forest Fire Risk Patrol Based on predicted fire risk level In addition to auxiliary early warning information, the following steps are taken to determine the patrol resource needs: S501, Basic Patrol Force Configuration when or At that time, routine patrols are arranged: every One patrol team is assigned, and the patrol frequency is once a day; when At that time, patrols were intensified: every One patrol team is assigned, and the patrol frequency is twice a day; when At that time, high-density patrols are arranged: every One patrol team is assigned, and the patrol frequency is once every 6 hours; when At that time, arrange the highest level of vigilance patrols: every One patrol team is assigned, patrolling once every 3 hours, and temporary checkpoints are added at key intersections.
[0135] S502, Resource Allocation under Abnormal Dryness Overlap or Critical Increase Conditions If the system outputs a message such as "Abnormally dry conditions combined with high fire risk" ( and ) or "critically elevated risk" warning ( and Located in a high-drying-stress zone If this is the case, then an additional rapid response team will be deployed on top of the S501 configuration, each... Add one more team, equipped with firefighting equipment, and establish real-time communication with the local emergency response department until the forecast level is lowered or the warning is lifted.
[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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation, characterized in that, Specifically, it includes: S1. Collect meteorological observation data, meteorological forecast data, combustible moisture content data and forest fire risk level labeling data of the target forest area over a continuous time scale to form a forest fire risk meteorological sample; S2. Obtain the daily drying capacity factor, cumulative value of composite drying stress and dynamic deviation of moisture content. Divide the fire hazard scenario zones according to the final value of composite drying stress and dynamic deviation of moisture content. Calculate the normalized statistics in each fire hazard scenario zone to obtain the scenario adaptive normalized time series feature matrix. S3. Construct a fire risk scenario-driven temporal coding classification model. Input the scenario adaptive normalized temporal feature matrix, water content dynamic deviation and scenario embedding vector. Through scenario embedding-driven gated temporal feature modulation, dual-stream temporal coding of trend memory stream and fluctuation capture stream and ordinal sensitive predictor, obtain the forest fire risk level prediction result. S4. Deploy the fire risk scenario-driven time-series coding classification model to the forest fire weather level prediction system for online prediction, generate auxiliary early warning information, and determine whether to output a formal high fire risk alarm based on the prediction results. S5. Allocate patrol resources based on predicted fire risk levels and auxiliary early warning information.
2. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, S1 includes: The meteorological characteristics of 8 consecutive days are obtained by backtracking from the forecast day, forming the original meteorological time series characteristic matrix; Based on forest fire risk business records or manual confirmation results, assign a true fire risk level to each forest fire weather sample. A training sample set was formed by combining multiple forest fire weather samples labeled with real fire risk levels, and a historical similar sample database was constructed.
3. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, S2 daily drying capacity factors include: Read the daily maximum temperature, daily average wind speed and daily average relative humidity from the original meteorological time series feature matrix, and set the temperature drying start threshold, reference high temperature threshold, reference wind speed threshold and humidity drying reference value; The temperature-induced dryness contribution is obtained by piecewise linear normalization. The wind speed-induced dryness contribution is obtained by dividing the daily average wind speed by the reference wind speed threshold. The humidity-induced dryness contribution is obtained by using a non-negative truncation form based on the daily average relative humidity. The daily drying capacity factor is obtained by integrating the dryness contribution of temperature, dryness contribution of wind speed and dryness contribution of humidity according to a fixed weight. The daily drying capacity factor was calculated for each of the eight time steps in chronological order to obtain the daily drying capacity factor sequence.
4. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, The cumulative value of S2 composite drying stress includes: The cumulative value of composite drying stress before the start of the sample is initialized based on the number of consecutive rainless days on day 1. Read the daily drying capacity factor from the daily drying capacity factor sequence, and calculate the drying accumulation term based on the cumulative value of the composite drying stress of the previous day and the daily drying capacity factor of the current day; A nonlinear response method was used to calculate the precipitation replenishment offset term based on 24-hour precipitation. Subtract the precipitation replenishment offset term from the drying accumulation term to obtain the candidate drying stress value. Then, apply non-negativity constraints and upper limit constraints to the candidate drying stress value in sequence to obtain the composite drying stress accumulation value. The above recursive calculation is repeated in the order of day 1 to day 8 to obtain the composite drying stress index sequence.
5. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, The dynamic deviation of S2 moisture content includes: Extract the 24-hour precipitation from day 1 to day 7, the number of consecutive rainless days on day 7, and the cumulative value of composite dry stress on day 7 from the current forest fire weather sample to construct a similarity retrieval query vector; In the historical similarity sample database, a historical query vector with the same structure as the similarity retrieval query vector is constructed for each historical sample, and standardized using the same training phase mean and training phase standard deviation to obtain the historical standardized query vector. At the same time, Euclidean distance is used to calculate the weather process similarity distance between the current forest fire weather sample and the historical sample. Similar historical samples were selected from the weather process similarity distances in ascending order to form a similar historical sample set; Extract the combustible moisture content of each similar historical sample on day 8 from the similar historical sample set NK, and calculate the mean and standard deviation of the similar historical sample moisture content. Take the forecasted combustible moisture content of the current forest fire weather sample for the 8th day, and compare the forecasted combustible moisture content with the average moisture content of similar historical samples in a standardized manner to obtain the dynamic deviation of the moisture content.
6. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, The reconstruction of the original meteorological time series feature matrix in S2 includes: The original meteorological time series feature matrix, the daily dryness capacity factor sequence, and the composite dryness stress index sequence are spliced together to obtain the enhanced meteorological time series feature matrix; The low-drying-stress zone, medium-drying-stress zone, and high-drying-stress zone are determined based on the final value of the composite drying stress of each training sample in the training sample set. The negative anomaly region, normal region, and positive anomaly region are determined based on the dynamic deviation of the water content of each training sample in the training sample set. Three types of dry stress zones and three types of abnormal moisture content zones are cross-combined to form nine fire hazard scenario zones, and each fire hazard scenario zone is assigned a unique fire hazard scenario zone number. The mean and standard deviation of each enhanced meteorological feature dimension within each fire risk scenario zone are calculated separately to obtain the scenario feature mean and scenario feature standard deviation; Using the mean and standard deviation of the situation features corresponding to the fire situation zone to which the current forest fire weather sample belongs, the enhanced meteorological time series feature matrix is normalized step by step and feature by feature dimension to obtain the situation-adaptive normalized time series feature matrix.
7. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, S3 include: The feature dimension-level gating coefficients are generated based on the context embedding vector, and the feature gating coefficients are applied to the context adaptive normalized features at each time step. The context-gated modulation time-series feature matrix is input into the trend memory stream and the fluctuation capture stream, respectively. The trend memory stream extracts the trend memory representation, and the fluctuation capture stream extracts the fluctuation capture representation. The trend memory representation, the fluctuation capture representation and the context embedding vector are fused to obtain the comprehensive meteorological sequence representation. The five-level fire risk classification is transformed into a four-level threshold discrimination task. The comprehensive meteorological sequence characterization and the dynamic deviation of water content are spliced together and input into the ordinal sensitive predictor to obtain the prediction probability of the four-level threshold.
8. The method for dynamic prediction of forest fire weather risk levels and optimization of patrol resource allocation according to claim 1, characterized in that, S3 also includes the construction of the loss function and the training of the model: Construct a deviation-weighted hierarchical loss function, which includes deviation-weighted ordinal binary cross-entropy and a consistency regularization term; The fire hazard scenario-driven temporal coding classification model is trained end-to-end using the training sample set. The training sample set is divided into a training subset and a validation subset. The predicted probability of the level threshold is obtained based on the training subset. The model parameters are updated in reverse using a deviation-weighted hierarchical loss function. After each training cycle, the macro average score of the five fire hazard levels is calculated using the validation subset, and the model parameters corresponding to the highest macro average score are saved as the final model parameters.
9. The method for dynamic prediction of forest fire weather risk level and optimization of patrol resource allocation according to claim 1, characterized in that, S4 include: The trained fire risk scenario-driven time-series coding classification model was deployed into the forest fire weather risk level prediction system. Meteorological features from 8 consecutive days are extracted from the online meteorological data stream. After reconstructing the features, the embedding vector of the situation to be predicted, the dynamic deviation of the water content to be predicted, and the adaptive normalized time series feature matrix of the situation to be predicted are obtained. The fire risk level to be predicted is obtained based on the fire risk situation-driven time series coding classification model. Auxiliary early warning information is generated based on the predicted fire hazard level, the predicted dynamic deviation of moisture content, and the predicted final value of composite drying stress. The system verifies the consistency of execution time for results from multiple consecutive online prediction windows to determine whether to output a formal alarm.
10. The method for dynamic prediction of forest fire weather risk level and optimization of patrol resource allocation according to claim 1, characterized in that, S5 include: Patrol resources are allocated based on predicted fire risk levels and auxiliary early warning information. The allocation of patrol resources includes: basic patrol force allocation and resource reinforcement under special conditions. The basic patrol force is configured with patrol density and patrol frequency; Under special circumstances, additional resources will be deployed when there is an abnormally dry environment combined with a high fire risk or a critically rising risk warning. In addition to the patrol arrangements, a rapid response team will be dispatched, equipped with firefighting equipment, and real-time communication will be established with the local emergency department until the forecast level is reduced or the warning is lifted.
